From f380d6a97a1667ade95ef0f288767cd5ee3a0051 Mon Sep 17 00:00:00 2001 From: Michael Phipps Date: Tue, 2 Mar 2004 00:36:18 +0000 Subject: [PATCH] Adding stuff from the base of coreutils git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6846 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/bin/coreutils-5.0/ABOUT-NLS | 477 + src/apps/bin/coreutils-5.0/AUTHORS | 86 + src/apps/bin/coreutils-5.0/COPYING | 340 + src/apps/bin/coreutils-5.0/ChangeLog | 1884 + src/apps/bin/coreutils-5.0/GNUmakefile | 36 + src/apps/bin/coreutils-5.0/INSTALL | 231 + src/apps/bin/coreutils-5.0/Jamfile | 4 + src/apps/bin/coreutils-5.0/Makefile | 609 + src/apps/bin/coreutils-5.0/Makefile.am | 48 + src/apps/bin/coreutils-5.0/Makefile.cfg | 30 + src/apps/bin/coreutils-5.0/Makefile.in | 609 + src/apps/bin/coreutils-5.0/Makefile.maint | 375 + src/apps/bin/coreutils-5.0/NEWS | 365 + src/apps/bin/coreutils-5.0/README | 126 + src/apps/bin/coreutils-5.0/THANKS | 402 + .../bin/coreutils-5.0/THANKS-to-translators | 34 + src/apps/bin/coreutils-5.0/THANKStt.in | 4 + src/apps/bin/coreutils-5.0/TODO | 79 + src/apps/bin/coreutils-5.0/aclocal.m4 | 6408 ++ src/apps/bin/coreutils-5.0/announce-gen | 331 + src/apps/bin/coreutils-5.0/config.h | 1431 + src/apps/bin/coreutils-5.0/config.hin | 1429 + src/apps/bin/coreutils-5.0/config.log | 62811 ++++++++++++++++ src/apps/bin/coreutils-5.0/config.status | 2150 + src/apps/bin/coreutils-5.0/configure | 42175 +++++++++++ src/apps/bin/coreutils-5.0/configure.ac | 313 + src/apps/bin/coreutils-5.0/stamp-h1 | 1 + 27 files changed, 122788 insertions(+) create mode 100644 src/apps/bin/coreutils-5.0/ABOUT-NLS create mode 100644 src/apps/bin/coreutils-5.0/AUTHORS create mode 100644 src/apps/bin/coreutils-5.0/COPYING create mode 100644 src/apps/bin/coreutils-5.0/ChangeLog create mode 100644 src/apps/bin/coreutils-5.0/GNUmakefile create mode 100644 src/apps/bin/coreutils-5.0/INSTALL create mode 100644 src/apps/bin/coreutils-5.0/Jamfile create mode 100644 src/apps/bin/coreutils-5.0/Makefile create mode 100644 src/apps/bin/coreutils-5.0/Makefile.am create mode 100644 src/apps/bin/coreutils-5.0/Makefile.cfg create mode 100644 src/apps/bin/coreutils-5.0/Makefile.in create mode 100644 src/apps/bin/coreutils-5.0/Makefile.maint create mode 100644 src/apps/bin/coreutils-5.0/NEWS create mode 100644 src/apps/bin/coreutils-5.0/README create mode 100644 src/apps/bin/coreutils-5.0/THANKS create mode 100644 src/apps/bin/coreutils-5.0/THANKS-to-translators create mode 100644 src/apps/bin/coreutils-5.0/THANKStt.in create mode 100644 src/apps/bin/coreutils-5.0/TODO create mode 100644 src/apps/bin/coreutils-5.0/aclocal.m4 create mode 100755 src/apps/bin/coreutils-5.0/announce-gen create mode 100644 src/apps/bin/coreutils-5.0/config.h create mode 100644 src/apps/bin/coreutils-5.0/config.hin create mode 100644 src/apps/bin/coreutils-5.0/config.log create mode 100755 src/apps/bin/coreutils-5.0/config.status create mode 100755 src/apps/bin/coreutils-5.0/configure create mode 100644 src/apps/bin/coreutils-5.0/configure.ac create mode 100644 src/apps/bin/coreutils-5.0/stamp-h1 diff --git a/src/apps/bin/coreutils-5.0/ABOUT-NLS b/src/apps/bin/coreutils-5.0/ABOUT-NLS new file mode 100644 index 0000000000..d79798cc2c --- /dev/null +++ b/src/apps/bin/coreutils-5.0/ABOUT-NLS @@ -0,0 +1,477 @@ +Notes on the Free Translation Project +************************************* + + Free software is going international! The Free Translation Project +is a way to get maintainers of free software, translators, and users all +together, so that will gradually become able to speak many languages. +A few packages already provide translations for their messages. + + If you found this `ABOUT-NLS' file inside a distribution, you may +assume that the distributed package does use GNU `gettext' internally, +itself available at your nearest GNU archive site. But you do _not_ +need to install GNU `gettext' prior to configuring, installing or using +this package with messages translated. + + Installers will find here some useful hints. These notes also +explain how users should proceed for getting the programs to use the +available translations. They tell how people wanting to contribute and +work at translations should contact the appropriate team. + + When reporting bugs in the `intl/' directory or bugs which may be +related to internationalization, you should tell about the version of +`gettext' which is used. The information can be found in the +`intl/VERSION' file, in internationalized packages. + +Quick configuration advice +========================== + + If you want to exploit the full power of internationalization, you +should configure it using + + ./configure --with-included-gettext + +to force usage of internationalizing routines provided within this +package, despite the existence of internationalizing capabilities in the +operating system where this package is being installed. So far, only +the `gettext' implementation in the GNU C library version 2 provides as +many features (such as locale alias, message inheritance, automatic +charset conversion or plural form handling) as the implementation here. +It is also not possible to offer this additional functionality on top +of a `catgets' implementation. Future versions of GNU `gettext' will +very likely convey even more functionality. So it might be a good idea +to change to GNU `gettext' as soon as possible. + + So you need _not_ provide this option if you are using GNU libc 2 or +you have installed a recent copy of the GNU gettext package with the +included `libintl'. + +INSTALL Matters +=============== + + Some packages are "localizable" when properly installed; the +programs they contain can be made to speak your own native language. +Most such packages use GNU `gettext'. Other packages have their own +ways to internationalization, predating GNU `gettext'. + + By default, this package will be installed to allow translation of +messages. It will automatically detect whether the system already +provides the GNU `gettext' functions. If not, the GNU `gettext' own +library will be used. This library is wholly contained within this +package, usually in the `intl/' subdirectory, so prior installation of +the GNU `gettext' package is _not_ required. Installers may use +special options at configuration time for changing the default +behaviour. The commands: + + ./configure --with-included-gettext + ./configure --disable-nls + +will respectively bypass any pre-existing `gettext' to use the +internationalizing routines provided within this package, or else, +_totally_ disable translation of messages. + + When you already have GNU `gettext' installed on your system and run +configure without an option for your new package, `configure' will +probably detect the previously built and installed `libintl.a' file and +will decide to use this. This might be not what is desirable. You +should use the more recent version of the GNU `gettext' library. I.e. +if the file `intl/VERSION' shows that the library which comes with this +package is more recent, you should use + + ./configure --with-included-gettext + +to prevent auto-detection. + + The configuration process will not test for the `catgets' function +and therefore it will not be used. The reason is that even an +emulation of `gettext' on top of `catgets' could not provide all the +extensions of the GNU `gettext' library. + + Internationalized packages have usually many `po/LL.po' files, where +LL gives an ISO 639 two-letter code identifying the language. Unless +translations have been forbidden at `configure' time by using the +`--disable-nls' switch, all available translations are installed +together with the package. However, the environment variable `LINGUAS' +may be set, prior to configuration, to limit the installed set. +`LINGUAS' should then contain a space separated list of two-letter +codes, stating which languages are allowed. + +Using This Package +================== + + As a user, if your language has been installed for this package, you +only have to set the `LANG' environment variable to the appropriate +`LL_CC' combination. Here `LL' is an ISO 639 two-letter language code, +and `CC' is an ISO 3166 two-letter country code. For example, let's +suppose that you speak German and live in Germany. At the shell +prompt, merely execute `setenv LANG de_DE' (in `csh'), +`export LANG; LANG=de_DE' (in `sh') or `export LANG=de_DE' (in `bash'). +This can be done from your `.login' or `.profile' file, once and for +all. + + You might think that the country code specification is redundant. +But in fact, some languages have dialects in different countries. For +example, `de_AT' is used for Austria, and `pt_BR' for Brazil. The +country code serves to distinguish the dialects. + + The locale naming convention of `LL_CC', with `LL' denoting the +language and `CC' denoting the country, is the one use on systems based +on GNU libc. On other systems, some variations of this scheme are +used, such as `LL' or `LL_CC.ENCODING'. You can get the list of +locales supported by your system for your country by running the command +`locale -a | grep '^LL''. + + Not all programs have translations for all languages. By default, an +English message is shown in place of a nonexistent translation. If you +understand other languages, you can set up a priority list of languages. +This is done through a different environment variable, called +`LANGUAGE'. GNU `gettext' gives preference to `LANGUAGE' over `LANG' +for the purpose of message handling, but you still need to have `LANG' +set to the primary language; this is required by other parts of the +system libraries. For example, some Swedish users who would rather +read translations in German than English for when Swedish is not +available, set `LANGUAGE' to `sv:de' while leaving `LANG' to `sv_SE'. + + In the `LANGUAGE' environment variable, but not in the `LANG' +environment variable, `LL_CC' combinations can be abbreviated as `LL' +to denote the language's main dialect. For example, `de' is equivalent +to `de_DE' (German as spoken in Germany), and `pt' to `pt_PT' +(Portuguese as spoken in Portugal) in this context. + +Translating Teams +================= + + For the Free Translation Project to be a success, we need interested +people who like their own language and write it well, and who are also +able to synergize with other translators speaking the same language. +Each translation team has its own mailing list. The up-to-date list of +teams can be found at the Free Translation Project's homepage, +`http://www.iro.umontreal.ca/contrib/po/HTML/', in the "National teams" +area. + + If you'd like to volunteer to _work_ at translating messages, you +should become a member of the translating team for your own language. +The subscribing address is _not_ the same as the list itself, it has +`-request' appended. For example, speakers of Swedish can send a +message to `sv-request@li.org', having this message body: + + subscribe + + Keep in mind that team members are expected to participate +_actively_ in translations, or at solving translational difficulties, +rather than merely lurking around. If your team does not exist yet and +you want to start one, or if you are unsure about what to do or how to +get started, please write to `translation@iro.umontreal.ca' to reach the +coordinator for all translator teams. + + The English team is special. It works at improving and uniformizing +the terminology in use. Proven linguistic skill are praised more than +programming skill, here. + +Available Packages +================== + + Languages are not equally supported in all packages. The following +matrix shows the current state of internationalization, as of February +2003. The matrix shows, in regard of each package, for which languages +PO files have been submitted to translation coordination, with a +translation percentage of at least 50%. + + Ready PO files az be bg ca cs da de el en en_GB eo es et fa fi + +-------------------------------------------------+ + a2ps | [] [] [] [] [] | + aegis | () | + anubis | | + ap-utils | | + bash | [] [] [] | + batchelor | | + bfd | [] [] | + binutils | [] [] | + bison | [] [] [] [] | + clisp | [] [] [] | + clisp | | + coreutils | [] [] [] [] | + cpio | [] [] [] | + darkstat | () [] | + diffutils | [] [] [] [] [] [] [] | + enscript | [] [] [] | + error | [] [] [] [] | + fetchmail | [] () [] [] [] | + fileutils | [] [] [] [] | + findutils | [] [] [] [] [] [] [] | + flex | [] [] [] [] | + gas | [] | + gawk | [] [] [] | + gcal | [] | + gcc | [] [] | + gettext | [] [] [] [] [] | + gimp-print | | + gliv | | + gnucash | [] () | + gnucash-glossary| [] () [] | + gnupg | [] [] [] [] [] [] [] | + gpe-todo | | + gphoto2 | [] [] | + gprof | [] [] | + gpsdrive | () () () () | + grep | [] [] [] [] [] [] [] | + gretl | [] | + hello | [] [] [] [] [] [] [] [] [] | + id-utils | [] [] | + indent | [] [] [] [] [] [] | + jpilot | () [] [] [] | + jwhois | [] | + kbd | [] [] [] | + ld | [] [] | + libc | [] [] [] [] [] [] [] | + libgpewidget | | + libiconv | [] [] [] [] [] [] | + lifelines | [] () | + lilypond | [] | + lingoteach | [] | + lingoteach_lessons| () () | + lynx | [] [] [] [] [] | + m4 | [] [] [] [] | + mailutils | [] [] | + make | [] [] [] | + man-db | [] () [] () | + mysecretdiary | [] [] [] | + nano | [] () [] [] [] | + nano_1_0 | [] () [] [] [] | + opcodes | [] [] | + parted | [] [] [] [] | + ptx | [] [] [] [] [] [] [] | + python | | + radius | | + recode | [] [] [] [] [] | + sed | [] [] [] [] [] [] | + sh-utils | [] [] [] [] | + sharutils | [] [] [] [] [] [] [] | + sketch | [] () [] | + soundtracker | [] [] [] | + sp | [] | + tar | [] [] [] [] [] [] | + texinfo | [] [] [] [] | + textutils | [] [] [] [] | + tin | () () [] | + util-linux | [] [] [] [] [] [] [] | + vorbis-tools | [] [] | + wastesedge | () | + wdiff | [] [] [] [] [] | + wget | [] [] [] [] [] [] [] [] [] | + xchat | | + xpad | | + +-------------------------------------------------+ + az be bg ca cs da de el en en_GB eo es et fa fi + 0 1 2 26 9 49 46 9 1 1 11 52 19 1 15 + + fr gl he hr hu id it ja ko lg lv ms nb nl + +-------------------------------------------+ + a2ps | [] () () [] [] | + aegis | () | + anubis | [] [] | + ap-utils | [] | + bash | [] [] | + batchelor | | + bfd | [] [] | + binutils | [] [] | + bison | [] [] [] [] | + clisp | [] [] | + clisp | | + coreutils | [] [] [] | + cpio | [] [] [] [] [] | + darkstat | () [] [] [] | + diffutils | [] [] [] [] [] [] | + enscript | [] [] [] | + error | [] [] [] | + fetchmail | [] | + fileutils | [] [] [] [] | + findutils | [] [] [] [] [] [] [] [] [] | + flex | [] [] | + gas | [] | + gawk | [] [] | + gcal | [] | + gcc | [] | + gettext | [] [] [] | + gimp-print | | + gliv | () | + gnucash | [] [] [] | + gnucash-glossary| [] [] | + gnupg | [] [] [] [] [] | + gpe-todo | | + gphoto2 | [] [] [] | + gprof | [] [] | + gpsdrive | () [] () () | + grep | [] [] [] [] [] [] [] [] | + gretl | [] | + hello | [] [] [] [] [] [] [] [] [] [] [] [] [] | + id-utils | [] [] [] | + indent | [] [] [] [] [] [] | + jpilot | [] () () | + jwhois | [] [] [] [] | + kbd | [] | + ld | [] | + libc | [] [] [] [] [] [] | + libgpewidget | | + libiconv | [] [] [] [] [] [] | + lifelines | () | + lilypond | [] [] | + lingoteach | [] | + lingoteach_lessons| | + lynx | [] [] [] [] | + m4 | [] [] [] [] [] | + mailutils | | + make | [] [] [] [] [] [] [] | + man-db | [] () () | + mysecretdiary | [] [] | + nano | [] [] [] [] [] [] | + nano_1_0 | [] [] [] [] [] [] | + opcodes | [] [] [] | + parted | [] [] [] | + ptx | [] [] [] [] [] [] | + python | | + radius | | + recode | [] [] [] [] [] | + sed | [] [] [] [] [] | + sh-utils | [] [] [] [] [] | + sharutils | [] [] [] [] [] | + sketch | [] | + soundtracker | [] [] [] | + sp | [] () | + tar | [] [] [] [] [] [] [] [] [] | + texinfo | [] [] [] [] | + textutils | [] [] [] [] [] [] | + tin | | + util-linux | [] [] () [] [] | + vorbis-tools | [] | + wastesedge | () | + wdiff | [] [] [] [] [] | + wget | [] [] [] [] [] [] [] | + xchat | | + xpad | | + +-------------------------------------------+ + fr gl he hr hu id it ja ko lg lv ms nb nl + 59 23 8 10 26 20 18 26 8 0 1 8 7 24 + + nn no pl pt pt_BR ro ru sk sl sv tr uk zh_CN zh_TW + +----------------------------------------------------+ + a2ps | () () () [] [] [] [] [] [] | 14 + aegis | () | 0 + anubis | [] [] | 4 + ap-utils | () () | 1 + bash | [] [] | 7 + batchelor | | 0 + bfd | [] [] | 6 + binutils | [] [] | 6 + bison | [] [] [] | 11 + clisp | | 5 + clisp | | 0 + coreutils | [] [] [] [] [] | 12 + cpio | [] [] [] [] [] | 13 + darkstat | [] [] () () | 6 + diffutils | [] [] [] [] [] [] | 19 + enscript | [] [] [] [] | 10 + error | [] [] [] [] | 11 + fetchmail | () () [] | 6 + fileutils | [] [] [] [] [] [] | 14 + findutils | [] [] [] [] [] [] [] [] | 24 + flex | [] [] [] [] | 10 + gas | [] | 3 + gawk | [] [] | 7 + gcal | [] [] | 4 + gcc | [] | 4 + gettext | [] [] [] [] [] [] | 14 + gimp-print | | 0 + gliv | [] | 1 + gnucash | [] [] [] [] [] | 9 + gnucash-glossary| [] [] [] [] | 8 + gnupg | [] [] [] [] | 16 + gpe-todo | | 0 + gphoto2 | [] [] | 7 + gprof | [] [] [] | 7 + gpsdrive | [] [] | 3 + grep | [] [] [] [] [] | 20 + gretl | | 2 + hello | [] [] [] [] [] [] [] [] [] | 31 + id-utils | [] [] [] [] | 9 + indent | [] [] [] [] [] | 17 + jpilot | () [] [] [] [] | 8 + jwhois | [] () () [] [] | 8 + kbd | [] [] | 6 + ld | [] [] | 5 + libc | [] [] [] [] [] [] [] | 20 + libgpewidget | | 0 + libiconv | [] [] [] [] [] [] | 18 + lifelines | [] | 2 + lilypond | [] | 4 + lingoteach | [] [] | 4 + lingoteach_lessons| () | 0 + lynx | [] [] [] [] | 13 + m4 | [] [] [] [] | 13 + mailutils | | 2 + make | [] [] [] [] [] | 15 + man-db | [] | 4 + mysecretdiary | [] [] [] | 8 + nano | [] [] [] | 13 + nano_1_0 | [] [] [] [] [] | 15 + opcodes | [] [] [] | 8 + parted | [] [] [] [] [] | 12 + ptx | [] [] [] [] [] [] [] | 20 + python | | 0 + radius | | 0 + recode | [] [] [] [] [] [] | 16 + sed | [] [] [] [] [] | 16 + sh-utils | [] [] [] | 12 + sharutils | [] [] [] [] | 16 + sketch | [] [] | 5 + soundtracker | [] | 7 + sp | [] | 3 + tar | [] [] [] [] [] [] [] [] [] | 24 + texinfo | [] [] [] [] | 12 + textutils | [] [] [] [] [] | 15 + tin | | 1 + util-linux | [] [] [] | 14 + vorbis-tools | [] | 4 + wastesedge | | 0 + wdiff | [] [] [] [] [] | 15 + wget | [] [] [] [] [] [] [] [] | 24 + xchat | | 0 + xpad | | 0 + +----------------------------------------------------+ + 43 teams nn no pl pt pt_BR ro ru sk sl sv tr uk zh_CN zh_TW + 82 domains 3 4 14 4 34 1 29 14 13 53 46 6 9 13 723 + + Some counters in the preceding matrix are higher than the number of +visible blocks let us expect. This is because a few extra PO files are +used for implementing regional variants of languages, or language +dialects. + + For a PO file in the matrix above to be effective, the package to +which it applies should also have been internationalized and +distributed as such by its maintainer. There might be an observable +lag between the mere existence a PO file and its wide availability in a +distribution. + + If February 2003 seems to be old, you may fetch a more recent copy +of this `ABOUT-NLS' file on most GNU archive sites. The most +up-to-date matrix with full percentage details can be found at +`http://www.iro.umontreal.ca/contrib/po/HTML/matrix.html'. + +Using `gettext' in new packages +=============================== + + If you are writing a freely available program and want to +internationalize it you are welcome to use GNU `gettext' in your +package. Of course you have to respect the GNU Library General Public +License which covers the use of the GNU `gettext' library. This means +in particular that even non-free programs can use `libintl' as a shared +library, whereas only free software can use `libintl' as a static +library or use modified versions of `libintl'. + + Once the sources are changed appropriately and the setup can handle +the use of `gettext' the only thing missing are the translations. The +Free Translation Project is also available for packages which are not +developed inside the GNU project. Therefore the information given above +applies also for every other Free Software Project. Contact +`translation@iro.umontreal.ca' to make the `.pot' files available to +the translation teams. + diff --git a/src/apps/bin/coreutils-5.0/AUTHORS b/src/apps/bin/coreutils-5.0/AUTHORS new file mode 100644 index 0000000000..1aea6b4422 --- /dev/null +++ b/src/apps/bin/coreutils-5.0/AUTHORS @@ -0,0 +1,86 @@ +Here are the names of the programs in this package, +each followed by the name(s) of its author(s). + +basename: FIXME unknown +cat: Torbjorn Granlund and Richard M. Stallman +chgrp: David MacKenzie +chmod: David MacKenzie +chown: David MacKenzie +chroot: Roland McGrath +cksum: Q. Frank Xia +comm: Richard Stallman and David MacKenzie +cp: Torbjorn Granlund, David MacKenzie, and Jim Meyering +csplit: Stuart Kemp and David MacKenzie +cut: David Ihnat, David MacKenzie, and Jim Meyering +date: David MacKenzie +dd: Paul Rubin, David MacKenzie, and Stuart Kemp +df: Torbjorn Granlund, David MacKenzie, Larry McVoy, and Paul Eggert +dircolors: H. Peter Anvin +dirname: David MacKenzie and Jim Meyering +du: Torbjorn Granlund, David MacKenzie, Larry McVoy, and Paul Eggert +echo: FIXME unknown +env: Richard Mlynarik and David MacKenzie +expand: David MacKenzie +expr: Mike Parker +factor: Paul Rubin +false: no one +fmt: Ross Paterson +fold: David MacKenzie +head: David MacKenzie +hostid: Jim Meyering +hostname: Jim Meyering +id: Arnold Robbins and David MacKenzie +install: David MacKenzie +join: Mike Haertel +kill: Paul Eggert +link: Michael Stone +ln: Mike Parker and David MacKenzie +logname: FIXME: unknown +ls: Richard Stallman and David MacKenzie +md5sum: Ulrich Drepper and Scott Miller +mkdir: David MacKenzie +mkfifo: David MacKenzie +mknod: David MacKenzie +mv: Mike Parker, David MacKenzie, and Jim Meyering +nice: David MacKenzie +nl: Scott Bartram and David MacKenzie +od: Jim Meyering +paste: David M. Ihnat and David MacKenzie +pathchk: David MacKenzie and Jim Meyering +pinky: Joseph Arceneaux, David MacKenzie, and Kaveh Ghazi +pr: Pete TerMaat and Roland Huebner +printenv: David MacKenzie and Richard Mlynarik +printf: David MacKenzie +ptx: François Pinard +pwd: Jim Meyering +rm: Paul Rubin, David MacKenzie, Richard Stallman, and Jim Meyering +rmdir: David MacKenzie +seq: Ulrich Drepper +shred: Colin Plumb +sleep: Jim Meyering and Paul Eggert +sort: Mike Haertel and Paul Eggert +split: Torbjorn Granlund and Richard M. Stallman +stat: Michael Meskes +stty: David MacKenzie +su: David MacKenzie +sum: Kayvan Aghaiepour and David MacKenzie +sync: Jim Meyering +tac: Jay Lepreau and David MacKenzie +tail: Paul Rubin, David MacKenzie, Ian Lance Taylor, and Jim Meyering +tee: Mike Parker, Richard M. Stallman, and David MacKenzie +test: FIXME: ksb and mjb +touch: Paul Rubin, Arnold Robbins, Jim Kingdon, David MacKenzie, and Randy Smith +tr: Jim Meyering +true: no one +tsort: Mark Kettenis +tty: David MacKenzie +uname: David MacKenzie +unexpand: David MacKenzie +uniq: Richard Stallman and David MacKenzie +unlink: Michael Stone +uptime: Joseph Arceneaux, David MacKenzie, and Kaveh Ghazi +users: Joseph Arceneaux and David MacKenzie +wc: Paul Rubin and David MacKenzie +who: Joseph Arceneaux, David MacKenzie, and Michael Stone +whoami: Richard Mlynarik +yes: David MacKenzie diff --git a/src/apps/bin/coreutils-5.0/COPYING b/src/apps/bin/coreutils-5.0/COPYING new file mode 100644 index 0000000000..d60c31a97a --- /dev/null +++ b/src/apps/bin/coreutils-5.0/COPYING @@ -0,0 +1,340 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Library General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + , 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Library General +Public License instead of this License. diff --git a/src/apps/bin/coreutils-5.0/ChangeLog b/src/apps/bin/coreutils-5.0/ChangeLog new file mode 100644 index 0000000000..2412a3c88a --- /dev/null +++ b/src/apps/bin/coreutils-5.0/ChangeLog @@ -0,0 +1,1884 @@ +2003-04-02 Jim Meyering + + * Version 5.0. + + * tests/misc/Makefile.am (TESTS): Add false. + + * Makefile.maint (TMPDIR): Make sure it's defined. + (my-distcheck): Build in $(TMPDIR), not `.'. + + * src/Makefile.am (false.c): Change all occurrences of + `(EXIT_SUCCESS)' to `(EXIT_FAILURE)' so that false exits + unsuccessfully also with --help. Reported by Paul Jarc, + * tests/misc/false: New test for the above. + +2003-03-30 Jim Meyering + + * NEWS: Note the location of older NEWS files. + + * src/remove.c (is_empty_dir): Don't let a failing closedir + clobber errno. Spotted by Arnold Robbins. + + * src/env.c: Fix typo in comment. From Arnold Robbins. + +2003-03-29 Jim Meyering + + * Version 4.5.12. + + * README: Note to expect build problems for stat.c on Ultrix 4.3. + Note that there are some harmless test failures when running + `make check' as root on some systems. + +2003-03-28 Jim Meyering + + * tests/stty/row-col-1: Skip this test if stty can't get window size. + This happens when connecting to sparc-solaris2.7 via ssh from within + emacs. Reported by Karl Berry. + + * tests/du/basic: Use seq, not `yes' to generate 4KB of data. + Otherwise, on systems (DJGPP) that emulate pipes using files, + this test would never complete, waiting for `yes' to terminate. + * tests/du/slink: As above, use seq, not `yes' to generate link target. + * tests/rm/hash: As above, use seq, not `yes' to generate dir name. + Reported by Rich Dawe. + +2003-03-27 Jim Meyering + + * src/id.c: Remove Arnold Robbins' obsolete e-mail address + from `written by...' comment, at his request. + +2003-03-24 Paul Eggert + + Fix buffer overrun problem reported by TAKAI Kousuke, along + with some other POSIX incompatibilities. + + * src/printf.c (print_esc): Do not treat \x specially if + POSIXLY_CORRECT. Avoid buffer overrun if the format ends + in backslash. Treat incomplete escape sequences as strings + of characters, as POSIX requires. + (print_formatted): Allow multiple flags. Avoid buffer overrun + if the format is incomplete. + +2003-03-24 Jim Meyering + + * tests/misc/printf: Add tests for the above fixes and changes. + +2003-03-26 Jim Meyering + + * src/copy.h (struct cp_options): Add a comment. + +2003-03-23 Jim Meyering + + * README: Describe problem with 64-bit mode on HPUX 11.x, + with patch for /usr/include/inttypes.h. + * TODO: Plan to add an autoconf test to work around the bug. + +2003-03-22 Jim Meyering + + * src/stat.c: Don't include . + That is already done via system.h. Otherwise, the multiple + inclusion would evoke redefinition warnings from Cray's /bin/cc, + aka Cray Standard C Version 4.0.3 (057126) Mar 22 2003 22:02:28. + (human_fstype): Factor some directives `up', out of this function. + Cast away `const' to avoid error from Cray's /bin/cc. + +2003-03-20 Jim Meyering + + * announce-gen (print_changelog_deltas): Ensure that a newline + precedes each row of `*'s. + +2003-03-20 Jim Meyering + + * Version 4.5.11. + + * src/seq.c (valid_format): Also accept ` ' and `'' as valid + format flag characters. + Do not require that a field width be specified. + Do not fail when given a field width of `0'. + Reported by Dan Jacobson. + * tests/seq/basic: Add new tests for the above-fixed bug. + + * src/Makefile.am (all-local): Append $(EXEEXT) to use of `su' + (install-root): Likewise. + (install-exec-local): Likewise. + Based on a patch from Richard Dawe. + +2003-03-19 Jim Meyering + + * man/Makefile.am (.x.1): Use $(LN_S) instead of 'ln -s', + because the DJGPP 2.03 port of 'ln -s' doesn't work. + Include $(EXEEXT) in program names. + Since $(LN_S) may degenerate to `cp -p', be careful + to invoke it from the destination directory. + Mostly from Richard Dawe. + * configure.ac: Use AC_PROG_LN_S. + + * tests/mv/part-symlink: Unset CDPATH. Otherwise, having the + CDPATH shell variable set could cause this test to fail. + Reported by Karl Berry. + +2003-03-18 Jim Meyering + + * src/fmt.c [struct Word] (paren, period, punct, final): Change the + type of each member from bool :1 to unsigned int :1. + AIX 5.1's xlc could not compile the former. + Patch by Petter Reinholdtsen. Also reported by Mike Jetzer. + +2003-03-17 Richard Dawe + + * configure.ac: Include $(EXEEXT) in OPTIONAL_BIN_PROGS' + program names, since automake only adds $(EXEEXT) to programs + in its *_PROGRAMS. + +2003-03-16 Jim Meyering + + * src/remove.c (rm): Put two local variables in static storage, + so they can't be clobbered by the potential longjmp. + +2003-03-15 Jim Meyering + + * Makefile.cfg (gnu_rel_host): Fix code to match the comment + so that a version number with a two-digit component can still count + as an alpha release. Reported by Richard A Downing. + (gnu_rel_host): Define in terms of $(RELEASE_TYPE) instead. + +2003-03-14 Jim Meyering + + * src/ansi2knr.c: Remove no-longer-used file. + * src/ansi2knr.1: Likewise. + + * Makefile.maint (prev_version_file): Don't use ?= for this particular + assignment, since it causes trouble with old versions of GNU make + (e.g. 3.76.1). The other uses of `?=' are inoffensive. Details here. + http://mail.gnu.org/archive/html/bug-coreutils/2003-03/msg00028.html + Patch from Alexandre Duret-Lutz. + + * Use patched automake-1.7.3. Regenerate Makefile.in files in + subdirectories so that each includes a definition of ACLOCAL_M4. + + * announce-gen (main): Label the compressed source URLs. + + * Version 4.5.10. + + * tests/du/slink: Relax the test for the `local'ness of a file system, + so that now it works also for tmpfs. + + * tests/du/hard-link: Transform output from first du, so that this + test doesn't fail on file systems like tmpfs that order directory + entries differently. + +2003-03-13 Jim Meyering + + * tests/du/8gb: Work around what appears to be an NFS failure that + would make this test fail on some systems. + +2003-03-11 Jim Meyering + + * tests/du/basic: Make the test file exactly 4k bytes long. + + * src/split.c (longopts): Don't hard-code `2' here. + Instead, just specify `&verbose', and ... + (main): ... remove the `case 2:' block for --verbose. + + * tests/du/basic: Make the test file larger than 64 bytes, so that + we don't immediately disqualify file systems (e.g., NetApp) on which + smaller files take up zero disk blocks. Reported by Vin Shelton. + +2003-03-10 Jim Meyering + + Don't segfault for a negative field width or precision in format string. + Note that this is just a stopgap fix. The longer term solution may + involve adapting bash's builtins/printf.def. + + * src/printf.c: (UNSPECIFIED): Define. + (print_direc): Use the special value, UNSPECIFIED, to indicate + that field_width or precision has not been specified. + (print_formatted): Fail if field_width or precision is the + special value, UNSPECIFIED. + Reported by Oliver Kiddle + + * src/sys2.h (INT_MIN): Define, if necessary. + * tests/misc/printf: Add a test for the above-fixed bug. + +2003-03-09 Jim Meyering + + * src/remove.c (AD_stack_pop): Cast sizeof... to int before + changing its sign. This avoids a warning from gcc on 64-bit systems. + Reported by Bob Proulx. + (pop_dir): Reverse order of sign change and cast, to be consistent + with the above. + +2003-03-08 Jim Meyering + + * tests/Makefile.am (evar-check): Check for POSIXLY_CORRECT not as a + shell variable, but only in the environment. With /bin/sh->bash, the + shell variable is set to `y', and that would cause a spurious warning. + Reported by Bob Proulx. + + * tests/Makefile.am (check-root): Remove touch/fifo. + It doesn't appear to have to be run as root. + + * tests/rm/fail-2eperm: Rather than simply using the first non-root + user name, make sure that the selected user name has a usable shell. + Reported by Paul Jarc. + + Before, when using shred on a device, one had to specify --exact, + or be careful to choose a size that would not be rounded up and + exceed the maximum value; that could result in a failure of + the final write. + * src/shred.c (do_wipefd): --exact is now the default for non-regular + files. Suggestion from Ben Elliston. + (usage): Say it. + + * tests/misc/tty-eof: Require at least version 1.11 of Expect.pm. + Old versions of Expect.pm (e.g., 1.07) lack the log_user function. + Patch by Bob Proulx. + + * src/Makefile.am (check-misc): Check for use of `defined' in + #define directives. + Change to $(srcdir) before running grep. + + * src/sleep.c: Remove now-unused #include and #define directives. + + * src/du.c (process_file): If a file's size is not being counted + e.g., because it's a hard link to a file we've already counted, + then don't print a line for it. + + * tests/du/hard-link: New test for the above-fixed bug. + * tests/du/Makefile.am (TESTS): Add hard-link. + + `du -S' didn't work + * src/du.c: Revert most of the `reorganization' change of 2003-02-20, + and make the two-array approach work. + + * tests/du/basic: Correct/add tests for the above fix. + Set LC_ALL, etc., now that we use sort. + Check the block/size of a small file, too. + Correct expected results for simple dir1/dir2/file case. + Add another test of du -S. + +2003-03-07 John David Anglin + + Avoid build failure with gcc on hppa1.1-hp-hpux10.20 (see GCC PR + middle-end/9986). As one of GCC's optimizations, it transforms a + fputs_unlocked call to a fputc_unlocked call when the string is + one character long. However, hpux doesn't have fputc_unlocked. + + * expr.c (usage): Use putchar, not fputs, to output a single character. + * ls.c (dired_dump_obstack): Likewise. + * ptx.c (output_one_tex_line, output_one_dumb_line): Likewise. + * stat.c (print_it): Likewise. + +2003-03-07 Jim Meyering + + * src/cp.c: Remove everything associated with mmap-stack.c. + This reverts the two changes of 2003-02-21. + * src/du.c: Remove everything associated with mmap-stack.c. + This reverts the change of 2003-02-19. + +2003-03-06 Jim Meyering + + * tests/cp/same-file: Unset CDPATH. Otherwise, having the + CDPATH shell variable set could cause this test to fail. + Reported by Karl Berry. + +2003-03-05 Jim Meyering + + * Version 4.5.9. + + * src/printf.c (print_esc): Remove pointless comparison of unsigned + integer with zero, to avoid a warning from Intel's ecc. + Reported by Nelson Beebe. + + * src/du.c (process_file): Sizes must all be of type uintmax_t. + Otherwise, for files or totals that are too big, numbers would + be truncated. Patch mostly by Michael Stone. + Reported by Ingo Saitz as Debian bug #183210. + + * tests/du/8gb: New test for the above-fixed bug. + * tests/du/Makefile.am (TESTS): Add 8gb. + + * src/du.c (MAX_N_DESCRIPTORS): Use 3 * UTILS_OPEN_MAX / 4 + rather than UTILS_OPEN_MAX - 10. + +2003-03-04 Jim Meyering + + * README: Refer new feature discussion to bug-coreutils@gnu.org, + rather than bug-gnu-utils, now that the former is better known. + Suggestion from Göran Uddeborg. + + * src/stat.c (usage): Capitalize consistently. + Reported by Göran Uddeborg. + + * Makefile.maint (rel-files): Include $(signatures), so that + those files are also copied into $(release_archive_dir). + + * src/df.c (find_mount_point): Call error here, now that restore_cwd + no longer does it. + * src/remove.c (AD_pop_and_chdir): Likewise. + + * tests/Makefile.am (check-root): Add fail-2eperm. + +2003-03-03 Jim Meyering + + * src/remove.c (remove_cwd_entries): Include the full filename of + the offending file, not just the basename. + + * tests/misc/tty-eof: Set $ME properly. + + * Makefile.maint (THIS_VERSION_REGEXP, PREV_VERSION_REGEXP): + Remove now-unused variables. + (tag-prev-version, prev-cvs-tag): Likewise. + + * src/remove.c (remove_cwd_entries) [!ROOT_CAN_UNLINK_DIRS]: Give an + accurate diagnostic when failing to remove a file owned by some other + user. Reported by Ivo Timmermans via Michael Stone. + This fixes Debian bug# 178471. + + * tests/rm/Makefile.am (TESTS): Add fail-2eperm. + * tests/rm/fail-2eperm: New test, for the above-fixed bug. + Based on a report from Ivo Timmermans. + +2003-03-02 Jim Meyering + + * src/copy.c (copy_internal) [un_backup]: When recovering from a + failure to create a hard link, do not remove the entry associating + the source dev/ino with the destination file name. + * tests/mv/Makefile.am (TESTS): Add hard-3. + * tests/mv/hard-3: New test, for the above-fixed bug. + Inspired by a report from Iida Yosiaki. + +2003-03-01 Jim Meyering + + * src/df.c (print_header): Don't embed spaces in a separate `Type' + header string. Instead, put `Filesystem' and `Type' headers in the + same string, so translators can use horizontal space as needed. + Reported by Jean Charles Delepine. + +2003-02-28 Jim Meyering + + * src/copy.c (copy_internal): When link fails because of an + existing destination file, unlink that file and try again. + Reported by Iida Yosiaki. + + * tests/mv/Makefile.am (TESTS): Add hard-2. + * tests/mv/hard-2: New test for the above-fixed bug. + Based on a test case from Iida Yosiaki. + +2003-02-26 Jim Meyering + + * tests/du/basic: Don't test du's -b option here. Directory byte + counts are smaller (512 rather than 4096) on at least OSF/1 5.1 + and IBM AIX 4.2. Reported by Nelson Beebe. + +2003-02-25 Jim Meyering + + * Makefile.maint (announcement): Now that ChangeLog entries + are output by announce-gen, don't do it here. + * announce-gen (print_changelog_deltas): New function. + (main): Use it. + +2003-02-22 Jim Meyering + + * announce-gen: New option: --release-type=TYPE + * Makefile.maint (beta, major): New targets. Remove `release'. + Put them all together on a line. + Pass the release type (via RELEASE_TYPE envvar) to the MAKE + invocation of `announcement'. + (announcement): Invoke announce-gen with --release-type=$RELEASE_TYPE. + + * announce-gen: New option: --news=NEWS_FILE. + Extract NEWS entries here, not via rules in Makefile.maint. + * Makefile.maint (announcement): Now that NEWS entries are + extracted by announce-gen, don't do it here. + (news-r1, news-r2): Remove now-unused definitions. + +2003-02-21 Jim Meyering + + * Version 4.5.8. + + Merge in changes from autoconf's version of this file. + * Makefile.maint (www-gnu): Define. + (standards.texi-url_prefix): Use $(www-gnu). + (make-stds.texi-url_prefix): Likewise. + + * src/cp.c: Include "mmap-stack.h". + (main): Invoke `run' through a macro that (when possible) runs it + with a large, mmap'd stack. + + * src/cp.c (run): New function, preparing for the above. + Exit from this function, not from main + (main): Call run. + + * src/du.c: New option: --apparent-size. + (enum) [APPARENT_SIZE_OPTION]: New member. + (long_options): Add it. + (usage): Describe it. + (main): Handle it. + ['b']: Set apparent_size. + David Eisner reported that the behavior of --bytes had changed. + Paul Eggert proposed the use of a new option, --apparent-size. + + * src/du.c (apparent_size): New global. + (print_only_size): Reflect the fact that we're printing byte counts, + not ST_NBLOCKSIZE-byte-block counts. + (print_size): Call print_only_size rather than duplicating its code. + (process_file): Accumulate byte counts, rather than block counts. + + * src/du.c (process_file): Always reset size_to_propagate_to_parent + for --separate-dirs (-S). + +2003-02-20 Jim Meyering + + * Use automake-1.7.3. Regenerate dependent files. + + * src/stat.c (print_stat): New format: %B (to print ST_NBLOCKSIZE). + This makes %b (number of ST_NBLOCKSIZE-byte blocks) more useful. + (usage) [%B]: Describe it. + [%b]: Refer to %B. + + * src/du.c (process_file): Reorganize the code to use only + one `sum' array, and change how -S works back to the way it was + before 2003-01-31. Patch by Bruno Haible. + + * tests/du/basic: New test. + * tests/du/Makefile.am (TESTS): Add basic. + + * tests/envvar-check: Add checks for the following: + BLOCK_SIZE, DU_BLOCK_SIZE, DF_BLOCK_SIZE, LS_BLOCK_SIZE. + + * tests/Makefile.am: Rename phony target envvar-check to evar-check + so as not to conflict with the distributed file by the same name. + + * src/du.c (process_file): Set info->skip before any possible return. + + Report correct usage for directories, not 0. + * src/du.c (process_file): Return for `file_type == FTW_DPRE' + _before_ recording the dev/ino of a directory. + Reported by Bruno Haible. + + Now, df always displays the device file name corresponding to the + listed mount point under `Filesystem'. Before, for an unmounted + block- or character-special file argument, it would display the + command-line argument instead. + * src/df.c (show_disk): Return a value indicating whether + there was a match. Don't try to find a mount point here. + (show_entry): If show_disk doesn't find a match, call show_point. + +2003-02-19 Jim Meyering + + * src/du.c: Include "mmap-stack.h". + (du_files): Add prototype with ATTRIBUTE_NORETURN. + Exit from this function, not from... + (main): ...here. + Instead, if possible, invoke du_files through a macro that + runs it with a large, mmap'd stack. + + * src/join.c (usage): Change wording in --help output: + use FILENUM instead of `SIDE' and say what FILENUM means. + Reported by Bernhard Gabler. + + * src/df.c (print_header): Rather than using a hard-coded literal + string of spaces matching the length of the English `...Type' header, + output the right number of spaces to match the selected translation. + Reported by Yann Dirson and Jean Charles Delepine as Debian bug 131113. + + * src/split.c (bytes_split): Remove unnecessary `else' after break. + (lines_split): Likewise. and correct misleading indentation. + + * src/split.c: Include "full-read.h". + (bytes_split, lines_split, line_bytes_split): Use full_read, + not safe_read. The way split was using the latter, a short read + could cause split to terminate before EOF. + + * tests/misc/tty-eof: Test all programs that can read stdin, + requiring no arguments and that write to standard output. + + * tests/misc/tty-eof: New file. Renamed from ... + * tests/misc/cat-tty-eof: Remove file. Rename to tty-eof. + * tests/misc/Makefile.am (TESTS): Reflect renaming. + +2003-02-18 Jim Meyering + + cksum would perform an extra read after encountering EOF + * src/cksum.c (cksum): Exit the loop upon EOF, too. + Patch by Michael Bacarella. + + Test for the bug fixed today in cksum, md5sum, and sha1sum. + * tests/misc/cat-tty-eof: Generalize, clean-up, and test for + cat, cksum, md5sum, and sha1sum all in the same loop. + +2003-02-14 Jim Meyering + + * src/remove.c: Include "euidaccess.h". + Remove declaration of euidaccess. + +2003-02-12 Jim Meyering + + * src/pathchk.c (portable_chars_only): Remove unnecessary `const' + in cast to avoid warning from icc. Reported by Alexandre Duret-Lutz. + +2003-02-10 Jim Meyering + + * src/test.c: Don't include group-member.h. + Include euidaccess.h. + (eaccess): Rewrite function to set the real uid and gid temporarily + to the effective uid and gid, then invoke 'access', and then set the + real uid and gid back. On systems that lack setreuid or setregid, + fall back on the kludges in euidaccess. Before, it would not work + for e.g., files with ACLs, files that were marked immutable, + or on file systems mounted read-only. Nelson Beebe raised the issue. + Paul Eggert suggested the new implementation. + +2003-02-09 Jim Meyering + + * src/test.c (test_stat): Remove function. It's job is done (only + when necessary) by the wrapper in lib/stat.c. Adjust all uses. + +2003-02-08 Jim Meyering + + * Version 4.5.7. + + * tests/mv/part-symlink: Don't assume that the file owner username + length is less than 9 in ls output: instead, omit that field + altogether. Reported by, and suggested fix from, Ferdinand. + + * tests/du/restore-wd: New test for just-fixed bug in ftw.c. + * tests/du/Makefile.am (TESTS): Add restore-wd. + + * src/rm.c: Correct now-invalid comment about cycle-detection. + +2003-02-06 Jim Meyering + + * NEWS: Add entries from old/*/NEWS + from fileutils-4.1 through 4.1.11 and + from sh-utils-2.0 through 2.0.15. Suggestion from Karl Berry. + + * Version 4.5.6. + + * src/du.c (process_file): Don't return early for excluded files + or for files whose dev/inode we've already seen. + +2003-02-05 Jim Meyering + + * tests/du/exclude: New file. + * tests/du/Makefile.am (TESTS): Add exclude. + +2003-02-04 Dmitry V. Levin + + * src/who.c (print_boottime, print_deadprocs, print_runlevel): + Fix memory allocation arithmetic. + +2003-02-04 Jim Meyering + + `df /dev/block-or-char-device-file--not-mounted' now reports + the name of the file system on which the file resides, usually `/'. + Before, it would leave the `Mounted on' field blank. + * src/df.c (show_disk): Move function to precede find_mount_point. + (show_disk): Add parameter: STATP. + If we don't find a matching device name, then resort to calling + find_mount_point. Reported by Bob Proulx. + +2003-02-03 Andreas Schwab + + * tests/rm/cycle: Require non-root. + * tests/rm/isatty: Likewise. + +2003-02-02 Jim Meyering + + * Version 4.5.5. + + * man/Makefile.am (check-x-vs-1): Use @PATH_SEPARATOR@, not `:'. + + Ensure that there are no offending uses of `:'. + * Makefile.maint (makefile_path_separator_check): New rule. + (local-check): Add it to the list. + +2003-02-01 Jim Meyering + + * src/du.c (MAX_N_DESCRIPTORS): Define. + + * src/stat.c (G_fail): New global. + (human_time): Diagnose failed localtime, not failed nstrftime. + (main): Fail if G_fail is set. + +2003-01-31 Richard Dawe + + * tests/basename/Makefile.am: Use @PATH_SEPARATOR@ instead of + hard-coding the path-separator. Also double-quote the new PATH, + to avoid problems when the path-separator is a semi-colon or when + `pwd` contains e.g. a space. + * tests/chgrp/Makefile.am: Likewise. + * tests/chmod/Makefile.am: Likewise. + * tests/chown/Makefile.am: Likewise. + * tests/cp/Makefile.am: Likewise. + * tests/dd/Makefile.am: Likewise. + * tests/dircolors/Makefile.am: Likewise. + * tests/du/Makefile.am: Likewise. + * tests/expr/Makefile.am: Likewise. + * tests/factor/Makefile.am: Likewise. + * tests/fmt/Makefile.am: Likewise. + * tests/install/Makefile.am: Likewise. + * tests/ln/Makefile.am: Likewise. + * tests/ls/Makefile.am: Likewise. + * tests/ls-2/Makefile.am: Likewise. + * tests/md5sum/Makefile.am: Likewise. + * tests/misc/Makefile.am: Likewise. + * tests/mkdir/Makefile.am: Likewise. + * tests/mv/Makefile.am: Likewise. + * tests/od/Makefile.am: Likewise. + * tests/rm/Makefile.am: Likewise. + * tests/rmdir/Makefile.am: Likewise. + * tests/seq/Makefile.am: Likewise. + * tests/sha1sum/Makefile.am: Likewise. + * tests/shred/Makefile.am: Likewise. + * tests/stty/Makefile.am: Likewise. + * tests/sum/Makefile.am: Likewise. + * tests/tail-2/Makefile.am: Likewise. + * tests/touch/Makefile.am: Likewise. + * tests/tsort/Makefile.am: Likewise. + * tests/unexpand/Makefile.am: Likewise. + +2003-01-31 Jim Meyering + + * src/stat.c: Include "file-type.h" + (print_human_type): Remove function. + (human_access): Rename from print_human_access. Return a string. + (human_time): Rename from print_human_time. Return a string. + (print_stat): Arrange so that field width and an alignment specifier + are honored for the %A, %F, %x, %y, and %z formats. + [%F]: Use file_type; this gives slightly different file type strings, + e.g., `directory' instead of `Directory' and `regular file' or + `regular empty file' instead of `Regular file'. + Prompted by a report from Richard Dawe that the uses of + S_IFSOCK and S_IFIFO in print_human_time were not portable + to systems using e.g., DJGPP. + +2003-01-31 Richard Dawe + + * src/stat.c (print_stat): Use S_ISLNK rather than an explicit + test using S_IFMT and S_IFLNK. S_IFLNK may not be defined. + +2003-01-31 Jim Meyering + + * src/du.c (main): Upon processing an invalid option or an invalid + --exclude-from or --max-depth option argument, don't exit right away, + in case there are others. Rather record the failure and exit after + processing other options. + + * GNUmakefile (TAR_OPTIONS): Set and export, in order to make + tar archive easier to reproduce. + + Rewrite to perform directory traversal using nftw. + + * src/du.c: Include "dirname.h", "ftw.h", and "quotearg.h". + (AUTHORS): Add self. + (opt_one_file_system): Move global into `main'. + (path, xstat, exit_status): Remove declarations. + (arg_length, suffix_length): New globals. + (G_fail): New global, sort of like the old `exit_status'. + (IS_FTW_DIR_TYPE): Define. + (print_only_size): New function. + (process_file): New function. + (str_init, ensure_space, str_copyc, str_concatc): Remove functions. + (str_trunc, pop_dir, count_entry): Likewise. + (du_files): Rewrite to use nftw. + +2003-01-30 Jim Meyering + + * tests/du/trailing-slash: Ensure that du/ftw follows a command-line + symlink-to-directory with -L, even without the trailing slash. + +2003-01-27 Jim Meyering + + * src/Makefile.am (check-misc): Check for st_blocks, too. + + * src/stat.c (print_stat): Use ST_NBLOCKS rather than `->st_blocks'. + Reported by Richard Dawe. + +2003-01-27 Andreas Schwab + + * src/ls.c (quote_name): Add fourth parameter, width, into which to + store the screen columns, and return the number of bytes instead. + (print_dir): Pass NULL as fourth parameter of quote_name. + (print_name_with_quoting): Likewise. + (length_of_file_name_and_frills): Get the width from the fourth + parameter of quote_name instead of return value. + +2003-01-27 Jim Meyering + + * src/ls.c (decode_switches): If `dired' is set without + `format == long_format', then silently reset dired. This doesn't + change the behavior of ls (all prior uses of dired were protected + by `&& format == long_format'), and lets us... + (DIRED_INDENT): ... remove the `format == long_format' conjunct. + (PUSH_CURRENT_DIRED_POS): Likewise. + (main): Likewise. + +2003-01-22 Jim Meyering + + * tests/du/no-x: New test, for functionality added to lib/ftw.c. + * tests/du/Makefile.am (TESTS): Add no-x. + +2003-01-21 Jim Meyering + + * src/remove.c (remove_entry) [ROOT_CAN_UNLINK_DIRS + && HAVE_STRUCT_DIRENT_D_TYPE]: If a file has d_type == DT_UNKNOWN + it may still be a directory -- or not (e.g., with FreeBSD on an + NFS-mounted file system), so resort to calling lstat to find out. + Based on a patch by Michael van Elst. + + * tests/cp/same-file: Don't assume that the file owner username + length is less than 9 in ls output: instead, omit that field + altogether. Reported by, and suggested fix from, Ferdinand. + +2003-01-20 Jim Meyering + + * tests/date/Test.pm (wide-fmt): New test to demonstrate that + large format widths no longer cause strftime to infloop. + + * Makefile.maint (mail_gpg_sign_cookie): Remove now-unused definition. + +2003-01-19 Jim Meyering + + * src/readlink.c: Include "canonicalize.h". + +2003-01-18 Jim Meyering + + * src/ls.c (Dereference_symlink) [DEREF_COMMAND_LINE_SYMLINK_TO_DIR]: + New member. + (enum) [DEREFERENCE_COMMAND_LINE_SYMLINK_TO_DIR_OPTION]: New member. + (long_options): Add option --dereference-command-line-symlink-to-dir. + (main): Make DEREF_COMMAND_LINE_SYMLINK_TO_DIR be the default, + rather than DEREF_COMMAND_LINE_ARGUMENTS, when none of the + -d, -F, -l options is specified. + (decode_switches): Handle --dereference-command-line-symlink-to-dir. + (gobble_file): Honor DEREF_COMMAND_LINE_SYMLINK_TO_DIR. + Change --dereference-command-line (-H) to dereference *all* + command line arguments, including broken symlinks. + +2003-01-15 Paul Eggert + + Change ls -H back to the way it was yesterday, since this is + compatible with FreeBSD and the POSIX spec is confusing + and somewhat contradictory. + + * src/ls.c (DEREF_COMMAND_LINE_ARGUMENTS): Change name back + from DEREF_COMMAND_LINE_SYMLINK_TO_DIR, updating all uses. + (long_options): Change the long option name back. + (usage): Change the usage back. + (gobble_file): When -H is specified, dereference a top-level + arg even if it points to a non-directory. + +2003-01-15 Jim Meyering + + * src/ls.c (gobble_file): Fall back on using lstat when required: + when --dereference (-L) is not specified, and + - when operating on a dangling symlink + - when operating on command-line-symlink-to-directories + This fixes numerous problems. Here are examples: + - `ls dangling-symlink' would fail with `no such file...' + Now it prints `dangling-symlink'. + - `ls -i symlink' would mistakenly print the inode of the referent. + Now it prints the inode of the symlink. Likewise for --size (-s). + Based on a patch from Michael Stone. + Reported by Deepak Goel as Debian bug #173793. + + Rename ls's --dereference-command-line (-H) + option to --dereference-command-line-symlink-to-dir. + * src/ls.c [enum Dereference_symlink] + (DEREF_COMMAND_LINE_SYMLINK_TO_DIR): Rename from + DEREF_COMMAND_LINE_ARGUMENTS. Update all uses. + (long_options): Rename the long option. + (usage): Say that --dereference-... changes how ls treats + only symlinks to directories specified on the command line. + +2003-01-14 Jim Meyering + + * tests/ls/dangle: New file/test, for the above fix. + * tests/ls/inode: Another new file/test, for the above fix. + * tests/ls/Makefile.am (TESTS): Add dangle and inode. + + * src/ls.c (gobble_file): Fix a bug introduced in 4.5.4 that made it + so that ls --color would no longer highlight the names of files with + the execute bit set when not specified on the command line. + Patch by Michael Stone. Reported by Stephen Depooter as + Debian bug 175135. + + * tests/ls-2/tests (color-exe): New test, for the above fix. + +2003-01-13 Jim Meyering + + * tests/shred/exact: Also test for just fixed bug with --zero. + + * src/shred.c (long_opts): --zero does not require an argument. + Patch by Michael Stone. Reported by Roland Turner as Debian bug 172019. + +2003-01-12 Jim Meyering + + * Makefile.maint (cvs-update): Skip any file with local modifications. + + * src/unexpand.c (usage): Document --first-only and mention that + --tabs=N (-t) enables --all (-a). Reported by wiregauze@yahoo.com. + +2002-12-01 Dmitry V. Levin + + * src/df.c: Include "canonicalize.h". + Use canonicalize_file_name unconditionally. + +2003-01-09 Jim Meyering + + * README: Add readlink. + +2002-11-30 Dmitry V. Levin + + * src/df.c: Include "xgetcwd.h". + * src/pwd.c: Likewise. + +2002-11-30 Dmitry V. Levin + + * src/shred.c: Remove declaration of xstrdup. + We already get it via xalloc.h which is included via system.h. + +2002-08-27 Dmitry V. Levin + + New program: readlink. + + * src/Makefile.am (bin_PROGRAMS): Add readlink. + * src/readlink.c: New file. + + * man/readlink.x: New file. + * man/Makefile.am (dist_man_MANS): Add readlink.1. + (readlink.1): New rule. + +2003-01-09 Jim Meyering + + When selecting ranges of byte offsets (as opposed to ranges of fields) + and when --output-delimiter=STRING is specified, output STRING between + ranges of selected bytes. + * src/cut.c (RANGE_START_SENTINEL): Define. + (output_delimiter_specified): New global. + (print_kth): Add parameter. Adjust all callers. + (set_fields): Mark each range-start index with RANGE_START_SENTINEL. + (cut_bytes): When requested, output STRING between ranges of + selected bytes. + (main): Make a diagnostic a little clearer. + Based on a patch from Jan Nieuwenhuizen. + + * tests/cut/Test.pm: New tests for the above. + + * src/cut.c (set_fields): Make code agree with comment: + Don't merge abutting ranges like 4- and 2-3. This makes no + difference currently, but is required to support an upcoming change. + +2003-01-07 Jim Meyering + + * src/cut.c (set_fields): Fix typo in comment. + + * tests/touch/not-owner: New test, mostly extracted from fail-diag. + * tests/touch/Makefile.am (TESTS): Add not-owner. + * tests/touch/fail-diag: Remove the test for non-owner diagnostic. + Now, this tests only the nonexistent-directory diagnostic. + Suggestion from Michael Stone. + + * tests/touch/fail-diag: Fix typo: s/ld/ls/. + +2003-01-04 Jim Meyering + + * src/copy.h: Remove use of PARAMS. + * src/remove.h: Likewise. + * src/chown-core.h: Likewise. + + rm could be tricked into mistakenly reporting a cycle. + * src/remove.c: [cycle_check_state]: New global. + (remove_cwd_entries): Adapt to new semantics of cycle_check. + (rm): Call cycle_check_init and cycle_check_free for each file. + * tests/rm/cycle (rm): New test, for the above fix. + * tests/rm/Makefile.am (TESTS): Add cycle. + + When rm detects a cycle, don't abort the entire command, + but rather just the affected command line argument. + * src/remove.c: Include + (struct dirstack_state) [current_arg_jumpbuf]: New member. + (remove_cwd_entries): Call longjmp if we detect a cycle. + (rm): Call setjmp here. + + * src/remove.c (cycle_check, is_power_of_two): Remove functions. + Instead, include cycle-check.h and use it. + + * src/remove.h (struct dev_ino): Remove declaration. + + * src/remove.c (remove_cwd_entries): Fix typos in comment. + + Don't include trailing /. in diagnostics about directories. + * src/remove.c (full_filename_): When FILENAME is just `.' + and there is a nonempty directory-name part, don't append `/.'. + * tests/rm/unread2: Remove trailing /. from diagnostic. + * tests/rm/rm2: Likewise. + + * src/remove.c (struct dirstack_state): Define. + To be used in place of these file-scoped globals ... + (dir_stack, len_stack, Active_dir): Remove globals. + (ds_init, ds_free): New functions. + (full_filename): Define. + (full_filename_): Rename from full_filename. + + Begin to make AD_* functions more generic. + * src/remove.c (AD_push_initial): Don't set status to RM_OK here. + (AD_push): Likewise. + (AD_INIT_OTHER_MEMBERS): Define. + (remove_dir): Define the `status' member manually after each + call to AD_push or AD_push_initial. + + * src/Makefile.am (check-misc): New rule, to ensure that no more + S_IS* macro definitions sneak into the code. + (check): Depend on check-misc. + + * src/remove.c [S_ISLNK]: Don't define. It's already defined in sys2.h. + * src/du.c (count_entry) [S_ISLNK]: Don't define. + * src/shred.c [S_ISLNK, S_ISFIFO, S_ISSOCK]: Don't define. + +2003-01-03 Jim Meyering + + * src/true.c: Add copyright. + (AUTHORS): I suppose I've written it. + + * src/Makefile.am (false.c): Make the generated file be read-only. + +2003-01-04 Jim Meyering + + * src/ls.c: Include "dev-ino.h". + [struct dev_ino]: Remove declaration. + +2003-01-02 Jim Meyering + + * src/cp.c (do_copy): Tweak diagnostic to be consistent with the one + from mv: s/missing file arguments/missing file argument/. + With --target-directory=DIR, cp and mv work with a single file argument. + Reported by Karl Berry. + + * tests/rm/isatty: Enable this test. + +2002-12-31 Jim Meyering + + * src/remove.c (AD_push_initial): Don't set status to RM_OK here. + (AD_push): Likewise. + (AD_INIT_OTHER_MEMBERS): Define. + (remove_dir): Define the `status' member manually after each + call to AD_push or AD_push_initial. + + * src/ls.c [struct dev_ino]: Remove definition. + Include "dev-ino.h" instead. + +2002-12-28 Jim Meyering + + * tests/du/Makefile.am (TESTS): Add no-deref. + * tests/du/no-deref: New script. + +2002-12-23 Jim Meyering + + * src/remove.c (remove_cwd_entries): Fix typo in comment. + +2002-12-21 Jim Meyering + + * announce-gen: Generate MML-formatted announcement. + This makes it a *lot* harder to send stale MD5/SHA1 signatures. + +2002-12-20 Jim Meyering + + * src/touch.c (touch): Change the wording of a diagnostic so + that it makes sense both when the file exists and when it doesn't. + Suggestion from Michael Stone. + +2002-12-18 Jim Meyering + + * src/stty.c (valid_options): Declare to be static. + +2002-12-15 Jim Meyering + + * Makefile.cfg: Remove rules related to generating m4/jm-glibc-io.m4. + + * src/chmod.c, src/copy.c, src/copy.h, src/cp-hash.h, src/csplit.c: + * src/date.c, src/expr.c, src/fmt.c, src/id.c, src/install.c: + * src/ls.c, src/od.c, src/pathchk.c, src/pr.c, src/remove.c: + * src/shred.c, src/sort.c, src/stat.c, src/stty.c, src/sum.c: + * src/tee.c, src/test.c: Remove all uses of `PARAMS'. + + * src/remove.c (PARAMS): Remove definition. + * src/sys2.h: Likewise. + + * src/ls.c, src/stat.c, src/date.c: Remove declaration of nstrftime. + Include strftime.h instead. + +2002-12-14 Jim Meyering + + * Makefile.cfg ($(url_dir_list)): Use .../coreutils, not .../fetish. + + * src/system.h [! HAVE_DECL_MEMRCHR]: Declare memrchr. + This is necessary at least for Irix6.5 when using c89. + Reported by Nelson Beebe. + + * tests/misc/Makefile.am (TESTS): Add cat-tty-eof. + + * tests/misc/cat-tty-eof: New test. + + * src/mknod.c (usage): Specify how major and minor mode numbers + are interpreted. Report forwarded by Kristin E Thomas. + * src/mknod.c: Remove now-redundant usage-specifying comment. + +2002-12-13 Jim Meyering + + * Version 4.5.4. + + * tests/du/trailing-slash: Allow for a directory of size `0'. + That happens at least on file systems of type tmpfs on linux-2.4.18. + + * announce-gen: New script to begin replacing the commands + associated with the rule here... + * Makefile.maint (announcement): Invoke announce-gen. + * Makefile.am (EXTRA_DIST): Add announce-gen. + + * tests/cp/preserve-2: New file/test, for latest fix. + * tests/cp/Makefile.am (TESTS): Add preserve-2. + +2002-12-11 TAKAI Kousuke + + Fix a bug whereby cp would fail to parse an option like + --preserve=mode,ownership. + * src/cp.c (decode_preserve_arg): Advance `comma' to + point the character following the comma. + +2002-12-11 Jim Meyering + + * src/pathchk.c (NEED_PATHCONF_WRAPPER): Undefine before defining, + in case it's already defined. + +2002-12-09 Jim Meyering + + * tests/touch/fail-diag: Don't get a test failure if /no exists. + Instead, evoke a framework failure if /no-$$ exists. + Reported by Michael Stone. + +2002-12-08 Jim Meyering + + * src/du.c (lstat) [! LSTAT_FOLLOWS_SLASHED_SYMLINK]: + Define to rpl_lstat, so that even on systems like Solaris 2.8, + du honors (per POSIX) the trailing slash on an argument referring + to a symlink-to-directory. + +2002-12-06 Jim Meyering + + * Use autoconf-2.57. Regenerate dependent files. + * Use automake-1.7.2. Regenerate dependent files. + + * src/ls.c (gobble_file): Also stat the file if it's a + regular file and --indicator-style=classify (aka -F). + Thanks to Ed Santiago for opening my eyes. + + * tests/ls/file-type: New file. Test for the above. + A test to contrast ls -F and ls --indicator-style=file-type. + * tests/ls/Makefile.am (TESTS): Add file-type. + +2002-12-04 Jim Meyering + + * tests/ls/follow-slink: Make sure the symlink was created. + Richard Dawe reported that `ln -s link link' succeeds, but creates + no file on systems running some version of the DJGPP libc. + +2002-12-03 Jim Meyering + + * src/Makefile.am (AUTOMAKE_OPTIONS): Remove definition (to ansi2knr) + since this package no longer panders to K&R compilers. + +2002-12-02 Jim Meyering + + * tests/du/slink: Skip this test if `.' is on a non-local file system. + + * tests/Fetish.pm (_at_replace): Do the substitution only if there's + something to replace. + +2002-12-01 Jim Meyering + + * src/stat.c: Don't include or . + That's already done via system.h. + * src/dircolors.c: Don't include . + +2002-11-30 Jim Meyering + + * ls.c (gobble_file): Remove the block of code that caused + `ls --color -F symlink-to-dir' to list the files in + `symlink-to-dir/.'. Now, it prints `symlink-to-dir@', (just + like `ls -F symlink-to-dir') but with the addition of highlighting. + Similarly, `ls --color -dF symlink-to-dir' would print + `symlink-to-dir/'; now it prints `symlink-to-dir@'. + Reported by Jeff Sheinberg as Debian bug #168203. + * tests/ls-2/tests (sl-F-color, sl-dF-color): New tests for the above. + + ls is now more efficient: with certain options, it no longer needs + to stat each directory entry on systems with valid dirent.d_type. + * src/ls.c (print_dir): Add DT_LNK and DT_REG. + (main): Make --recursive set format_needs_type, not format_needs_stat. + (gobble_file): Remove a FIXME comment, now that it's fixed. + +2002-11-24 Jim Meyering + + * src/du.c (du_files): Don't strip any trailing slash. + Rewrite so that `/' is no longer represented internally as + the empty string. + (count_entry): When appending a file name component, + account for the fact that the current path may end in `/'. + François Pinard reported that `du symlink-to-dir/' was not + equivalent to `du symlink-to-dir/.'. Now it is. + * tests/du/trailing-slash: New file/test, for the above fix. + * tests/du/Makefile.am (TESTS): Add trailing-slash. + +2002-11-23 Jim Meyering + + * src/tac.c (output): Declare some local variables to be of type size_t, + rather than `int' to avoid warnings from gcc. + +2002-11-21 Paul Eggert + + * src/ls.c (decode_switches): Use case-sensitive matching to + decode the QUOTING_STYLE environment variable. This is more + consistent with the documentation, and with --quoting-style. + +2002-11-21 Martin Buck + + * tests/sum/sysv: Export LC_ALL=C, to avoid failure when + run in a UTF locale. Report and suggested fix by Bruno Haible. + * tests/fmt/basic: Likewise. + +2002-11-17 Jim Meyering + + * configure.ac: Update via autoupdate. + Add `AM_GNU_GETTEXT_VERSION(0.11.5)'. + + * src/mv.c (movefile): Don't remove trailing slashes from SOURCE. + Reported by Hans Ginzel. + +2002-11-15 Jim Meyering + + * Makefile.cfg (gnu_rel_host): Define. + (url_dir_list): Choose from (alpha|ftp).gnu.org depending + on whether $(VERSION) looks like a major release number. + + * Makefile.maint (mail_gpg_sign_cookie): Backslash-escape `#'. + (release): Rename from `alpha'. + (alpha): Depend on release. + + * Makefile.maint (signatures): Define with ?=, so it's easy to override. + +2002-11-14 Jim Meyering + + * Makefile.maint (mail_gpg_sign_cookie): Make optional. + (announcement): Use the new variable. + + * Makefile.maint: Sync with Bison, i.e.: + (po-check): Scan .l and .y files instead of the + .c and the .h files that they generate. This fixes the bug + reported by Tim Van Holder in: + + Look for N_ as well as for _. Try to avoid matching #define for + N_ and _. + From Paul Eggert. + +2002-11-12 Jim Meyering + + * src/ls.c (HAVE_SYMLINKS): Remove unnecessary macro definition. + Replace sole use with equivalent `#ifdef S_ISLNK'. + Inconsistency reported by Dmitry V. Levin. + +2002-11-11 Jim Meyering + + * src/stat.c (usage): Transform --help items output via s/ - / /, + so that help2man produces properly formatted man pages. + Reported by Herbert Xu as Debian bug #168400. + +2002-11-10 Jim Meyering + + * src/ls.c (sighandler): Handle SIGTSTP specially. + Based on suggestions from Solar Designer and Dmitry V. Levin. + Add comments. + + * Makefile.cfg (cvs_files): Define. From autoconf. + (local_updates): Likewise. + + * src/ls.c (restore_default_color_handler, sigtstp_handler): + Remove functions. + (sighandler): New function, based on the one in sort.c. + (main): Use sigaction, if possible; otherwise signal. + Handle these signals: + SIGHUP, SIGINT, SIGPIPE, SIGQUIT, SIGTERM, SIGTSTP. + Don't register our handler if the signal is already being ignored. + + * src/dd.c (interrupt_handler): Use raise, rather than kill+getpid. + * src/csplit.c (interrupt_handler): Likewise. + * src/sort.c (sighandler): Likewise. + (main): Declare `i' and `nsigs' to be unsigned, not int. + +2002-11-09 Jim Meyering + + ls --color: restore terminal text color upon signal. + * src/ls.c: Include "full-write.h" and . + (restore_default_color, restore_default_color_handler): New functions. + (sigtstp_handler, put_indicator_direct): New functions. + (main) [print_with_color]: Register signal handlers. + Patch mostly by Solar Designer and Stanislav Ievlev. + + Update from autoconf. + * Makefile.maint (AMTAR): Remove definition. + (update, cvs-update, po-update, do-po-update): New rules. + (wget-update): Update (thus renaming to cvs-update). + (automake_repo): Use anoncvs@sources.redhat.com. + +2002-11-06 Jim Meyering + + * tests/misc/Makefile.am (TESTS): Add printf-hex. + + * tests/misc/printf: Be careful to test the code in this package, + not the shell built-in function. + + * src/printf.c (print_esc): A hexadecimal escape sequence has + at most two hex. digits, not three. Reported by Padraig Brady. + (usage): Update description. + * tests/misc/printf-hex: New file/test, for the above fix. + +2002-10-07 Paul Eggert + + Add support for locale-specific size indications (e.g., + thousands-separators) and for explicit size suffixes on output. + + * doc/coreutils.texi (Block size): Say that: + This affects display format as well as block size. + Fractional block counts are rounded up. + ls file size blocksize defaults to 1. + A block size spec preceded by ' generates thousands separators. + A suffix without a preceding integer generates suffixes. + (tail invocation): 32k -> 32 KiB. + (What information is listed): ls -h is now equivalent to + ls --block-size=human, and ls -H is now equivalent to + ls --block-size=si. Displayed file size is now always affected by + --block-size. + + * lib/inttostr.c, lib/inttostr.h, lib/imaxtostr.c, lib/offtostr.c, + lib/umaxtostr.c: New files, taken from GNU tar. + + * lib/Makefile.am (libfetish_a_SOURCES): Add imaxtostr.c, offtostr.c, + umaxtostr.c. + (EXTRA_DIST): Add inttostr.c. + + * lib/human.c, lib/human.h: Rewrite to support locale-specific + notations like thousands separators. + Specify what includer of include.h must include beforehand. + (human_group_digits, human_suppress_point_zero, human_autoscale, + human_base_1024, human_SI, human_B): New enum values. + (human_readable): Rename from human_readable_inexact; put the + options before the sizes. All uses changed. The old human_readable + function has been removed; use inttostr.h instead. + (human_options): Renamed from human_block_size, with new signature + that allows block sizes up to UINTMAX_MAX. All callers changed. + + * m4/prereq.m4 (jm_PREREQ_HUMAN): Check for locale.h, localeconv, + AC_HEADER_STDBOOL. No need to check for limits.h since it's in + freestanding C89. No need to check for stdlib.h or string.h since + autoconf does this now. + + * src/cksum.c (cksum): Use primitives from inttostr.h, not + human.h, to print large numbers simply. + * src/csplit.c (handle_line_error, parse_patterns): Likewise. + * src/dd.c (print_stats, main): Likewise. + * src/df.c (print_header): Likewise. + * src/factor.c (print_factors): Likewise. + * src/ls.c (print_long_format, print_file_name_and_frills): Likewise. + * src/shred.c (dopass): Likewise. + * src/sort.c (checkfp): Likewise. + * src/sum.c (bsd_sum_file, sysv_sym_file): Likewise. + * src/tail.c (xlseek): Likewise. + * src/wc.c (write_counts, wc): Likewise. + + * src/df.c (human_output_opts): New var. + (output_block_size): Now uintmax_t, not int, to handle larger + block sizes. All uses changed. + * src/du.c: Likewise. + * src/ls.c: Likewise. + + * src/df.c (print_header): In the header line, prefer SI to human + representation if it's shorter; if neither is shorter, try to + intuit what the user would prefer. + + * src/expr.c (inttostr): Remove; use new imaxtostr library + function instead. + + * src/ls.c (file_output_block_size): New var, to distinguish + file sizes from other sizes. + (decode_switches): Set it. + + * src/shred.c (OUTPUT_BLOCK_SIZE): remove. + (dopass): When printing progress, use floor for what has been done + so far (since we should be conservative there), and ceiling for + what needs to be done (since that's what other programs use). + +2002-10-19 Jim Meyering + + * src/pinky.c (print_heading): Align TTY and Name headings. + Reported by Karl Eichwalder. + +2002-10-18 Jim Meyering + + * src/split.c (cwrite): Change type of `bytes' parameter to size_t + Remove now-useless cast. + (stdread): Remove function. + (bytes_split): Use size_t instead of int. + Use safe_read, not stdread. + (lines_split): Likewise. + Use memchr rather than a `while' loop. + (line_bytes_split): Use size_t instead of int. + Use safe_read, not stdread. + (main): Add some FIXME comments to remind me to remove casts. + + * src/system.h (ST_BLKSIZE): Correct comment describing how to + reproduce HPUX-11 cat failure. From Petter Reinholdtsen. + +2002-10-17 Jim Meyering + + Fix a problem that could make e.g., `cat' misbehave on systems which + give invalid (unreasonably large) values for stat.st_blksize. + * src/system.h (ST_BLKSIZE): Ensure that the result is in [1..4MB]. + Reported by Petter Reinholdtsen. + +2002-10-14 Jim Meyering + + Specifying a printf conversion specifer as nl's separator string + could cause nl to segfault. + * src/nl.c (build_print_fmt): Don't include separator string + in the printf format; it might contain `%'. + Use a better bound on the length of the print_fmt buffer. + (print_lineno): Print the separator here instead. + Reported by Doug Coleman. + + * tests/misc/nl: New file/tests, including a test for the above. + * tests/misc/Makefile.am (TESTS): Add nl. + + * tests/misc/split-l: New test, to make sure `split --lines=N' works. + * tests/misc/Makefile.am (TESTS): Add split-l. + +2002-10-13 Jim Meyering + + * Version 4.5.3. + + * src/du.c (usage): Tweak description of --dereference-args/-D. + + * src/du.c (count_entry): Also save cwd when dereferencing (via + --dereference-args, -D) a command-line argument. + Reported by Michal Svec. Based on a patch by Andreas Schwab. + + * src/Makefile.am (../AUTHORS): New target/rule. + +2002-10-12 Jim Meyering + + * src/paste.c (paste_parallel): Declare local, `delims_saved', to be + of type size_t, since that's the way it's used and avoids a warning. + + * src/csplit.c (struct cstring) [len]: Declare to be unsigned int, + since that's how it's always used and avoids a new warning from gcc. + (read_input): Adapt to new safe_read ABI. + + * src/cut.c (cut_fields): Add a temporary size_t variable, n_bytes, + to avoid warnings. + + * src/pinky.c (print_long_entry): fread returns size_t. + Declare local `bytes' accordingly, to avoid warning. + + tail -c +N would perform an extra read after encountering EOF + [this change is analogous (bytes vs. lines) to the one of 2002-01-27] + * src/tail.c (start_bytes): Detect EOF, inform caller. + (tail_bytes): Upon EOF in start_bytes, return immediately. + (file_lines): Reorganize to use memrchr rather than an explicit loop. + Adapt to new safe_read ABI. + +2002-10-11 Jim Meyering + + * tests/du/deref: New file/test, for the above fix. + * tests/du/Makefile.am (TESTS): Add deref. + +2002-10-10 Jim Meyering + + * tests/ln/Makefile.am (TESTS): Add target-1. + * tests/ln/target-1: New file/test, for the fix on 2002-10-08. + +2002-10-09 Jim Meyering + + * tests/cp/backup-is-src: Ensure that certain environment variables + are not set (e.g., SIMPLE_BACKUP_SUFFIX). Reported by Duncan Roe. + + * tests/tail-2/big-4gb: Mark this as an expensive test; it would + consume 4GB of disk space on systems without support for sparse files. + Fix a logic error that'd make it `cat err' even though dd didn't fail. + + * src/dircolors.hin (.jar): Fix typo: s/;3$/;31/. + Patch by steven@magelico.net, forwarded by Michael Stone. + + * tests/ls/dired: Ensure that ls produces English messages. + Patch by Alexey Vyskubov, forwarded by Michael Stone. + +2002-10-08 Dmitry V. Levin + + * src/ln.c (main): Fix target_directory parsing when n_files == 1. + +2002-10-08 Jim Meyering + + * tests/tail-2/big-4gb: Use double quotes around diagnostic. + Fix syntax in test: use =, not ==. + Reported by Bob Proulx. + Change all the rest like this: grep -lR "testing framework'" .\ + |xargs perl -pi -e 's/'\''(\$0: failure in testing framework)'\''/"$1"/' + + * src/sum.c (sysv_sum_file): Adapt to new safe_read ABI. + * src/tr.c (squeeze_filter, read_and_delete, read_and_xlate): Likewise. + * src/tac.c (save_stdin, tac_stdin_to_mem): Likewise. + * src/wc.c (wc): Likewise. + +2002-10-07 Paul Eggert + + * src/cat.c (cat): + Don't advance the write pointer past the end of the write buffer. + * src/sort.c (begfield, limfield): Likewise. + +2002-10-07 Jim Meyering + + * src/cat.c (simple_cat, cat): Adapt to new safe_read ABI. + * src/head.c (head_bytes, head_lines): Likewise. + +2002-10-06 Jim Meyering + + * src/dd.c (scanargs): Ensure that specified block sizes (specified + via ibs=N, obs=N, and bs=N) are no larger than SSIZE_MAX. + (skip, dd_copy): Adapt to new safe_read ABI. + + * Makefile.maint (signatures): Define. + (%.sig): New rule. + (announcement): Depend on $(signatures). + + * Makefile.maint (announcement): Output all URLs for detached + signatures, not just the last one from the previous loop. + +2002-10-05 Jim Meyering + + * Version 4.5.2. + + * src/remove.c (remove_entry) [ROOT_CAN_UNLINK_DIRS]: With `rm -i DIR', + don't recurse into directory, DIR. Prompted by a report from + Leonardo Milano. + + * tests/rm/i-no-r: New file/test, for the above fix. + * tests/rm/Makefile.am (TESTS): Add i-no-r. + + * tests/tail-2/big-4gb: New file/test, for the fix of 2002-09-27. + * tests/tail-2/Makefile.am (TESTS): Add big-4gb. + +2002-10-03 Jim Meyering + + * src/rm.c (AUTHORS): Mark translatable string with `N_ (...)'. + * src/df.c (AUTHORS): Likewise. + * src/du.c (AUTHORS): Likewise. + * src/tail.c (AUTHORS): Likewise. + * src/touch.c (AUTHORS): Likewise. + +2002-10-02 Jim Meyering + + * Makefile.am (SUBDIRS): Remove `old'. + (EXTRA_DIST): List the files in old/. + * configure.ac (AC_CONFIG_FILES): Remove old/* names. + Suggestion from Akim Demaille. + +2002-10-01 Jim Meyering + + * src/sys2.h (SSIZE_MAX): Define. + +2002-09-30 Jim Meyering + + * src/csplit.c: Don't include stdlib.h here. It's already included + via system.h. + +2002-09-29 Jim Meyering + + * src/tr.c (find_bracketed_repeat): Rearrange pointer/integer + expression to avoid bogus warning from gcc. + + * src/cat.c (simple_cat): Use a temporary to avoid bogus warnings. + (cat): Declare insize and outsize to be of type size_t, not int. + Rearrange pointer/integer expressions to avoid bogus warnings. + (main): Declare insize and outsize to be of type size_t, not int. + + * src/tail.c (parse_options): Give a sensible diagnostic for + an invalid byte or line count. Reported by Mikko Tuumanen. + + * src/touch.c (main): Split a long line. + + * tests/du/Makefile.am (TESTS): Add slink. + * tests/du/slink: New test for system.h change of 2002-08-31. + + In move mode, always first try to rename. Before, upon failure to + rename a directory, this code would never attempt to rename any + other file in that directory, but would thenceforth always copy. + On some systems (e.g., NetApp's OnTap-6.4), renaming a directory + may fail with EXDEV, yet renaming files within that directory to + a newly-created destination directory succeeds. + * src/copy.c (copy_internal): Remove local, move_mode; + use x->move_mode instead. Based on a patch from Tom Haynes. + +2002-09-28 Jim Meyering + + * src/split.c (FAIL_ONLY_ONE_WAY): New macro. + Factor out some duplication. + (main): Use it. + [case 'a']: Use strtoul rather than strtol to avoid compiler warnings. + + * src/sort.c (begfield, limfield): Rearrange comparisons to avoid + compiler warnings. + (fillbuf, keycompare): Cast literal `-1' to size_t in comparisons, + to avoid compiler warnings. + + * src/shred.c (dopass): Use a uintmax_t temporary to avoid bogus + compiler warnings. + + Fix things so `mkdir -p' can create very deep directories, e.g., + mkdir -p $(perl -e 'print "a/" x 40000') now works. + * src/mkdir.c (main): For --parents (-p), call make_path with the + entire directory name, so we don't ever require that file operations + like stat or chmod be performed on the entire command line argument. + * makepath.c (make_path): Restore umask *before* creating the final + component. + +2002-09-27 Andreas Schwab + + * src/tail.c (tail_bytes): Change type of bytes_remaining to off_t + to avoid overflow. Reported by Hans Lermen. + +2002-09-26 Jim Meyering + + * src/install.c (get_ids): Use strtoul, not strtol. Remove some casts. + +2002-09-25 Jim Meyering + + * src/test.c (eaccess): Change type of local `euid' from int to uid_t + and add a cast, to avoid a warning about `signed and unsigned type in + conditional expression'. + +2002-09-22 Jim Meyering + + * src/rmdir.c: Include "dirname.h", for declaration of + strip_trailing_slashes. + + * src/stat.c (PRIdMAX, PRIuMAX): Remove definitions. + Now they're defined through system.h. + + * src/cp-hash.c, src/dd.c, src/df.c, src/du.c, src/ls.c, + * src/stat.c, src/wc.c: Remove all inclusions of inttypes.h, + since it's already included from sys2.h via system.h. + + * Use automake-1.6f. Regenerate dependent files. + + * src/Makefile.am (PERL): Remove duplicate definition. + + fmt's -s, -t, -c options didn't work properly for long lines. + Since get_line may end up calling put_paragraph (for long lines), + be sure to set global, `other_indent', before it is used there. + + * src/fmt.c (set_other_indent): New function, factored out of... + (get_paragraph): ... here. Call it. + (get_line): Call set_other_indent before calling flush_paragraph, + which calls fmt_paragraph, which in turn calls put_paragraph, + which uses other_indent. + + * tests/fmt/Makefile.am (TESTS): Add long-line. + * tests/fmt/long-line: New file/test, for the above fix. + +2002-09-21 Jim Meyering + + * src/od.c: No longer include deprecated . + It was required solely for now-removed reference to BITSPERBYTE. + * src/install.c: Likewise. + Suggestion from Bruno Haible. + +2002-09-06 Andreas Schwab + + `rmdir -p dir-specified-with-trailing-slash/' would fail. + * src/rmdir.c (remove_parents): Strip trailing slashes. + +2002-09-20 Jim Meyering + + * tests/rmdir/t-slash: New file/test, for the above fix. + * tests/rmdir/Makefile.am (TESTS): Add t-slash. + + * Makefile.maint (announcement): Arrange to gpg-sign the message. + Add a URL for each detached signature file. + +2002-09-07 Bruno Haible + + * configure.ac: Add need-ngettext to AM_GNU_GETTEXT invocation. + +2002-09-18 Jim Meyering + + `od -t x8' used the wrong (`l'-prefixed) printf format. + Likewise for the o8 and u8 formats. + * src/od.c (ISPEC_TO_FORMAT): Define macro. + (decode_one_format): Use PRIdMAX, PRIoMAX, etc. for LONG_LONG. + Reported by Arun Sharma. + +2002-09-17 Jim Meyering + + * src/sys2.h (PRIdMAX, PRIoMAX, PRIuMAX, PRIxMAX): Define if necessary. + From gettext's intl/loadmsgcat.c. + + * tests/od/x8: New file/test, for the above fix. + * tests/od/Makefile.am (TESTS): Add x8. + +2002-09-15 Jim Meyering + + * Use autoconf-2.54. Regenerate dependent files. + + * src/csplit.c (get_format_width): Add cast to avoid + warning about `signed and unsigned type in conditional expression'. + +2002-09-14 Jim Meyering + + * src/who.c (print_user): Change type of local to size_t + to avoid warnings about `comparison between signed and unsigned'. + * src/ptx.c (generate_all_output): Likewise. + + * src/dd.c (main, skip): Add casts to avoid warnings about + `comparison between signed and unsigned'. + + * src/id.c (print_full_info, print_group_list): Add casts to avoid + warnings about `signed and unsigned type in conditional expression'. + + * src/md5sum.c: Change type of global, digest_hex_bytes, to size_t + to avoid warnings about `comparison between signed and unsigned'. + (split_3): Change parameter names to be readable and add comment. + Clean up the test for whether a line may be ignored. + +2002-09-13 Jim Meyering + + * src/printf.c (main): Handle leading command line argument of `--'. + Reported by Raul: DervishD + * tests/misc/printf: New file: test for the above. + * tests/misc/Makefile.am (TESTS): Add printf. + + * src/date.c (usage): Explain that %S's range of [0..60] is required -- + rather than 0..59 -- to accommodate the occasional positive leap second. + Reported by Richard Neill. + +2002-09-12 Jim Meyering + + * src/Makefile.am (nanosec_libs): Define. + (sleep_LDADD, tail_LDADD): Use it here. + + Factor nanosleep-related code into ../lib/xnanosleep.c. + * src/sleep.c: Include xnanosleep.h. + Factor out fenv.h-related code. + (timespec_subtract): Remove function. + (main): Remove code that deals with computing start and stop times + as well as the loop around nanosleep. Now that's in xnanosleep.c. + + Allow S (in --sleep-interval=S) to be a floating point value. + * src/tail.c: Include xnanosleep.h and xstrtod.h. + Move declaration of global variable, sleep_interval, to ... + (main): ...here. + (usage): Update description of --sleep-interval option. + (tail_forever): New parameter, sleep_interval. Update caller. + Use xnanosleep, rather than sleep. + (parse_options): New parameter, sleep_interval. Update caller. + Use xstrtod, now that we accept floating point values. + Prompted by a patch from Augey Mikus. + +2002-09-06 Jim Meyering + + * src/remove.c (prompt): Change comment to give a better note to + translators. From Michael Piefel. + +2002-09-02 Jim Meyering + + * README: A good problem report/patch includes diffs against + the most recent test release. + + * src/pathchk.c (NEED_PATHCONF_WRAPPER): Define. + (pathconf_wrapper): Define only if NEED_PATHCONF_WRAPPER is set. + + * src/kill.c (print_table_row): Use an unsigned type for widths + to avoid warning about comparison between signed and unsigned. + (list_signals): Likewise. + + * src/od.c (skip): Add a cast to avoid warning about comparison + between signed and unsigned. + * src/install.c (get_ids): Likewise. Also rearrange range-checking + comparisons to make them more readable. + +2002-09-01 Jim Meyering + + * Version 4.5.1. + +2002-08-31 Jim Meyering + + Symlinks were always reported as using 0 blocks. + * src/system.h (ST_NBLOCKS): Don't depend on file type. + This reverts the change of 2000-01-30. + Based on a report and patch from Neil Brown via Michael Stone. + This fixes Debian Bug#156358. + + * Most files: Change `exit (0)' to `exit (EXIT_SUCCESS)', + `exit (1)' to `exit (EXIT_FAILURE)', and + `usage (1)' to `usage (EXIT_FAILURE)'. + + * chgrp.c, chmod.c, chown.c, chroot.c, cp.c, date.c, dd.c, du.c, + * hostname.c, id.c, install.c, ln.c, mkdir.c, mkfifo.c, mknod.c, + * nice.c, pinky.c, printf.c, pwd.c, shred.c, sleep.c, stty.c, + * su.c, tac-pipe.c, tail.c, tee.c, touch.c, uname.c, uptime.c, + * users.c, who.c: Change `error (1, ...' to `error (EXIT_FAILURE, ...'. + But don't change `error (0, ...' to `error (EXIT_SUCCESS, ...', since + error never exits successfully. + +2002-08-29 Jim Meyering + + * src/remove.c (remove_cwd_entries): Use closedir (not CLOSEDIR) + when ignoring any return value. + + * src/remove.c (remove_cwd_entries): Detect and diagnose readdir + failures. On some systems (at least EMC Celerra and Solaris5.8), + this appears to be necessary. + (is_empty_dir): Likewise. Also, always close directory handle. + * src/ls.c (print_dir): Likewise. + (print_dir): Rename local variable: reading -> dirp. + Reported by Mike Coleman. + +2002-08-28 Jim Meyering + + * src/remove.c (remove_cwd_entries): Use CLOSEDIR, not closedir. + Give a diagnostic and fail if closedir fails. + +2002-08-26 Jim Meyering + + * Makefile.am (THANKS-to-translators): New rule. + (EXTRA_DIST): Add both THANKS-to-translators and THANKStt.in. + * THANKStt.in: New file. + + * src/cat.c (close_stdout_wrapper): New, kludgey, function and + file-scoped global. + (main): Register it with atexit. + Close STDOUT_FILENO, to avoid a problem when writing to + /dev/audio on at least Solaris 2.7 and 2.8 systems. + Reported by Shing-Shong Shei. + +2002-08-25 Jim Meyering + + * src/cat.c (main): Close STDIN_FILENO rather than a literal `0'. + * src/tac.c (main): Likewise. + * src/tail.c (main): Likewise. + * src/tee.c (main): Likewise. + * src/tr.c (main): Likewise. + * src/wc.c (main): Likewise. + +2002-08-20 Jim Meyering + + * tests/mv/setup: Rewrite not to use `: ${VAR=not_set}' paradigm. + +2002-08-10 Paul Eggert + + * src/nohup.sh: Don't use "exec --"; it's not portable and + shouldn't be needed. + +2002-08-09 Jim Meyering + + * src/pr.c (main): Don't ignore -COLUMN if it's the last option. + (usage): Clarify help text for the -COLUMN option. + Patch by Padraig Brady. + * tests/pr/Test.pm [col-last]: New test for the above. + + * configure.ac: Start with version 4.5.1, chosen so that it's larger + than the latest version numbers of the component packages. + + * man/Makefile.am (check-x-vs-1): Set and export PATH so we use + programs in ../src. + +2002-08-08 Jim Meyering + + * src/date.c: Guard inclusion of with + `#if HAVE_LANGINFO_CODESET', not `#if HAVE_LANGINFO_H'. + * src/sort.c: Likewise. + Patch by GOTO Masanori. + +2002-08-05 Paul Eggert + + Fix some minor time-related bugs with POSIX time arguments. + Some valid time stamps were being rejected (notably -1, and + time stamps before 1900 on 64-bit hosts). And some invalid + time stamps were being accepted, e.g. September 31. + + * src/date.c (main): Adjust to posixtime signature change. + * src/touch.c (main): Likewise. Remove unnecessary initialization. + Use localtime, not posixtm, to warn about obsolete "touch". + +2002-08-05 Jim Meyering + + * tests/misc/Makefile.am (TESTS): Add nice and pathchk1. + +2002-08-04 Jim Meyering + + * src/Makefile.am (check-README): New target/rule. + (check): Depend on it. + + * configure.ac (AC_CONFIG_FILES): Add old/Makefile and old/*/Makefile. + +2002-08-03 Jim Meyering + + * Makefile.am (SUBDIRS): Add old. + * old/: New directory, containing legacy ChangeLog* and NEWS files + from the fileutils, sh-utils, and textutils packages. + + * src/Makefile.am (AM_INSTALLCHECK_STD_OPTIONS_EXEMPT): Set to false. + +2002-08-02 Paul Eggert + + * NEWS, doc/coreutils.texi: uniq now obeys LC_COLLATE. + + * src/uniq.c: Include hard-locale.h, xmemcoll.h. + (hard_LC_COLLATE): New var. + (different): Args are now char *, not const char *. + Use xmemcoll instead of memcmp to compare lines, so that + LC_COLLATE has effect. However, use memcmp if it is an + easy locale. + (check_file): Do not include newline in comparison, so that + xmemcoll has a byte to stomp on temporarily. + (main): Set hard_LC_COLLATE. + +2002-07-29 Jim Meyering + + * Makefile.am (SUBDIRS): Remove djgpp, for now. + +2002-07-20 Jim Meyering + + * Makefile.am (false.c): Convert only the final EXIT_SUCCESS + into EXIT_FAILURE. Otherwise, false --help and false --version + would fail. + +2002-07-08 Jim Meyering + + * src/Makefile.am (uninstall-local): Search for @GNU_PACKAGE@, + rather than the hard-coded `sh-utils'. + +2002-07-01 Jim Meyering + + * configure.ac: Merge the three files from fileutils, + textutils, and sh-utils. + * Makefile.am: Likewise. + * src/Makefile.am: Likewise. + +Local Variables: +version-control: never +End: diff --git a/src/apps/bin/coreutils-5.0/GNUmakefile b/src/apps/bin/coreutils-5.0/GNUmakefile new file mode 100644 index 0000000000..4c1d70296f --- /dev/null +++ b/src/apps/bin/coreutils-5.0/GNUmakefile @@ -0,0 +1,36 @@ +# Having a separate GNUmakefile lets me `include' the dynamically +# generated rules created via Makefile.maint as well as Makefile.maint itself. +# This makefile is used only if you run GNU Make. +# It is necessary if you want to build targets usually of interest +# only to the maintainer. + +# Systems where /bin/sh is not the default shell need this. The $(shell) +# command below won't work with e.g. stock DOS/Windows shells. +SHELL = /bin/sh + +have-Makefile := $(shell test -f Makefile && echo yes) + +# If the user runs GNU make but has not yet run ./configure, +# give them a diagnostic. +ifeq ($(have-Makefile),yes) + +# Make tar archive easier to reproduce. +export TAR_OPTIONS = --owner=0 --group=0 --numeric-owner + +include Makefile +include $(srcdir)/Makefile.cfg +include $(srcdir)/Makefile.maint + +else + +all: + @echo There seems to be no Makefile in this directory. + @echo "You must run ./configure before running \`make'." + @exit 1 + +endif + +# Tell version 3.79 and up of GNU make to not build goals in this +# directory in parallel. This is necessary in case someone tries to +# build multiple targets on one command line. +.NOTPARALLEL: diff --git a/src/apps/bin/coreutils-5.0/INSTALL b/src/apps/bin/coreutils-5.0/INSTALL new file mode 100644 index 0000000000..62ea076c1f --- /dev/null +++ b/src/apps/bin/coreutils-5.0/INSTALL @@ -0,0 +1,231 @@ +Copyright 1994, 1995, 1996, 1999, 2000, 2001 Free Software Foundation, +Inc. + + This file is free documentation; the Free Software Foundation gives +unlimited permission to copy, distribute and modify it. + +Basic Installation +================== + + These are generic installation instructions. + + The `configure' shell script attempts to guess correct values for +various system-dependent variables used during compilation. It uses +those values to create a `Makefile' in each directory of the package. +It may also create one or more `.h' files containing system-dependent +definitions. Finally, it creates a shell script `config.status' that +you can run in the future to recreate the current configuration, and a +file `config.log' containing compiler output (useful mainly for +debugging `configure'). + + It can also use an optional file (typically called `config.cache' +and enabled with `--cache-file=config.cache' or simply `-C') that saves +the results of its tests to speed up reconfiguring. (Caching is +disabled by default to prevent problems with accidental use of stale +cache files.) + + If you need to do unusual things to compile the package, please try +to figure out how `configure' could check whether to do them, and mail +diffs or instructions to the address given in the `README' so they can +be considered for the next release. If you are using the cache, and at +some point `config.cache' contains results you don't want to keep, you +may remove or edit it. + + The file `configure.ac' (or `configure.in') is used to create +`configure' by a program called `autoconf'. You only need +`configure.ac' if you want to change it or regenerate `configure' using +a newer version of `autoconf'. + +The simplest way to compile this package is: + + 1. `cd' to the directory containing the package's source code and type + `./configure' to configure the package for your system. If you're + using `csh' on an old version of System V, you might need to type + `sh ./configure' instead to prevent `csh' from trying to execute + `configure' itself. + + Running `configure' takes awhile. While running, it prints some + messages telling which features it is checking for. + + 2. Type `make' to compile the package. + + 3. Optionally, type `make check' to run any self-tests that come with + the package. + + 4. Type `make install' to install the programs and any data files and + documentation. + + 5. You can remove the program binaries and object files from the + source code directory by typing `make clean'. To also remove the + files that `configure' created (so you can compile the package for + a different kind of computer), type `make distclean'. There is + also a `make maintainer-clean' target, but that is intended mainly + for the package's developers. If you use it, you may have to get + all sorts of other programs in order to regenerate files that came + with the distribution. + +Compilers and Options +===================== + + Some systems require unusual options for compilation or linking that +the `configure' script does not know about. Run `./configure --help' +for details on some of the pertinent environment variables. + + You can give `configure' initial values for variables by setting +them in the environment. You can do that on the command line like this: + + ./configure CC=c89 CFLAGS=-O2 LIBS=-lposix + + *Note Defining Variables::, for more details. + +Compiling For Multiple Architectures +==================================== + + You can compile the package for more than one kind of computer at the +same time, by placing the object files for each architecture in their +own directory. To do this, you must use a version of `make' that +supports the `VPATH' variable, such as GNU `make'. `cd' to the +directory where you want the object files and executables to go and run +the `configure' script. `configure' automatically checks for the +source code in the directory that `configure' is in and in `..'. + + If you have to use a `make' that does not support the `VPATH' +variable, you have to compile the package for one architecture at a +time in the source code directory. After you have installed the +package for one architecture, use `make distclean' before reconfiguring +for another architecture. + +Installation Names +================== + + By default, `make install' will install the package's files in +`/usr/local/bin', `/usr/local/man', etc. You can specify an +installation prefix other than `/usr/local' by giving `configure' the +option `--prefix=PATH'. + + You can specify separate installation prefixes for +architecture-specific files and architecture-independent files. If you +give `configure' the option `--exec-prefix=PATH', the package will use +PATH as the prefix for installing programs and libraries. +Documentation and other data files will still use the regular prefix. + + In addition, if you use an unusual directory layout you can give +options like `--bindir=PATH' to specify different values for particular +kinds of files. Run `configure --help' for a list of the directories +you can set and what kinds of files go in them. + + If the package supports it, you can cause programs to be installed +with an extra prefix or suffix on their names by giving `configure' the +option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. + +Optional Features +================= + + Some packages pay attention to `--enable-FEATURE' options to +`configure', where FEATURE indicates an optional part of the package. +They may also pay attention to `--with-PACKAGE' options, where PACKAGE +is something like `gnu-as' or `x' (for the X Window System). The +`README' should mention any `--enable-' and `--with-' options that the +package recognizes. + + For packages that use the X Window System, `configure' can usually +find the X include and library files automatically, but if it doesn't, +you can use the `configure' options `--x-includes=DIR' and +`--x-libraries=DIR' to specify their locations. + +Specifying the System Type +========================== + + There may be some features `configure' cannot figure out +automatically, but needs to determine by the type of host the package +will run on. Usually `configure' can figure that out, but if it prints +a message saying it cannot guess the host type, give it the +`--build=TYPE' option. TYPE can either be a short name for the system +type, such as `sun4', or a canonical name which has the form: + + CPU-COMPANY-SYSTEM + +where SYSTEM can have one of these forms: + + OS KERNEL-OS + + See the file `config.sub' for the possible values of each field. If +`config.sub' isn't included in this package, then this package doesn't +need to know the host type. + + If you are _building_ compiler tools for cross-compiling, you should +use the `--target=TYPE' option to select the type of system they will +produce code for. + + If you want to _use_ a cross compiler, that generates code for a +platform different from the build platform, you should specify the host +platform (i.e., that on which the generated programs will eventually be +run) with `--host=TYPE'. In this case, you should also specify the +build platform with `--build=TYPE', because, in this case, it may not +be possible to guess the build platform (it sometimes involves +compiling and running simple test programs, and this can't be done if +the compiler is a cross compiler). + +Sharing Defaults +================ + + If you want to set default values for `configure' scripts to share, +you can create a site shell script called `config.site' that gives +default values for variables like `CC', `cache_file', and `prefix'. +`configure' looks for `PREFIX/share/config.site' if it exists, then +`PREFIX/etc/config.site' if it exists. Or, you can set the +`CONFIG_SITE' environment variable to the location of the site script. +A warning: not all `configure' scripts look for a site script. + +Defining Variables +================== + + Variables not defined in a site shell script can be set in the +environment passed to `configure'. However, some packages may run +configure again during the build, and the customized values of these +variables may be lost. In order to avoid this problem, you should set +them in the `configure' command line, using `VAR=value'. For example: + + ./configure CC=/usr/local2/bin/gcc + +will cause the specified gcc to be used as the C compiler (unless it is +overridden in the site shell script). + +`configure' Invocation +====================== + + `configure' recognizes the following options to control how it +operates. + +`--help' +`-h' + Print a summary of the options to `configure', and exit. + +`--version' +`-V' + Print the version of Autoconf used to generate the `configure' + script, and exit. + +`--cache-file=FILE' + Enable the cache: use and save the results of the tests in FILE, + traditionally `config.cache'. FILE defaults to `/dev/null' to + disable caching. + +`--config-cache' +`-C' + Alias for `--cache-file=config.cache'. + +`--quiet' +`--silent' +`-q' + Do not print messages saying which checks are being made. To + suppress all normal output, redirect it to `/dev/null' (any error + messages will still be shown). + +`--srcdir=DIR' + Look for the package's source code in directory DIR. Usually + `configure' can determine that directory automatically. + +`configure' also accepts some other, not widely useful, options. Run +`configure --help' for more details. + diff --git a/src/apps/bin/coreutils-5.0/Jamfile b/src/apps/bin/coreutils-5.0/Jamfile new file mode 100644 index 0000000000..80eb0a6eeb --- /dev/null +++ b/src/apps/bin/coreutils-5.0/Jamfile @@ -0,0 +1,4 @@ +SubDir OBOS_TOP src apps bin coreutils-5.0 ; + +SubInclude OBOS_TOP src apps bin coreutils-5.0 lib ; +SubInclude OBOS_TOP src apps bin coreutils-5.0 src ; diff --git a/src/apps/bin/coreutils-5.0/Makefile b/src/apps/bin/coreutils-5.0/Makefile new file mode 100644 index 0000000000..7667fe3f6f --- /dev/null +++ b/src/apps/bin/coreutils-5.0/Makefile @@ -0,0 +1,609 @@ +# Makefile.in generated by automake 1.7.3 from Makefile.am. +# Makefile. Generated from Makefile.in by configure. + +# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 +# Free Software Foundation, Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + + + +srcdir = . +top_srcdir = . + +pkgdatadir = $(datadir)/coreutils +pkglibdir = $(libdir)/coreutils +pkgincludedir = $(includedir)/coreutils +top_builddir = . + +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +INSTALL = /bin/install -c +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +host_triplet = i586-pc-beos +ACLOCAL = ${SHELL} /boot/home/Development/current/src/apps/bin/coreutils-5.0/config/missing --run aclocal-1.7 +ALLOCA = +AMDEP_FALSE = # +AMDEP_TRUE = +AMTAR = ${SHELL} /boot/home/Development/current/src/apps/bin/coreutils-5.0/config/missing --run tar +AUTOCONF = ${SHELL} /boot/home/Development/current/src/apps/bin/coreutils-5.0/config/missing --run autoconf +AUTOHEADER = ${SHELL} /boot/home/Development/current/src/apps/bin/coreutils-5.0/config/missing --run autoheader +AUTOMAKE = ${SHELL} /boot/home/Development/current/src/apps/bin/coreutils-5.0/config/missing --run automake-1.7 +AWK = gawk +CC = gcc +CCDEPMODE = depmode=gcc +CFLAGS = -g -O2 +CPP = gcc -E +CPPFLAGS = +CYGPATH_W = echo +DEFS = -DHAVE_CONFIG_H +DEPDIR = .deps +DF_PROG = +ECHO_C = +ECHO_N = -n +ECHO_T = +EGREP = grep -E +EXEEXT = +FESETROUND_LIBM = +GETLOADAVG_LIBS = +GLIBC21 = no +GMSGFMT = : +GNU_PACKAGE = GNU coreutils +HELP2MAN = ${SHELL} /boot/home/Development/current/src/apps/bin/coreutils-5.0/config/missing --run help2man +INSTALL_DATA = ${INSTALL} -m 644 +INSTALL_PROGRAM = ${INSTALL} +INSTALL_SCRIPT = ${INSTALL} +INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s +INTLLIBS = +KMEM_GROUP = +LDFLAGS = +LIBICONV = +LIBINTL = +LIBOBJS = fileblocks$U.o mkdir$U.o fnmatch$U.o strnlen$U.o ftw$U.o tsearch$U.o lchown$U.o chown$U.o mktime$U.o nanosleep$U.o group-member$U.o putenv$U.o error$U.o __fpending$U.o rename$U.o getcwd$U.o canonicalize$U.o regex$U.o getloadavg$U.o getusershell$U.o sig2str$U.o euidaccess$U.o rpmatch$U.o strndup$U.o strverscmp$U.o getpass$U.o memrchr$U.o fchdir-stub$U.o +LIBS = +LIB_CLOCK_GETTIME = +LIB_CRYPT = +LIB_NANOSLEEP = +LN_S = ln -s +LTLIBICONV = +LTLIBINTL = +LTLIBOBJS = fileblocks$U.lo mkdir$U.lo fnmatch$U.lo strnlen$U.lo ftw$U.lo tsearch$U.lo lchown$U.lo chown$U.lo mktime$U.lo nanosleep$U.lo group-member$U.lo putenv$U.lo error$U.lo __fpending$U.lo rename$U.lo getcwd$U.lo canonicalize$U.lo regex$U.lo getloadavg$U.lo getusershell$U.lo sig2str$U.lo euidaccess$U.lo rpmatch$U.lo strndup$U.lo strverscmp$U.lo getpass$U.lo memrchr$U.lo fchdir-stub$U.lo +MAKEINFO = ${SHELL} /boot/home/Development/current/src/apps/bin/coreutils-5.0/config/missing --run makeinfo +MAN = uname.1 stty.1 +MKINSTALLDIRS = config/mkinstalldirs +MSGFMT = : +MSGMERGE = : +NEED_SETGID = false +OBJEXT = o +OPTIONAL_BIN_PROGS = uname$(EXEEXT) stty$(EXEEXT) +OPTIONAL_BIN_ZCRIPTS = +PACKAGE = coreutils +PACKAGE_BUGREPORT = bug-coreutils@gnu.org +PACKAGE_NAME = GNU coreutils +PACKAGE_STRING = GNU coreutils 5.0 +PACKAGE_TARNAME = coreutils +PACKAGE_VERSION = 5.0 +PATH_SEPARATOR = : +PERL = perl +POSUB = +POW_LIB = +RANLIB = ranlib +SEQ_LIBM = +SET_MAKE = +SHELL = /bin/sh +SQRT_LIBM = +STRIP = +U = +USE_NLS = no +VERSION = 5.0 +XGETTEXT = : +YACC = bison -y +ac_ct_CC = gcc +ac_ct_RANLIB = ranlib +ac_ct_STRIP = +am__fastdepCC_FALSE = +am__fastdepCC_TRUE = # +am__include = include +am__leading_dot = . +am__quote = +bindir = ${exec_prefix}/bin +build = i586-pc-beos +build_alias = +build_cpu = i586 +build_os = beos +build_vendor = pc +datadir = ${prefix}/share +exec_prefix = ${prefix} +host = i586-pc-beos +host_alias = +host_cpu = i586 +host_os = beos +host_vendor = pc +includedir = ${prefix}/include +infodir = ${prefix}/info +install_sh = /boot/home/Development/current/src/apps/bin/coreutils-5.0/config/install-sh +libdir = ${exec_prefix}/lib +libexecdir = ${exec_prefix}/libexec +localstatedir = ${prefix}/var +mandir = ${prefix}/man +oldincludedir = /usr/include +prefix = /usr/local +program_transform_name = s,x,x, +sbindir = ${exec_prefix}/sbin +sharedstatedir = ${prefix}/com +sysconfdir = ${prefix}/etc +target_alias = + +SUBDIRS = lib src doc man m4 po tests +EXTRA_DIST = Makefile.cfg Makefile.maint GNUmakefile \ + .kludge-stamp .prev-version THANKS-to-translators THANKStt.in \ + announce-gen \ + old/fileutils/ChangeLog \ + old/fileutils/ChangeLog-1997 \ + old/sh-utils/ChangeLog \ + old/sh-utils/ChangeLog.0 \ + old/textutils/ChangeLog \ + old/fileutils/NEWS \ + old/sh-utils/NEWS \ + old/textutils/NEWS + + +ACLOCAL_AMFLAGS = -I m4 + + +# Just prior to distribution, ... +# transform the automake-generated rule that runs `rm -f rm'. +# On some systems, that command would fail with a diagnostic like +# `rm: cannot unlink `rm': Text file busy' when `.' appears so early +# in the shell's search path that running `rm' would run the `rm' +# executable in the current directory. +# Similarly, adjust the clean-binPROGRAMS rule. +rm_subst = \ + s!(rm -f (rm|\$$\(bin_PROGRAMS\)))$$!$$1 > /dev/null 2>&1 || /bin/$$1! + +subdir = . +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs +CONFIG_HEADER = config.h +CONFIG_CLEAN_FILES = +DIST_SOURCES = + +RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \ + ps-recursive install-info-recursive uninstall-info-recursive \ + all-recursive install-data-recursive install-exec-recursive \ + installdirs-recursive install-recursive uninstall-recursive \ + check-recursive installcheck-recursive +DIST_COMMON = README ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL \ + Makefile.am Makefile.in NEWS THANKS TODO aclocal.m4 config.hin \ + config/ChangeLog config/config.guess config/config.rpath \ + config/config.sub config/depcomp config/install-sh \ + config/mdate-sh config/missing config/mkinstalldirs \ + config/texinfo.tex configure configure.ac +DIST_SUBDIRS = $(SUBDIRS) +all: config.h + $(MAKE) $(AM_MAKEFLAGS) all-recursive + +.SUFFIXES: + +am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ + configure.lineno +$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4) + cd $(top_srcdir) && \ + $(AUTOMAKE) --gnits Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe) + +$(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + $(SHELL) ./config.status --recheck +$(srcdir)/configure: $(srcdir)/configure.ac $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) + cd $(srcdir) && $(AUTOCONF) + +$(ACLOCAL_M4): configure.ac m4/acl.m4 m4/afs.m4 m4/assert.m4 m4/bison.m4 m4/boottime.m4 m4/c-stack.m4 m4/canonicalize.m4 m4/check-decl.m4 m4/chown.m4 m4/codeset.m4 m4/d-ino.m4 m4/d-type.m4 m4/dirfd.m4 m4/dos.m4 m4/error.m4 m4/fpending.m4 m4/fstypename.m4 m4/fsusage.m4 m4/ftruncate.m4 m4/ftw.m4 m4/getcwd-path-max.m4 m4/getcwd.m4 m4/getgroups.m4 m4/getline.m4 m4/gettext.m4 m4/gettimeofday.m4 m4/glibc.m4 m4/glibc21.m4 m4/group-member.m4 m4/host-os.m4 m4/iconv.m4 m4/intdiv0.m4 m4/inttypes-pri.m4 m4/inttypes.m4 m4/isc-posix.m4 m4/jm-glibc-io.m4 m4/jm-macros.m4 m4/jm-mktime.m4 m4/jm-winsz1.m4 m4/jm-winsz2.m4 m4/lchown.m4 m4/lcmessage.m4 m4/lib-check.m4 m4/lib-ld.m4 m4/lib-link.m4 m4/lib-prefix.m4 m4/link-follow.m4 m4/longlong.m4 m4/ls-mntd-fs.m4 m4/lstat.m4 m4/mbrtowc.m4 m4/mbswidth.m4 m4/memcmp.m4 m4/mkdir-slash.m4 m4/mkstemp.m4 m4/nanosleep.m4 m4/onceonly.m4 m4/open-max.m4 m4/perl.m4 m4/prereq.m4 m4/progtest.m4 m4/putenv.m4 m4/regex.m4 m4/rename.m4 m4/restrict.m4 m4/rmdir-errno.m4 m4/search-libs.m4 m4/st_dm_mode.m4 m4/st_mtim.m4 m4/stat.m4 m4/stdbool.m4 m4/strftime.m4 m4/timespec.m4 m4/unlink-busy.m4 m4/uptime.m4 m4/utimbuf.m4 m4/utime.m4 m4/utimes.m4 m4/xstrtoimax.m4 m4/xstrtoumax.m4 + cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) + +config.h: stamp-h1 + @if test ! -f $@; then \ + rm -f stamp-h1; \ + $(MAKE) stamp-h1; \ + else :; fi + +stamp-h1: $(srcdir)/config.hin $(top_builddir)/config.status + @rm -f stamp-h1 + cd $(top_builddir) && $(SHELL) ./config.status config.h + +$(srcdir)/config.hin: $(top_srcdir)/configure.ac $(ACLOCAL_M4) + cd $(top_srcdir) && $(AUTOHEADER) + touch $(srcdir)/config.hin + +distclean-hdr: + -rm -f config.h stamp-h1 +uninstall-info-am: + +# This directory's subdirectories are mostly independent; you can cd +# into them and run `make' without going through this Makefile. +# To change the values of `make' variables: instead of editing Makefiles, +# (1) if the variable is set in `config.status', edit `config.status' +# (which will cause the Makefiles to be regenerated when you run `make'); +# (2) otherwise, pass the desired values on the `make' command line. +$(RECURSIVE_TARGETS): + @set fnord $$MAKEFLAGS; amf=$$2; \ + dot_seen=no; \ + target=`echo $@ | sed s/-recursive//`; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + dot_seen=yes; \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ + done; \ + if test "$$dot_seen" = "no"; then \ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; test -z "$$fail" + +mostlyclean-recursive clean-recursive distclean-recursive \ +maintainer-clean-recursive: + @set fnord $$MAKEFLAGS; amf=$$2; \ + dot_seen=no; \ + case "$@" in \ + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ + *) list='$(SUBDIRS)' ;; \ + esac; \ + rev=''; for subdir in $$list; do \ + if test "$$subdir" = "."; then :; else \ + rev="$$subdir $$rev"; \ + fi; \ + done; \ + rev="$$rev ."; \ + target=`echo $@ | sed s/-recursive//`; \ + for subdir in $$rev; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ + done && test -z "$$fail" +tags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ + done +ctags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ + done + +ETAGS = etags +ETAGSFLAGS = + +CTAGS = ctags +CTAGSFLAGS = + +tags: TAGS + +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + mkid -fID $$unique + +TAGS: tags-recursive $(HEADERS) $(SOURCES) config.hin $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ + here=`pwd`; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \ + fi; \ + done; \ + list='$(SOURCES) $(HEADERS) config.hin $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + test -z "$(ETAGS_ARGS)$$tags$$unique" \ + || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$tags $$unique + +ctags: CTAGS +CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.hin $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ + here=`pwd`; \ + list='$(SOURCES) $(HEADERS) config.hin $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$tags $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && cd $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) $$here + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) + +top_distdir = . +distdir = $(PACKAGE)-$(VERSION) + +am__remove_distdir = \ + { test ! -d $(distdir) \ + || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \ + && rm -fr $(distdir); }; } + +GZIP_ENV = --best +distuninstallcheck_listfiles = find . -type f -print +distcleancheck_listfiles = find . -type f -print + +distdir: $(DISTFILES) + @case `sed 15q $(srcdir)/NEWS` in \ + *"$(VERSION)"*) : ;; \ + *) \ + echo "NEWS not updated; not releasing" 1>&2; \ + exit 1;; \ + esac + $(am__remove_distdir) + mkdir $(distdir) + $(mkinstalldirs) $(distdir)/config $(distdir)/old/fileutils $(distdir)/old/sh-utils $(distdir)/old/textutils $(distdir)/po + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ + list='$(DISTFILES)'; for file in $$list; do \ + case $$file in \ + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ + esac; \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test "$$dir" != "$$file" && test "$$dir" != "."; then \ + dir="/$$dir"; \ + $(mkinstalldirs) "$(distdir)$$dir"; \ + else \ + dir=''; \ + fi; \ + if test -d $$d/$$file; then \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ + else \ + test -f $(distdir)/$$file \ + || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ + fi; \ + done + list='$(SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test -d $(distdir)/$$subdir \ + || mkdir $(distdir)/$$subdir \ + || exit 1; \ + (cd $$subdir && \ + $(MAKE) $(AM_MAKEFLAGS) \ + top_distdir="$(top_distdir)" \ + distdir=../$(distdir)/$$subdir \ + distdir) \ + || exit 1; \ + fi; \ + done + -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \ + ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ + ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ + ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \ + || chmod -R a+r $(distdir) +dist-gzip: distdir + $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz + $(am__remove_distdir) + +dist-bzip2: distdir + $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2 + $(am__remove_distdir) + +dist dist-all: distdir + $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz + $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2 + $(am__remove_distdir) + +# This target untars the dist file and tries a VPATH configuration. Then +# it guarantees that the distribution is self-contained by making another +# tarfile. +distcheck: dist + $(am__remove_distdir) + GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf - + chmod -R a-w $(distdir); chmod a+w $(distdir) + mkdir $(distdir)/_build + mkdir $(distdir)/_inst + chmod a-w $(distdir) + dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ + && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ + && $(MAKE) $(AM_MAKEFLAGS) distcheck-hook \ + && cd $(distdir)/_build \ + && ../configure --srcdir=.. --prefix="$$dc_install_base" \ + $(DISTCHECK_CONFIGURE_FLAGS) \ + && $(MAKE) $(AM_MAKEFLAGS) \ + && $(MAKE) $(AM_MAKEFLAGS) dvi \ + && $(MAKE) $(AM_MAKEFLAGS) check \ + && $(MAKE) $(AM_MAKEFLAGS) install \ + && $(MAKE) $(AM_MAKEFLAGS) installcheck \ + && $(MAKE) $(AM_MAKEFLAGS) uninstall \ + && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ + distuninstallcheck \ + && chmod -R a-w "$$dc_install_base" \ + && ({ \ + (cd ../.. && $(mkinstalldirs) "$$dc_destdir") \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ + distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ + } || { rm -rf "$$dc_destdir"; exit 1; }) \ + && rm -rf "$$dc_destdir" \ + && $(MAKE) $(AM_MAKEFLAGS) dist-gzip \ + && rm -f $(distdir).tar.gz \ + && $(MAKE) $(AM_MAKEFLAGS) distcleancheck + $(am__remove_distdir) + @echo "$(distdir).tar.gz is ready for distribution" | \ + sed 'h;s/./=/g;p;x;p;x' +distuninstallcheck: + cd $(distuninstallcheck_dir) \ + && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ + || { echo "ERROR: files left after uninstall:" ; \ + if test -n "$(DESTDIR)"; then \ + echo " (check DESTDIR support)"; \ + fi ; \ + $(distuninstallcheck_listfiles) ; \ + exit 1; } >&2 +distcleancheck: distclean + if test '$(srcdir)' = . ; then \ + echo "ERROR: distcleancheck can only run from a VPATH build" ; \ + exit 1 ; \ + fi + test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ + || { echo "ERROR: files left in build directory after distclean:" ; \ + $(distcleancheck_listfiles) ; \ + exit 1; } >&2 +check-am: all-am +check: check-recursive +all-am: Makefile config.h +installdirs: installdirs-recursive +installdirs-am: + +install: install-recursive +install-exec: install-exec-recursive +install-data: install-data-recursive +uninstall: uninstall-recursive + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-recursive +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -rm -f Makefile $(CONFIG_CLEAN_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-recursive + +clean-am: clean-generic mostlyclean-am + +distclean: distclean-recursive + -rm -f $(am__CONFIG_DISTCLEAN_FILES) +distclean-am: clean-am distclean-generic distclean-hdr distclean-tags + +dvi: dvi-recursive + +dvi-am: + +info: info-recursive + +info-am: + +install-data-am: + +install-exec-am: + +install-info: install-info-recursive + +install-man: + +installcheck-am: + +maintainer-clean: maintainer-clean-recursive + -rm -f $(am__CONFIG_DISTCLEAN_FILES) + -rm -rf autom4te.cache +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-recursive + +mostlyclean-am: mostlyclean-generic + +pdf: pdf-recursive + +pdf-am: + +ps: ps-recursive + +ps-am: + +uninstall-am: uninstall-info-am + +uninstall-info: uninstall-info-recursive + +.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am clean \ + clean-generic clean-recursive ctags ctags-recursive dist \ + dist-all dist-bzip2 dist-gzip distcheck distclean \ + distclean-generic distclean-hdr distclean-recursive \ + distclean-tags distcleancheck distdir distuninstallcheck dvi \ + dvi-am dvi-recursive info info-am info-recursive install \ + install-am install-data install-data-am install-data-recursive \ + install-exec install-exec-am install-exec-recursive \ + install-info install-info-am install-info-recursive install-man \ + install-recursive install-strip installcheck installcheck-am \ + installdirs installdirs-am installdirs-recursive \ + maintainer-clean maintainer-clean-generic \ + maintainer-clean-recursive mostlyclean mostlyclean-generic \ + mostlyclean-recursive pdf pdf-am pdf-recursive ps ps-am \ + ps-recursive tags tags-recursive uninstall uninstall-am \ + uninstall-info-am uninstall-info-recursive uninstall-recursive + + +install-root: + cd src && $(MAKE) $@ + +# Some tests always need root privileges, others need them only sometimes. +check-root: + cd tests && $(MAKE) $@ + +distcheck-hook: + $(MAKE) my-distcheck +.kludge-stamp: $(srcdir)/src/Makefile.in + perl -pi -e '$(rm_subst)' $(srcdir)/src/Makefile.in + touch $@ + +THANKS-to-translators: po/LINGUAS THANKStt.in + ( \ + cat $(srcdir)/THANKStt.in; \ + for lang in `cat po/LINGUAS`; do \ + echo http://www.iro.umontreal.ca/contrib/po/HTML/team-$$lang.html; \ + done; \ + ) > $@-tmp && mv $@-tmp $@ +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/src/apps/bin/coreutils-5.0/Makefile.am b/src/apps/bin/coreutils-5.0/Makefile.am new file mode 100644 index 0000000000..17b555916b --- /dev/null +++ b/src/apps/bin/coreutils-5.0/Makefile.am @@ -0,0 +1,48 @@ +## Process this file with automake to produce Makefile.in -*-Makefile-*- + +SUBDIRS = lib src doc man m4 po tests +EXTRA_DIST = Makefile.cfg Makefile.maint GNUmakefile \ + .kludge-stamp .prev-version THANKS-to-translators THANKStt.in \ + announce-gen \ + old/fileutils/ChangeLog \ + old/fileutils/ChangeLog-1997 \ + old/sh-utils/ChangeLog \ + old/sh-utils/ChangeLog.0 \ + old/textutils/ChangeLog \ + old/fileutils/NEWS \ + old/sh-utils/NEWS \ + old/textutils/NEWS + +install-root: + cd src && $(MAKE) $@ + +ACLOCAL_AMFLAGS = -I m4 + +# Some tests always need root privileges, others need them only sometimes. +check-root: + cd tests && $(MAKE) $@ + +distcheck-hook: + $(MAKE) my-distcheck + +# Just prior to distribution, ... +# transform the automake-generated rule that runs `rm -f rm'. +# On some systems, that command would fail with a diagnostic like +# `rm: cannot unlink `rm': Text file busy' when `.' appears so early +# in the shell's search path that running `rm' would run the `rm' +# executable in the current directory. +# Similarly, adjust the clean-binPROGRAMS rule. + +rm_subst = \ + s!(rm -f (rm|\$$\(bin_PROGRAMS\)))$$!$$1 > /dev/null 2>&1 || /bin/$$1! +.kludge-stamp: $(srcdir)/src/Makefile.in + perl -pi -e '$(rm_subst)' $(srcdir)/src/Makefile.in + touch $@ + +THANKS-to-translators: po/LINGUAS THANKStt.in + ( \ + cat $(srcdir)/THANKStt.in; \ + for lang in `cat po/LINGUAS`; do \ + echo http://www.iro.umontreal.ca/contrib/po/HTML/team-$$lang.html; \ + done; \ + ) > $@-tmp && mv $@-tmp $@ diff --git a/src/apps/bin/coreutils-5.0/Makefile.cfg b/src/apps/bin/coreutils-5.0/Makefile.cfg new file mode 100644 index 0000000000..ae48ceb19d --- /dev/null +++ b/src/apps/bin/coreutils-5.0/Makefile.cfg @@ -0,0 +1,30 @@ +# -*- makefile -*- +## Customize Makefile.maint. + +# Use alpha.gnu.org for alpha and beta releases. +# Use ftp.gnu.org for major releases. +gnu_ftp_host-alpha = alpha +gnu_ftp_host-beta = alpha +gnu_ftp_host-major = ftp +gnu_rel_host = $(gnu_ftp_host-$(RELEASE_TYPE)) + +url_dir_list = \ + ftp://$(gnu_rel_host).gnu.org/gnu/coreutils \ + http://fetish.sf.net + +# Files to update automatically. +wget_files = \ + $(srcdir)/config/config.guess \ + $(srcdir)/config/config.sub \ + $(srcdir)/config/texinfo.tex + +cvs_files = \ + $(srcdir)/config/elisp-comp \ + $(srcdir)/config/mdate-sh \ + $(srcdir)/config/missing \ + $(srcdir)/config/install-sh \ + $(srcdir)/config/mkinstalldirs + +# $(srcdir)/src/ansi2knr.c + +local_updates = wget-update cvs-update diff --git a/src/apps/bin/coreutils-5.0/Makefile.in b/src/apps/bin/coreutils-5.0/Makefile.in new file mode 100644 index 0000000000..af52472a30 --- /dev/null +++ b/src/apps/bin/coreutils-5.0/Makefile.in @@ -0,0 +1,609 @@ +# Makefile.in generated by automake 1.7.3 from Makefile.am. +# @configure_input@ + +# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 +# Free Software Foundation, Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + +srcdir = @srcdir@ +top_srcdir = @top_srcdir@ +VPATH = @srcdir@ +pkgdatadir = $(datadir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +top_builddir = . + +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +INSTALL = @INSTALL@ +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +host_triplet = @host@ +ACLOCAL = @ACLOCAL@ +ALLOCA = @ALLOCA@ +AMDEP_FALSE = @AMDEP_FALSE@ +AMDEP_TRUE = @AMDEP_TRUE@ +AMTAR = @AMTAR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DF_PROG = @DF_PROG@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +FESETROUND_LIBM = @FESETROUND_LIBM@ +GETLOADAVG_LIBS = @GETLOADAVG_LIBS@ +GLIBC21 = @GLIBC21@ +GMSGFMT = @GMSGFMT@ +GNU_PACKAGE = @GNU_PACKAGE@ +HELP2MAN = @HELP2MAN@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INTLLIBS = @INTLLIBS@ +KMEM_GROUP = @KMEM_GROUP@ +LDFLAGS = @LDFLAGS@ +LIBICONV = @LIBICONV@ +LIBINTL = @LIBINTL@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LIB_CLOCK_GETTIME = @LIB_CLOCK_GETTIME@ +LIB_CRYPT = @LIB_CRYPT@ +LIB_NANOSLEEP = @LIB_NANOSLEEP@ +LN_S = @LN_S@ +LTLIBICONV = @LTLIBICONV@ +LTLIBINTL = @LTLIBINTL@ +LTLIBOBJS = @LTLIBOBJS@ +MAKEINFO = @MAKEINFO@ +MAN = @MAN@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MSGFMT = @MSGFMT@ +MSGMERGE = @MSGMERGE@ +NEED_SETGID = @NEED_SETGID@ +OBJEXT = @OBJEXT@ +OPTIONAL_BIN_PROGS = @OPTIONAL_BIN_PROGS@ +OPTIONAL_BIN_ZCRIPTS = @OPTIONAL_BIN_ZCRIPTS@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PERL = @PERL@ +POSUB = @POSUB@ +POW_LIB = @POW_LIB@ +RANLIB = @RANLIB@ +SEQ_LIBM = @SEQ_LIBM@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +SQRT_LIBM = @SQRT_LIBM@ +STRIP = @STRIP@ +U = @U@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +XGETTEXT = @XGETTEXT@ +YACC = @YACC@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_RANLIB = @ac_ct_RANLIB@ +ac_ct_STRIP = @ac_ct_STRIP@ +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +datadir = @datadir@ +exec_prefix = @exec_prefix@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +oldincludedir = @oldincludedir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ + +SUBDIRS = lib src doc man m4 po tests +EXTRA_DIST = Makefile.cfg Makefile.maint GNUmakefile \ + .kludge-stamp .prev-version THANKS-to-translators THANKStt.in \ + announce-gen \ + old/fileutils/ChangeLog \ + old/fileutils/ChangeLog-1997 \ + old/sh-utils/ChangeLog \ + old/sh-utils/ChangeLog.0 \ + old/textutils/ChangeLog \ + old/fileutils/NEWS \ + old/sh-utils/NEWS \ + old/textutils/NEWS + + +ACLOCAL_AMFLAGS = -I m4 + + +# Just prior to distribution, ... +# transform the automake-generated rule that runs `rm -f rm'. +# On some systems, that command would fail with a diagnostic like +# `rm: cannot unlink `rm': Text file busy' when `.' appears so early +# in the shell's search path that running `rm' would run the `rm' +# executable in the current directory. +# Similarly, adjust the clean-binPROGRAMS rule. +rm_subst = \ + s!(rm -f (rm|\$$\(bin_PROGRAMS\)))$$!$$1 > /dev/null 2>&1 || /bin/$$1! + +subdir = . +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs +CONFIG_HEADER = config.h +CONFIG_CLEAN_FILES = +DIST_SOURCES = + +RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \ + ps-recursive install-info-recursive uninstall-info-recursive \ + all-recursive install-data-recursive install-exec-recursive \ + installdirs-recursive install-recursive uninstall-recursive \ + check-recursive installcheck-recursive +DIST_COMMON = README ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL \ + Makefile.am Makefile.in NEWS THANKS TODO aclocal.m4 config.hin \ + config/ChangeLog config/config.guess config/config.rpath \ + config/config.sub config/depcomp config/install-sh \ + config/mdate-sh config/missing config/mkinstalldirs \ + config/texinfo.tex configure configure.ac +DIST_SUBDIRS = $(SUBDIRS) +all: config.h + $(MAKE) $(AM_MAKEFLAGS) all-recursive + +.SUFFIXES: + +am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ + configure.lineno +$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4) + cd $(top_srcdir) && \ + $(AUTOMAKE) --gnits Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe) + +$(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + $(SHELL) ./config.status --recheck +$(srcdir)/configure: $(srcdir)/configure.ac $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) + cd $(srcdir) && $(AUTOCONF) + +$(ACLOCAL_M4): configure.ac m4/acl.m4 m4/afs.m4 m4/assert.m4 m4/bison.m4 m4/boottime.m4 m4/c-stack.m4 m4/canonicalize.m4 m4/check-decl.m4 m4/chown.m4 m4/codeset.m4 m4/d-ino.m4 m4/d-type.m4 m4/dirfd.m4 m4/dos.m4 m4/error.m4 m4/fpending.m4 m4/fstypename.m4 m4/fsusage.m4 m4/ftruncate.m4 m4/ftw.m4 m4/getcwd-path-max.m4 m4/getcwd.m4 m4/getgroups.m4 m4/getline.m4 m4/gettext.m4 m4/gettimeofday.m4 m4/glibc.m4 m4/glibc21.m4 m4/group-member.m4 m4/host-os.m4 m4/iconv.m4 m4/intdiv0.m4 m4/inttypes-pri.m4 m4/inttypes.m4 m4/isc-posix.m4 m4/jm-glibc-io.m4 m4/jm-macros.m4 m4/jm-mktime.m4 m4/jm-winsz1.m4 m4/jm-winsz2.m4 m4/lchown.m4 m4/lcmessage.m4 m4/lib-check.m4 m4/lib-ld.m4 m4/lib-link.m4 m4/lib-prefix.m4 m4/link-follow.m4 m4/longlong.m4 m4/ls-mntd-fs.m4 m4/lstat.m4 m4/mbrtowc.m4 m4/mbswidth.m4 m4/memcmp.m4 m4/mkdir-slash.m4 m4/mkstemp.m4 m4/nanosleep.m4 m4/onceonly.m4 m4/open-max.m4 m4/perl.m4 m4/prereq.m4 m4/progtest.m4 m4/putenv.m4 m4/regex.m4 m4/rename.m4 m4/restrict.m4 m4/rmdir-errno.m4 m4/search-libs.m4 m4/st_dm_mode.m4 m4/st_mtim.m4 m4/stat.m4 m4/stdbool.m4 m4/strftime.m4 m4/timespec.m4 m4/unlink-busy.m4 m4/uptime.m4 m4/utimbuf.m4 m4/utime.m4 m4/utimes.m4 m4/xstrtoimax.m4 m4/xstrtoumax.m4 + cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) + +config.h: stamp-h1 + @if test ! -f $@; then \ + rm -f stamp-h1; \ + $(MAKE) stamp-h1; \ + else :; fi + +stamp-h1: $(srcdir)/config.hin $(top_builddir)/config.status + @rm -f stamp-h1 + cd $(top_builddir) && $(SHELL) ./config.status config.h + +$(srcdir)/config.hin: $(top_srcdir)/configure.ac $(ACLOCAL_M4) + cd $(top_srcdir) && $(AUTOHEADER) + touch $(srcdir)/config.hin + +distclean-hdr: + -rm -f config.h stamp-h1 +uninstall-info-am: + +# This directory's subdirectories are mostly independent; you can cd +# into them and run `make' without going through this Makefile. +# To change the values of `make' variables: instead of editing Makefiles, +# (1) if the variable is set in `config.status', edit `config.status' +# (which will cause the Makefiles to be regenerated when you run `make'); +# (2) otherwise, pass the desired values on the `make' command line. +$(RECURSIVE_TARGETS): + @set fnord $$MAKEFLAGS; amf=$$2; \ + dot_seen=no; \ + target=`echo $@ | sed s/-recursive//`; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + dot_seen=yes; \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ + done; \ + if test "$$dot_seen" = "no"; then \ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; test -z "$$fail" + +mostlyclean-recursive clean-recursive distclean-recursive \ +maintainer-clean-recursive: + @set fnord $$MAKEFLAGS; amf=$$2; \ + dot_seen=no; \ + case "$@" in \ + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ + *) list='$(SUBDIRS)' ;; \ + esac; \ + rev=''; for subdir in $$list; do \ + if test "$$subdir" = "."; then :; else \ + rev="$$subdir $$rev"; \ + fi; \ + done; \ + rev="$$rev ."; \ + target=`echo $@ | sed s/-recursive//`; \ + for subdir in $$rev; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ + done && test -z "$$fail" +tags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ + done +ctags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ + done + +ETAGS = etags +ETAGSFLAGS = + +CTAGS = ctags +CTAGSFLAGS = + +tags: TAGS + +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + mkid -fID $$unique + +TAGS: tags-recursive $(HEADERS) $(SOURCES) config.hin $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ + here=`pwd`; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \ + fi; \ + done; \ + list='$(SOURCES) $(HEADERS) config.hin $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + test -z "$(ETAGS_ARGS)$$tags$$unique" \ + || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$tags $$unique + +ctags: CTAGS +CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.hin $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ + here=`pwd`; \ + list='$(SOURCES) $(HEADERS) config.hin $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$tags $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && cd $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) $$here + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) + +top_distdir = . +distdir = $(PACKAGE)-$(VERSION) + +am__remove_distdir = \ + { test ! -d $(distdir) \ + || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \ + && rm -fr $(distdir); }; } + +GZIP_ENV = --best +distuninstallcheck_listfiles = find . -type f -print +distcleancheck_listfiles = find . -type f -print + +distdir: $(DISTFILES) + @case `sed 15q $(srcdir)/NEWS` in \ + *"$(VERSION)"*) : ;; \ + *) \ + echo "NEWS not updated; not releasing" 1>&2; \ + exit 1;; \ + esac + $(am__remove_distdir) + mkdir $(distdir) + $(mkinstalldirs) $(distdir)/config $(distdir)/old/fileutils $(distdir)/old/sh-utils $(distdir)/old/textutils $(distdir)/po + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ + list='$(DISTFILES)'; for file in $$list; do \ + case $$file in \ + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ + esac; \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test "$$dir" != "$$file" && test "$$dir" != "."; then \ + dir="/$$dir"; \ + $(mkinstalldirs) "$(distdir)$$dir"; \ + else \ + dir=''; \ + fi; \ + if test -d $$d/$$file; then \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ + else \ + test -f $(distdir)/$$file \ + || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ + fi; \ + done + list='$(SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test -d $(distdir)/$$subdir \ + || mkdir $(distdir)/$$subdir \ + || exit 1; \ + (cd $$subdir && \ + $(MAKE) $(AM_MAKEFLAGS) \ + top_distdir="$(top_distdir)" \ + distdir=../$(distdir)/$$subdir \ + distdir) \ + || exit 1; \ + fi; \ + done + -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \ + ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ + ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ + ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \ + || chmod -R a+r $(distdir) +dist-gzip: distdir + $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz + $(am__remove_distdir) + +dist-bzip2: distdir + $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2 + $(am__remove_distdir) + +dist dist-all: distdir + $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz + $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2 + $(am__remove_distdir) + +# This target untars the dist file and tries a VPATH configuration. Then +# it guarantees that the distribution is self-contained by making another +# tarfile. +distcheck: dist + $(am__remove_distdir) + GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf - + chmod -R a-w $(distdir); chmod a+w $(distdir) + mkdir $(distdir)/_build + mkdir $(distdir)/_inst + chmod a-w $(distdir) + dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ + && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ + && $(MAKE) $(AM_MAKEFLAGS) distcheck-hook \ + && cd $(distdir)/_build \ + && ../configure --srcdir=.. --prefix="$$dc_install_base" \ + $(DISTCHECK_CONFIGURE_FLAGS) \ + && $(MAKE) $(AM_MAKEFLAGS) \ + && $(MAKE) $(AM_MAKEFLAGS) dvi \ + && $(MAKE) $(AM_MAKEFLAGS) check \ + && $(MAKE) $(AM_MAKEFLAGS) install \ + && $(MAKE) $(AM_MAKEFLAGS) installcheck \ + && $(MAKE) $(AM_MAKEFLAGS) uninstall \ + && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ + distuninstallcheck \ + && chmod -R a-w "$$dc_install_base" \ + && ({ \ + (cd ../.. && $(mkinstalldirs) "$$dc_destdir") \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ + distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ + } || { rm -rf "$$dc_destdir"; exit 1; }) \ + && rm -rf "$$dc_destdir" \ + && $(MAKE) $(AM_MAKEFLAGS) dist-gzip \ + && rm -f $(distdir).tar.gz \ + && $(MAKE) $(AM_MAKEFLAGS) distcleancheck + $(am__remove_distdir) + @echo "$(distdir).tar.gz is ready for distribution" | \ + sed 'h;s/./=/g;p;x;p;x' +distuninstallcheck: + cd $(distuninstallcheck_dir) \ + && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ + || { echo "ERROR: files left after uninstall:" ; \ + if test -n "$(DESTDIR)"; then \ + echo " (check DESTDIR support)"; \ + fi ; \ + $(distuninstallcheck_listfiles) ; \ + exit 1; } >&2 +distcleancheck: distclean + if test '$(srcdir)' = . ; then \ + echo "ERROR: distcleancheck can only run from a VPATH build" ; \ + exit 1 ; \ + fi + test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ + || { echo "ERROR: files left in build directory after distclean:" ; \ + $(distcleancheck_listfiles) ; \ + exit 1; } >&2 +check-am: all-am +check: check-recursive +all-am: Makefile config.h +installdirs: installdirs-recursive +installdirs-am: + +install: install-recursive +install-exec: install-exec-recursive +install-data: install-data-recursive +uninstall: uninstall-recursive + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-recursive +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -rm -f Makefile $(CONFIG_CLEAN_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-recursive + +clean-am: clean-generic mostlyclean-am + +distclean: distclean-recursive + -rm -f $(am__CONFIG_DISTCLEAN_FILES) +distclean-am: clean-am distclean-generic distclean-hdr distclean-tags + +dvi: dvi-recursive + +dvi-am: + +info: info-recursive + +info-am: + +install-data-am: + +install-exec-am: + +install-info: install-info-recursive + +install-man: + +installcheck-am: + +maintainer-clean: maintainer-clean-recursive + -rm -f $(am__CONFIG_DISTCLEAN_FILES) + -rm -rf autom4te.cache +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-recursive + +mostlyclean-am: mostlyclean-generic + +pdf: pdf-recursive + +pdf-am: + +ps: ps-recursive + +ps-am: + +uninstall-am: uninstall-info-am + +uninstall-info: uninstall-info-recursive + +.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am clean \ + clean-generic clean-recursive ctags ctags-recursive dist \ + dist-all dist-bzip2 dist-gzip distcheck distclean \ + distclean-generic distclean-hdr distclean-recursive \ + distclean-tags distcleancheck distdir distuninstallcheck dvi \ + dvi-am dvi-recursive info info-am info-recursive install \ + install-am install-data install-data-am install-data-recursive \ + install-exec install-exec-am install-exec-recursive \ + install-info install-info-am install-info-recursive install-man \ + install-recursive install-strip installcheck installcheck-am \ + installdirs installdirs-am installdirs-recursive \ + maintainer-clean maintainer-clean-generic \ + maintainer-clean-recursive mostlyclean mostlyclean-generic \ + mostlyclean-recursive pdf pdf-am pdf-recursive ps ps-am \ + ps-recursive tags tags-recursive uninstall uninstall-am \ + uninstall-info-am uninstall-info-recursive uninstall-recursive + + +install-root: + cd src && $(MAKE) $@ + +# Some tests always need root privileges, others need them only sometimes. +check-root: + cd tests && $(MAKE) $@ + +distcheck-hook: + $(MAKE) my-distcheck +.kludge-stamp: $(srcdir)/src/Makefile.in + perl -pi -e '$(rm_subst)' $(srcdir)/src/Makefile.in + touch $@ + +THANKS-to-translators: po/LINGUAS THANKStt.in + ( \ + cat $(srcdir)/THANKStt.in; \ + for lang in `cat po/LINGUAS`; do \ + echo http://www.iro.umontreal.ca/contrib/po/HTML/team-$$lang.html; \ + done; \ + ) > $@-tmp && mv $@-tmp $@ +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/src/apps/bin/coreutils-5.0/Makefile.maint b/src/apps/bin/coreutils-5.0/Makefile.maint new file mode 100644 index 0000000000..b2b5a56f5d --- /dev/null +++ b/src/apps/bin/coreutils-5.0/Makefile.maint @@ -0,0 +1,375 @@ +# -*-Makefile-*- +# This Makefile fragment is shared between fileutils, sh-utils, textutils, +# CPPI, Bison, and Autoconf. + +## Copyright (C) 2001-2003 Free Software Foundation, Inc. +## +## This program is free software; you can redistribute it and/or modify +## it under the terms of the GNU General Public License as published by +## the Free Software Foundation; either version 2, or (at your option) +## any later version. +## +## This program is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with this program; if not, write to the Free Software +## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +## 02111-1307, USA. + +# Do not save the original name or timestamp in the .tar.gz file. +GZIP_ENV = '--no-name --best' + +CVS = cvs + +ifeq ($(origin prev_version_file), undefined) + prev_version_file = .prev-version +endif + +PREV_VERSION := $(shell cat $(prev_version_file)) + +tag-package = $(shell echo "$(PACKAGE)" | tr '[:lower:]' '[:upper:]') +tag-this-version = $(subst .,_,$(VERSION)) +this-cvs-tag = $(tag-package)-$(tag-this-version) +my_distdir = $(PACKAGE)-$(VERSION) + +# Old releases are stored here. +# Used for diffs and xdeltas. +release_archive_dir ?= ../release + + + +## --------------- ## +## Sanity checks. ## +## --------------- ## + +# Checks that don't require cvs. +# Run `changelog-check' last, as previous test may reveal problems requiring +# new ChangeLog entries. +local-check = \ + po-check copyright-check writable-files m4-check author_mark_check \ + changelog-check strftime-check header-check makefile_path_separator_check +.PHONY: $(local-check) + +# Make sure C source files in src/ don't include xalloc.h directly, +# since they all already include it via sys2.h. +# It's not a big deal -- just aesthetics. +header-check: + if test -f $(srcdir)/src/sys2.h; then \ + if grep 'xalloc\.h' $(srcdir)/src/*.c; then \ + exit 1; \ + fi; \ + fi + +# Ensure that date's --help output stays in sync with the info +# documentation for GNU strftime. The only exception is %N, +# which date accepts but GNU strftime does not. +extract_char = sed 's/^[^%][^%]*%\(.\).*/\1/' +strftime-check: + if test -f $(srcdir)/src/date.c; then \ + grep '^ %. ' $(srcdir)/src/date.c | sort \ + | $(extract_char) > $@-src; \ + { echo N; \ + info libc date calendar format | grep '^ `%.'\' \ + | $(extract_char); } | sort > $@-info; \ + diff -u $@-src $@-info || exit 1; \ + rm -f $@-src $@-info; \ + fi + +changelog-check: + if head ChangeLog | grep 'Version $(VERSION)' >/dev/null; then \ + :; \ + else \ + echo "$(VERSION) not in ChangeLog" 1>&2; \ + exit 1; \ + fi + +m4-check: + @grep 'AC_DEFUN([^[]' m4/*.m4 \ + && { echo 'Makefile.maint: quote the first arg to AC_DEFUN' 1>&2; \ + exit 1; } || : + +# Verify that all source files using _() are listed in po/POTFILES.in. +po-check: + if test -f po/POTFILES.in; then \ + grep -E -v '^(#|$$)' po/POTFILES.in | sort > $@-1; \ + files=; \ + for file in lib/*.[chly] src/*.[chly]; do \ + case $$file in \ + *.[ch]) \ + base=`expr " $$file" : ' \(.*\)\..'`; \ + { test -f $$base.l || test -f $$base.y; } && continue;; \ + esac; \ + files="$$files $$file"; \ + done; \ + grep -E -l '\bN?_\([^)"]*("|$$)' $$files | sort > $@-2; \ + diff -u $@-1 $@-2 || exit 1; \ + rm -f $@-1 $@-2; \ + fi + +# In a definition of #define AUTHORS "... and ..." where the RHS contains +# the English word `and', the string must be marked with `N_ (...)' so that +# gettext recognizes it as a string requiring translation. +author_mark_check: + @grep '^# *define AUTHORS "[^"]* and ' src/*.c |grep -v ' N_ (' && \ + { echo 'Makefile.maint: enclose the above strings in N_ (...)' 1>&2; \ + exit 1; } || : + +# Sometimes it is useful to change the PATH environment variable +# in Makefiles. When doing so, it's better not to use the Unix-centric +# path separator of `:', but rather the automake-provided `@PATH_SEPARATOR@'. +# It'd be better to use `find -print0 ...|xargs -0 ...', but less portable, +# and there probably aren't many projects with so many Makefile.am files +# that we'd have to worry about limits on command line length. +msg = 'Makefile.maint: Do not use `:'\'' above; use @PATH_SEPARATOR@ instead' +makefile_path_separator_check: + @grep 'PATH=.*:' `find $(srcdir) -name Makefile.am` \ + && { echo $(msg) 1>&2; exit 1; } || : + +# Check that `make alpha' will not fail at the end of the process. +writable-files: + if test -d $(release_archive_dir); then :; else \ + mkdir $(release_archive_dir); \ + fi + for file in $(distdir).tar.gz $(xd-delta) \ + $(release_archive_dir)/$(distdir).tar.gz \ + $(release_archive_dir)/$(xd-delta); do \ + test -e $$file || continue; \ + test -w $$file \ + || { echo ERROR: $$file is not writable; fail=1; }; \ + done; \ + test "$$fail" && exit 1 || : + +v_etc_file = lib/version-etc.c +# Make sure that the copyright date in $(v_etc_file) is up to date. +copyright-check: + @if test -f $(v_etc_file); then \ + grep '"Copyright (C) $(shell date +%Y) Free' $(v_etc_file) \ + >/dev/null \ + || { echo 'out of date copyright in $(v_etc_file); update it' 1>&2; \ + exit 1; }; \ + fi + + +# Sanity checks with the CVS repository. +cvs-tag-check: + echo $(this-cvs-tag); \ + if $(CVS) -n log -h README | grep -e $(this-cvs-tag): >/dev/null; then \ + echo "$(this-cvs-tag) as already been used; not tagging" 1>&2; \ + exit 1; \ + else :; fi + +cvs-diff-check: + if $(CVS) diff >cvs-diffs; then \ + rm cvs-diffs; \ + else \ + echo "Some files are locally modified:" 1>&2; \ + cat cvs-diffs; \ + exit 1; \ + fi + +cvs-check: cvs-diff-check cvs-tag-check + +maintainer-distcheck: changelog-check + $(MAKE) distcheck + $(MAKE) my-distcheck + + +# Tag before making distribution. Also, don't make a distribution if +# checks fail. Also, make sure the NEWS file is up-to-date. +# FIXME: use dist-hook/my-dist like distcheck-hook/my-distcheck. +cvs-dist: $(local-check) cvs-check maintainer-distcheck + $(CVS) update po + $(CVS) tag -c $(this-cvs-tag) + $(MAKE) dist + +# Use this to make sure we don't run these programs when building +# from a virgin tgz file, below. +null_AM_MAKEFLAGS = \ + ACLOCAL=false \ + AUTOCONF=false \ + AUTOMAKE=false \ + AUTOHEADER=false \ + MAKEINFO=false + +# Detect format-string/arg-list mismatches that would normally be obscured +# by the use of _(). The --disable-nls effectively defines away that macro, +# and building with CFLAGS='-Wformat -Werror' causes any format warning to be +# treated as a failure. +TMPDIR ?= /tmp +t=$(TMPDIR)/$(PACKAGE)/test +my-distcheck: $(local-check) + -rm -rf $(t) + mkdir -p $(t) + GZIP=$(GZIP_ENV) $(AMTAR) -C $(t) -zxf $(distdir).tar.gz + cd $(t)/$(distdir) \ + && ./configure --disable-nls \ + && $(MAKE) CFLAGS='-Wformat -Werror' \ + AM_MAKEFLAGS='$(null_AM_MAKEFLAGS)' \ + && $(MAKE) dvi \ + && $(MAKE) check \ + && $(MAKE) distclean + (cd $(t) && mv $(distdir) $(distdir).old \ + && $(AMTAR) -zxf - ) < $(distdir).tar.gz + diff -ur $(t)/$(distdir).old $(t)/$(distdir) + -rm -rf $(t) + @echo "========================"; \ + echo "$(distdir).tar.gz is ready for distribution"; \ + echo "========================" + +tgz-md5 = $(shell md5sum < $(my_distdir).tar.gz|sed 's/ -//') +tgz-sha1 = $(shell sha1sum < $(my_distdir).tar.gz|sed 's/ -//') +bz2-md5 = $(shell md5sum < $(my_distdir).tar.bz2|sed 's/ -//') +bz2-sha1 = $(shell sha1sum < $(my_distdir).tar.bz2|sed 's/ -//') +xdelta-md5 = $(shell md5sum < $(xd-delta)|sed 's/ -//') +xdelta-sha1 = $(shell sha1sum < $(xd-delta)|sed 's/ -//') +tgz-size = $(shell du --human $(my_distdir).tar.gz|sed 's/\([MkK]\).*/ \1B/') +bz2-size = $(shell du --human $(my_distdir).tar.bz2|sed 's/\([MkK]\).*/ \1B/') +xd-size = $(shell du --human $(xd-delta)|sed 's/\([MkK]\).*/ \1B/') + +rel-check: + tarz=/tmp/rel-check-tarz-$$$$; \ + md5_tmp=/tmp/rel-check-md5-$$$$; \ + set -e; \ + trap 'status=$$?; rm -f $$tarz $$md5_tmp; exit $$status' 0 1 2 3 15; \ + wget -q --output-document=$$tarz $(url); \ + echo "$(md5) -" > $$md5_tmp; \ + md5sum -c $$md5_tmp < $$tarz + +prev-tgz = $(PACKAGE)-$(PREV_VERSION).tar.gz +xd-delta = $(PACKAGE)-$(PREV_VERSION)-$(VERSION).xdelta + +signatures ?= $(distdir).tar.bz2.sig $(distdir).tar.gz.sig +%.sig: % + gpg --detach-sign $< + +rel-files = $(xd-delta) $(distdir).tar.bz2 $(distdir).tar.gz $(signatures) +announcement: NEWS ChangeLog $(rel-files) $(signatures) + @./announce-gen \ + --release-type=$(RELEASE_TYPE) \ + --package=$(PACKAGE) \ + --prev=$(PREV_VERSION) \ + --curr=$(VERSION) \ + --release-archive-directory=$(release_archive_dir) \ + --news=NEWS \ + $(addprefix --url-dir=, $(url_dir_list)) \ + + +## ---------------- ## +## Updating files. ## +## ---------------- ## + +WGET = wget +ftp-gnu = ftp://ftp.gnu.org/gnu +www-gnu = http://www.gnu.org + +# Use mv, if you don't have/want move-if-change. +move_if_change ?= move-if-change + + +# --------------------- # +# Updating everything. # +# --------------------- # + +.PHONY: update +local_updates ?= wget-update cvs-update po-update +update: $(local_updates) + + +# ------------------- # +# Updating PO files. # +# ------------------- # + +po_repo = http://www.iro.umontreal.ca/contrib/po/maint/$(PACKAGE) +.PHONY: do-po-update po-update +do-po-update: + tmppo=/tmp/$(PACKAGE)-$(VERSION)-po &&\ + rm -rf $$tmppo && \ + mkdir $$tmppo && \ + (cd $$tmppo && $(WGET) -r -l1 -nd --no-parent -A '*.po' $(po_repo)) &&\ + cp $$tmppo/*.po po + cd po && $(MAKE) update-po + $(MAKE) po-check + +po-update: + if test -d "po"; then \ + $(MAKE) do-po-update; \ + fi + +# -------------------------- # +# Updating GNU build tools. # +# -------------------------- # + +# The following pseudo table associates a local directory and a URL +# with each of the files that belongs to some other package and is +# regularly updated from the specified URL. +wget_files ?= $(srcdir)/config/config.guess \ + $(srcdir)/config/config.sub \ + $(srcdir)/src/ansi2knr.c \ + $(srcdir)/config/texinfo.tex +get-targets = $(patsubst %, get-%, $(wget_files)) + +config.guess-url_prefix = $(ftp-gnu)/config/ +config.sub-url_prefix = $(ftp-gnu)/config/ + +ansi2knr.c-url_prefix = ftp://ftp.cs.wisc.edu/ghost/ + +texinfo.tex-url_prefix = $(ftp-gnu)/texinfo/ + +standards.texi-url_prefix = $(www-gnu)/prep/ +make-stds.texi-url_prefix = $(standards.texi-url_prefix) + +target = $(patsubst get-%, %, $@) +url = $($(notdir $(target))-url_prefix)$(notdir $(target)) + +.PHONY: $(get-targets) +$(get-targets): + $(WGET) $(url) -O $(target).t \ + && $(move_if_change) $(target).t $(target) + +cvs_files ?= $(srcdir)/config/depcomp $(srcdir)/config/missing \ + $(srcdir)/config/mkinstalldirs \ + $(srcdir)/config/install-sh $(srcdir)/src/ansi2knr.c +automake_repo=:pserver:anoncvs:anoncvs@sources.redhat.com:/cvs/automake +.PHONY: wget-update +wget-update: $(get-targets) + +.PHONY: cvs-update +cvs-update: + fail=; \ + for f in $(cvs_files); do \ + test -f $$f || { echo "*** skipping $$f" 1>&2; continue; }; \ + cvs diff $$f > /dev/null \ + || { echo "*** $$f is locally modified; skipping it" 1>&2; \ + fail=yes; continue; }; \ + file=$$(basename $$f); \ + echo checking out $$file...; \ + $(CVS) -d $(automake_repo) co -p automake/lib/$$file> $$f.t \ + && $(move_if_change) $$f.t $$f; \ + done; \ + test "$$fail" && exit 1 + +define emit-upload-commands + echo ===================================== + echo ===================================== + echo upload $(PACKAGE) $(PREV_VERSION) $(VERSION) + echo '# send the /tmp/announcement e-mail' + echo ===================================== + echo ===================================== +endef + +$(xd-delta): $(release_archive_dir)/$(prev-tgz) $(distdir).tar.gz + xdelta delta -9 $^ $@ || : + +.PHONY: alpha beta major +alpha beta major: $(local-check) + $(MAKE) cvs-dist + $(MAKE) $(xd-delta) + $(MAKE) -s announcement RELEASE_TYPE=$@ > /tmp/announce-$(my_distdir) + ln $(rel-files) $(release_archive_dir) + chmod a-w $(rel-files) + echo $(VERSION) > $(prev_version_file) + $(CVS) ci -m. $(prev_version_file) + @$(emit-upload-commands) diff --git a/src/apps/bin/coreutils-5.0/NEWS b/src/apps/bin/coreutils-5.0/NEWS new file mode 100644 index 0000000000..299a823634 --- /dev/null +++ b/src/apps/bin/coreutils-5.0/NEWS @@ -0,0 +1,365 @@ +[5.0] +* false --help now exits nonzero + +[4.5.12] +* printf no longer treats \x specially when POSIXLY_CORRECT is set +* printf avoids buffer overrun with format ending in a backslash and +* printf avoids buffer overrun with incomplete conversion specifier +* printf accepts multiple flags in a single conversion specifier + +[4.5.11] +* seq no longer requires that a field width be specified +* seq no longer fails when given a field width of `0' +* seq now accepts ` ' and `'' as valid format flag characters +* df now shows a HOSTNAME: prefix for each remote-mounted file system on AIX 5.1 +* portability tweaks for HP-UX, AIX 5.1, DJGPP + +[4.5.10] +* printf no longer segfaults for a negative field width or precision +* shred now always enables --exact for non-regular files +* du no longer lists hard-linked files more than once +* du no longer dumps core on some systems due to `infinite' recursion + via nftw's use of the buggy replacement function in getcwd.c +* portability patches for a few vendor compilers and 64-bit systems +* du -S *really* now works like it did before the change in 4.5.5 + +[4.5.9] +* du no longer truncates file sizes or sums to fit in 32-bit size_t +* work around Linux kernel bug in getcwd (fixed in 2.4.21-pre4), so that pwd + now fails if the name of the working directory is so long that getcwd + truncates it. Before it would print the truncated name and exit successfully. +* `df /some/mount-point' no longer hangs on a GNU libc system when another + hard-mounted NFS file system (preceding /some/mount-point in /proc/mounts) + is inaccessible. +* rm -rf now gives an accurate diagnostic when failing to remove a file + under certain unusual conditions +* mv and `cp --preserve=links' now preserve multiple hard links even under + certain unusual conditions where they used to fail + +[4.5.8] +* du -S once again works like it did before the change in 4.5.5 +* stat accepts a new file format, %B, for the size of each block reported by %b +* du accepts new option: --apparent-size +* du --bytes (-b) works the same way it did in fileutils-3.16 and before +* du reports proper sizes for directories (not zero) (broken in 4.5.6 or 4.5.7) +* df now always displays under `Filesystem', the device file name + corresponding to the listed mount point. Before, for a block- or character- + special file command line argument, df would display that argument. E.g., + `df /dev/hda' would list `/dev/hda' as the `Filesystem', rather than say + /dev/hda3 (the device on which `/' is mounted), as it does now. +* test now works properly when invoked from a set user ID or set group ID + context and when testing access to files subject to alternate protection + mechanisms. For example, without this change, a set-UID program that invoked + `test -w F' (to see if F is writable) could mistakenly report that it *was* + writable, even though F was on a read-only file system, or F had an ACL + prohibiting write access, or F was marked as immutable. + +[4.5.7] +* du would fail with more than one DIR argument when any but the last did not + contain a slash (due to a bug in ftw.c) + +[4.5.6] +* du no longer segfaults on Solaris systems (fixed heap-corrupting bug in ftw.c) +* du --exclude=FILE works once again (this was broken by the rewrite for 4.5.5) +* du no longer gets a failed assertion for certain hierarchy lay-outs + involving hard-linked directories +* `who -r' no longer segfaults when using non-C-locale messages +* df now displays a mount point (usually `/') for non-mounted + character-special and block files + +[4.5.5] +* ls --dired produces correct byte offset for file names containing + nonprintable characters in a multibyte locale +* du has been rewritten to use a variant of GNU libc's ftw.c +* du now counts the space associated with a directory's directory entry, + even if it cannot list or chdir into that subdirectory. +* du -S now includes the st_size of each entry corresponding to a subdirectory +* rm on FreeBSD can once again remove directories from NFS-mounted file systems +* ls has a new option --dereference-command-line-symlink-to-dir, which + corresponds to the new default behavior when none of -d, -l -F, -H, -L + has been specified. +* ls dangling-symlink now prints `dangling-symlink'. + Before, it would fail with `no such file or directory'. +* ls -s symlink-to-non-dir and ls -i symlink-to-non-dir now print + attributes of `symlink', rather than attributes of their referents. +* Fix a bug introduced in 4.5.4 that made it so that ls --color would no + longer highlight the names of files with the execute bit set when not + specified on the command line. +* shred's --zero (-z) option no longer gobbles up any following argument. + Before, `shred --zero file' would produce `shred: missing file argument', + and worse, `shred --zero f1 f2 ...' would appear to work, but would leave + the first file untouched. +* readlink: new program +* cut: new feature: when used to select ranges of byte offsets (as opposed + to ranges of fields) and when --output-delimiter=STRING is specified, + output STRING between ranges of selected bytes. +* rm -r can no longer be tricked into mistakenly reporting a cycle. +* when rm detects a directory cycle, it no longer aborts the entire command, + but rather merely stops processing the affected command line argument. + +[4.5.4] +* cp no longer fails to parse options like this: --preserve=mode,ownership +* `ls --color -F symlink-to-dir' works properly +* ls is much more efficient on directories with valid dirent.d_type. +* stty supports all baud rates defined in linux-2.4.19. +* `du symlink-to-dir/' would improperly remove the trailing slash +* `du ""' would evoke a bounds violation. +* In the unlikely event that running `du /' resulted in `stat ("/", ...)' + failing, du would give a diagnostic about `' (empty string) rather than `/'. +* printf: a hexadecimal escape sequence has at most two hex. digits, not three. +* The following features have been added to the --block-size option + and similar environment variables of df, du, and ls. + - A leading "'" generates numbers with thousands separators. + For example: + $ ls -l --block-size="'1" file + -rw-rw-r-- 1 eggert src 47,483,707 Sep 24 23:40 file + - A size suffix without a leading integer generates a suffix in the output. + For example: + $ ls -l --block-size="K" + -rw-rw-r-- 1 eggert src 46371K Sep 24 23:40 file +* ls's --block-size option now affects file sizes in all cases, not + just for --block-size=human-readable and --block-size=si. Fractional + sizes are now always rounded up, for consistency with df and du. +* df now displays the block size using powers of 1000 if the requested + block size seems to be a multiple of a power of 1000. +* nl no longer gets a segfault when run like this `yes|nl -s%n' + +[4.5.3] +* du --dereference-args (-D) no longer fails in certain cases +* `ln --target-dir=DIR' no longer fails when given a single argument + +[4.5.2] +* `rm -i dir' (without --recursive (-r)) no longer recurses into dir +* `tail -c N FILE' now works with files of size >= 4GB +* `mkdir -p' can now create very deep (e.g. 40,000-component) directories +* rmdir -p dir-with-trailing-slash/ no longer fails +* printf now honors the `--' command line delimiter +* od's 8-byte formats x8, o8, and u8 now work +* tail now accepts fractional seconds for its --sleep-interval=S (-s) option + +[4.5.1] +* du and ls now report sizes of symbolic links (before they'd always report 0) +* uniq now obeys the LC_COLLATE locale, as per POSIX 1003.1-2001 TC1. + +======================================================================== +Here are the NEWS entries made from fileutils-4.1 until the +point at which the packages merged to form the coreutils: + +[4.1.11] +* `rm symlink-to-unwritable' doesn't prompt [introduced in 4.1.10] +[4.1.10] +* rm once again gives a reasonable diagnostic when failing to remove a file + owned by someone else in a sticky directory [introduced in 4.1.9] +* df now rounds all quantities up, as per POSIX. +* New ls time style: long-iso, which generates YYYY-MM-DD HH:MM. +* Any time style can be preceded by "posix-"; this causes "ls" to + use traditional timestamp format when in the POSIX locale. +* The default time style is now posix-long-iso instead of posix-iso. + Set TIME_STYLE="posix-iso" to revert to the behavior of 4.1.1 thru 4.1.9. +* `rm dangling-symlink' doesn't prompt [introduced in 4.1.9] +* stat: remove support for --secure/-s option and related %S and %C format specs +* stat: rename --link/-l to --dereference/-L. + The old options will continue to work for a while. +[4.1.9] +* rm can now remove very deep hierarchies, in spite of any limit on stack size +* new programs: link, unlink, and stat +* New ls option: --author (for the Hurd). +* `touch -c no-such-file' no longer fails, per POSIX +[4.1.8] +* mv no longer mistakenly creates links to preexisting destination files + that aren't moved +[4.1.7] +* rm: close a hole that would allow a running rm process to be subverted +[4.1.6] +* New cp option: --copy-contents. +* cp -r is now equivalent to cp -R. Use cp -R -L --copy-contents to get the + traditional (and rarely desirable) cp -r behavior. +* ls now accepts --time-style=+FORMAT, where +FORMAT works like date's format +* The obsolete usage `touch [-acm] MMDDhhmm[YY] FILE...' is no longer + supported on systems conforming to POSIX 1003.1-2001. Use touch -t instead. +* cp and inter-partition mv no longer give a misleading diagnostic in some + unusual cases +[4.1.5] +* cp -r no longer preserves symlinks +* The block size notation is now compatible with SI and with IEC 60027-2. + For example, --block-size=1MB now means --block-size=1000000, + whereas --block-size=1MiB now means --block-size=1048576. + A missing `B' (e.g. `1M') has the same meaning as before. + A trailing `B' now means decimal, not binary; this is a silent change. + The nonstandard `D' suffix (e.g. `1MD') is now obsolescent. +* -H or --si now outputs the trailing 'B', for consistency with the above. +* Programs now output trailing 'K' (not 'k') to mean 1024, as per IEC 60027-2. +* New df, du short option -B is short for --block-size. +* You can omit an integer `1' before a block size suffix, + e.g. `df -BG' is equivalent to `df -B 1G' and to `df --block-size=1G'. +* The following options are now obsolescent, as their names are + incompatible with IEC 60027-2: + df, du: -m or --megabytes (use -BM or --block-size=1M) + df, du, ls: --kilobytes (use --block-size=1K) +[4.1.4] +* df --local no longer lists smbfs file systems whose name starts with // +* dd now detects the Linux/tape/lseek bug at run time and warns about it. +[4.1.3] +* ls -R once again outputs a blank line between per-directory groups of files. + This was broken by the cycle-detection change in 4.1.1. +* dd once again uses `lseek' on character devices like /dev/mem and /dev/kmem. + On systems with the linux kernel (at least up to 2.4.16), dd must still + resort to emulating `skip=N' behavior using reads on tape devices, because + lseek has no effect, yet appears to succeed. This may be a kernel bug. +[4.1.2] +* cp no longer fails when two or more source files are the same; + now it just gives a warning and doesn't copy the file the second time. + E.g., cp a a d/ produces this: + cp: warning: source file `a' specified more than once +* chmod would set the wrong bit when given symbolic mode strings like + these: g=o, o=g, o=u. E.g., `chmod a=,o=w,ug=o f' would give a mode + of --w-r---w- rather than --w--w--w-. +[4.1.1] +* mv (likewise for cp), now fails rather than silently clobbering one of + the source files in the following example: + rm -rf a b c; mkdir a b c; touch a/f b/f; mv a/f b/f c +* ls -R detects directory cycles, per POSIX. It warns and doesn't infloop. +* cp's -P option now means the same as --no-dereference, per POSIX. + Use --parents to get the old meaning. +* When copying with the -H and -L options, cp can preserve logical + links between source files with --preserve=links +* cp accepts new options: + --preserve[={mode,ownership,timestamps,links,all}] + --no-preserve={mode,ownership,timestamps,links,all} +* cp's -p and --preserve options remain unchanged and are equivalent + to `--preserve=mode,ownership,timestamps' +* mv and cp accept a new option: --reply={yes,no,query}; provides a consistent + mechanism to control whether one is prompted about certain existing + destination files. Note that cp's and mv's -f options don't have the + same meaning: cp's -f option no longer merely turns off `-i'. +* remove portability limitations (e.g., PATH_MAX on the Hurd, fixes for + 64-bit systems) +* mv now prompts before overwriting an existing, unwritable destination file + when stdin is a tty, unless --force (-f) is specified, as per POSIX. +* mv: fix the bug whereby `mv -uf source dest' would delete source, + even though it's older than dest. +* chown's --from=CURRENT_OWNER:CURRENT_GROUP option now works +* cp now ensures that the set-user-ID and set-group-ID bits are cleared for + the destination file when when copying and not preserving permissions. +* `ln -f --backup k k' gives a clearer diagnostic +* ls no longer truncates user names or group names that are longer + than 8 characters. +* ls's new --dereference-command-line option causes it to dereference + symbolic links on the command-line only. It is the default unless + one of the -d, -F, or -l options are given. +* ls -H now means the same as ls --dereference-command-line, as per POSIX. +* ls -g now acts like ls -l, except it does not display owner, as per POSIX. +* ls -n now implies -l, as per POSIX. +* ls can now display dates and times in one of four time styles: + + - The `full-iso' time style gives full ISO-style time stamps like + `2001-05-14 23:45:56.477817180 -0700'. + - The 'iso' time style gives ISO-style time stamps like '2001-05-14 ' + and '05-14 23:45'. + - The 'locale' time style gives locale-dependent time stamps like + 'touko 14 2001' and 'touko 14 23:45' (in a Finnish locale). + - The 'posix-iso' time style gives traditional POSIX-locale + time stamps like 'May 14 2001' and 'May 14 23:45' unless the user + specifies a non-POSIX locale, in which case it uses ISO-style dates. + This is the default. + + You can specify a time style with an option like --time-style='iso' + or with an environment variable like TIME_STYLE='iso'. GNU Emacs 21 + and later can parse ISO dates, but older Emacs versions cannot, so + if you are using an older version of Emacs outside the default POSIX + locale, you may need to set TIME_STYLE="locale". + +* --full-time is now an alias for "-l --time-style=full-iso". + + +======================================================================== +Here are the NEWS entries made from sh-utils-2.0 until the +point at which the packages merged to form the coreutils: + + [2.0.15] +* date no longer accepts e.g., September 31 in the MMDDhhmm syntax +* fix a bug in this package's .m4 files and in configure.ac + [2.0.14] +* nohup's behavior is changed as follows, to conform to POSIX 1003.1-2001: + - nohup no longer adjusts scheduling priority; use "nice" for that. + - nohup now redirects stderr to stdout, if stderr is not a terminal. + - nohup exit status is now 126 if command was found but not invoked, + 127 if nohup failed or if command was not found. + [2.0.13] +* uname and uptime work better on *BSD systems +* pathchk now exits nonzero for a path with a directory component + that specifies a non-directory + [2.0.12] +* kill: new program +* who accepts new options: --all (-a), --boot (-b), --dead (-d), --login, + --process (-p), --runlevel (-r), --short (-s), --time (-t), --users (-u). + The -u option now produces POSIX-specified results and is the same as + the long option `--users'. --idle is no longer the same as -u. +* The following changes apply on systems conforming to POSIX 1003.1-2001, + and are required by the new POSIX standard: + - `date -I' is no longer supported. Instead, use `date --iso-8601'. + - `nice -NUM' is no longer supported. Instead, use `nice -n NUM'. +* New 'uname' options -i or --hardware-platform, and -o or --operating-system. + 'uname -a' now outputs -i and -o information at the end. + New uname option --kernel-version is an alias for -v. + Uname option --release has been renamed to --kernel-release, + and --sysname has been renamed to --kernel-name; + the old options will work for a while, but are no longer documented. +* 'expr' now uses the LC_COLLATE locale for string comparison, as per POSIX. +* 'expr' now requires '+' rather than 'quote' to quote tokens; + this removes an incompatibility with POSIX. +* date -d 'last friday' would print a date/time that was one hour off + (e.g., 23:00 on *thursday* rather than 00:00 of the preceding friday) + when run such that the current time and the target date/time fall on + opposite sides of a daylight savings time transition. + This problem arose only with relative date strings like `last monday'. + It was not a problem with strings that include absolute dates. +* factor is twice as fast, for large numbers + [2.0.11] +* setting the date now works properly, even when using -u +* `date -f - < /dev/null' no longer dumps core +* some DOS/Windows portability changes + [2.0j] +* `date -d DATE' now parses certain relative DATEs correctly + [2.0i] +* fixed a bug introduced in 2.0h that made many programs fail with a + `write error' when invoked with the --version option + [2.0h] +* all programs fail when printing --help or --version output to a full device +* printf exits nonzero upon write failure +* yes now detects and terminates upon write failure +* date --rfc-822 now always emits day and month names from the `C' locale +* portability tweaks for Solaris8, Ultrix, and DOS + [2.0g] +* date now handles two-digit years with leading zeros correctly. +* printf interprets unicode, \uNNNN \UNNNNNNNN, on systems with the + required support; from Bruno Haible. +* stty's rprnt attribute now works on HPUX 10.20 +* seq's --equal-width option works more portably + [2.0f] +* fix build problems with ut_name vs. ut_user + [2.0e] +* stty: fix long-standing bug that caused test failures on at least HPUX + systems when COLUMNS was set to zero +* still more portability fixes +* unified lib/: now that directory and most of the configuration framework + is common between fileutils, textutils, and sh-utils + [2.0d] +* fix portability problem with sleep vs lib/strtod.c's requirement for -lm + [2.0c] +* fix portability problems with nanosleep.c and with the new code in sleep.c + [2.0b] +* Regenerate lib/Makefile.in so that nanosleep.c is distributed. + [2.0a] +* sleep accepts floating point arguments on command line +* sleep's clock continues counting down when sleep is suspended +* when a suspended sleep process is resumed, it continues sleeping if + there is any time remaining +* who once again prints whatever host information it has, even without --lookup + +======================================================================== +For older NEWS entries for the fileutils, textutils, and sh-utils +packages, see ./old/*/NEWS. + + This package began as the union of the following: + textutils-2.1, fileutils-4.1.11, sh-utils-2.0.15. diff --git a/src/apps/bin/coreutils-5.0/README b/src/apps/bin/coreutils-5.0/README new file mode 100644 index 0000000000..3df65eef1c --- /dev/null +++ b/src/apps/bin/coreutils-5.0/README @@ -0,0 +1,126 @@ +These are the GNU core utilities. This package is the union of +the GNU fileutils, sh-utils, and textutils packages. + +Most of these programs have significant advantages over their Unix +counterparts, such as greater speed, additional options, and fewer +arbitrary limits. + +The programs that can be built with this package are: + + basename cat chgrp chmod chown chroot cksum comm cp csplit cut date dd + df dir dircolors dirname du echo env expand expr factor false fmt fold + ginstall groups head hostid hostname id join kill link ln logname ls + md5sum mkdir mkfifo mknod mv nice nl nohup od paste pathchk pinky pr + printenv printf ptx pwd readlink rm rmdir seq sha1sum shred sleep sort + split stat stty su sum sync tac tail tee test touch tr true tsort tty + uname unexpand uniq unlink uptime users vdir wc who whoami yes + +See the file NEWS for a list of major changes in the current release. + +See the file INSTALL for compilation and installation instructions. + +These programs are intended to be POSIX.2 compliant (with BSD and other +extensions), like the rest of the GNU system. + +The ls, dir, and vdir commands are all separate executables instead of +one program that checks argv[0] because people often rename these +programs to things like gls, gnuls, l, etc. Renaming a program +file shouldn't affect how it operates, so that people can get the +behavior they want with whatever name they want. + +Special thanks to Paul Eggert, Brian Matthews, Bruce Evans, Karl Berry, +Kaveh Ghazi, and François Pinard for help with debugging and porting +these programs. Many thanks to all of the people who have taken the +time to submit problem reports and fixes. All contributed changes are +attributed in the ChangeLog file. + +And thanks to the following people who have provided accounts for +portability testing on many different types of systems: Bob Proulx, +Christian Robert, François Pinard, Greg McGary, Harlan Stenn, +Joel N. Weber, Mark D. Roth, Matt Schalit, Nelson H. F. Beebe, +Réjean Payette, Sam Tardieu. + +Thanks to Michael Stone for inflicting test releases of the fileutils +on Debian's unstable distribution, and to all the kind folks who used +that distribution and found and reported bugs. + +Note that each man page is now automatically generated from a template +and from the corresponding --help usage message. Patches to the template +files (man/*.x) are welcome. However, the authoritative documentation +is in texinfo form in the doc directory. + +If you run the tests on a SunOS4.1.4 system, expect the ctime-part of +the ls `time-1' test to fail. I believe that is due to a bug in the +way Sun implemented link(2) and chmod(2). + +*************************************** +Last-minute notes, before coreutils-5.0 +--------------------------------------- + +A known problem exists when compiling on HPUX on both hppa and ia64 +in 64-bit mode (i.e. +DD64) on all known HPUX 11.x versions. This +is not due to a bug in the package but instead due to a bug in the +system header file which breaks things in 64-bit mode. The default +compilation mode is 32-bit and the software compiles fine using the +default mode. To build this software in 64-bit mode you will need +to fix the system /usr/include/inttypes.h header file. After +correcting that file the software also compiles fine in 64-bit mode. +Here is one possible patch to correct the problem. + +--- /usr/include/inttypes.h.orig Thu May 30 01:00:00 1996 ++++ /usr/include/inttypes.h Sun Mar 23 00:20:36 2003 +@@ -489 +489 @@ +-#ifndef __STDC_32_MODE__ ++#ifndef __LP64__ + +I've heard that stat.c doesn't compile on Ultrix 4.3. +Does anyone with access to such a system want to investigate? + +On some systems, some of the tests fail when run as root. All failures +I've seen appear to be due to problems in the testing framework, not +in the tools themselves. I'll address that for the next release by +using a program like setuidgid (see the comment in TODO). + +*************************************** + +There are pretty many tests, but nowhere near as many as we need. +Additions and corrections are very welcome. + +If you see a problem that you've already reported, feel free to re-report +it -- it won't bother me to get a reminder. Besides, the more messages I +get regarding a particular problem the sooner it'll be fixed -- usually. +If you sent a complete patch and, after a couple weeks you haven't +received any acknowledgement please ping us. A complete patch includes +a well-written ChangeLog entry, unified (diff -u format) diffs relative +to the most recent test release, an explanation for why the patch is +necessary or useful, and if at all possible, enough information to +reproduce whatever problem prompted it. + +If your patch adds a new feature, please try to get some sort of consensus +that it is a worthwhile change. One way to do that is to send mail to +bug-coreutils@gnu.org including as much description and justification +as you can. Based on the feedback that generates, you may be able to +convince us that it's worth adding. + + +WARNING: If you modify files like configure.in, m4/*.m4, aclocal.m4, +or any Makefile.am, then don't be surprised if what gets regenerated no +longer works. To make things work, you'll have to be using appropriate +versions of automake and autoconf. As for what versions are `appropriate', +use the versions of + + * autoconf specified via AC_PREREQ in m4/jm-macros.m4 + * automake specified via AM_INIT_AUTOMAKE in configure.ac + +Usually it's fine to use versions that are newer than those specified. + +These programs all recognize the `--version' option. When reporting +bugs, please include in the subject line both the package name/version +and the name of the program for which you found a problem. + +For general documentation on the coding and usage standards +this distribution follows, see the GNU Coding Standards, +http://www.gnu.org/prep/standards_toc.html. + +Mail suggestions and bug reports for these programs to +the address on the last line of --help output. diff --git a/src/apps/bin/coreutils-5.0/THANKS b/src/apps/bin/coreutils-5.0/THANKS new file mode 100644 index 0000000000..337891096d --- /dev/null +++ b/src/apps/bin/coreutils-5.0/THANKS @@ -0,0 +1,402 @@ +These people have contributed to the GNU coreutils (formerly, the fileutils, +textutils, and/or sh-utils packages). Some have reported problems, others +have contributed improvements to the documentation, actual code, and even +complete programs. Those contributions are described in the ChangeLog +files. If your name has been left out, if you'd rather not be listed, +or if you'd prefer a different address be used, please let me know. + +??? kytek@cybercomm.net +Achim Blumensath blume@corona.oche.de +Adam Klein aklein@debian.org +Akim Demaille demaille@inf.enst.fr +Alain Magloire alain@qnx.com +Alan Iwi iwi@atm.ox.ac.uk +Albert Chin-A-Young china@thewrittenword.com +Albert Hopkins ahopkins@dynacare.com +Alberto Accomazzi alberto@cfa0.harvard.edu +aldomel aldomel@ix.netcom.com +Alen Muzinic zveki@fly.cc.fer.hr +Alexandre Duret-Lutz duret_g@epita.fr +Alexey Solovyov alekso@math.uu.se +Alexey Vyskubov alexey@pippuri.mawhrin.net +Alfred M. Szmidt ams@kemisten.nu +Andi Kleen freitag@alancoxonachip.com +Andre Novaes Cunha Andre.Cunha@br.global-one.net +Andreas Gruenbacher ag@bestbits.at +Andreas Jaeger jaeger@gnu.org +Andreas Luik luik@isa.de +Andreas Schwab schwab@suse.de +Andreas Stolcke stolcke@ICSI.Berkeley.EDU +Andrei Gaponenko andr@triumf.ca +Andres Soolo andres@soolo.matti.ee +Andrew Burgess aab@cichlid.com +Andrew Dalke dalke@bioreason.com +Andrew Pham andpha@us.ibm.com +Andrew Tridgell tridge@samba.org +Andries Brouwer Andries.Brouwer@cwi.nl +Andy Longton alongton@metamark.com +Antonio Rendas ajrendas@yahoo.com +Ariel Faigon ariel@cthulhu.engr.sgi.com +Arne H. Juul arnej@solan.unit.no +Arne Henrik Juul arnej@imf.unit.no +Arnold Robbins arnold@skeeve.com +Arthur Pool pool@commerce.uq.edu.au +Arun Sharma arun.sharma@intel.com +Augey Mikus mikus@dqc.org +Austin Donnelly Austin.Donnelly@cl.cam.ac.uk +Axel Kittenberger Anshil@gmx.net +Bauke Jan Douma bjdouma@xs4all.nl +Ben Elliston bje@air.net.au +Bengt Martensson bengt@mathematik.uni-Bremen.de +Bernd Leibing bernd.leibing@rz.uni-ulm.de +Bernhard Baehr bernhard.baehr@gmx.de +Bernhard Gabler bernhard@uni-koblenz.de +Bernhard Rosenkraenzer bero@redhat.de +Bill Peters peters@gaffel.as.arizona.edu +Bjorn Helgaas helgaas@rsn.hp.com +Bob McCracken kerouac@ravenet.com +Bob Proulx rwp@fc.hp.com +Branden Robinson branden@necrotic.deadbeast.net +Brendan O'Dea bod@compusol.com.au +Brian Kimball bfk@footbag.org +Brian Youmans 3diff@gnu.org +Bruno Haible haible@clisp.cons.org +Carl Johnson carlj@cjlinux.home.org +Carl Lowenstein cdl@mpl.UCSD.EDU +Carlos Canau Carlos.Canau@relay.puug.pt +Charles Karney karney@pppl.gov +Charles Randall crandall@matchlogic.com +Chip Salzenberg chip@valinux.com +Chris Faylor cgf@cygnus.com +Chris J. Bednar cjb@AdvancedDataSolutions.com +Chris Sylvain csylvain@umm.edu +Chris Yeo cyeo@biking.org +Christi Alice Scarborough christi@chiark.greenend.org.uk +Christian Harkort christian.harkort@web.de +Christian Krackowizer ckrackowiz@std.schuler-ag.com +Christian Rose menthos@menthos.com +Christian von Roques roques@pond.sub.org +Chuck Hedrick hedrick@klinzhai.rutgers.edu +Clark Morgan cmorgan@aracnet.com +Colin Plumb colin@nyx.net +Colin Watson cjw44@riva.ucam.org +Collin Rogowski collin@rogowski.de +Cray-Cyber Project http://www.cray-cyber.org +Dale Scheetz dwarf@polaris.net +Dan Hagerty hag@gnu.ai.it.edu +Dan Jacobson http://www.geocities.com/jidani +Dan Pascu dan@services.iiruc.ro +Daniel Bergstrom noa@melody.se +Darren Salt ds@youmustbejoking.demon.co.uk +Dave Beckett dajobe@dajobe.org +David Dyck dcd@tc.fluke.COM +David Eisner cradle@umd.edu +David Godfrey dave@delta.demon.co.uk +David Luyer david_luyer@pacific.net.au +Deepak Goel deego@gnufans.org +Dennis Henriksen opus@flamingo.osrl.dk +Derek Clegg dclegg@next.com +Dick Streefland dick_streefland@tasking.com +Dirk Lattermann dlatt@t-online.de +Dirk-Jan Faber djfaber@snow.nl +Dmitry V. Levin ldv@altlinux.org +Don Parsons dparsons@synapse.kent.edu +Donni Erpel donald@appc11.gsi.de +Doug Coleman coleman@iarc1.ece.utexas.edu +Doug McLaren dougmc@comco.com +Dragos Harabor dharabor@us.oracle.com +Duncan Roe duncanr@optimation.com.au +Ed Avis ed@membled.com +Edzer Pebesma Edzer.Pebesma@rivm.nl +Eirik Fuller eirik@hackrat.com +Eivind eivindt@multinet.no +Eli Zaretskii eliz@is.elta.co.il +Emile LeBlanc leblanc@math.toronto.edu +Eric Backus ericb@lsid.hp.com +Eric G. Miller egm2@jps.net +Eric Pemente pemente@northpark.edu +Eric S. Raymond esr@snark.thyrsus.com +Erik Bennett bennett@cvo.oneworld.com +Erik Corry erik@kroete2.freinet.de +Felix Lee flee@teleport.com +Ferdinand fw@scenic.mine.nu +Fletcher Mattox fletcher@cs.utexas.edu +Florin Iucha fiucha@hsys.mic.ro +François Pinard pinard@iro.umontreal.ca +Frank Adler fadler@allesklar.de +Frank T Lofaro ftlofaro@snooks.Egr.UNLV.EDU +Fred Fish fnf@ninemoons.com +Frédéric L. W. Meunier 0@pervalidus.net +Frederik Eaton frederik@caltech.edu +Gabor Z. Papp gzp@gzp.org.hu +Gaël Quéri gqueri@mail.dotcom.fr +Galen Hazelwood galenh@micron.net +Gary Anderson ganderson@clark.net +Gaute Hvoslef Kvalnes gaute@verdsveven.com +Geoff Kuenning geoff@cs.hmc.edu +Geoff Odhner geoff@franklin.com +Geoff Whale geoffw@cse.unsw.EDU.AU +Gerhard Poul gpoul@gnu.org +Germano Leichsenring germano@jedi.cs.kobe-u.ac.jp +Göran Uddeborg goeran@uddeborg.pp.se +GOTO Masanori gotom@debian.or.jp +Greg Louis glouis@dynamicro.on.ca +Greg McGary gkm@gnu.org +Greg Schafer gschafer@zip.com.au +Greg Troxel gdt@bbn.com +Greg Wooledge gawooledge@sherwin.com +Gregory Leblanc gleblanc@cu-portland.edu +H. J. Lu hjl@valinux.com +Hans Ginzel hans@matfyz.cz +Hans Lermen lermen@fgan.de +Hans Verkuil hans@wyst.hobby.nl +Harry Liu rliu@lek.ugcs.caltech.edu +Herbert Xu herbert@gondor.apana.org.au +Holger Berger hberger@ess.nec.de +Hon-Yin Kok hkok@yoda.unl.edu +Hugh Daniel hugh@xanadu.com +Ian Bruce ian.bruce@myrealbox.com +Ian Jackson ijackson@chiark.greenend.org.uk +Ian Lance Taylor ian@cygnus.com +Ian Turner vectro@pipeline.com +Iida Yosiaki iida@gnu.org +Ingo Saitz ingo@debian.org +Ivo Timmermans ivo@debian.org +James james@albion.glarp.com +James Antill jmanti%essex.ac.uk@seralph21.essex.ac.uk +James Sneeringer jvs@ocslink.com +James Tanis jtt@soscorp.com +James Youngman james+usenet@free-lunch.demon.co.uk +Jamie Lokier jamie@imbolc.ucc.ie +Jan Fedak J.Fedak@sh.cvut.cz +Jan Nieuwenhuizen janneke@gnu.org +Janos Farkas chexum@shadow.banki.hu +Jarkko Hietaniemi jhi@epsilon.hut.fi +Jean Charles Delepine delepine@u-picardie.fr +Jeff Moore jbm@mordor.com +Jeff Sheinberg jeffsh@localnet.com +Jens Schmidt jms@jsds.hamburg.com +Jerome Abela abela@hsc.fr +Jesse Thilo jgt2@eecs.lehigh.edu +Jie Xu xuj@iag.net +Jim Blandy jimb@cyclic.com +Jim Dennis jimd@starshine.org +Joakim Rosqvist dvljrt@cs.umu.se +Jochen Hein jochen@jochen.org +Joe Orton joe@manyfish.co.uk +Johan Danielsson joda@pdc.kth.se +John Bley jbb6@acpub.duke.edu +John David Anglin dave.anglin@nrc.ca +John Gatewood Ham zappaman@alphabox.compsci.buu.ac.th +John Gotts jgotts@umich.edu +John Kendall kendall@capps.com +John Kodis kodis@acm.org +John Murphy jam@philabs.research.philips.com +John Roll john@panic.harvard.edu +John Salmon johns@mullet.anu.edu.au +John Summerfield summer@OS2.ami.com.au +Joost van Baal joostvb@xs4all.nl +Jorge Stolfi stolfi@ic.unicamp.br +Joseph S. Myers jsm28@cam.ac.uk +Juan F. Codagnone juam@arnet.com.ar +Jungshik Shin jshin@pantheon.yale.edu +Jürgen Fluk louis@dachau.marco.de +jvogel jvogel@linkny.com +Kai Henningsen kai@debian.org +Kai-Uwe Rommel rommel@informatik.tu-muenchen.de +Kalle Olavi Niemitalo tosi@stekt.oulu.fi +Kamal Paul Nigam Kamal_Paul_Nigam@gs35.sp.cs.cmu.edu +Karl Eichwalder keichwa@gmx.net +Karl Heuer kwzh@gnu.org +Karl-Michael Schneider schneide@phil.uni-passau.de +Karsten Thygesen karthy@kom.auc.dk +Kaveh R. Ghazi ghazi@caip.rutgers.edu +Keith Owens kaos@audio.apana.org.au +Keith Thompson kst@sdsc.edu +Ken Pizzini kenp@halcyon.com +Kristin E Thomas kristint@us.ibm.com +Kjetil Torgrim Homme kjetilho@ifi.uio.no +Kristoffer Rose kris@diku.dk +Larry McVoy lm@sgi.com +Lars Hecking lhecking@nmrc.ucc.ie +Lehti Rami rammer@cs.tut.fi +Leonard N. Zubkoff lnz@dandelion.com +Leonardo Milano lmilano@udel.edu +Lorne Baker lbaker@nitro.avint.net +M. P. Suzuki mpsuzuki@hiroshima-u.ac.jp +Maciej Kwapulinski pikpok@univ.gda.pl +Manas Garg manas@cygsoft.com +Manfred Hollstein manfred@s-direktnet.de +Marc Boucher marc@mbsi.ca +Marc Olzheim marcolz@stack.nl +Marco Franzen Marco.Franzen@Thyron.com +Marcus Brinkmann http://www.marcus-brinkmann.de +Marcus Daniels marcus@ee.pdx.edu +Mark A. Thomas thommark@access.digex.net +Mark D. Roth roth@uiuc.edu +Mark Harris mark@monitor.designacc.com +Mark Hewitt mhewitt@armature.com +Mark Hounschell markh@compro.net +Mark Kettenis kettenis@phys.uva.nl +Mark Nudelman marknu@flash.net +Mark W. Eichin eichin@cygnus.com +Markus Demleitner msdemlei@auriga.ari.uni-heidelberg.de +Martin martin@dresden.nacamar.de +Martin Buck martin.buck@ascom.ch +Martin Gallant martyg@goodbit.net +Martin Hippe martin.hippe@schlund.de +Martin Michlmayr tbm@cyrius.com +Martin Mitchell martin@debian.org +Martin P.J. Zinser zinser@decus.de +Marty Leisner leisner@sdsp.mc.xerox.com +Masami Takikawa takikawm@CS.ORST.EDU +Mate Wierdl mw@moni.msci.memphis.edu +Matej Vela mvela@public.srce.hr +Matt Perry matt@primefactor.com +Matt Schalit mschalit@pacbell.net +Matthew Arnison maffew@cat.org.au +Matthew Braun matthew@ans.net +Matthew Clarke Matthew_Clarke@mindlink.bc.ca +Matthew S. Levine mslevine@theory.lcs.mit.edu +Matthew Smith matts@bluesguitar.org +Matthew Swift swift@alum.mit.edu +Matthias Urlichs smurf@noris.de +Mattias Wadenstein maswan@acc.umu.se +Meelis Roos mroos@tartu.cyber.ee +Michael ??? michael@roka.net +Michael Bacarella mbac@netgraft.com> +Michael Deutschmann michael@talamasca.ocis.net +Michael Gaughen mgaughen@polyserve.com +Michael Hasselberg mikelh@zonta.ping.de +Michael Hohn hohn@math.utah.edu +Michael J. Croghan mcroghan@usatoday.com +Michael Piefel piefel@informatik.hu-berlin.de +Michael Steffens michael.steffens@s.netic.de +Michael Stone mstone@debian.org +Michael Stutz stutz@dsl.org +Michael van Elst mlelstv@dev.de.cw.net +Michael Veksler mveksler@techunix.technion.ac.il +Michail Litvak mci@owl.openwall.com +Michal Svec msvec@suse.cz +Michel Robitaille robitail@IRO.UMontreal.CA +Michiel Bacchiani bacchian@raven.bu.edu +Mike Castle dalgoda@ix.netcom.com +Mike Coleman mkc@mathdogs.com +Mike Jetzer mjetzer@mke.catalystwms.com +Mikko Tuumanen m@sorvankyla.yok.utu.fi +Miles Bader miles@gnu.ai.mit.edu +Minh Tran-Le tranle@intellicorp.com +Morten Welinder terra@diku.dk +Neal H Walfield neal@cs.uml.edu +Neil Brown neilb@cse.unsw.edu.au +Nelson H. F. Beebe beebe@math.utah.edu +Nick Lawes nlawes@silverplatter.com +Niklas Edmundsson nikke@acc.umu.se +Noah Friedman friedman@splode.com +Noel Cragg noel@red-bean.com +Olav Morkrid olav@funcom.com +Ole Laursen olau@hardworking.dk +Oliver Kiddle okiddle@yahoo.co.uk +Ĝrn E. Hansen oehansen@daimi.aau.dk +Oskar Liljeblad osk@hem.passagen.se +Paul Eggert eggert@twinsun.com +Paul Jarc prj@po.cwru.edu +Paul Nevai nevai@ops.mps.ohio-state.edu +Paul Sauer paul@alexa.com +Paul Slootman paul@debian.org +Pawel Prokop pablo@wizard.ae.krakow.pl +Per Cederqvist ceder@lysator.liu.se +Per Kristian Hove perhov@math.ntnu.no +Peter Eriksson peter@ifm.liu.se +Peter Moulder reiter@netspace.net.au +Peter Samuelson psamuels@sampo.creighton.edu +Peter Seebach seebs@taniemarie.solon.com +Petter Reinholdtsen pere@hungry.com +Phelippe Neveu pneveu@pcigeomatics.com +Phil Richards phil.richards@vf.vodafone.co.uk +Philippe De Muyter phdm@macqel.be +Philippe Schnoebelen Philippe.Schnoebelen@imag.fr +Phillip Jones mouse@datastacks.com +Piergiorgio Sartor sartor@sony.de +Piotr Kwapulinski kwap@univ.gda.pl +Prashant TR tr@eth.net +Rainer Orth ro@TechFak.Uni-Bielefeld.DE +Ralf W. Stephan stephan@tmt.de +Ralph Loader loader@maths.ox.ac.uk +Raul Miller moth@magenta.com +Raúl Núñez de Arenas Coronado raul@pleyades.net +Richard A Downing richard.downing@bcs.org.uk +Richard Braakman dark@xs4all.nl +Richard Dawe richdawe@bigfoot.com +Richard J. Rauenzahn rrauenza@hairball.cup.hp.com +Richard Neill rn214@hermes.cam.ac.uk +Richard Sharman rsharman@magmacom.com +Rick Sladkey jrs@world.std.com +Rik Faith faith@cs.unc.edu +Risto Kankkunen kankkune@lingsoft.fi +Robert H. de Vries robert@and.nl +Rogier Wolff R.E.Wolff@BitWizard.nl +Roland Huebner ro-huebner@gmx.de +Roland Turner raz@raz.cx +Ronald F. Guilmette rfg@netcom.com +Ross Alexander r.alexander@auckland.ac.nz +Ross Paterson rap@doc.ic.ac.uk +Ross Ridge rridge@calum.csclub.uwaterloo.ca +Sami Farin sfarin@ratol.fi +Samuli Karkkainen Samuli.Karkkainen@hut.fi +Sander van Malssen svm@kozmix.ow.nl +Santiago Vila Doncel sanvila@unex.es +Savochkin Andrey Vladimirovich saw@msu.ru +Scott Lurndal slurn@griffin.engr.sgi.com +Shing-Shong Shei shei@cs.indiana.edu +Soeren Sonnenburg sonnenburg@informatik.hu-berlin.de +Solar Designer solar@owl.openwall.com +Stanislav Ievlev inger@altlinux.ru +Stéphane Chazelas Stephane_CHAZELAS@yahoo.fr +Stephen Depooter sbdep@myrealbox.com +Stephen Eglen eglen@pcg.wustl.edu +Stephen Gildea gildea@stop.mail-abuse.org +Stephen Smoogen smooge@mindspring.com +Steve McConnel steve@acadcomp.sil.org +Steven G. Johnson stevenj@alum.mit.edu +Steven P Watson steven@magelico.net +Stuart Kemp skemp@peter.bmc.com +Tadayoshi Funaba tadf@kt.rim.or.jp +TAKAI Kousuke takai@vlsi.kuee.kyoto-u.ac.jp +Theodore Ts'o tytso@rsts-11.mit.edu +Thomas Bushnell thomas@gnu.ai.mit.edu +Thomas Goerlich thomas@schnappmatik.de +Thomas Quinot thomas@Cuivre.FR.EU.ORG +Tim J. Robbins tjr@FreeBSD.org +Tim Smithers mouse@dmouse.com.au +Tim Waugh twaugh@redhat +Todd A. Jacobs tjacobs@codegnome.org +Tom Haynes thomas@netapp.com +Tom Quinn trq@dionysos.thphys.ox.ac.uk +Ton Hospel thospel@mail.dma.be +Tony Kocurko akocurko@mun.ca +Tony Leneis tony@plaza.ds.adp.com +Tony Robinson ajr@eng.cam.ac.uk +Torbjorn Granlund tege@nada.kth.se +Torbjorn Lindgren tl@funcom.no +Torsten Landschoff torsten@pclab.ifg.uni-kiel.de +Ulrich Drepper drepper@gnu.org +Urs Thuermann urs@isnogud.escape.de +Uwe H. Steinfeld usteinfeld@gmx.net +Vesselin Atanasov vesselin@bgnet.bg +Vin Shelton acs@alumni.princeton.edu +Volker Borchert bt@teknon.de +Wayne Stewart wstewa@atl.com +Wenjun Zheng zwj@yahoo.com +Werner Almesberger Werner.Almesberger@epfl.ch +Wichert Akkerman wichert@cistron.nl +Will Edgington wedgingt@acm.org +William Bader william@nscs.fast.net +William Dowling will@franklin.com +William Lewis wiml@omnigroup.com +wiregauze wiregauze@yahoo.com +Wojciech Purczynski cliph@isec.pl +Wolfram Kleff kleff@cs.uni-bonn.de +Won-kyu Park wkpark@chem.skku.ac.kr +Yann Dirson dirson@debian.org +Zvi Har'El rl@math.technion.ac.il diff --git a/src/apps/bin/coreutils-5.0/THANKS-to-translators b/src/apps/bin/coreutils-5.0/THANKS-to-translators new file mode 100644 index 0000000000..ec674e694b --- /dev/null +++ b/src/apps/bin/coreutils-5.0/THANKS-to-translators @@ -0,0 +1,34 @@ +The following teams have translated the many diagnostics of this +package into many different languages. Thank you! + +--- +http://www.iro.umontreal.ca/contrib/po/HTML/team-be.html +http://www.iro.umontreal.ca/contrib/po/HTML/team-ca.html +http://www.iro.umontreal.ca/contrib/po/HTML/team-cs.html +http://www.iro.umontreal.ca/contrib/po/HTML/team-da.html +http://www.iro.umontreal.ca/contrib/po/HTML/team-de.html +http://www.iro.umontreal.ca/contrib/po/HTML/team-el.html +http://www.iro.umontreal.ca/contrib/po/HTML/team-es.html +http://www.iro.umontreal.ca/contrib/po/HTML/team-et.html +http://www.iro.umontreal.ca/contrib/po/HTML/team-fi.html +http://www.iro.umontreal.ca/contrib/po/HTML/team-fr.html +http://www.iro.umontreal.ca/contrib/po/HTML/team-gl.html +http://www.iro.umontreal.ca/contrib/po/HTML/team-hu.html +http://www.iro.umontreal.ca/contrib/po/HTML/team-it.html +http://www.iro.umontreal.ca/contrib/po/HTML/team-ja.html +http://www.iro.umontreal.ca/contrib/po/HTML/team-ko.html +http://www.iro.umontreal.ca/contrib/po/HTML/team-lg.html +http://www.iro.umontreal.ca/contrib/po/HTML/team-ms.html +http://www.iro.umontreal.ca/contrib/po/HTML/team-nb.html +http://www.iro.umontreal.ca/contrib/po/HTML/team-nl.html +http://www.iro.umontreal.ca/contrib/po/HTML/team-no.html +http://www.iro.umontreal.ca/contrib/po/HTML/team-pl.html +http://www.iro.umontreal.ca/contrib/po/HTML/team-pt.html +http://www.iro.umontreal.ca/contrib/po/HTML/team-pt_BR.html +http://www.iro.umontreal.ca/contrib/po/HTML/team-ru.html +http://www.iro.umontreal.ca/contrib/po/HTML/team-sk.html +http://www.iro.umontreal.ca/contrib/po/HTML/team-sl.html +http://www.iro.umontreal.ca/contrib/po/HTML/team-sv.html +http://www.iro.umontreal.ca/contrib/po/HTML/team-tr.html +http://www.iro.umontreal.ca/contrib/po/HTML/team-zh_CN.html +http://www.iro.umontreal.ca/contrib/po/HTML/team-zh_TW.html diff --git a/src/apps/bin/coreutils-5.0/THANKStt.in b/src/apps/bin/coreutils-5.0/THANKStt.in new file mode 100644 index 0000000000..25e7a99be0 --- /dev/null +++ b/src/apps/bin/coreutils-5.0/THANKStt.in @@ -0,0 +1,4 @@ +The following teams have translated the many diagnostics of this +package into many different languages. Thank you! + +--- diff --git a/src/apps/bin/coreutils-5.0/TODO b/src/apps/bin/coreutils-5.0/TODO new file mode 100644 index 0000000000..f9193573e5 --- /dev/null +++ b/src/apps/bin/coreutils-5.0/TODO @@ -0,0 +1,79 @@ +restore djgpp, eventually +merge TODO lists +add unit tests for lib/*.c +rewrite lib/ftw.c not to use explicit recursion, and then use nftw in + chown, chgrp, chmod, du + +strip: add an option to specify the program used to strip binaries. + suggestion from Karl Berry + +doc/coreutils.texi: + Address this comment: FIXME: mv's behavior in this case is system-dependent + Better still: fix the code so it's *not* system-dependent. + +implement --target-directory=DIR for install (per texinfo documentation) + +ls: add --format=FORMAT option that controls how each line is printed. + +cp --no-preserve=X should not attempt to preserve attribute X + reported by Andreas Schwab + +copy.c: Address the FIXME-maybe comment in copy_internal. +And once that's done, add an exclusion so that `cp --link' +no longer incurs the overhead of saving src. dev/ino and dest. filename +in the hash table. + +Apply suggestion from Paul Jarc to use something along the +lines of http://cr.yp.to/daemontools/setuidgid.html to avoid +kludges (as in tests/rm/fail-2eperm) when running tests as root. + +See if we can be consistent about where --verbose sends its output: + These all send --verbose output to stdout: + head, tail, rm, cp, mv, ln, chmod, chown, chgrp, install, ln + These send it to stderr: + shred mkdir split + readlink is different + +Write an autoconf test to work around build failure in HPUX's 64-bit mode. +See notes in README -- and remove them once there's a work-around. + +after 5.0, change doc strings (like df, ls, etc) not to use `,' +as thousands separator in e.g. 1,000,000. Instead, do this: + + SIZE may be (or may be an integer optionally followed by) one of following: + kB 1000, K 1024, MB 1000*1000, M 1024*1024 and so on for G, T, P, E, Z, Y. + +Integrate use of sendfile, suggested here: + http://mail.gnu.org/archive/html/bug-fileutils/2003-03/msg00030.html + +Should printf '\0123' print "\n3"? + per report from TAKAI Kousuke on Mar 27 + http://mail.gnu.org/archive/html/bug-coreutils/2003-03/index.html + +printf: consider adapting builtins/printf.def from bash + +df: add `--total' option, suggested here http://bugs.debian.org/186007 + +Martin Michlmayr's patch to provide ls with `--sort directory' option + +seq: give better diagnostics for invalid formats: + e.g. no or too many % directives +seq: consider allowing format string to contain no %-directives + +dd: consider adding an option to suppress `bytes/block read/written' +output to stderr. Suggested here: + http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=165045 + +nl: fix this bug: + http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=177256 + # printf 'a\n\n'|nl|cat -A + 1^Ia$ + $ + $ + +m4: rename all macros that start with AC_ to start with another prefix + +Consider using an autoconf test and rename wrapper to make mv work +properly (by unlinking a) in cases like this: + : > a; ln a b; mv a b +Reported by Ed Avis: http://article.gmane.org/gmane.comp.gnu.fileutils.bugs/686 diff --git a/src/apps/bin/coreutils-5.0/aclocal.m4 b/src/apps/bin/coreutils-5.0/aclocal.m4 new file mode 100644 index 0000000000..dae863d8fd --- /dev/null +++ b/src/apps/bin/coreutils-5.0/aclocal.m4 @@ -0,0 +1,6408 @@ +# generated automatically by aclocal 1.7.3 -*- Autoconf -*- + +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002 +# Free Software Foundation, Inc. +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +# Do all the work for Automake. -*- Autoconf -*- + +# This macro actually does too much some checks are only needed if +# your package does certain things. But this isn't really a big deal. + +# Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 +# Free Software Foundation, Inc. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + +# serial 9 + +# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be +# written in clear, in which case automake, when reading aclocal.m4, +# will think it sees a *use*, and therefore will trigger all it's +# C support machinery. Also note that it means that autoscan, seeing +# CC etc. in the Makefile, will ask for an AC_PROG_CC use... + + +AC_PREREQ([2.54]) + +# Autoconf 2.50 wants to disallow AM_ names. We explicitly allow +# the ones we care about. +m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl + +# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) +# AM_INIT_AUTOMAKE([OPTIONS]) +# ----------------------------------------------- +# The call with PACKAGE and VERSION arguments is the old style +# call (pre autoconf-2.50), which is being phased out. PACKAGE +# and VERSION should now be passed to AC_INIT and removed from +# the call to AM_INIT_AUTOMAKE. +# We support both call styles for the transition. After +# the next Automake release, Autoconf can make the AC_INIT +# arguments mandatory, and then we can depend on a new Autoconf +# release and drop the old call support. +AC_DEFUN([AM_INIT_AUTOMAKE], +[AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl + AC_REQUIRE([AC_PROG_INSTALL])dnl +# test to see if srcdir already configured +if test "`cd $srcdir && pwd`" != "`pwd`" && + test -f $srcdir/config.status; then + AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) +fi + +# test whether we have cygpath +if test -z "$CYGPATH_W"; then + if (cygpath --version) >/dev/null 2>/dev/null; then + CYGPATH_W='cygpath -w' + else + CYGPATH_W=echo + fi +fi +AC_SUBST([CYGPATH_W]) + +# Define the identity of the package. +dnl Distinguish between old-style and new-style calls. +m4_ifval([$2], +[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl + AC_SUBST([PACKAGE], [$1])dnl + AC_SUBST([VERSION], [$2])], +[_AM_SET_OPTIONS([$1])dnl + AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl + AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl + +_AM_IF_OPTION([no-define],, +[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) + AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl + +# Some tools Automake needs. +AC_REQUIRE([AM_SANITY_CHECK])dnl +AC_REQUIRE([AC_ARG_PROGRAM])dnl +AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) +AM_MISSING_PROG(AUTOCONF, autoconf) +AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) +AM_MISSING_PROG(AUTOHEADER, autoheader) +AM_MISSING_PROG(MAKEINFO, makeinfo) +AM_MISSING_PROG(AMTAR, tar) +AM_PROG_INSTALL_SH +AM_PROG_INSTALL_STRIP +# We need awk for the "check" target. The system "awk" is bad on +# some platforms. +AC_REQUIRE([AC_PROG_AWK])dnl +AC_REQUIRE([AC_PROG_MAKE_SET])dnl +AC_REQUIRE([AM_SET_LEADING_DOT])dnl + +_AM_IF_OPTION([no-dependencies],, +[AC_PROVIDE_IFELSE([AC_PROG_CC], + [_AM_DEPENDENCIES(CC)], + [define([AC_PROG_CC], + defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl +AC_PROVIDE_IFELSE([AC_PROG_CXX], + [_AM_DEPENDENCIES(CXX)], + [define([AC_PROG_CXX], + defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl +]) +]) + + +# When config.status generates a header, we must update the stamp-h file. +# This file resides in the same directory as the config header +# that is generated. The stamp files are numbered to have different names. + +# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the +# loop where config.status creates the headers, so we can generate +# our stamp files there. +AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], +[# Compute $1's index in $config_headers. +_am_stamp_count=1 +for _am_header in $config_headers :; do + case $_am_header in + $1 | $1:* ) + break ;; + * ) + _am_stamp_count=`expr $_am_stamp_count + 1` ;; + esac +done +echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count]) + +# Copyright 2002 Free Software Foundation, Inc. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA + +# AM_AUTOMAKE_VERSION(VERSION) +# ---------------------------- +# Automake X.Y traces this macro to ensure aclocal.m4 has been +# generated from the m4 files accompanying Automake X.Y. +AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.7"]) + +# AM_SET_CURRENT_AUTOMAKE_VERSION +# ------------------------------- +# Call AM_AUTOMAKE_VERSION so it can be traced. +# This function is AC_REQUIREd by AC_INIT_AUTOMAKE. +AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], + [AM_AUTOMAKE_VERSION([1.7.3])]) + +# Helper functions for option handling. -*- Autoconf -*- + +# Copyright 2001, 2002 Free Software Foundation, Inc. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + +# serial 2 + +# _AM_MANGLE_OPTION(NAME) +# ----------------------- +AC_DEFUN([_AM_MANGLE_OPTION], +[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) + +# _AM_SET_OPTION(NAME) +# ------------------------------ +# Set option NAME. Presently that only means defining a flag for this option. +AC_DEFUN([_AM_SET_OPTION], +[m4_define(_AM_MANGLE_OPTION([$1]), 1)]) + +# _AM_SET_OPTIONS(OPTIONS) +# ---------------------------------- +# OPTIONS is a space-separated list of Automake options. +AC_DEFUN([_AM_SET_OPTIONS], +[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) + +# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) +# ------------------------------------------- +# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. +AC_DEFUN([_AM_IF_OPTION], +[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) + +# +# Check to make sure that the build environment is sane. +# + +# Copyright 1996, 1997, 2000, 2001 Free Software Foundation, Inc. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + +# serial 3 + +# AM_SANITY_CHECK +# --------------- +AC_DEFUN([AM_SANITY_CHECK], +[AC_MSG_CHECKING([whether build environment is sane]) +# Just in case +sleep 1 +echo timestamp > conftest.file +# Do `set' in a subshell so we don't clobber the current shell's +# arguments. Must try -L first in case configure is actually a +# symlink; some systems play weird games with the mod time of symlinks +# (eg FreeBSD returns the mod time of the symlink's containing +# directory). +if ( + set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` + if test "$[*]" = "X"; then + # -L didn't work. + set X `ls -t $srcdir/configure conftest.file` + fi + rm -f conftest.file + if test "$[*]" != "X $srcdir/configure conftest.file" \ + && test "$[*]" != "X conftest.file $srcdir/configure"; then + + # If neither matched, then we have a broken ls. This can happen + # if, for instance, CONFIG_SHELL is bash and it inherits a + # broken ls alias from the environment. This has actually + # happened. Such a system could not be considered "sane". + AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken +alias in your environment]) + fi + + test "$[2]" = conftest.file + ) +then + # Ok. + : +else + AC_MSG_ERROR([newly created file is older than distributed files! +Check your system clock]) +fi +AC_MSG_RESULT(yes)]) + +# -*- Autoconf -*- + + +# Copyright 1997, 1999, 2000, 2001 Free Software Foundation, Inc. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + +# serial 3 + +# AM_MISSING_PROG(NAME, PROGRAM) +# ------------------------------ +AC_DEFUN([AM_MISSING_PROG], +[AC_REQUIRE([AM_MISSING_HAS_RUN]) +$1=${$1-"${am_missing_run}$2"} +AC_SUBST($1)]) + + +# AM_MISSING_HAS_RUN +# ------------------ +# Define MISSING if not defined so far and test if it supports --run. +# If it does, set am_missing_run to use it, otherwise, to nothing. +AC_DEFUN([AM_MISSING_HAS_RUN], +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl +test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" +# Use eval to expand $SHELL +if eval "$MISSING --run true"; then + am_missing_run="$MISSING --run " +else + am_missing_run= + AC_MSG_WARN([`missing' script is too old or missing]) +fi +]) + +# AM_AUX_DIR_EXPAND + +# Copyright 2001 Free Software Foundation, Inc. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + +# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets +# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to +# `$srcdir', `$srcdir/..', or `$srcdir/../..'. +# +# Of course, Automake must honor this variable whenever it calls a +# tool from the auxiliary directory. The problem is that $srcdir (and +# therefore $ac_aux_dir as well) can be either absolute or relative, +# depending on how configure is run. This is pretty annoying, since +# it makes $ac_aux_dir quite unusable in subdirectories: in the top +# source directory, any form will work fine, but in subdirectories a +# relative path needs to be adjusted first. +# +# $ac_aux_dir/missing +# fails when called from a subdirectory if $ac_aux_dir is relative +# $top_srcdir/$ac_aux_dir/missing +# fails if $ac_aux_dir is absolute, +# fails when called from a subdirectory in a VPATH build with +# a relative $ac_aux_dir +# +# The reason of the latter failure is that $top_srcdir and $ac_aux_dir +# are both prefixed by $srcdir. In an in-source build this is usually +# harmless because $srcdir is `.', but things will broke when you +# start a VPATH build or use an absolute $srcdir. +# +# So we could use something similar to $top_srcdir/$ac_aux_dir/missing, +# iff we strip the leading $srcdir from $ac_aux_dir. That would be: +# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` +# and then we would define $MISSING as +# MISSING="\${SHELL} $am_aux_dir/missing" +# This will work as long as MISSING is not called from configure, because +# unfortunately $(top_srcdir) has no meaning in configure. +# However there are other variables, like CC, which are often used in +# configure, and could therefore not use this "fixed" $ac_aux_dir. +# +# Another solution, used here, is to always expand $ac_aux_dir to an +# absolute PATH. The drawback is that using absolute paths prevent a +# configured tree to be moved without reconfiguration. + +# Rely on autoconf to set up CDPATH properly. +AC_PREREQ([2.50]) + +AC_DEFUN([AM_AUX_DIR_EXPAND], [ +# expand $ac_aux_dir to an absolute path +am_aux_dir=`cd $ac_aux_dir && pwd` +]) + +# AM_PROG_INSTALL_SH +# ------------------ +# Define $install_sh. + +# Copyright 2001 Free Software Foundation, Inc. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + +AC_DEFUN([AM_PROG_INSTALL_SH], +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl +install_sh=${install_sh-"$am_aux_dir/install-sh"} +AC_SUBST(install_sh)]) + +# AM_PROG_INSTALL_STRIP + +# Copyright 2001 Free Software Foundation, Inc. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + +# One issue with vendor `install' (even GNU) is that you can't +# specify the program used to strip binaries. This is especially +# annoying in cross-compiling environments, where the build's strip +# is unlikely to handle the host's binaries. +# Fortunately install-sh will honor a STRIPPROG variable, so we +# always use install-sh in `make install-strip', and initialize +# STRIPPROG with the value of the STRIP variable (set by the user). +AC_DEFUN([AM_PROG_INSTALL_STRIP], +[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl +# Installed binaries are usually stripped using `strip' when the user +# run `make install-strip'. However `strip' might not be the right +# tool to use in cross-compilation environments, therefore Automake +# will honor the `STRIP' environment variable to overrule this program. +dnl Don't test for $cross_compiling = yes, because it might be `maybe'. +if test "$cross_compiling" != no; then + AC_CHECK_TOOL([STRIP], [strip], :) +fi +INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" +AC_SUBST([INSTALL_STRIP_PROGRAM])]) + +# -*- Autoconf -*- +# Copyright (C) 2003 Free Software Foundation, Inc. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + +# serial 1 + +# Check whether the underlying file-system supports filenames +# with a leading dot. For instance MS-DOS doesn't. +AC_DEFUN([AM_SET_LEADING_DOT], +[rm -rf .tst 2>/dev/null +mkdir .tst 2>/dev/null +if test -d .tst; then + am__leading_dot=. +else + am__leading_dot=_ +fi +rmdir .tst 2>/dev/null +AC_SUBST([am__leading_dot])]) + +# serial 5 -*- Autoconf -*- + +# Copyright (C) 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + + +# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be +# written in clear, in which case automake, when reading aclocal.m4, +# will think it sees a *use*, and therefore will trigger all it's +# C support machinery. Also note that it means that autoscan, seeing +# CC etc. in the Makefile, will ask for an AC_PROG_CC use... + + + +# _AM_DEPENDENCIES(NAME) +# ---------------------- +# See how the compiler implements dependency checking. +# NAME is "CC", "CXX", "GCJ", or "OBJC". +# We try a few techniques and use that to set a single cache variable. +# +# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was +# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular +# dependency, and given that the user is not expected to run this macro, +# just rely on AC_PROG_CC. +AC_DEFUN([_AM_DEPENDENCIES], +[AC_REQUIRE([AM_SET_DEPDIR])dnl +AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl +AC_REQUIRE([AM_MAKE_INCLUDE])dnl +AC_REQUIRE([AM_DEP_TRACK])dnl + +ifelse([$1], CC, [depcc="$CC" am_compiler_list=], + [$1], CXX, [depcc="$CXX" am_compiler_list=], + [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], + [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], + [depcc="$$1" am_compiler_list=]) + +AC_CACHE_CHECK([dependency style of $depcc], + [am_cv_$1_dependencies_compiler_type], +[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then + # We make a subdir and do the tests there. Otherwise we can end up + # making bogus files that we don't know about and never remove. For + # instance it was reported that on HP-UX the gcc test will end up + # making a dummy file named `D' -- because `-MD' means `put the output + # in D'. + mkdir conftest.dir + # Copy depcomp to subdir because otherwise we won't find it if we're + # using a relative directory. + cp "$am_depcomp" conftest.dir + cd conftest.dir + + am_cv_$1_dependencies_compiler_type=none + if test "$am_compiler_list" = ""; then + am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` + fi + for depmode in $am_compiler_list; do + # We need to recreate these files for each test, as the compiler may + # overwrite some of them when testing with obscure command lines. + # This happens at least with the AIX C compiler. + echo '#include "conftest.h"' > conftest.c + echo 'int i;' > conftest.h + echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf + + case $depmode in + nosideeffect) + # after this tag, mechanisms are not by side-effect, so they'll + # only be used when explicitly requested + if test "x$enable_dependency_tracking" = xyes; then + continue + else + break + fi + ;; + none) break ;; + esac + # We check with `-c' and `-o' for the sake of the "dashmstdout" + # mode. It turns out that the SunPro C++ compiler does not properly + # handle `-M -o', and we need to detect this. + if depmode=$depmode \ + source=conftest.c object=conftest.o \ + depfile=conftest.Po tmpdepfile=conftest.TPo \ + $SHELL ./depcomp $depcc -c -o conftest.o conftest.c \ + >/dev/null 2>conftest.err && + grep conftest.h conftest.Po > /dev/null 2>&1 && + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then + # icc doesn't choke on unknown options, it will just issue warnings + # (even with -Werror). So we grep stderr for any message + # that says an option was ignored. + if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else + am_cv_$1_dependencies_compiler_type=$depmode + break + fi + fi + done + + cd .. + rm -rf conftest.dir +else + am_cv_$1_dependencies_compiler_type=none +fi +]) +AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) +AM_CONDITIONAL([am__fastdep$1], [ + test "x$enable_dependency_tracking" != xno \ + && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) +]) + + +# AM_SET_DEPDIR +# ------------- +# Choose a directory name for dependency files. +# This macro is AC_REQUIREd in _AM_DEPENDENCIES +AC_DEFUN([AM_SET_DEPDIR], +[AC_REQUIRE([AM_SET_LEADING_DOT])dnl +AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl +]) + + +# AM_DEP_TRACK +# ------------ +AC_DEFUN([AM_DEP_TRACK], +[AC_ARG_ENABLE(dependency-tracking, +[ --disable-dependency-tracking Speeds up one-time builds + --enable-dependency-tracking Do not reject slow dependency extractors]) +if test "x$enable_dependency_tracking" != xno; then + am_depcomp="$ac_aux_dir/depcomp" + AMDEPBACKSLASH='\' +fi +AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) +AC_SUBST([AMDEPBACKSLASH]) +]) + +# Generate code to set up dependency tracking. -*- Autoconf -*- + +# Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + +#serial 2 + +# _AM_OUTPUT_DEPENDENCY_COMMANDS +# ------------------------------ +AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], +[for mf in $CONFIG_FILES; do + # Strip MF so we end up with the name of the file. + mf=`echo "$mf" | sed -e 's/:.*$//'` + # Check whether this is an Automake generated Makefile or not. + # We used to match only the files named `Makefile.in', but + # some people rename them; so instead we look at the file content. + # Grep'ing the first line is not enough: some people post-process + # each Makefile.in and add a new line on top of each file to say so. + # So let's grep whole file. + if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then + dirpart=`AS_DIRNAME("$mf")` + else + continue + fi + grep '^DEP_FILES *= *[[^ @%:@]]' < "$mf" > /dev/null || continue + # Extract the definition of DEP_FILES from the Makefile without + # running `make'. + DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"` + test -z "$DEPDIR" && continue + # When using ansi2knr, U may be empty or an underscore; expand it + U=`sed -n -e '/^U = / s///p' < "$mf"` + test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" + # We invoke sed twice because it is the simplest approach to + # changing $(DEPDIR) to its actual value in the expansion. + for file in `sed -n -e ' + /^DEP_FILES = .*\\\\$/ { + s/^DEP_FILES = // + :loop + s/\\\\$// + p + n + /\\\\$/ b loop + p + } + /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do + # Make sure the directory exists. + test -f "$dirpart/$file" && continue + fdir=`AS_DIRNAME(["$file"])` + AS_MKDIR_P([$dirpart/$fdir]) + # echo "creating $dirpart/$file" + echo '# dummy' > "$dirpart/$file" + done +done +])# _AM_OUTPUT_DEPENDENCY_COMMANDS + + +# AM_OUTPUT_DEPENDENCY_COMMANDS +# ----------------------------- +# This macro should only be invoked once -- use via AC_REQUIRE. +# +# This code is only required when automatic dependency tracking +# is enabled. FIXME. This creates each `.P' file that we will +# need in order to bootstrap the dependency handling code. +AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], +[AC_CONFIG_COMMANDS([depfiles], + [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], + [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) +]) + +# Check to see how 'make' treats includes. -*- Autoconf -*- + +# Copyright (C) 2001, 2002 Free Software Foundation, Inc. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + +# serial 2 + +# AM_MAKE_INCLUDE() +# ----------------- +# Check to see how make treats includes. +AC_DEFUN([AM_MAKE_INCLUDE], +[am_make=${MAKE-make} +cat > confinc << 'END' +doit: + @echo done +END +# If we don't find an include directive, just comment out the code. +AC_MSG_CHECKING([for style of include used by $am_make]) +am__include="#" +am__quote= +_am_result=none +# First try GNU make style include. +echo "include confinc" > confmf +# We grep out `Entering directory' and `Leaving directory' +# messages which can occur if `w' ends up in MAKEFLAGS. +# In particular we don't look at `^make:' because GNU make might +# be invoked under some other name (usually "gmake"), in which +# case it prints its new name instead of `make'. +if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then + am__include=include + am__quote= + _am_result=GNU +fi +# Now try BSD make style include. +if test "$am__include" = "#"; then + echo '.include "confinc"' > confmf + if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then + am__include=.include + am__quote="\"" + _am_result=BSD + fi +fi +AC_SUBST(am__include) +AC_SUBST(am__quote) +AC_MSG_RESULT($_am_result) +rm -f confinc confmf +]) + +# AM_CONDITIONAL -*- Autoconf -*- + +# Copyright 1997, 2000, 2001 Free Software Foundation, Inc. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + +# serial 5 + +AC_PREREQ(2.52) + +# AM_CONDITIONAL(NAME, SHELL-CONDITION) +# ------------------------------------- +# Define a conditional. +AC_DEFUN([AM_CONDITIONAL], +[ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], + [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl +AC_SUBST([$1_TRUE]) +AC_SUBST([$1_FALSE]) +if $2; then + $1_TRUE= + $1_FALSE='#' +else + $1_TRUE='#' + $1_FALSE= +fi +AC_CONFIG_COMMANDS_PRE( +[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then + AC_MSG_ERROR([conditional "$1" was never defined. +Usually this means the macro was only invoked conditionally.]) +fi])]) + +#serial 5 + +dnl From Jim Meyering. +dnl Find a new-enough version of Perl. +dnl + +AC_DEFUN([jm_PERL], +[ + dnl FIXME: don't hard-code 5.003 + dnl FIXME: should we cache the result? + AC_MSG_CHECKING([for perl5.003 or newer]) + if test "${PERL+set}" = set; then + # `PERL' is set in the user's environment. + candidate_perl_names="$PERL" + perl_specified=yes + else + candidate_perl_names='perl perl5' + perl_specified=no + fi + + found=no + AC_SUBST(PERL) + PERL="$am_missing_run perl" + for perl in $candidate_perl_names; do + # Run test in a subshell; some versions of sh will print an error if + # an executable is not found, even if stderr is redirected. + if ( $perl -e 'require 5.003; use File::Compare' ) > /dev/null 2>&1; then + PERL=$perl + found=yes + break + fi + done + + AC_MSG_RESULT($found) + test $found = no && AC_MSG_WARN([ +WARNING: You don't seem to have perl5.003 or newer installed, or you lack + a usable version of the Perl File::Compare module. As a result, + you may be unable to run a few tests or to regenerate certain + files if you modify the sources from which they are derived. +] ) +]) + +#serial 61 -*- autoconf -*- + +m4_undefine([AC_LANG_SOURCE(C)]) +dnl The following is identical to the definition in c.m4 +dnl from the autoconf cvs repository on 2003-03-07. +dnl FIXME: remove this code once we upgrade to autoconf-2.58. + +# We can't use '#line $LINENO "configure"' here, since +# Sun c89 (Sun WorkShop 6 update 2 C 5.3 Patch 111679-08 2002/05/09) +# rejects $LINENO greater than 32767, and some configure scripts +# are longer than 32767 lines. +m4_define([AC_LANG_SOURCE(C)], +[/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$1]) + + +dnl Misc type-related macros for fileutils, sh-utils, textutils. + +AC_DEFUN([jm_MACROS], +[ + AC_PREREQ(2.56) + + GNU_PACKAGE="GNU $PACKAGE" + AC_DEFINE_UNQUOTED(GNU_PACKAGE, "$GNU_PACKAGE", + [The concatenation of the strings `GNU ', and PACKAGE.]) + AC_SUBST(GNU_PACKAGE) + + AM_MISSING_PROG(HELP2MAN, help2man) + AC_SUBST(OPTIONAL_BIN_PROGS) + AC_SUBST(OPTIONAL_BIN_ZCRIPTS) + AC_SUBST(MAN) + AC_SUBST(DF_PROG) + + dnl This macro actually runs replacement code. See isc-posix.m4. + AC_REQUIRE([AC_ISC_POSIX])dnl + + jm_CHECK_ALL_TYPES + jm_INCLUDED_REGEX([lib/regex.c]) + + AC_REQUIRE([UTILS_HOST_OS]) + AC_REQUIRE([UTILS_FUNC_MKDIR_TRAILING_SLASH]) + AC_REQUIRE([jm_BISON]) + AC_REQUIRE([jm_ASSERT]) + AC_REQUIRE([jm_CHECK_TYPE_STRUCT_UTIMBUF]) + AC_REQUIRE([jm_CHECK_TYPE_STRUCT_DIRENT_D_TYPE]) + AC_REQUIRE([jm_CHECK_TYPE_STRUCT_DIRENT_D_INO]) + AC_REQUIRE([jm_CHECK_DECLS]) + + AC_REQUIRE([jm_PREREQ]) + + AC_REQUIRE([UTILS_FUNC_DIRFD]) + AC_REQUIRE([AC_FUNC_ACL]) + AC_REQUIRE([AC_FUNC_FTW]) + AC_REQUIRE([jm_FUNC_LCHOWN]) + AC_REQUIRE([fetish_FUNC_RMDIR_NOTEMPTY]) + AC_REQUIRE([jm_FUNC_CHOWN]) + AC_REQUIRE([jm_FUNC_MKTIME]) + AC_REQUIRE([jm_FUNC_LSTAT]) + AC_REQUIRE([AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK]) + AC_REQUIRE([jm_FUNC_STAT]) + AC_REQUIRE([AC_FUNC_REALLOC]) + AC_REQUIRE([AC_FUNC_MALLOC]) + AC_REQUIRE([AC_FUNC_STRERROR_R]) + AC_REQUIRE([jm_FUNC_NANOSLEEP]) + AC_REQUIRE([jm_FUNC_MEMCMP]) + AC_REQUIRE([jm_FUNC_GLIBC_UNLOCKED_IO]) + AC_REQUIRE([AC_FUNC_FNMATCH_GNU]) + AC_REQUIRE([jm_FUNC_GROUP_MEMBER]) + AC_REQUIRE([jm_FUNC_PUTENV]) + AC_REQUIRE([jm_AFS]) + AC_REQUIRE([jm_AC_PREREQ_XSTRTOUMAX]) + AC_REQUIRE([jm_AC_PREREQ_XSTRTOIMAX]) + AC_REQUIRE([jm_AC_FUNC_LINK_FOLLOWS_SYMLINK]) + AC_REQUIRE([AC_FUNC_ERROR_AT_LINE]) + AC_REQUIRE([jm_FUNC_GNU_STRFTIME]) + AC_REQUIRE([jm_FUNC_MKTIME]) + AC_REQUIRE([jm_FUNC_FPENDING]) + + # This is for od and stat, and any other program that + # uses the PRI.MAX macros from inttypes.h. + AC_REQUIRE([gt_INTTYPES_PRI]) + + AC_REQUIRE([jm_FUNC_GETGROUPS]) + + AC_REQUIRE([AC_FUNC_FSEEKO]) + AC_REQUIRE([AC_FUNC_VPRINTF]) + AC_REQUIRE([AC_FUNC_ALLOCA]) + + AC_CONFIG_LIBOBJ_DIR([lib]) + AC_FUNC_GETLOADAVG + + AC_REQUIRE([jm_SYS_PROC_UPTIME]) + AC_REQUIRE([jm_FUNC_FTRUNCATE]) + AC_REQUIRE([vb_FUNC_RENAME]) + + AC_REPLACE_FUNCS(strcasecmp strncasecmp) + AC_REPLACE_FUNCS(dup2) + AC_REPLACE_FUNCS(gethostname getusershell) + AC_REPLACE_FUNCS(sig2str) + AC_REPLACE_FUNCS(strcspn stpcpy strstr strtol strtoul) + AC_REPLACE_FUNCS(strpbrk) + AC_REPLACE_FUNCS(euidaccess memcmp rmdir rpmatch strndup strverscmp) + AC_REPLACE_FUNCS(atexit) + AC_REPLACE_FUNCS(getpass) + + # raise is used by at least sort and ls. + AC_REPLACE_FUNCS(raise) + + dnl used by e.g. intl/*domain.c and lib/canon-host.c + AC_REPLACE_FUNCS(strdup) + + AC_REPLACE_FUNCS(memchr memcpy memmove memrchr memset) + AC_CHECK_FUNCS(getpagesize) + + AC_REQUIRE([UTILS_FUNC_MKSTEMP]) + + # By default, argmatch should fail calling usage (1). + AC_DEFINE(ARGMATCH_DIE, [usage (1)], + [Define to the function xargmatch calls on failures.]) + AC_DEFINE(ARGMATCH_DIE_DECL, [extern void usage ()], + [Define to the declaration of the xargmatch failure function.]) + + dnl Used to define SETVBUF in sys2.h. + dnl This evokes the following warning from autoconf: + dnl ...: warning: AC_TRY_RUN called without default to allow cross compiling + AC_FUNC_SETVBUF_REVERSED + + # used by sleep and shred + # Solaris 2.5.1 needs -lposix4 to get the clock_gettime function. + # Solaris 7 prefers the library name -lrt to the obsolescent name -lposix4. + + # Save and restore LIBS so e.g., -lrt, isn't added to it. Otherwise, *all* + # programs in the package would end up linked with that potentially-shared + # library, inducing unnecessary run-time overhead. + fetish_saved_libs=$LIBS + AC_SEARCH_LIBS(clock_gettime, [rt posix4], + [LIB_CLOCK_GETTIME=$ac_cv_search_clock_gettime]) + AC_SUBST(LIB_CLOCK_GETTIME) + AC_CHECK_FUNCS(clock_gettime clock_settime) + LIBS=$fetish_saved_libs + AC_CHECK_FUNCS(gettimeofday) + AC_FUNC_GETTIMEOFDAY_CLOBBER + + AC_REQUIRE([AC_FUNC_CLOSEDIR_VOID]) + AC_REQUIRE([jm_FUNC_UTIME]) + + AC_CHECK_FUNCS( \ + bcopy \ + endgrent \ + endpwent \ + fchdir \ + fdatasync \ + ftime \ + ftruncate \ + getcwd \ + gethrtime \ + getmntinfo \ + hasmntopt \ + isascii \ + iswspace \ + lchown \ + listmntent \ + localeconv \ + memcpy \ + mempcpy \ + mkfifo \ + realpath \ + sethostname \ + strchr \ + strerror \ + strrchr \ + sysctl \ + sysinfo \ + wcrtomb \ + tzset \ + ) + + # for test.c + AC_CHECK_FUNCS(setreuid setregid) + + AM_FUNC_GETLINE + if test $am_cv_func_working_getline != yes; then + AC_CHECK_FUNCS(getdelim) + fi + AC_FUNC_OBSTACK + + AC_FUNC_STRTOD + AC_REQUIRE([UTILS_SYS_OPEN_MAX]) + AC_REQUIRE([GL_FUNC_GETCWD_PATH_MAX]) + + # See if linking `seq' requires -lm. + # It does on nearly every system. The single exception (so far) is + # BeOS which has all the math functions in the normal runtime library + # and doesn't have a separate math library. + + AC_SUBST(SEQ_LIBM) + ac_seq_body=' + static double x, y; + x = floor (x); + x = rint (x); + x = modf (x, &y);' + AC_TRY_LINK([#include ], $ac_seq_body, , + [ac_seq_save_LIBS="$LIBS" + LIBS="$LIBS -lm" + AC_TRY_LINK([#include ], $ac_seq_body, SEQ_LIBM=-lm) + LIBS="$ac_seq_save_LIBS" + ]) + + AM_LANGINFO_CODESET + jm_GLIBC21 + AM_ICONV + jm_FUNC_UNLINK_BUSY_TEXT + + # These tests are for df. + jm_LIST_MOUNTED_FILESYSTEMS([list_mounted_fs=yes], [list_mounted_fs=no]) + jm_FSTYPENAME + jm_FILE_SYSTEM_USAGE([space=yes], [space=no]) + if test $list_mounted_fs = yes && test $space = yes; then + DF_PROG='df$(EXEEXT)' + AC_LIBOBJ(fsusage) + AC_LIBOBJ(mountlist) + fi + AC_REQUIRE([jm_AC_DOS]) + AC_REQUIRE([AC_FUNC_CANONICALIZE_FILE_NAME]) + + # If any of these functions don't exist (e.g. DJGPP 2.03), + # use the corresponding stub. + AC_CHECK_FUNC([fchdir], , [AC_LIBOBJ(fchdir-stub)]) + AC_CHECK_FUNC([fchown], , [AC_LIBOBJ(fchown-stub)]) + AC_CHECK_FUNC([lstat], , [AC_LIBOBJ(lstat-stub)]) + AC_CHECK_FUNC([readlink], , [AC_LIBOBJ(readlink-stub)]) + +]) + +# These tests must be run before any use of AC_CHECK_TYPE, +# because that macro compiles code that tests e.g., HAVE_UNISTD_H. +# See the definition of ac_includes_default in `configure'. +AC_DEFUN([jm_CHECK_ALL_HEADERS], +[ + AC_CHECK_HEADERS( \ + errno.h \ + fcntl.h \ + float.h \ + hurd.h \ + limits.h \ + memory.h \ + mntent.h \ + mnttab.h \ + netdb.h \ + paths.h \ + stdlib.h \ + stddef.h \ + stdint.h \ + string.h \ + sys/filsys.h \ + sys/fs/s5param.h \ + sys/fs_types.h \ + sys/fstyp.h \ + sys/ioctl.h \ + sys/mntent.h \ + sys/mount.h \ + sys/param.h \ + sys/resource.h \ + sys/socket.h \ + sys/statfs.h \ + sys/statvfs.h \ + sys/sysctl.h \ + sys/systeminfo.h \ + sys/time.h \ + sys/timeb.h \ + sys/vfs.h \ + sys/wait.h \ + syslog.h \ + termios.h \ + unistd.h \ + utime.h \ + values.h \ + ) +]) + +# This macro must be invoked before any tests that run the compiler. +AC_DEFUN([jm_CHECK_ALL_TYPES], +[ + dnl This test must come as early as possible after the compiler configuration + dnl tests, because the choice of the file model can (in principle) affect + dnl whether functions and headers are available, whether they work, etc. + AC_REQUIRE([AC_SYS_LARGEFILE]) + + dnl This test must precede tests of compiler characteristics like + dnl that for the inline keyword, since it may change the degree to + dnl which the compiler supports such features. + AC_REQUIRE([AM_C_PROTOTYPES]) + + dnl Checks for typedefs, structures, and compiler characteristics. + AC_REQUIRE([AC_C_BIGENDIAN]) + AC_REQUIRE([AC_C_CONST]) + AC_REQUIRE([AC_C_VOLATILE]) + AC_REQUIRE([AC_C_INLINE]) + AC_REQUIRE([AC_C_LONG_DOUBLE]) + + AC_REQUIRE([jm_CHECK_ALL_HEADERS]) + AC_REQUIRE([AC_HEADER_DIRENT]) + AC_REQUIRE([AC_HEADER_STDC]) + AC_CHECK_MEMBERS( + [struct stat.st_author, + struct stat.st_blksize],,, + [$ac_includes_default +#include + ]) + AC_REQUIRE([AC_STRUCT_ST_BLOCKS]) + + AC_REQUIRE([AC_STRUCT_TM]) + AC_REQUIRE([AC_STRUCT_TIMEZONE]) + AC_REQUIRE([AC_HEADER_STAT]) + AC_REQUIRE([AC_STRUCT_ST_MTIM_NSEC]) + AC_REQUIRE([AC_STRUCT_ST_DM_MODE]) + AC_REQUIRE([jm_CHECK_TYPE_STRUCT_TIMESPEC]) + + AC_REQUIRE([AC_TYPE_GETGROUPS]) + AC_REQUIRE([AC_TYPE_MODE_T]) + AC_REQUIRE([AC_TYPE_OFF_T]) + AC_REQUIRE([AC_TYPE_PID_T]) + AC_REQUIRE([AC_TYPE_SIGNAL]) + AC_REQUIRE([AC_TYPE_SIZE_T]) + AC_REQUIRE([AC_TYPE_UID_T]) + AC_CHECK_TYPE(ino_t, unsigned long) + + dnl This relies on the fact that autoconf 2.14a's implementation of + dnl AC_CHECK_TYPE checks includes unistd.h. + AC_CHECK_TYPE(ssize_t, int) + AC_CHECK_TYPE(major_t, unsigned int) + AC_CHECK_TYPE(minor_t, unsigned int) + + AC_REQUIRE([jm_AC_TYPE_UINTMAX_T]) + AC_REQUIRE([jm_AC_TYPE_UNSIGNED_LONG_LONG]) + + AC_REQUIRE([AC_HEADER_MAJOR]) + AC_REQUIRE([AC_HEADER_DIRENT]) + +]) + +# isc-posix.m4 serial 2 (gettext-0.11.2) +dnl Copyright (C) 1995-2002 Free Software Foundation, Inc. +dnl This file is free software, distributed under the terms of the GNU +dnl General Public License. As a special exception to the GNU General +dnl Public License, this file may be distributed as part of a program +dnl that contains a configuration script generated by Autoconf, under +dnl the same distribution terms as the rest of that program. + +# This file is not needed with autoconf-2.53 and newer. Remove it in 2005. + +# This test replaces the one in autoconf. +# Currently this macro should have the same name as the autoconf macro +# because gettext's gettext.m4 (distributed in the automake package) +# still uses it. Otherwise, the use in gettext.m4 makes autoheader +# give these diagnostics: +# configure.in:556: AC_TRY_COMPILE was called before AC_ISC_POSIX +# configure.in:556: AC_TRY_RUN was called before AC_ISC_POSIX + +undefine([AC_ISC_POSIX]) + +AC_DEFUN([AC_ISC_POSIX], + [ + dnl This test replaces the obsolescent AC_ISC_POSIX kludge. + AC_CHECK_LIB(cposix, strerror, [LIBS="$LIBS -lcposix"]) + ] +) + +#serial 15 + +dnl Initially derived from code in GNU grep. +dnl Mostly written by Jim Meyering. + +dnl Usage: jm_INCLUDED_REGEX([lib/regex.c]) +dnl +AC_DEFUN([jm_INCLUDED_REGEX], + [ + dnl Even packages that don't use regex.c can use this macro. + dnl Of course, for them it doesn't do anything. + + # Assume we'll default to using the included regex.c. + ac_use_included_regex=yes + + # However, if the system regex support is good enough that it passes the + # the following run test, then default to *not* using the included regex.c. + # If cross compiling, assume the test would fail and use the included + # regex.c. The first failing regular expression is from `Spencer ere + # test #75' in grep-2.3. + AC_CACHE_CHECK([for working re_compile_pattern], + jm_cv_func_working_re_compile_pattern, + AC_TRY_RUN( +[#include +#include +#include + int + main () + { + static struct re_pattern_buffer regex; + const char *s; + struct re_registers regs; + re_set_syntax (RE_SYNTAX_POSIX_EGREP); + memset (®ex, 0, sizeof (regex)); + [s = re_compile_pattern ("a[[:@:>@:]]b\n", 9, ®ex);] + /* This should fail with _Invalid character class name_ error. */ + if (!s) + exit (1); + + /* This should succeed, but doesn't for e.g. glibc-2.1.3. */ + memset (®ex, 0, sizeof (regex)); + s = re_compile_pattern ("{1", 2, ®ex); + + if (s) + exit (1); + + /* The following example is derived from a problem report + against gawk from Jorge Stolfi . */ + memset (®ex, 0, sizeof (regex)); + s = re_compile_pattern ("[[anù]]*n", 7, ®ex); + if (s) + exit (1); + + /* This should match, but doesn't for e.g. glibc-2.2.1. */ + if (re_match (®ex, "an", 2, 0, ®s) != 2) + exit (1); + + memset (®ex, 0, sizeof (regex)); + s = re_compile_pattern ("x", 1, ®ex); + if (s) + exit (1); + + /* The version of regex.c in e.g. GNU libc-2.2.93 didn't + work with a negative RANGE argument. */ + if (re_search (®ex, "wxy", 3, 2, -2, ®s) != 1) + exit (1); + + exit (0); + } + ], + jm_cv_func_working_re_compile_pattern=yes, + jm_cv_func_working_re_compile_pattern=no, + dnl When crosscompiling, assume it's broken. + jm_cv_func_working_re_compile_pattern=no)) + if test $jm_cv_func_working_re_compile_pattern = yes; then + ac_use_included_regex=no + fi + + test -n "$1" || AC_MSG_ERROR([missing argument]) + m4_syscmd([test -f $1]) + ifelse(m4_sysval, 0, + [ + AC_ARG_WITH(included-regex, + [ --without-included-regex don't compile regex; this is the default on + systems with version 2 of the GNU C library + (use with caution on other system)], + jm_with_regex=$withval, + jm_with_regex=$ac_use_included_regex) + if test "$jm_with_regex" = yes; then + AC_LIBOBJ(regex) + jm_PREREQ_REGEX + fi + ], + ) + ] +) + +# Prerequisites of lib/regex.c. +AC_DEFUN([jm_PREREQ_REGEX], +[ + dnl FIXME: Maybe provide a btowc replacement someday: solaris-2.5.1 lacks it. + dnl FIXME: Check for wctype and iswctype, and and add -lw if necessary + dnl to get them. + + dnl Persuade glibc to declare mempcpy(). + AC_REQUIRE([AC_GNU_SOURCE]) + + AC_REQUIRE([ACX_C_RESTRICT]) + AC_REQUIRE([AC_FUNC_ALLOCA]) + AC_REQUIRE([AC_HEADER_STDC]) + AC_CHECK_HEADERS_ONCE(limits.h string.h wchar.h wctype.h) + AC_CHECK_FUNCS_ONCE(isascii mempcpy) + AC_CHECK_FUNCS(btowc) +]) + +#serial 1001 +dnl based on acx_restrict.m4, from the GNU Autoconf Macro Archive at: +dnl http://www.gnu.org/software/ac-archive/htmldoc/acx_restrict.html + +# Determine whether the C/C++ compiler supports the "restrict" keyword +# introduced in ANSI C99, or an equivalent. Do nothing if the compiler +# accepts it. Otherwise, if the compiler supports an equivalent (like +# gcc's __restrict__) define "restrict" to be that. Otherwise, define +# "restrict" to be empty. + +AC_DEFUN([ACX_C_RESTRICT], +[AC_CACHE_CHECK([for C/C++ restrict keyword], acx_cv_c_restrict, + [acx_cv_c_restrict=no + # Try the official restrict keyword, then gcc's __restrict__. + for acx_kw in restrict __restrict__; do + AC_COMPILE_IFELSE([AC_LANG_SOURCE( + [float * $acx_kw x;])], + [acx_cv_c_restrict=$acx_kw; break]) + done + ]) + case $acx_cv_c_restrict in + restrict) ;; + no) AC_DEFINE(restrict,, + [Define to equivalent of C99 restrict keyword, or to nothing if this + is not supported. Do not define if restrict is supported directly.]) ;; + *) AC_DEFINE_UNQUOTED(restrict, $acx_cv_c_restrict) ;; + esac +]) + +# onceonly.m4 serial 2 +dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc. +dnl This file is free software, distributed under the terms of the GNU +dnl General Public License. As a special exception to the GNU General +dnl Public License, this file may be distributed as part of a program +dnl that contains a configuration script generated by Autoconf, under +dnl the same distribution terms as the rest of that program. + +dnl This file defines some "once only" variants of standard autoconf macros. +dnl AC_CHECK_HEADERS_ONCE like AC_CHECK_HEADERS +dnl AC_CHECK_FUNCS_ONCE like AC_CHECK_FUNCS +dnl AC_CHECK_DECLS_ONCE like AC_CHECK_DECLS +dnl AC_REQUIRE([AC_HEADER_STDC]) like AC_HEADER_STDC +dnl The advantage is that the check for each of the headers/functions/decls +dnl will be put only once into the 'configure' file. It keeps the size of +dnl the 'configure' file down, and avoids redundant output when 'configure' +dnl is run. +dnl The drawback is that the checks cannot be conditionalized. If you write +dnl if some_condition; then gl_CHECK_HEADERS(stdlib.h); fi +dnl inside an AC_DEFUNed function, the gl_CHECK_HEADERS macro call expands to +dnl empty, and the check will be inserted before the body of the AC_DEFUNed +dnl function. + +dnl Taken from Autoconf 2.50; can be removed once we assume 2.50 or later. +define([m4_quote], [[$*]]) + +# AC_CHECK_HEADERS_ONCE(HEADER1 HEADER2 ...) is a once-only variant of +# AC_CHECK_HEADERS(HEADER1 HEADER2 ...). +AC_DEFUN([AC_CHECK_HEADERS_ONCE], [ + : + AC_FOREACH([gl_HEADER_NAME], [$1], [ + AC_DEFUN([gl_CHECK_HEADER_]m4_quote(translit(defn([gl_HEADER_NAME]), + [-./], [___])), [ + AC_CHECK_HEADERS(gl_HEADER_NAME) + ]) + AC_REQUIRE([gl_CHECK_HEADER_]m4_quote(translit(gl_HEADER_NAME, + [-./], [___]))) + ]) +]) + +# AC_CHECK_FUNCS_ONCE(FUNC1 FUNC2 ...) is a once-only variant of +# AC_CHECK_FUNCS(FUNC1 FUNC2 ...). +AC_DEFUN([AC_CHECK_FUNCS_ONCE], [ + : + AC_FOREACH([gl_FUNC_NAME], [$1], [ + AC_DEFUN([gl_CHECK_FUNC_]defn([gl_FUNC_NAME]), [ + AC_CHECK_FUNCS(defn([gl_FUNC_NAME])) + ]) + AC_REQUIRE([gl_CHECK_FUNC_]defn([gl_FUNC_NAME])) + ]) +]) + +# AC_CHECK_DECLS_ONCE(DECL1 DECL2 ...) is a once-only variant of +# AC_CHECK_DECLS(DECL1, DECL2, ...). +AC_DEFUN([AC_CHECK_DECLS_ONCE], [ + : + AC_FOREACH([gl_DECL_NAME], [$1], [ + AC_DEFUN([gl_CHECK_DECL_]defn([gl_DECL_NAME]), [ + AC_CHECK_DECLS(defn([gl_DECL_NAME])) + ]) + AC_REQUIRE([gl_CHECK_DECL_]defn([gl_DECL_NAME])) + ]) +]) + +#serial 2 + +dnl From Paul Eggert. + +# Define HOST_OPERATING_SYSTEM to a name for the host operating system. +AC_DEFUN([UTILS_HOST_OS], +[ + AC_CACHE_CHECK([host operating system], + utils_cv_host_operating_system, + + [[case $host_os in + + # These operating system names do not use the default heuristic below. + # They are in reverse order, so that more-specific prefixes come first. + winnt*) os='Windows NT';; + vos*) os='VOS';; + sysv*) os='Unix System V';; + superux*) os='SUPER-UX';; + sunos*) os='SunOS';; + stop*) os='STOP';; + sco*) os='SCO Unix';; + riscos*) os='RISC OS';; + riscix*) os='RISCiX';; + qnx*) os='QNX';; + pw32*) os='PW32';; + ptx*) os='ptx';; + plan9*) os='Plan 9';; + osf*) os='Tru64';; + os2*) os='OS/2';; + openbsd*) os='OpenBSD';; + nsk*) os='NonStop Kernel';; + nonstopux*) os='NonStop-UX';; + netbsd*) os='NetBSD';; + msdosdjgpp*) os='DJGPP';; + mpeix*) os='MPE/iX';; + mint*) os='MiNT';; + mingw*) os='MinGW';; + lynxos*) os='LynxOS';; + linux*) os='GNU/Linux';; + hpux*) os='HP-UX';; + hiux*) os='HI-UX';; + gnu*) os='GNU';; + freebsd*-gnu*) os='GNU/FreeBSD';; + freebsd*) os='FreeBSD';; + dgux*) os='DG/UX';; + bsdi*) os='BSD/OS';; + bsd*) os='BSD';; + beos*) os='BeOS';; + aux*) os='A/UX';; + atheos*) os='AtheOS';; + amigaos*) os='Amiga OS';; + aix*) os='AIX';; + + # The default heuristic takes the initial alphabetic string + # from $host_os, but capitalizes its first letter. + [A-Za-z]*) + os=` + expr "X$host_os" : 'X\([A-Za-z]\)' | tr '[a-z]' '[A-Z]' + `` + expr "X$host_os" : 'X.\([A-Za-z]*\)' + ` + ;; + + # If $host_os does not start with an alphabetic string, use it unchanged. + *) + os=$host_os;; + esac + utils_cv_host_operating_system=$os]]) + AC_DEFINE_UNQUOTED(HOST_OPERATING_SYSTEM, + "$utils_cv_host_operating_system", + [The host operating system.]) +]) + +#serial 1 + +# On some systems, mkdir ("foo/", 0700) fails because of the trailing slash. +# On such systems, arrange to use a wrapper function that removes any +# trailing slashes. +AC_DEFUN([UTILS_FUNC_MKDIR_TRAILING_SLASH], +[dnl + AC_CACHE_CHECK([whether mkdir fails due to a trailing slash], + utils_cv_func_mkdir_trailing_slash_bug, + [ + # Arrange for deletion of the temporary directory this test might create. + ac_clean_files="$ac_clean_files confdir-slash" + AC_TRY_RUN([ +# include +# include +# include + int main () + { + rmdir ("confdir-slash"); + exit (mkdir ("confdir-slash/", 0700)); + } + ], + utils_cv_func_mkdir_trailing_slash_bug=no, + utils_cv_func_mkdir_trailing_slash_bug=yes, + utils_cv_func_mkdir_trailing_slash_bug=yes + ) + ] + ) + + if test $utils_cv_func_mkdir_trailing_slash_bug = yes; then + AC_LIBOBJ(mkdir) + AC_DEFINE(mkdir, rpl_mkdir, + [Define to rpl_mkdir if the replacement function should be used.]) + fi +]) + +#serial 2 + +AC_DEFUN([jm_BISON], +[ + # getdate.y works with bison only. + : ${YACC='bison -y'} + AC_SUBST(YACC) +]) + +#serial 3 +dnl based on code from Eleftherios Gkioulekas + +AC_DEFUN([jm_ASSERT], +[ + AC_MSG_CHECKING(whether to enable assertions) + AC_ARG_ENABLE(assert, + [ --disable-assert turn off assertions], + [ AC_MSG_RESULT(no) + AC_DEFINE(NDEBUG,1,[Define to 1 if assertions should be disabled.]) ], + [ AC_MSG_RESULT(yes) ] + ) +]) + +#serial 4 + +dnl From Jim Meyering + +dnl Define HAVE_STRUCT_UTIMBUF if `struct utimbuf' is declared -- +dnl usually in . +dnl Some systems have utime.h but don't declare the struct anywhere. + +AC_DEFUN([jm_CHECK_TYPE_STRUCT_UTIMBUF], +[ + AC_CHECK_HEADERS(utime.h) + AC_REQUIRE([AC_HEADER_TIME]) + AC_CACHE_CHECK([for struct utimbuf], fu_cv_sys_struct_utimbuf, + [AC_TRY_COMPILE( + [ +#ifdef TIME_WITH_SYS_TIME +# include +# include +#else +# ifdef HAVE_SYS_TIME_H +# include +# else +# include +# endif +#endif +#ifdef HAVE_UTIME_H +# include +#endif + ], + [static struct utimbuf x; x.actime = x.modtime;], + fu_cv_sys_struct_utimbuf=yes, + fu_cv_sys_struct_utimbuf=no) + ]) + + if test $fu_cv_sys_struct_utimbuf = yes; then + AC_DEFINE(HAVE_STRUCT_UTIMBUF, 1, +[Define if struct utimbuf is declared -- usually in . + Some systems have utime.h but don't declare the struct anywhere. ]) + fi +]) + +#serial 5 + +dnl From Jim Meyering. +dnl +dnl Check whether struct dirent has a member named d_type. +dnl + +AC_DEFUN([jm_CHECK_TYPE_STRUCT_DIRENT_D_TYPE], + [AC_REQUIRE([AC_HEADER_DIRENT])dnl + AC_CACHE_CHECK([for d_type member in directory struct], + jm_cv_struct_dirent_d_type, + [AC_TRY_LINK(dnl + [ +#include +#ifdef HAVE_DIRENT_H +# include +#else /* not HAVE_DIRENT_H */ +# define dirent direct +# ifdef HAVE_SYS_NDIR_H +# include +# endif /* HAVE_SYS_NDIR_H */ +# ifdef HAVE_SYS_DIR_H +# include +# endif /* HAVE_SYS_DIR_H */ +# ifdef HAVE_NDIR_H +# include +# endif /* HAVE_NDIR_H */ +#endif /* HAVE_DIRENT_H */ + ], + [struct dirent dp; dp.d_type = 0;], + + jm_cv_struct_dirent_d_type=yes, + jm_cv_struct_dirent_d_type=no) + ] + ) + if test $jm_cv_struct_dirent_d_type = yes; then + AC_DEFINE(HAVE_STRUCT_DIRENT_D_TYPE, 1, + [Define if there is a member named d_type in the struct describing + directory headers.]) + fi + ] +) + +#serial 4 + +dnl From Jim Meyering. +dnl +dnl Check whether struct dirent has a member named d_ino. +dnl + +AC_DEFUN([jm_CHECK_TYPE_STRUCT_DIRENT_D_INO], + [AC_REQUIRE([AC_HEADER_DIRENT])dnl + AC_CACHE_CHECK([for d_ino member in directory struct], + jm_cv_struct_dirent_d_ino, + [AC_TRY_LINK(dnl + [ +#include +#ifdef HAVE_DIRENT_H +# include +#else /* not HAVE_DIRENT_H */ +# define dirent direct +# ifdef HAVE_SYS_NDIR_H +# include +# endif /* HAVE_SYS_NDIR_H */ +# ifdef HAVE_SYS_DIR_H +# include +# endif /* HAVE_SYS_DIR_H */ +# ifdef HAVE_NDIR_H +# include +# endif /* HAVE_NDIR_H */ +#endif /* HAVE_DIRENT_H */ + ], + [struct dirent dp; dp.d_ino = 0;], + + jm_cv_struct_dirent_d_ino=yes, + jm_cv_struct_dirent_d_ino=no) + ] + ) + if test $jm_cv_struct_dirent_d_ino = yes; then + AC_DEFINE(D_INO_IN_DIRENT, 1, + [Define if there is a member named d_ino in the struct describing + directory headers.]) + fi + ] +) + +#serial 19 + +dnl This is just a wrapper function to encapsulate this kludge. +dnl Putting it in a separate file like this helps share it between +dnl different packages. +AC_DEFUN([jm_CHECK_DECLS], +[ + AC_REQUIRE([_jm_DECL_HEADERS]) + AC_REQUIRE([AC_HEADER_TIME]) + headers=' +#include +#if HAVE_STRING_H +# if !STDC_HEADERS && HAVE_MEMORY_H +# include +# endif +# include +#else +# if HAVE_STRINGS_H +# include +# endif +#endif +#if HAVE_STDLIB_H +# include +#endif +#if HAVE_UNISTD_H +# include +#endif + +#include +#if TIME_WITH_SYS_TIME +# include +# include +#else +# if HAVE_SYS_TIME_H +# include +# else +# include +# endif +#endif + +#if HAVE_UTMP_H +# include +#endif + +#if HAVE_GRP_H +# include +#endif + +#if HAVE_PWD_H +# include +#endif +' + + AC_CHECK_DECLS([ + euidaccess, + free, + getenv, + geteuid, + getgrgid, + getlogin, + getpwuid, + getuid, + getutent, + lseek, + malloc, + memchr, + memrchr, + nanosleep, + realloc, + stpcpy, + strndup, + strnlen, + strstr, + strtoul, + strtoull, + ttyname], , , $headers) +]) + +dnl FIXME: when autoconf has support for it. +dnl This is a little helper so we can require these header checks. +AC_DEFUN([_jm_DECL_HEADERS], +[ + AC_REQUIRE([AC_HEADER_STDC]) + AC_CHECK_HEADERS(grp.h memory.h pwd.h string.h strings.h stdlib.h \ + unistd.h sys/time.h utmp.h utmpx.h) +]) + +#serial 31 + +dnl We use jm_ for non Autoconf macros. +m4_pattern_forbid([^jm_[ABCDEFGHIJKLMNOPQRSTUVXYZ]])dnl +m4_pattern_forbid([^gl_[ABCDEFGHIJKLMNOPQRSTUVXYZ]])dnl + +# These are the prerequisite macros for files in the lib/ +# directory of the coreutils package. + +AC_DEFUN([jm_PREREQ], +[ + AC_REQUIRE([jm_PREREQ_ADDEXT]) + + # We don't yet use c-stack.c. + # AC_REQUIRE([jm_PREREQ_C_STACK]) + + AC_REQUIRE([jm_PREREQ_CANON_HOST]) + AC_REQUIRE([jm_PREREQ_DIRNAME]) + AC_REQUIRE([jm_PREREQ_ERROR]) + AC_REQUIRE([jm_PREREQ_EXCLUDE]) + AC_REQUIRE([jm_PREREQ_GETPAGESIZE]) + AC_REQUIRE([jm_PREREQ_HARD_LOCALE]) + AC_REQUIRE([jm_PREREQ_HASH]) + AC_REQUIRE([jm_PREREQ_HUMAN]) + AC_REQUIRE([jm_PREREQ_MBSWIDTH]) + AC_REQUIRE([jm_PREREQ_MEMCHR]) + AC_REQUIRE([jm_PREREQ_PHYSMEM]) + AC_REQUIRE([jm_PREREQ_POSIXVER]) + AC_REQUIRE([jm_PREREQ_QUOTEARG]) + AC_REQUIRE([jm_PREREQ_READUTMP]) + AC_REQUIRE([jm_PREREQ_STAT]) + AC_REQUIRE([jm_PREREQ_STRNLEN]) + AC_REQUIRE([jm_PREREQ_TEMPNAME]) # called by mkstemp + AC_REQUIRE([jm_PREREQ_XGETCWD]) + AC_REQUIRE([jm_PREREQ_XREADLINK]) +]) + +AC_DEFUN([jm_PREREQ_ADDEXT], +[ + dnl For addext.c. + AC_REQUIRE([AC_SYS_LONG_FILE_NAMES]) + AC_CHECK_FUNCS(pathconf) + AC_CHECK_HEADERS(limits.h string.h unistd.h) +]) + +AC_DEFUN([jm_PREREQ_CANON_HOST], +[ + dnl Add any libraries as early as possible. + dnl In particular, inet_ntoa needs -lnsl at least on Solaris5.5.1, + dnl so we have to add -lnsl to LIBS before checking for that function. + AC_SEARCH_LIBS(gethostbyname, [inet nsl]) + + dnl These come from -lnsl on Solaris5.5.1. + AC_CHECK_FUNCS(gethostbyname gethostbyaddr inet_ntoa) + + AC_CHECK_HEADERS(unistd.h string.h netdb.h sys/socket.h \ + netinet/in.h arpa/inet.h) +]) + +AC_DEFUN([jm_PREREQ_DIRNAME], +[ + AC_REQUIRE([AC_HEADER_STDC]) + AC_CHECK_HEADERS(string.h) +]) + +AC_DEFUN([jm_PREREQ_EXCLUDE], +[ + AC_REQUIRE([AC_FUNC_FNMATCH_GNU]) + AC_REQUIRE([AC_HEADER_STDBOOL]) +]) + +AC_DEFUN([jm_PREREQ_GETPAGESIZE], +[ + AC_CHECK_FUNCS(getpagesize) + AC_CHECK_HEADERS(OS.h unistd.h) +]) + +AC_DEFUN([jm_PREREQ_HARD_LOCALE], +[ + AC_CHECK_HEADERS(locale.h stdlib.h string.h) + AC_CHECK_FUNCS(setlocale) + AC_REQUIRE([AM_C_PROTOTYPES]) +]) + +AC_DEFUN([jm_PREREQ_HASH], +[ + AC_CHECK_HEADERS(stdlib.h) + AC_REQUIRE([AC_HEADER_STDBOOL]) + AC_REQUIRE([jm_CHECK_DECLS]) +]) + +# If you use human.c, you need the following files: +# inttypes.m4 longlong.m4 +AC_DEFUN([jm_PREREQ_HUMAN], +[ + AC_CHECK_HEADERS(locale.h) + AC_CHECK_DECLS([getenv]) + AC_CHECK_FUNCS(localeconv) + AC_REQUIRE([AC_HEADER_STDBOOL]) + AC_REQUIRE([jm_AC_TYPE_UINTMAX_T]) +]) + +AC_DEFUN([jm_PREREQ_MEMCHR], +[ + AC_CHECK_HEADERS(limits.h stdlib.h bp-sym.h) +]) + +# Check for the external symbol, _system_configuration, +# a struct with member `physmem'. +AC_DEFUN([gl_SYS__SYSTEM_CONFIGURATION], + [AC_CACHE_CHECK(for external symbol _system_configuration, + gl_cv_var__system_configuration, + [AC_LINK_IFELSE([AC_LANG_PROGRAM( + [[#include + ]], + [double x = _system_configuration.physmem;])], + [gl_cv_var__system_configuration=yes], + [gl_cv_var__system_configuration=no])]) + + if test $gl_cv_var__system_configuration = yes; then + AC_DEFINE(HAVE__SYSTEM_CONFIGURATION, 1, + [Define to 1 if you have the external variable, + _system_configuration with a member named physmem.]) + fi + ] +) + +AC_DEFUN([jm_PREREQ_PHYSMEM], +[ + AC_CHECK_HEADERS([unistd.h sys/pstat.h sys/sysmp.h sys/sysinfo.h \ + machine/hal_sysinfo.h sys/table.h sys/param.h sys/sysctl.h \ + sys/systemcfg.h]) + AC_CHECK_FUNCS(pstat_getstatic pstat_getdynamic sysmp getsysinfo sysctl table) + + AC_REQUIRE([gl_SYS__SYSTEM_CONFIGURATION]) +]) + +AC_DEFUN([jm_PREREQ_POSIXVER], +[ + AC_CHECK_HEADERS(unistd.h) + AC_CHECK_DECLS([getenv]) +]) + +AC_DEFUN([jm_PREREQ_QUOTEARG], +[ + AC_CHECK_FUNCS(isascii iswprint) + AC_REQUIRE([jm_FUNC_MBRTOWC]) + AC_REQUIRE([jm_FUNC_MEMCMP]) + AC_CHECK_HEADERS(limits.h stddef.h stdlib.h string.h wchar.h wctype.h) + AC_REQUIRE([AC_HEADER_STDC]) + AC_REQUIRE([AC_C_BACKSLASH_A]) + AC_REQUIRE([AC_TYPE_MBSTATE_T]) + AC_REQUIRE([AM_C_PROTOTYPES]) +]) + +AC_DEFUN([jm_PREREQ_READUTMP], +[ + AC_REQUIRE([AC_HEADER_STDC]) + AC_CHECK_HEADERS(string.h utmp.h utmpx.h sys/param.h) + AC_CHECK_FUNCS(utmpname) + AC_CHECK_FUNCS(utmpxname) + AC_REQUIRE([AM_C_PROTOTYPES]) + + if test $ac_cv_header_utmp_h = yes || test $ac_cv_header_utmpx_h = yes; then + utmp_includes="\ +$ac_includes_default +#ifdef HAVE_UTMPX_H +# include +#endif +#ifdef HAVE_UTMP_H +# include +#endif +" + AC_CHECK_MEMBERS([struct utmpx.ut_user],,,[$utmp_includes]) + AC_CHECK_MEMBERS([struct utmp.ut_user],,,[$utmp_includes]) + AC_CHECK_MEMBERS([struct utmpx.ut_name],,,[$utmp_includes]) + AC_CHECK_MEMBERS([struct utmp.ut_name],,,[$utmp_includes]) + AC_CHECK_MEMBERS([struct utmpx.ut_type],,,[$utmp_includes]) + AC_CHECK_MEMBERS([struct utmp.ut_type],,,[$utmp_includes]) + AC_CHECK_MEMBERS([struct utmpx.ut_pid],,,[$utmp_includes]) + AC_CHECK_MEMBERS([struct utmp.ut_pid],,,[$utmp_includes]) + AC_CHECK_MEMBERS([struct utmpx.ut_id],,,[$utmp_includes]) + AC_CHECK_MEMBERS([struct utmp.ut_id],,,[$utmp_includes]) + + AC_CHECK_MEMBERS([struct utmpx.ut_exit.ut_exit],,,[$utmp_includes]) + AC_CHECK_MEMBERS([struct utmp.ut_exit.ut_exit],,,[$utmp_includes]) + AC_CHECK_MEMBERS([struct utmpx.ut_exit.e_exit],,,[$utmp_includes]) + AC_CHECK_MEMBERS([struct utmp.ut_exit.e_exit],,,[$utmp_includes]) + + AC_CHECK_MEMBERS([struct utmpx.ut_exit.ut_termination],,,[$utmp_includes]) + AC_CHECK_MEMBERS([struct utmp.ut_exit.ut_termination],,,[$utmp_includes]) + AC_CHECK_MEMBERS([struct utmpx.ut_exit.e_termination],,,[$utmp_includes]) + AC_CHECK_MEMBERS([struct utmp.ut_exit.e_termination],,,[$utmp_includes]) + AC_LIBOBJ(readutmp) + fi +]) + +AC_DEFUN([jm_PREREQ_STAT], +[ + AC_CHECK_HEADERS(sys/sysmacros.h sys/statvfs.h sys/vfs.h inttypes.h) + AC_CHECK_HEADERS(sys/param.h sys/mount.h) + AC_CHECK_FUNCS(statvfs) + AC_REQUIRE([jm_AC_TYPE_LONG_LONG]) + + statxfs_includes="\ +$ac_includes_default +#if HAVE_SYS_STATVFS_H +# include +#endif +#if HAVE_SYS_VFS_H +# include +#endif +#if ( ! HAVE_SYS_STATVFS_H && ! HAVE_SYS_VFS_H && HAVE_SYS_MOUNT_H && HAVE_SYS_PARAM_H ) +/* NetBSD 1.5.2 needs these, for the declaration of struct statfs. */ +# include +# include +#endif +" + AC_CHECK_MEMBERS([struct statfs.f_basetype],,,[$statxfs_includes]) + AC_CHECK_MEMBERS([struct statvfs.f_basetype],,,[$statxfs_includes]) + AC_CHECK_MEMBERS([struct statfs.f_fstypename],,,[$statxfs_includes]) + AC_CHECK_MEMBERS([struct statfs.f_type],,,[$statxfs_includes]) + AC_CHECK_MEMBERS([struct statvfs.f_type],,,[$statxfs_includes]) + AC_CHECK_MEMBERS([struct statfs.f_fsid.__val],,,[$statxfs_includes]) + AC_CHECK_MEMBERS([struct statvfs.f_fsid.__val],,,[$statxfs_includes]) + AC_CHECK_MEMBERS([struct statfs.f_namemax],,,[$statxfs_includes]) + AC_CHECK_MEMBERS([struct statvfs.f_namemax],,,[$statxfs_includes]) + AC_CHECK_MEMBERS([struct statfs.f_namelen],,,[$statxfs_includes]) + AC_CHECK_MEMBERS([struct statvfs.f_namelen],,,[$statxfs_includes]) +]) + +AC_DEFUN([jm_PREREQ_STRNLEN], +[ + AC_REQUIRE([AC_FUNC_STRNLEN]) + AC_REQUIRE([AC_HEADER_STDC]) + AC_CHECK_HEADERS(memory.h) + AC_CHECK_DECLS([memchr]) + + # This is necessary because automake-1.6.1 doesn't understand + # that the above use of AC_FUNC_STRNLEN means we may have to use + # lib/strnlen.c. + test $ac_cv_func_strnlen_working = yes \ + && AC_LIBOBJ(strnlen) +]) + +AC_DEFUN([jm_PREREQ_TEMPNAME], +[ + AC_REQUIRE([AC_HEADER_STDC]) + AC_REQUIRE([AC_HEADER_STAT]) + AC_CHECK_HEADERS(fcntl.h sys/time.h stdint.h unistd.h) + AC_CHECK_FUNCS(__secure_getenv gettimeofday) + AC_CHECK_DECLS([getenv]) + AC_REQUIRE([jm_AC_TYPE_UINTMAX_T]) +]) + +AC_DEFUN([jm_PREREQ_XGETCWD], +[ + AC_REQUIRE([AC_C_PROTOTYPES]) + AC_CHECK_HEADERS(limits.h stdlib.h sys/param.h unistd.h) + AC_CHECK_FUNCS(getcwd) + AC_REQUIRE([AC_FUNC_GETCWD_NULL]) +]) + +AC_DEFUN([jm_PREREQ_XREADLINK], +[ + AC_REQUIRE([AC_C_PROTOTYPES]) + AC_CHECK_HEADERS(limits.h stdlib.h sys/types.h unistd.h) +]) + +#serial 5 + +dnl FIXME: put these prerequisite-only *.m4 files in a separate +dnl directory -- otherwise, they'll conflict with existing files. + +dnl These are the prerequisite macros for GNU's error.c file. +AC_DEFUN([jm_PREREQ_ERROR], +[ + AC_CHECK_FUNCS(strerror vprintf doprnt) + AC_CHECK_DECLS([strerror]) + AC_CHECK_HEADERS([libintl.h]) + AC_FUNC_STRERROR_R + AC_HEADER_STDC +]) + +#serial 7 + +dnl autoconf tests required for use of mbswidth.c +dnl From Bruno Haible. + +AC_DEFUN([jm_PREREQ_MBSWIDTH], +[ + AC_REQUIRE([AC_HEADER_STDC]) + AC_CHECK_HEADERS(limits.h stdlib.h string.h wchar.h wctype.h) + AC_CHECK_FUNCS(isascii iswcntrl iswprint mbsinit wcwidth) + jm_FUNC_MBRTOWC + + AC_CACHE_CHECK([whether wcwidth is declared], ac_cv_have_decl_wcwidth, + [AC_TRY_COMPILE([ +/* AIX 3.2.5 declares wcwidth in . */ +#if HAVE_STRING_H +# include +#endif +#if HAVE_WCHAR_H +# include +#endif +], [ +#ifndef wcwidth + char *p = (char *) wcwidth; +#endif +], ac_cv_have_decl_wcwidth=yes, ac_cv_have_decl_wcwidth=no)]) + if test $ac_cv_have_decl_wcwidth = yes; then + ac_val=1 + else + ac_val=0 + fi + AC_DEFINE_UNQUOTED(HAVE_DECL_WCWIDTH, $ac_val, + [Define to 1 if you have the declaration of wcwidth(), and to 0 otherwise.]) + + AC_TYPE_MBSTATE_T +]) + +# mbrtowc.m4 serial 4 (fileutils-4.1.3) +dnl Copyright (C) 2001-2002 Free Software Foundation, Inc. +dnl This file is free software, distributed under the terms of the GNU +dnl General Public License. As a special exception to the GNU General +dnl Public License, this file may be distributed as part of a program +dnl that contains a configuration script generated by Autoconf, under +dnl the same distribution terms as the rest of that program. + +dnl From Paul Eggert + +AC_DEFUN([jm_FUNC_MBRTOWC], +[ + AC_CACHE_CHECK([whether mbrtowc and mbstate_t are properly declared], + jm_cv_func_mbrtowc, + [AC_TRY_LINK( + [#include ], + [mbstate_t state; return ! (sizeof state && mbrtowc);], + jm_cv_func_mbrtowc=yes, + jm_cv_func_mbrtowc=no)]) + if test $jm_cv_func_mbrtowc = yes; then + AC_DEFINE(HAVE_MBRTOWC, 1, + [Define to 1 if mbrtowc and mbstate_t are properly declared.]) + fi +]) + +#serial 5 + +dnl A replacement for autoconf's macro by the same name. This version +dnl uses `ac_lib' rather than `i' for the loop variable, but more importantly +dnl moves the ACTION-IF-FOUND ([$]3) into the inner `if'-block so that it is +dnl run only if one of the listed libraries ends up being used (and not in +dnl the `none required' case. +dnl I hope it's only temporary while we wait for that version to be fixed. +undefine([AC_SEARCH_LIBS]) + +# AC_SEARCH_LIBS(FUNCTION, SEARCH-LIBS, +# [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND], +# [OTHER-LIBRARIES]) +# -------------------------------------------------------- +# Search for a library defining FUNC, if it's not already available. +AC_DEFUN([AC_SEARCH_LIBS], +[ + AC_CACHE_CHECK([for library containing $1], [ac_cv_search_$1], + [ + ac_func_search_save_LIBS=$LIBS + ac_cv_search_$1=no + AC_TRY_LINK_FUNC([$1], [ac_cv_search_$1='none required']) + if test "$ac_cv_search_$1" = no; then + for ac_lib in $2; do + LIBS="-l$ac_lib $5 $ac_func_search_save_LIBS" + AC_TRY_LINK_FUNC([$1], [ac_cv_search_$1="-l$ac_lib"; break]) + done + fi + LIBS=$ac_func_search_save_LIBS + ]) + + if test "$ac_cv_search_$1" = no; then : + $4 + else + if test "$ac_cv_search_$1" = 'none required'; then : + $4 + else + LIBS="$ac_cv_search_$1 $LIBS" + $3 + fi + fi +]) + +# Check for stdbool.h that conforms to C99. + +# Copyright (C) 2002 Free Software Foundation, Inc. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + +AC_DEFUN([AC_HEADER_STDBOOL], + [AC_CACHE_CHECK([for stdbool.h that conforms to C99], + [ac_cv_header_stdbool_h], + [AC_TRY_COMPILE( + [ + #include + #ifndef bool + "error: bool is not defined" + #endif + #ifndef false + "error: false is not defined" + #endif + #if false + "error: false is not 0" + #endif + #ifndef true + "error: false is not defined" + #endif + #if true != 1 + "error: true is not 1" + #endif + #ifndef __bool_true_false_are_defined + "error: __bool_true_false_are_defined is not defined" + #endif + + struct s { _Bool s: 1; _Bool t; } s; + + char a[true == 1 ? 1 : -1]; + char b[false == 0 ? 1 : -1]; + char c[__bool_true_false_are_defined == 1 ? 1 : -1]; + char d[(bool) -0.5 == true ? 1 : -1]; + bool e = &s; + char f[(_Bool) -0.0 == false ? 1 : -1]; + char g[true]; + char h[sizeof (_Bool)]; + char i[sizeof s.t]; + ], + [ return !a + !b + !c + !d + !e + !f + !g + !h + !i; ], + [ac_cv_header_stdbool_h=yes], + [ac_cv_header_stdbool_h=no])]) + if test $ac_cv_header_stdbool_h = yes; then + AC_DEFINE(HAVE_STDBOOL_H, 1, [Define to 1 if stdbool.h conforms to C99.]) + fi]) + + +# Copyright 1996, 1997, 1998, 2000, 2001, 2002 Free Software Foundation, Inc. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + +# serial 2 + +AC_DEFUN([AM_C_PROTOTYPES], +[AC_REQUIRE([AM_PROG_CC_STDC]) +AC_REQUIRE([AC_PROG_CPP]) +AC_MSG_CHECKING([for function prototypes]) +if test "$am_cv_prog_cc_stdc" != no; then + AC_MSG_RESULT(yes) + AC_DEFINE(PROTOTYPES,1,[Define if compiler has function prototypes]) + U= ANSI2KNR= +else + AC_MSG_RESULT(no) + U=_ ANSI2KNR=./ansi2knr +fi +# Ensure some checks needed by ansi2knr itself. +AC_HEADER_STDC +AC_CHECK_HEADERS(string.h) +AC_SUBST(U)dnl +AC_SUBST(ANSI2KNR)dnl +]) + +AU_DEFUN([fp_C_PROTOTYPES], [AM_C_PROTOTYPES]) + + +# Copyright 1996, 1997, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + +# serial 2 + +# @defmac AC_PROG_CC_STDC +# @maindex PROG_CC_STDC +# @ovindex CC +# If the C compiler in not in ANSI C mode by default, try to add an option +# to output variable @code{CC} to make it so. This macro tries various +# options that select ANSI C on some system or another. It considers the +# compiler to be in ANSI C mode if it handles function prototypes correctly. +# +# If you use this macro, you should check after calling it whether the C +# compiler has been set to accept ANSI C; if not, the shell variable +# @code{am_cv_prog_cc_stdc} is set to @samp{no}. If you wrote your source +# code in ANSI C, you can make an un-ANSIfied copy of it by using the +# program @code{ansi2knr}, which comes with Ghostscript. +# @end defmac + +AC_DEFUN([AM_PROG_CC_STDC], +[AC_REQUIRE([AC_PROG_CC]) +AC_BEFORE([$0], [AC_C_INLINE]) +AC_BEFORE([$0], [AC_C_CONST]) +dnl Force this before AC_PROG_CPP. Some cpp's, eg on HPUX, require +dnl a magic option to avoid problems with ANSI preprocessor commands +dnl like #elif. +dnl FIXME: can't do this because then AC_AIX won't work due to a +dnl circular dependency. +dnl AC_BEFORE([$0], [AC_PROG_CPP]) +AC_MSG_CHECKING([for ${CC-cc} option to accept ANSI C]) +AC_CACHE_VAL(am_cv_prog_cc_stdc, +[am_cv_prog_cc_stdc=no +ac_save_CC="$CC" +# Don't try gcc -ansi; that turns off useful extensions and +# breaks some systems' header files. +# AIX -qlanglvl=ansi +# Ultrix and OSF/1 -std1 +# HP-UX 10.20 and later -Ae +# HP-UX older versions -Aa -D_HPUX_SOURCE +# SVR4 -Xc -D__EXTENSIONS__ +for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" +do + CC="$ac_save_CC $ac_arg" + AC_TRY_COMPILE( +[#include +#include +#include +#include +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ +struct buf { int x; }; +FILE * (*rcsopen) (struct buf *, struct stat *, int); +static char *e (p, i) + char **p; + int i; +{ + return p[i]; +} +static char *f (char * (*g) (char **, int), char **p, ...) +{ + char *s; + va_list v; + va_start (v,p); + s = g (p, va_arg (v,int)); + va_end (v); + return s; +} +int test (int i, double x); +struct s1 {int (*f) (int a);}; +struct s2 {int (*f) (double a);}; +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); +int argc; +char **argv; +], [ +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; +], +[am_cv_prog_cc_stdc="$ac_arg"; break]) +done +CC="$ac_save_CC" +]) +if test -z "$am_cv_prog_cc_stdc"; then + AC_MSG_RESULT([none needed]) +else + AC_MSG_RESULT([$am_cv_prog_cc_stdc]) +fi +case "x$am_cv_prog_cc_stdc" in + x|xno) ;; + *) CC="$CC $am_cv_prog_cc_stdc" ;; +esac +]) + +AU_DEFUN([fp_PROG_CC_STDC], [AM_PROG_CC_STDC]) + +#serial 6 + +dnl From Paul Eggert. + +AC_PREREQ(2.52) + +# Define intmax_t to long or long long if doesn't define. + +AC_DEFUN([jm_AC_TYPE_INTMAX_T], +[ + AC_REQUIRE([jm_AC_TYPE_LONG_LONG]) + AC_CHECK_TYPE(intmax_t, , + [test $ac_cv_type_long_long = yes \ + && ac_type='long long' \ + || ac_type='long' + AC_DEFINE_UNQUOTED(intmax_t, $ac_type, + [Define to widest signed type if doesn't define.])]) +]) + +# Define uintmax_t to unsigned long or unsigned long long +# if doesn't define. + +AC_DEFUN([jm_AC_TYPE_UINTMAX_T], +[ + AC_REQUIRE([jm_AC_TYPE_UNSIGNED_LONG_LONG]) + AC_CHECK_TYPE(uintmax_t, , + [test $ac_cv_type_unsigned_long_long = yes \ + && ac_type='unsigned long long' \ + || ac_type='unsigned long' + AC_DEFINE_UNQUOTED(uintmax_t, $ac_type, + [Define to widest unsigned type if doesn't define.])]) +]) + +#serial 2 + +dnl From Paul Eggert. + +# Define HAVE_LONG_LONG if 'long long' works. + +AC_DEFUN([jm_AC_TYPE_LONG_LONG], +[ + AC_CACHE_CHECK([for long long], ac_cv_type_long_long, + [AC_TRY_LINK([long long ll = 1; int i = 63;], + [long long llmax = (long long) -1; + return ll << i | ll >> i | llmax / ll | llmax % ll;], + ac_cv_type_long_long=yes, + ac_cv_type_long_long=no)]) + if test $ac_cv_type_long_long = yes; then + AC_DEFINE(HAVE_LONG_LONG, 1, + [Define if you have the long long type.]) + fi +]) + +# Define HAVE_UNSIGNED_LONG_LONG if 'unsigned long long' works. + +AC_DEFUN([jm_AC_TYPE_UNSIGNED_LONG_LONG], +[ + AC_CACHE_CHECK([for unsigned long long], ac_cv_type_unsigned_long_long, + [AC_TRY_LINK([unsigned long long ull = 1; int i = 63;], + [unsigned long long ullmax = (unsigned long long) -1; + return ull << i | ull >> i | ullmax / ull | ullmax % ull;], + ac_cv_type_unsigned_long_long=yes, + ac_cv_type_unsigned_long_long=no)]) + if test $ac_cv_type_unsigned_long_long = yes; then + AC_DEFINE(HAVE_UNSIGNED_LONG_LONG, 1, + [Define if you have the unsigned long long type.]) + fi +]) + +#serial 7 + +AC_DEFUN([jm_FUNC_MEMCMP], +[AC_REQUIRE([AC_FUNC_MEMCMP])dnl + if test $ac_cv_func_memcmp_working = no; then + AC_DEFINE(memcmp, rpl_memcmp, + [Define to rpl_memcmp if the replacement function should be used.]) + fi +]) + +# getcwd.m4 - check whether getcwd (NULL, 0) allocates memory for result + +# Copyright 2001 Free Software Foundation, Inc. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + +# Written by Paul Eggert. + +AC_DEFUN([AC_FUNC_GETCWD_NULL], + [AC_CHECK_HEADERS(stdlib.h unistd.h) + AC_CACHE_CHECK([whether getcwd (NULL, 0) allocates memory for result], + [ac_cv_func_getcwd_null], + [AC_TRY_RUN( + [ +# ifdef HAVE_STDLIB_H +# include +# endif +# ifdef HAVE_UNISTD_H +# include +# endif +# ifndef getcwd + char *getcwd (); +# endif + int + main () + { + if (chdir ("/") != 0) + exit (1); + else + { + char *f = getcwd (NULL, 0); + exit (! (f && f[0] == '/' && !f[1])); + } + }], + [ac_cv_func_getcwd_null=yes], + [ac_cv_func_getcwd_null=no], + [ac_cv_func_getcwd_null=no])]) + if test $ac_cv_func_getcwd_null = yes; then + AC_DEFINE(HAVE_GETCWD_NULL, 1, + [Define if getcwd (NULL, 0) allocates memory for result.]) + fi]) + +#serial 5 + +dnl Find out how to get the file descriptor associated with an open DIR*. +dnl From Jim Meyering + +AC_DEFUN([UTILS_FUNC_DIRFD], +[ + dnl Work around a bug of AC_EGREP_CPP in autoconf-2.57. + AC_REQUIRE([AC_PROG_CPP]) + AC_REQUIRE([AC_PROG_EGREP]) + + AC_HEADER_DIRENT + dirfd_headers=' +#if HAVE_DIRENT_H +# include +#else /* not HAVE_DIRENT_H */ +# define dirent direct +# if HAVE_SYS_NDIR_H +# include +# endif /* HAVE_SYS_NDIR_H */ +# if HAVE_SYS_DIR_H +# include +# endif /* HAVE_SYS_DIR_H */ +# if HAVE_NDIR_H +# include +# endif /* HAVE_NDIR_H */ +#endif /* HAVE_DIRENT_H */ +' + AC_CHECK_FUNCS(dirfd) + AC_CHECK_DECLS([dirfd], , , $dirfd_headers) + + AC_CACHE_CHECK([whether dirfd is a macro], + jm_cv_func_dirfd_macro, + AC_EGREP_CPP([dirent_header_defines_dirfd], [$dirfd_headers +#ifdef dirfd + dirent_header_defines_dirfd +#endif], + jm_cv_func_dirfd_macro=yes, + jm_cv_func_dirfd_macro=no)) + + # Use the replacement only if we have no function, macro, + # or declaration with that name. + if test $ac_cv_func_dirfd,$ac_cv_have_decl_dirfd,$jm_cv_func_dirfd_macro \ + = no,no,no; then + AC_REPLACE_FUNCS([dirfd]) + AC_CACHE_CHECK( + [how to get the file descriptor associated with an open DIR*], + gl_cv_sys_dir_fd_member_name, + [ + dirfd_save_CFLAGS=$CFLAGS + for ac_expr in d_fd dd_fd; do + + CFLAGS="$CFLAGS -DDIR_FD_MEMBER_NAME=$ac_expr" + AC_TRY_COMPILE( + [$dirfd_headers + ], + [DIR *dir_p = opendir("."); (void) dir_p->DIR_FD_MEMBER_NAME;], + dir_fd_found=yes + ) + CFLAGS=$dirfd_save_CFLAGS + test "$dir_fd_found" = yes && break + done + test "$dir_fd_found" = yes || ac_expr=no_such_member + + gl_cv_sys_dir_fd_member_name=$ac_expr + ] + ) + if test $gl_cv_sys_dir_fd_member_name != no_such_member; then + AC_DEFINE_UNQUOTED(DIR_FD_MEMBER_NAME, + $gl_cv_sys_dir_fd_member_name, + [the name of the file descriptor member of DIR]) + fi + AH_VERBATIM(DIR_TO_FD, + [#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 +] + ) + fi +]) + +# acl.m4 - check for access control list (ACL) primitives + +# Copyright (C) 2002 Free Software Foundation, Inc. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + +# Written by Paul Eggert. + +AC_DEFUN([AC_FUNC_ACL], + [AC_CHECK_HEADERS(sys/acl.h) + AC_CHECK_FUNCS(acl)]) + +#serial 2 +# Use the replacement ftw.c if the one in the C library is inadequate or buggy. +# For now, we always use the code in lib/ because libc doesn't have the FTW_DCH +# or FTW_DCHP that we need. Arrange to use lib/ftw.h. And since that +# implementation uses tsearch.c/tdestroy, add tsearch.o to the list of +# objects and arrange to use lib/search.h if necessary. +# From Jim Meyering + +AC_DEFUN([AC_FUNC_FTW], +[ + # prerequisites + AC_REQUIRE([AC_HEADER_STAT]) + AC_REQUIRE([jm_FUNC_LSTAT]) + AC_REQUIRE([AC_HEADER_DIRENT]) + AC_CHECK_HEADERS(sys/param.h) + AC_CHECK_DECLS([stpcpy]) + + # In the event that we have to use the replacement ftw.c, + # see if we'll also need the replacement tsearch.c. + AC_CHECK_FUNC([tdestroy], , [need_tdestroy=1]) + + AC_CACHE_CHECK([for ftw/FTW_CHDIR that informs callback of failed chdir], + ac_cv_func_ftw_working, + [ + # The following test would fail prior to glibc-2.3.2, because `depth' + # would be 2 rather than 4. Of course, now that we require FTW_DCH + # and FTW_DCHP, this test fails even with GNU libc's fixed ftw. + mkdir -p conftest.dir/a/b/c + AC_RUN_IFELSE([AC_LANG_SOURCE([[ +#include +#include +#include + +static char *_f[] = { "conftest.dir", "conftest.dir/a", + "conftest.dir/a/b", "conftest.dir/a/b/c" }; +static char **p = _f; +static int depth; + +static int +cb (const char *file, const struct stat *sb, int file_type, struct FTW *info) +{ + if (strcmp (file, *p++) != 0) + exit (1); + ++depth; + return 0; +} + +int +main () +{ + /* Require these symbols, too. */ + int d1 = FTW_DCH; + int d2 = FTW_DCHP; + + int err = nftw ("conftest.dir", cb, 30, FTW_PHYS | FTW_MOUNT | FTW_CHDIR); + exit ((err == 0 && depth == 4) ? 0 : 1); +} +]])], + [ac_cv_func_ftw_working=yes], + [ac_cv_func_ftw_working=no], + [ac_cv_func_ftw_working=no])]) + rm -rf conftest.dir + if test $ac_cv_func_ftw_working = no; then + AC_LIBOBJ([ftw]) + AC_CONFIG_LINKS([$ac_config_libobj_dir/ftw.h:$ac_config_libobj_dir/ftw_.h]) + # Add tsearch.o IFF we have to use the replacement ftw.c. + if test -n "$need_tdestroy"; then + AC_LIBOBJ([tsearch]) + # Link search.h to search_.h if we use the replacement tsearch.c. + AC_CONFIG_LINKS( + [$ac_config_libobj_dir/search.h:$ac_config_libobj_dir/search_.h]) + fi + fi +])# AC_FUNC_FTW + +#serial 7 + +dnl From Jim Meyering. +dnl Determine whether lstat has the bug that it succeeds when given the +dnl zero-length file name argument. The lstat from SunOS4.1.4 and the Hurd +dnl (as of 1998-11-01) do this. +dnl +dnl If it does, then define HAVE_LSTAT_EMPTY_STRING_BUG and arrange to +dnl compile the wrapper function. +dnl + +AC_DEFUN([jm_FUNC_LSTAT], +[ + AC_REQUIRE([AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK]) + AC_CACHE_CHECK([whether lstat accepts an empty string], + jm_cv_func_lstat_empty_string_bug, + [AC_TRY_RUN([ +# include +# include + + int + main () + { + struct stat sbuf; + exit (lstat ("", &sbuf) ? 1 : 0); + } + ], + jm_cv_func_lstat_empty_string_bug=yes, + jm_cv_func_lstat_empty_string_bug=no, + dnl When crosscompiling, assume lstat is broken. + jm_cv_func_lstat_empty_string_bug=yes) + ]) + if test $jm_cv_func_lstat_empty_string_bug = yes; then + AC_LIBOBJ(lstat) + AC_DEFINE(HAVE_LSTAT_EMPTY_STRING_BUG, 1, +[Define if lstat has the bug that it succeeds when given the zero-length + file name argument. The lstat from SunOS4.1.4 and the Hurd as of 1998-11-01) + do this. ]) + fi +]) + +#serial 2 + +dnl From Jim Meyering. +dnl Provide lchown on systems that lack it. + +AC_DEFUN([jm_FUNC_LCHOWN], +[ + AC_REQUIRE([AC_TYPE_UID_T]) + AC_REPLACE_FUNCS(lchown) +]) + +#serial 3 + +# When rmdir fails because the specified directory is not empty, it sets +# errno to some value, usually ENOTEMPTY. However, on some AIX systems, +# ENOTEMPTY is mistakenly defined to be EEXIST. To work around this, and +# in general, to avoid depending on the use of any particular symbol, this +# test runs a test to determine the actual numeric value. +AC_DEFUN([fetish_FUNC_RMDIR_NOTEMPTY], +[dnl + AC_CACHE_CHECK([for rmdir-not-empty errno value], + fetish_cv_func_rmdir_errno_not_empty, + [ + # Arrange for deletion of the temporary directory this test creates. + ac_clean_files="$ac_clean_files confdir2" + mkdir confdir2; : > confdir2/file + AC_TRY_RUN([ +#include +#include +#ifndef errno +extern int errno; +#endif + int main () + { + FILE *s; + int val; + rmdir ("confdir2"); + val = errno; + s = fopen ("confdir2/errno", "w"); + fprintf (s, "%d\n", val); + exit (0); + } + ], + fetish_cv_func_rmdir_errno_not_empty=`cat confdir2/errno`, + fetish_cv_func_rmdir_errno_not_empty='configure error in rmdir-errno.m4', + fetish_cv_func_rmdir_errno_not_empty=ENOTEMPTY + ) + ] + ) + + AC_DEFINE_UNQUOTED([RMDIR_ERRNO_NOT_EMPTY], + $fetish_cv_func_rmdir_errno_not_empty, + [the value to which errno is set when rmdir fails on a nonempty directory]) +]) + +#serial 7 + +dnl From Jim Meyering. +dnl Determine whether chown accepts arguments of -1 for uid and gid. +dnl If it doesn't, arrange to use the replacement function. +dnl + +AC_DEFUN([jm_FUNC_CHOWN], +[AC_REQUIRE([AC_TYPE_UID_T])dnl + test -z "$ac_cv_header_unistd_h" \ + && AC_CHECK_HEADERS(unistd.h) + AC_CACHE_CHECK([for working chown], jm_cv_func_working_chown, + [AC_TRY_RUN([ +# include +# include +# include +# ifdef HAVE_UNISTD_H +# include +# endif + + int + main () + { + char *f = "conftest.chown"; + struct stat before, after; + + if (creat (f, 0600) < 0) + exit (1); + if (stat (f, &before) < 0) + exit (1); + if (chown (f, (uid_t) -1, (gid_t) -1) == -1) + exit (1); + if (stat (f, &after) < 0) + exit (1); + exit ((before.st_uid == after.st_uid + && before.st_gid == after.st_gid) ? 0 : 1); + } + ], + jm_cv_func_working_chown=yes, + jm_cv_func_working_chown=no, + dnl When crosscompiling, assume chown is broken. + jm_cv_func_working_chown=no) + ]) + if test $jm_cv_func_working_chown = no; then + AC_LIBOBJ(chown) + AC_DEFINE(chown, rpl_chown, + [Define to rpl_chown if the replacement function should be used.]) + fi +]) + +#serial 8 + +dnl From Jim Meyering. +dnl A wrapper around AC_FUNC_MKTIME. + +AC_DEFUN([jm_FUNC_MKTIME], +[AC_REQUIRE([AC_FUNC_MKTIME])dnl + + dnl mktime.c uses localtime_r if it exists. Check for it. + AC_CHECK_FUNCS(localtime_r) + + if test $ac_cv_func_working_mktime = no; then + AC_DEFINE(mktime, rpl_mktime, + [Define to rpl_mktime if the replacement function should be used.]) + fi +]) + +#serial 7 + +dnl From Jim Meyering. +dnl Determine whether stat has the bug that it succeeds when given the +dnl zero-length file name argument. The stat from SunOS4.1.4 and the Hurd +dnl (as of 1998-11-01) do this. +dnl +dnl If it does, then define HAVE_STAT_EMPTY_STRING_BUG and arrange to +dnl compile the wrapper function. +dnl + +AC_DEFUN([jm_FUNC_STAT], +[ + AC_REQUIRE([AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK]) + AC_CACHE_CHECK([whether stat accepts an empty string], + jm_cv_func_stat_empty_string_bug, + [AC_TRY_RUN([ +# include +# include + + int + main () + { + struct stat sbuf; + exit (stat ("", &sbuf) ? 1 : 0); + } + ], + jm_cv_func_stat_empty_string_bug=yes, + jm_cv_func_stat_empty_string_bug=no, + dnl When crosscompiling, assume stat is broken. + jm_cv_func_stat_empty_string_bug=yes) + ]) + if test $jm_cv_func_stat_empty_string_bug = yes; then + AC_LIBOBJ(stat) + AC_DEFINE(HAVE_STAT_EMPTY_STRING_BUG, 1, +[Define if stat has the bug that it succeeds when given the zero-length + file name argument. The stat from SunOS4.1.4 and the Hurd as of 1998-11-01) + do this. ]) + fi +]) + +#serial 8 + +dnl From Jim Meyering. +dnl Check for the nanosleep function. +dnl If not found, use the supplied replacement. +dnl + +AC_DEFUN([jm_FUNC_NANOSLEEP], +[ + nanosleep_save_libs=$LIBS + + # Solaris 2.5.1 needs -lposix4 to get the nanosleep function. + # Solaris 7 prefers the library name -lrt to the obsolescent name -lposix4. + AC_SEARCH_LIBS(nanosleep, [rt posix4], [LIB_NANOSLEEP=$ac_cv_search_nanosleep]) + AC_SUBST(LIB_NANOSLEEP) + + AC_CACHE_CHECK([whether nanosleep works], + jm_cv_func_nanosleep_works, + [ + AC_REQUIRE([AC_HEADER_TIME]) + AC_TRY_RUN([ +# if TIME_WITH_SYS_TIME +# include +# include +# else +# if HAVE_SYS_TIME_H +# include +# else +# include +# endif +# endif + + int + main () + { + struct timespec ts_sleep, ts_remaining; + ts_sleep.tv_sec = 0; + ts_sleep.tv_nsec = 1; + exit (nanosleep (&ts_sleep, &ts_remaining) == 0 ? 0 : 1); + } + ], + jm_cv_func_nanosleep_works=yes, + jm_cv_func_nanosleep_works=no, + dnl When crosscompiling, assume the worst. + jm_cv_func_nanosleep_works=no) + ]) + if test $jm_cv_func_nanosleep_works = no; then + AC_LIBOBJ(nanosleep) + AC_DEFINE(nanosleep, rpl_nanosleep, + [Define to rpl_nanosleep if the replacement function should be used.]) + fi + + LIBS=$nanosleep_save_libs +]) + +#serial 7 -*- autoconf -*- + +dnl From Jim Meyering. +dnl +dnl See if the glibc *_unlocked I/O macros are available. +dnl Use only those *_unlocked macros that are declared. +dnl + +AC_DEFUN([jm_FUNC_GLIBC_UNLOCKED_IO], + [AC_CHECK_DECLS( + [clearerr_unlocked, feof_unlocked, ferror_unlocked, + fflush_unlocked, fgets_unlocked, fputc_unlocked, fputs_unlocked, + fread_unlocked, fwrite_unlocked, getc_unlocked, + getchar_unlocked, putc_unlocked, putchar_unlocked])]) + +#serial 3 + +dnl Written by Jim Meyering + +AC_DEFUN([jm_FUNC_GROUP_MEMBER], + [ + dnl Do this replacement check manually because I want the hyphen + dnl (not the underscore) in the filename. + AC_CHECK_FUNC(group_member, , [AC_LIBOBJ(group-member)]) + ] +) + +#serial 5 + +dnl From Jim Meyering. +dnl +dnl Check whether putenv ("FOO") removes FOO from the environment. +dnl The putenv in libc on at least SunOS 4.1.4 does *not* do that. +dnl + +AC_DEFUN([jm_FUNC_PUTENV], +[AC_CACHE_CHECK([for SVID conformant putenv], jm_cv_func_svid_putenv, + [AC_TRY_RUN([ + int + main () + { + /* Put it in env. */ + if (putenv ("CONFTEST_putenv=val")) + exit (1); + + /* Try to remove it. */ + if (putenv ("CONFTEST_putenv")) + exit (1); + + /* Make sure it was deleted. */ + if (getenv ("CONFTEST_putenv") != 0) + exit (1); + + exit (0); + } + ], + jm_cv_func_svid_putenv=yes, + jm_cv_func_svid_putenv=no, + dnl When crosscompiling, assume putenv is broken. + jm_cv_func_svid_putenv=no) + ]) + if test $jm_cv_func_svid_putenv = no; then + AC_LIBOBJ(putenv) + AC_DEFINE(putenv, rpl_putenv, + [Define to rpl_putenv if the replacement function should be used.]) + fi +]) + +#serial 5 + +AC_DEFUN([jm_AFS], + [ + AC_MSG_CHECKING(for AFS) + if test -d /afs; then + AC_DEFINE(AFS, 1, [Define if you have the Andrew File System.]) + ac_result=yes + else + ac_result=no + fi + AC_MSG_RESULT($ac_result) + ]) + +#serial 4 + +# autoconf tests required for use of xstrtoumax.c + +AC_DEFUN([jm_AC_PREREQ_XSTRTOUMAX], +[ + AC_REQUIRE([jm_AC_TYPE_INTMAX_T]) + AC_REQUIRE([jm_AC_TYPE_UINTMAX_T]) + AC_REQUIRE([jm_AC_TYPE_LONG_LONG]) + AC_REQUIRE([jm_AC_TYPE_UNSIGNED_LONG_LONG]) + AC_CHECK_DECLS([strtol, strtoul, strtoull, strtoimax, strtoumax]) + AC_CHECK_HEADERS(limits.h stdlib.h inttypes.h) + + AC_CACHE_CHECK([whether defines strtoumax as a macro], + jm_cv_func_strtoumax_macro, + AC_EGREP_CPP([inttypes_h_defines_strtoumax], [#include +#ifdef strtoumax + inttypes_h_defines_strtoumax +#endif], + jm_cv_func_strtoumax_macro=yes, + jm_cv_func_strtoumax_macro=no)) + + if test "$jm_cv_func_strtoumax_macro" != yes; then + AC_REPLACE_FUNCS(strtoumax) + fi + + dnl Only the replacement strtoumax invokes strtoul and strtoull, + dnl so we need the replacements only if strtoumax does not exist. + case "$jm_cv_func_strtoumax_macro,$ac_cv_func_strtoumax" in + no,no) + AC_REPLACE_FUNCS(strtoul) + + dnl We don't need (and can't compile) the replacement strtoull + dnl unless the type `unsigned long long' exists. + if test "$ac_cv_type_unsigned_long_long" = yes; then + AC_REPLACE_FUNCS(strtoull) + fi + ;; + esac +]) + +#serial 2 +dnl Cloned from xstrtoumax.m4. Keep these files in sync. + +# autoconf tests required for use of xstrtoimax.c + +AC_DEFUN([jm_AC_PREREQ_XSTRTOIMAX], +[ + AC_REQUIRE([jm_AC_TYPE_INTMAX_T]) + AC_REQUIRE([jm_AC_TYPE_UINTMAX_T]) + AC_REQUIRE([jm_AC_TYPE_LONG_LONG]) + AC_REQUIRE([jm_AC_TYPE_UNSIGNED_LONG_LONG]) + AC_CHECK_DECLS([strtol, strtoul, strtoll, strtoimax, strtoumax]) + AC_CHECK_HEADERS(limits.h stdlib.h inttypes.h) + + AC_CACHE_CHECK([whether defines strtoimax as a macro], + jm_cv_func_strtoimax_macro, + AC_EGREP_CPP([inttypes_h_defines_strtoimax], [#include +#ifdef strtoimax + inttypes_h_defines_strtoimax +#endif], + jm_cv_func_strtoimax_macro=yes, + jm_cv_func_strtoimax_macro=no)) + + if test "$jm_cv_func_strtoimax_macro" != yes; then + AC_REPLACE_FUNCS(strtoimax) + fi + + dnl Only the replacement strtoimax invokes strtol and strtoll, + dnl so we need the replacements only if strtoimax does not exist. + case "$jm_cv_func_strtoimax_macro,$ac_cv_func_strtoimax" in + no,no) + AC_REPLACE_FUNCS(strtol) + + dnl We don't need (and can't compile) the replacement strtoll + dnl unless the type `long long' exists. + if test "$ac_cv_type_long_long" = yes; then + AC_REPLACE_FUNCS(strtoll) + fi + ;; + esac +]) + +#serial 3 +dnl Run a program to determine whether whether link(2) follows symlinks. +dnl Set LINK_FOLLOWS_SYMLINKS accordingly. + +AC_DEFUN([jm_AC_FUNC_LINK_FOLLOWS_SYMLINK], +[dnl + AC_CACHE_CHECK( + [whether link(2) dereferences a symlink specified with a trailing slash], + jm_ac_cv_func_link_follows_symlink, + [ + dnl poor-man's AC_REQUIRE: FIXME: repair this once autoconf-3 provides + dnl the appropriate framework. + test -z "$ac_cv_header_unistd_h" \ + && AC_CHECK_HEADERS(unistd.h) + + # Create a regular file. + echo > conftest.file + AC_TRY_RUN( + [ +# include +# include +# ifdef HAVE_UNISTD_H +# include +# endif + +# define SAME_INODE(Stat_buf_1, Stat_buf_2) \ + ((Stat_buf_1).st_ino == (Stat_buf_2).st_ino \ + && (Stat_buf_1).st_dev == (Stat_buf_2).st_dev) + + int + main () + { + const char *file = "conftest.file"; + const char *sym = "conftest.sym"; + const char *hard = "conftest.hard"; + struct stat sb_file, sb_hard; + + /* Create a symlink to the regular file. */ + if (symlink (file, sym)) + abort (); + + /* Create a hard link to that symlink. */ + if (link (sym, hard)) + abort (); + + if (lstat (hard, &sb_hard)) + abort (); + if (lstat (file, &sb_file)) + abort (); + + /* If the dev/inode of hard and file are the same, then + the link call followed the symlink. */ + return SAME_INODE (sb_hard, sb_file) ? 0 : 1; + } + ], + jm_ac_cv_func_link_follows_symlink=yes, + jm_ac_cv_func_link_follows_symlink=no, + jm_ac_cv_func_link_follows_symlink=yes dnl We're cross compiling. + ) + ]) + if test $jm_ac_cv_func_link_follows_symlink = yes; then + AC_DEFINE(LINK_FOLLOWS_SYMLINKS, 1, + [Define if `link(2)' dereferences symbolic links.]) + fi +]) + +#serial 17 + +dnl This macro is intended to be used solely in this file. +dnl These are the prerequisite macros for GNU's strftime.c replacement. +AC_DEFUN([_jm_STRFTIME_PREREQS], +[ + dnl strftime.c uses localtime_r and the underyling system strftime + dnl if they exist. + AC_CHECK_FUNCS(localtime_r strftime) + + AC_CHECK_HEADERS(limits.h) + AC_CHECK_FUNCS(bcopy tzset mempcpy memcpy memset) + + # This defines (or not) HAVE_TZNAME and HAVE_TM_ZONE. + AC_STRUCT_TIMEZONE + + AC_CHECK_FUNCS(mblen mbrlen) + + AC_CHECK_MEMBER([struct tm.tm_gmtoff], + [AC_DEFINE(HAVE_TM_GMTOFF, 1, + [Define if struct tm has the tm_gmtoff member.])], + , + [#include ]) +]) + +dnl From Jim Meyering. +dnl +AC_DEFUN([jm_FUNC_GNU_STRFTIME], +[AC_REQUIRE([AC_HEADER_TIME])dnl + + _jm_STRFTIME_PREREQS + + AC_REQUIRE([AC_C_CONST])dnl + AC_REQUIRE([AC_HEADER_STDC])dnl + AC_CHECK_HEADERS(sys/time.h) + AC_DEFINE([my_strftime], [nstrftime], + [Define to the name of the strftime replacement function.]) +]) + +AC_DEFUN([jm_FUNC_STRFTIME], +[ + _jm_STRFTIME_PREREQS +]) + +#serial 3 + +dnl From Jim Meyering +dnl Using code from emacs, based on suggestions from Paul Eggert +dnl and Ulrich Drepper. + +dnl Find out how to determine the number of pending output bytes on a stream. +dnl glibc (2.1.93 and newer) and Solaris provide __fpending. On other systems, +dnl we have to grub around in the FILE struct. + +AC_DEFUN([jm_FUNC_FPENDING], +[ + AC_CHECK_HEADERS(stdio_ext.h) + AC_REPLACE_FUNCS([__fpending]) + fp_headers=' +# if HAVE_STDIO_EXT_H +# include +# endif +' + AC_CHECK_DECLS([__fpending], , , $fp_headers) + if test $ac_cv_func___fpending = no; then + AC_CACHE_CHECK( + [how to determine the number of pending output bytes on a stream], + ac_cv_sys_pending_output_n_bytes, + [ + for ac_expr in \ + \ + '# glibc2' \ + 'fp->_IO_write_ptr - fp->_IO_write_base' \ + \ + '# traditional Unix' \ + 'fp->_ptr - fp->_base' \ + \ + '# BSD' \ + 'fp->_p - fp->_bf._base' \ + \ + '# SCO, Unixware' \ + 'fp->__ptr - fp->__base' \ + \ + '# old glibc?' \ + 'fp->__bufp - fp->__buffer' \ + \ + '# old glibc iostream?' \ + 'fp->_pptr - fp->_pbase' \ + \ + '# VMS' \ + '(*fp)->_ptr - (*fp)->_base' \ + \ + '# e.g., DGUX R4.11; the info is not available' \ + 1 \ + ; do + + # Skip each embedded comment. + case "$ac_expr" in '#'*) continue;; esac + + AC_TRY_COMPILE( + [#include + ], + [FILE *fp = stdin; (void) ($ac_expr);], + fp_done=yes + ) + test "$fp_done" = yes && break + done + + ac_cv_sys_pending_output_n_bytes=$ac_expr + ] + ) + AC_DEFINE_UNQUOTED(PENDING_OUTPUT_N_BYTES, + $ac_cv_sys_pending_output_n_bytes, + [the number of pending output bytes on stream `fp']) + fi +]) + +# inttypes-pri.m4 serial 1001 (based on gettext-0.11.4's `serial 1') +dnl Copyright (C) 1997-2002 Free Software Foundation, Inc. +dnl This file is free software, distributed under the terms of the GNU +dnl General Public License. As a special exception to the GNU General +dnl Public License, this file may be distributed as part of a program +dnl that contains a configuration script generated by Autoconf, under +dnl the same distribution terms as the rest of that program. + +dnl From Bruno Haible. + +# Define PRI_MACROS_BROKEN if exists and defines the PRI* +# macros to non-string values. This is the case on AIX 4.3.3. + +AC_DEFUN([gt_INTTYPES_PRI], +[ + # autoconf-2.52 has a proper check for inttypes.h. + AC_PREREQ(2.52) + + if test $ac_cv_header_inttypes_h = yes; then + AC_CACHE_CHECK([whether the inttypes.h PRIxNN macros are broken], + gt_cv_inttypes_pri_broken, + [ + AC_TRY_COMPILE([#include +#ifdef PRId32 +char *p = PRId32; +#endif +], [], gt_cv_inttypes_pri_broken=no, gt_cv_inttypes_pri_broken=yes) + ]) + fi + if test "$gt_cv_inttypes_pri_broken" = yes; then + AC_DEFINE_UNQUOTED(PRI_MACROS_BROKEN, 1, + [Define if exists and defines unusable PRI* macros.]) + fi +]) + +#serial 7 + +dnl From Jim Meyering. +dnl A wrapper around AC_FUNC_GETGROUPS. + +AC_DEFUN([jm_FUNC_GETGROUPS], +[AC_REQUIRE([AC_FUNC_GETGROUPS])dnl + if test $ac_cv_func_getgroups_works = no; then + AC_LIBOBJ(getgroups) + AC_DEFINE(getgroups, rpl_getgroups, + [Define as rpl_getgroups if getgroups doesn't work right.]) + fi + test -n "$GETGROUPS_LIB" && LIBS="$GETGROUPS_LIB $LIBS" +]) + +#serial 5 + +AC_PREREQ(2.13) + +AC_DEFUN([jm_SYS_PROC_UPTIME], +[ dnl Require AC_PROG_CC to see if we're cross compiling. + AC_REQUIRE([AC_PROG_CC]) + AC_CACHE_CHECK([for /proc/uptime], jm_cv_have_proc_uptime, + [jm_cv_have_proc_uptime=no + test -f /proc/uptime \ + && test "$cross_compiling" = no \ + && cat < /proc/uptime >/dev/null 2>/dev/null \ + && jm_cv_have_proc_uptime=yes]) + if test $jm_cv_have_proc_uptime = yes; then + AC_DEFINE(HAVE_PROC_UPTIME, 1, + [ Define if your system has the /proc/uptime special file.]) + fi +]) + +#serial 4 + +# See if we need to emulate a missing ftruncate function using fcntl or chsize. + +AC_DEFUN([jm_FUNC_FTRUNCATE], +[ + AC_CHECK_FUNCS(ftruncate, , [ftruncate_missing=yes]) + + if test "$ftruncate_missing" = yes; then + AC_CHECK_HEADERS([unistd.h]) + AC_CHECK_FUNCS([chsize]) + AC_LIBOBJ(ftruncate) + fi +]) + +#serial 3 + +dnl From Volker Borchert. +dnl Determine whether rename works for source paths with a trailing slash. +dnl The rename from SunOS 4.1.1_U1 doesn't. +dnl +dnl If it doesn't, then define RENAME_TRAILING_SLASH_BUG and arrange +dnl to compile the wrapper function. +dnl + +AC_DEFUN([vb_FUNC_RENAME], +[ + AC_CACHE_CHECK([whether rename is broken], + vb_cv_func_rename_trailing_slash_bug, + [ + rm -rf conftest.d1 conftest.d2 + mkdir conftest.d1 || + AC_MSG_ERROR([cannot create temporary directory]) + AC_TRY_RUN([ +# include + int + main () + { + exit (rename ("conftest.d1/", "conftest.d2") ? 1 : 0); + } + ], + vb_cv_func_rename_trailing_slash_bug=no, + vb_cv_func_rename_trailing_slash_bug=yes, + dnl When crosscompiling, assume rename is broken. + vb_cv_func_rename_trailing_slash_bug=yes) + + rm -rf conftest.d1 conftest.d2 + ]) + if test $vb_cv_func_rename_trailing_slash_bug = yes; then + AC_LIBOBJ(rename) + AC_DEFINE(RENAME_TRAILING_SLASH_BUG, 1, +[Define if rename does not work for source paths with a trailing slash, + like the one from SunOS 4.1.1_U1.]) + fi +]) + +#serial 1 + +# On some systems (e.g., HPUX-10.20, SunOS4.1.4, solaris2.5.1), mkstemp has the +# silly limit that it can create no more than 26 files from a given template. +# Other systems lack mkstemp altogether. On either type of system, arrange +# to use the replacement function. +AC_DEFUN([UTILS_FUNC_MKSTEMP], +[dnl + AC_REPLACE_FUNCS(mkstemp) + if test $ac_cv_func_mkstemp = no; then + utils_cv_func_mkstemp_limitations=yes + else + AC_CACHE_CHECK([for mkstemp limitations], + utils_cv_func_mkstemp_limitations, + [ + AC_TRY_RUN([ +# include + int main () + { + int i; + for (i = 0; i < 30; i++) + { + char template[] = "conftestXXXXXX"; + int fd = mkstemp (template); + if (fd == -1) + exit (1); + close (fd); + } + exit (0); + } + ], + utils_cv_func_mkstemp_limitations=no, + utils_cv_func_mkstemp_limitations=yes, + utils_cv_func_mkstemp_limitations=yes + ) + ] + ) + fi + + if test $utils_cv_func_mkstemp_limitations = yes; then + AC_LIBOBJ(mkstemp) + AC_LIBOBJ(tempname) + AC_DEFINE(mkstemp, rpl_mkstemp, + [Define to rpl_mkstemp if the replacement function should be used.]) + fi +]) + +#serial 2 + +dnl From Jim Meyering. +dnl +dnl See if gettimeofday clobbers the static buffer that localtime uses +dnl for it's return value. The gettimeofday function from Mac OS X 10.0.4, +dnl i.e. Darwin 1.3.7 has this problem. +dnl +dnl If it does, then arrange to use gettimeofday and localtime only via +dnl the wrapper functions that work around the problem. + +AC_DEFUN([AC_FUNC_GETTIMEOFDAY_CLOBBER], +[ + AC_REQUIRE([AC_HEADER_TIME]) + AC_CHECK_HEADERS(string.h stdlib.h) + AC_CACHE_CHECK([whether gettimeofday clobbers localtime buffer], + jm_cv_func_gettimeofday_clobber, + [AC_TRY_RUN([ +#include +#if HAVE_STRING_H +# include +#endif + +#if TIME_WITH_SYS_TIME +# include +# include +#else +# if HAVE_SYS_TIME_H +# include +# else +# include +# endif +#endif + +#if HAVE_STDLIB_H +# include +#endif + +int +main () +{ + time_t t = 0; + struct tm *lt; + struct tm saved_lt; + struct timeval tv; + lt = localtime (&t); + saved_lt = *lt; + gettimeofday (&tv, NULL); + if (memcmp (lt, &saved_lt, sizeof (struct tm)) != 0) + exit (1); + + exit (0); +} + ], + jm_cv_func_gettimeofday_clobber=no, + jm_cv_func_gettimeofday_clobber=yes, + dnl When crosscompiling, assume it is broken. + jm_cv_func_gettimeofday_clobber=yes) + ]) + if test $jm_cv_func_gettimeofday_clobber = yes; then + AC_LIBOBJ(gettimeofday) + AC_DEFINE(localtime, rpl_localtime, + [Define to rpl_localtime if the replacement function should be used.]) + AC_DEFINE(gettimeofday, rpl_gettimeofday, + [Define to rpl_gettimeofday if the replacement function should be used.]) + AC_DEFINE(GETTIMEOFDAY_CLOBBERS_LOCALTIME_BUFFER, 1, + [Define if gettimeofday clobbers localtime's static buffer.]) + fi +]) + +#serial 3 + +dnl From Jim Meyering +dnl Replace the utime function on systems that need it. + +dnl FIXME + +AC_DEFUN([jm_FUNC_UTIME], +[ + AC_CHECK_HEADERS(utime.h) + AC_REQUIRE([jm_CHECK_TYPE_STRUCT_UTIMBUF]) + AC_REQUIRE([AC_FUNC_UTIME_NULL]) + + if test $ac_cv_func_utime_null = no; then + jm_FUNC_UTIMES_NULL + AC_REPLACE_FUNCS(utime) + fi +]) + +#serial 4 + +dnl Shamelessly cloned from acspecific.m4's AC_FUNC_UTIME_NULL, +dnl then do case-insensitive s/utime/utimes/. + +AC_DEFUN([jm_FUNC_UTIMES_NULL], +[AC_CACHE_CHECK(whether utimes accepts a null argument, ac_cv_func_utimes_null, +[rm -f conftest.data; > conftest.data +AC_TRY_RUN([ +/* In case stat has been defined to rpl_stat, undef it here. */ +#undef stat +#include +#include +main() { +struct stat s, t; +exit(!(stat ("conftest.data", &s) == 0 + && utimes("conftest.data", (long *)0) == 0 + && stat("conftest.data", &t) == 0 + && t.st_mtime >= s.st_mtime + && t.st_mtime - s.st_mtime < 120)); +}], + ac_cv_func_utimes_null=yes, + ac_cv_func_utimes_null=no, + ac_cv_func_utimes_null=no) +rm -f core core.* *.core]) + + if test $ac_cv_func_utimes_null = yes; then + AC_DEFINE(HAVE_UTIMES_NULL, 1, + [Define if utimes accepts a null argument]) + fi + ] +) + +#serial 5 + +dnl See if there's a working, system-supplied version of the getline function. +dnl We can't just do AC_REPLACE_FUNCS(getline) because some systems +dnl have a function by that name in -linet that doesn't have anything +dnl to do with the function we need. +AC_DEFUN([AM_FUNC_GETLINE], +[dnl + am_getline_needs_run_time_check=no + AC_CHECK_FUNC(getline, + dnl Found it in some library. Verify that it works. + am_getline_needs_run_time_check=yes, + am_cv_func_working_getline=no) + if test $am_getline_needs_run_time_check = yes; then + AC_CACHE_CHECK([for working getline function], am_cv_func_working_getline, + [echo fooN |tr -d '\012'|tr N '\012' > conftest.data + AC_TRY_RUN([ +# include +# include +# include + int main () + { /* Based on a test program from Karl Heuer. */ + char *line = NULL; + size_t siz = 0; + int len; + FILE *in = fopen ("./conftest.data", "r"); + if (!in) + return 1; + len = getline (&line, &siz, in); + exit ((len == 4 && line && strcmp (line, "foo\n") == 0) ? 0 : 1); + } + ], am_cv_func_working_getline=yes dnl The library version works. + , am_cv_func_working_getline=no dnl The library version does NOT work. + , am_cv_func_working_getline=no dnl We're cross compiling. + )]) + fi + + if test $am_cv_func_working_getline = no; then + AC_LIBOBJ(getline) + fi +]) + +#serial 1 +# Determine approximately how many files may be open simultaneously +# in one process. This is approximate, since while running this test, +# the configure script already has a few files open. +# From Jim Meyering + +AC_DEFUN([UTILS_SYS_OPEN_MAX], +[ + AC_CACHE_CHECK([determine how many files may be open simultaneously], + utils_cv_sys_open_max, + [ + AC_RUN_IFELSE([AC_LANG_SOURCE([[ +#include +#include +#include + int + main () + { + FILE *result = fopen ("conftest.omax", "w"); + int i = 1; + /* Impose an arbitrary limit, in case some system has no + effective limit on the number of simultaneously open files. */ + while (i < 30000) + { + FILE *s = fopen ("conftest.op", "w"); + if (!s) + break; + ++i; + } + fprintf (result, "%d\n", i); + exit (fclose (result) == EOF); + } + ]])], + [utils_cv_sys_open_max=`cat conftest.omax`], + [utils_cv_sys_open_max='internal error in open-max.m4'], + [utils_cv_sys_open_max='cross compiling run-test in open-max.m4'])]) + + AC_DEFINE_UNQUOTED([UTILS_OPEN_MAX], + $utils_cv_sys_open_max, + [the maximum number of simultaneously open files per process]) +]) + +#serial 2 +# Check whether getcwd has the bug that it succeeds for a working directory +# longer than PATH_MAX, yet returns a truncated directory name. +# If so, arrange to compile the wrapper function. + +# This is necessary for at least GNU libc on linux-2.4.19 and 2.4.20. +# I've heard that this is due to a Linux kernel bug, and that it has +# been fixed between 2.4.21-pre3 and 2.4.21-pre4. */ + +# From Jim Meyering + +AC_DEFUN([GL_FUNC_GETCWD_PATH_MAX], +[ + AC_CACHE_CHECK([whether getcwd properly handles paths longer than PATH_MAX], + gl_cv_func_getcwd_vs_path_max, + [ + AC_CHECK_DECLS([getcwd]) + # Arrange for deletion of the temporary directory this test creates. + ac_clean_files="$ac_clean_files confdir3" + AC_RUN_IFELSE([AC_LANG_SOURCE([[ +#include +#include +#include +#include +#include +#include + +/* Don't get link errors because mkdir is redefined to rpl_mkdir. */ +#undef mkdir + +#ifndef CHAR_BIT +# define CHAR_BIT 8 +#endif + +/* The extra casts work around common compiler bugs. */ +#define TYPE_SIGNED(t) (! ((t) 0 < (t) -1)) +/* The outer cast is needed to work around a bug in Cray C 5.0.3.0. + It is necessary at least when t == time_t. */ +#define TYPE_MINIMUM(t) ((t) (TYPE_SIGNED (t) \ + ? ~ (t) 0 << (sizeof (t) * CHAR_BIT - 1) : (t) 0)) +#define TYPE_MAXIMUM(t) ((t) (~ (t) 0 - TYPE_MINIMUM (t))) + +#ifndef INT_MAX +# define INT_MAX TYPE_MAXIMUM (int) +#endif + +#ifndef PATH_MAX +/* There might be a better way to handle this case, but note: + - the value shouldn't be anywhere near INT_MAX, and + - the value shouldn't be so big that the local declaration, below, + blows the stack. */ +# define PATH_MAX 40000 +#endif + +/* The length of this name must be 8. */ +#define DIR_NAME "confdir3" + +int +main () +{ + /* The '9' comes from strlen (DIR_NAME) + 1. */ +#if INT_MAX - 9 <= PATH_MAX + /* FIXME: Assuming there's a system for which this is true -- Hurd?, + this should be done in a compile test. */ + exit (0); +#else + char buf[PATH_MAX + 20]; + char *cwd = getcwd (buf, PATH_MAX); + size_t cwd_len; + int fail = 0; + size_t n_chdirs = 0; + + if (cwd == NULL) + exit (1); + + cwd_len = strlen (cwd); + + while (1) + { + char *c; + size_t len; + + cwd_len += 1 + strlen (DIR_NAME); + /* If mkdir or chdir fails, be pessimistic and consider that + as a failure, too. */ + if (mkdir (DIR_NAME, 0700) < 0 || chdir (DIR_NAME) < 0) + { + fail = 1; + break; + } + if ((c = getcwd (buf, PATH_MAX)) == NULL) + { + /* This allows any failure to indicate there is no bug. + FIXME: check errno? */ + break; + } + if ((len = strlen (c)) != cwd_len) + { + fail = 1; + break; + } + ++n_chdirs; + if (PATH_MAX < len) + break; + } + + /* Leaving behind such a deep directory is not polite. + So clean up here, right away, even though the driving + shell script would also clean up. */ + { + size_t i; + + /* Unlink first, in case the chdir failed. */ + unlink (DIR_NAME); + for (i = 0; i <= n_chdirs; i++) + { + if (chdir ("..") < 0) + break; + rmdir (DIR_NAME); + } + } + + exit (fail); +#endif +} + ]])], + [gl_cv_func_getcwd_vs_path_max=yes], + [gl_cv_func_getcwd_vs_path_max=no], + [gl_cv_func_getcwd_vs_path_max=no])]) + + if test $gl_cv_func_getcwd_vs_path_max = yes; then + AC_LIBOBJ(getcwd) + AC_DEFINE(getcwd, rpl_getcwd, + [Define to rpl_getcwd if the wrapper function should be used.]) + fi +]) + +# codeset.m4 serial AM1 (gettext-0.10.40) +dnl Copyright (C) 2000-2002 Free Software Foundation, Inc. +dnl This file is free software, distributed under the terms of the GNU +dnl General Public License. As a special exception to the GNU General +dnl Public License, this file may be distributed as part of a program +dnl that contains a configuration script generated by Autoconf, under +dnl the same distribution terms as the rest of that program. + +dnl From Bruno Haible. + +AC_DEFUN([AM_LANGINFO_CODESET], +[ + AC_CACHE_CHECK([for nl_langinfo and CODESET], am_cv_langinfo_codeset, + [AC_TRY_LINK([#include ], + [char* cs = nl_langinfo(CODESET);], + am_cv_langinfo_codeset=yes, + am_cv_langinfo_codeset=no) + ]) + if test $am_cv_langinfo_codeset = yes; then + AC_DEFINE(HAVE_LANGINFO_CODESET, 1, + [Define if you have and nl_langinfo(CODESET).]) + fi +]) + +# glibc21.m4 serial 2 (fileutils-4.1.3, gettext-0.10.40) +dnl Copyright (C) 2000-2002 Free Software Foundation, Inc. +dnl This file is free software, distributed under the terms of the GNU +dnl General Public License. As a special exception to the GNU General +dnl Public License, this file may be distributed as part of a program +dnl that contains a configuration script generated by Autoconf, under +dnl the same distribution terms as the rest of that program. + +# Test for the GNU C Library, version 2.1 or newer. +# From Bruno Haible. + +AC_DEFUN([jm_GLIBC21], + [ + AC_CACHE_CHECK(whether we are using the GNU C Library 2.1 or newer, + ac_cv_gnu_library_2_1, + [AC_EGREP_CPP([Lucky GNU user], + [ +#include +#ifdef __GNU_LIBRARY__ + #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2) + Lucky GNU user + #endif +#endif + ], + ac_cv_gnu_library_2_1=yes, + ac_cv_gnu_library_2_1=no) + ] + ) + AC_SUBST(GLIBC21) + GLIBC21="$ac_cv_gnu_library_2_1" + ] +) + +# iconv.m4 serial AM4 (gettext-0.11.3) +dnl Copyright (C) 2000-2002 Free Software Foundation, Inc. +dnl This file is free software, distributed under the terms of the GNU +dnl General Public License. As a special exception to the GNU General +dnl Public License, this file may be distributed as part of a program +dnl that contains a configuration script generated by Autoconf, under +dnl the same distribution terms as the rest of that program. + +dnl From Bruno Haible. + +AC_DEFUN([AM_ICONV_LINKFLAGS_BODY], +[ + dnl Prerequisites of AC_LIB_LINKFLAGS_BODY. + AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) + AC_REQUIRE([AC_LIB_RPATH]) + + dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV + dnl accordingly. + AC_LIB_LINKFLAGS_BODY([iconv]) +]) + +AC_DEFUN([AM_ICONV_LINK], +[ + dnl Some systems have iconv in libc, some have it in libiconv (OSF/1 and + dnl those with the standalone portable GNU libiconv installed). + + dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV + dnl accordingly. + AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY]) + + dnl Add $INCICONV to CPPFLAGS before performing the following checks, + dnl because if the user has installed libiconv and not disabled its use + dnl via --without-libiconv-prefix, he wants to use it. The first + dnl AC_TRY_LINK will then fail, the second AC_TRY_LINK will succeed. + am_save_CPPFLAGS="$CPPFLAGS" + AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV]) + + AC_CACHE_CHECK(for iconv, am_cv_func_iconv, [ + am_cv_func_iconv="no, consider installing GNU libiconv" + am_cv_lib_iconv=no + AC_TRY_LINK([#include +#include ], + [iconv_t cd = iconv_open("",""); + iconv(cd,NULL,NULL,NULL,NULL); + iconv_close(cd);], + am_cv_func_iconv=yes) + if test "$am_cv_func_iconv" != yes; then + am_save_LIBS="$LIBS" + LIBS="$LIBS $LIBICONV" + AC_TRY_LINK([#include +#include ], + [iconv_t cd = iconv_open("",""); + iconv(cd,NULL,NULL,NULL,NULL); + iconv_close(cd);], + am_cv_lib_iconv=yes + am_cv_func_iconv=yes) + LIBS="$am_save_LIBS" + fi + ]) + if test "$am_cv_func_iconv" = yes; then + AC_DEFINE(HAVE_ICONV, 1, [Define if you have the iconv() function.]) + fi + if test "$am_cv_lib_iconv" = yes; then + AC_MSG_CHECKING([how to link with libiconv]) + AC_MSG_RESULT([$LIBICONV]) + else + dnl If $LIBICONV didn't lead to a usable library, we don't need $INCICONV + dnl either. + CPPFLAGS="$am_save_CPPFLAGS" + LIBICONV= + LTLIBICONV= + fi + AC_SUBST(LIBICONV) + AC_SUBST(LTLIBICONV) +]) + +AC_DEFUN([AM_ICONV], +[ + AM_ICONV_LINK + if test "$am_cv_func_iconv" = yes; then + AC_MSG_CHECKING([for iconv declaration]) + AC_CACHE_VAL(am_cv_proto_iconv, [ + AC_TRY_COMPILE([ +#include +#include +extern +#ifdef __cplusplus +"C" +#endif +#if defined(__STDC__) || defined(__cplusplus) +size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); +#else +size_t iconv(); +#endif +], [], am_cv_proto_iconv_arg1="", am_cv_proto_iconv_arg1="const") + am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"]) + am_cv_proto_iconv=`echo "[$]am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'` + AC_MSG_RESULT([$]{ac_t:- + }[$]am_cv_proto_iconv) + AC_DEFINE_UNQUOTED(ICONV_CONST, $am_cv_proto_iconv_arg1, + [Define as const if the declaration of iconv() needs const.]) + fi +]) + +# lib-prefix.m4 serial 1 (gettext-0.11) +dnl Copyright (C) 2001-2002 Free Software Foundation, Inc. +dnl This file is free software, distributed under the terms of the GNU +dnl General Public License. As a special exception to the GNU General +dnl Public License, this file may be distributed as part of a program +dnl that contains a configuration script generated by Autoconf, under +dnl the same distribution terms as the rest of that program. + +dnl From Bruno Haible. + +dnl AC_LIB_PREFIX adds to the CPPFLAGS and LDFLAGS the flags that are needed +dnl to access previously installed libraries. The basic assumption is that +dnl a user will want packages to use other packages he previously installed +dnl with the same --prefix option. +dnl This macro is not needed if only AC_LIB_LINKFLAGS is used to locate +dnl libraries, but is otherwise very convenient. +AC_DEFUN([AC_LIB_PREFIX], +[ + AC_BEFORE([$0], [AC_LIB_LINKFLAGS]) + AC_REQUIRE([AC_PROG_CC]) + AC_REQUIRE([AC_CANONICAL_HOST]) + AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) + dnl By default, look in $includedir and $libdir. + use_additional=yes + AC_LIB_WITH_FINAL_PREFIX([ + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" + ]) + AC_ARG_WITH([lib-prefix], +[ --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib + --without-lib-prefix don't search for libraries in includedir and libdir], +[ + if test "X$withval" = "Xno"; then + use_additional=no + else + if test "X$withval" = "X"; then + AC_LIB_WITH_FINAL_PREFIX([ + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" + ]) + else + additional_includedir="$withval/include" + additional_libdir="$withval/lib" + fi + fi +]) + if test $use_additional = yes; then + dnl Potentially add $additional_includedir to $CPPFLAGS. + dnl But don't add it + dnl 1. if it's the standard /usr/include, + dnl 2. if it's already present in $CPPFLAGS, + dnl 3. if it's /usr/local/include and we are using GCC on Linux, + dnl 4. if it doesn't exist as a directory. + if test "X$additional_includedir" != "X/usr/include"; then + haveit= + for x in $CPPFLAGS; do + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) + if test "X$x" = "X-I$additional_includedir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test "X$additional_includedir" = "X/usr/local/include"; then + if test -n "$GCC"; then + case $host_os in + linux*) haveit=yes;; + esac + fi + fi + if test -z "$haveit"; then + if test -d "$additional_includedir"; then + dnl Really add $additional_includedir to $CPPFLAGS. + CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir" + fi + fi + fi + fi + dnl Potentially add $additional_libdir to $LDFLAGS. + dnl But don't add it + dnl 1. if it's the standard /usr/lib, + dnl 2. if it's already present in $LDFLAGS, + dnl 3. if it's /usr/local/lib and we are using GCC on Linux, + dnl 4. if it doesn't exist as a directory. + if test "X$additional_libdir" != "X/usr/lib"; then + haveit= + for x in $LDFLAGS; do + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) + if test "X$x" = "X-L$additional_libdir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test "X$additional_libdir" = "X/usr/local/lib"; then + if test -n "$GCC"; then + case $host_os in + linux*) haveit=yes;; + esac + fi + fi + if test -z "$haveit"; then + if test -d "$additional_libdir"; then + dnl Really add $additional_libdir to $LDFLAGS. + LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir" + fi + fi + fi + fi + fi +]) + +dnl AC_LIB_PREPARE_PREFIX creates variables acl_final_prefix, +dnl acl_final_exec_prefix, containing the values to which $prefix and +dnl $exec_prefix will expand at the end of the configure script. +AC_DEFUN([AC_LIB_PREPARE_PREFIX], +[ + dnl Unfortunately, prefix and exec_prefix get only finally determined + dnl at the end of configure. + if test "X$prefix" = "XNONE"; then + acl_final_prefix="$ac_default_prefix" + else + acl_final_prefix="$prefix" + fi + if test "X$exec_prefix" = "XNONE"; then + acl_final_exec_prefix='${prefix}' + else + acl_final_exec_prefix="$exec_prefix" + fi + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" + prefix="$acl_save_prefix" +]) + +dnl AC_LIB_WITH_FINAL_PREFIX([statement]) evaluates statement, with the +dnl variables prefix and exec_prefix bound to the values they will have +dnl at the end of the configure script. +AC_DEFUN([AC_LIB_WITH_FINAL_PREFIX], +[ + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + $1 + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" +]) + +# lib-link.m4 serial 3 (gettext-0.11.3) +dnl Copyright (C) 2001-2002 Free Software Foundation, Inc. +dnl This file is free software, distributed under the terms of the GNU +dnl General Public License. As a special exception to the GNU General +dnl Public License, this file may be distributed as part of a program +dnl that contains a configuration script generated by Autoconf, under +dnl the same distribution terms as the rest of that program. + +dnl From Bruno Haible. + +dnl AC_LIB_LINKFLAGS(name [, dependencies]) searches for libname and +dnl the libraries corresponding to explicit and implicit dependencies. +dnl Sets and AC_SUBSTs the LIB${NAME} and LTLIB${NAME} variables and +dnl augments the CPPFLAGS variable. +AC_DEFUN([AC_LIB_LINKFLAGS], +[ + AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) + AC_REQUIRE([AC_LIB_RPATH]) + define([Name],[translit([$1],[./-], [___])]) + define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], + [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) + AC_CACHE_CHECK([how to link with lib[]$1], [ac_cv_lib[]Name[]_libs], [ + AC_LIB_LINKFLAGS_BODY([$1], [$2]) + ac_cv_lib[]Name[]_libs="$LIB[]NAME" + ac_cv_lib[]Name[]_ltlibs="$LTLIB[]NAME" + ac_cv_lib[]Name[]_cppflags="$INC[]NAME" + ]) + LIB[]NAME="$ac_cv_lib[]Name[]_libs" + LTLIB[]NAME="$ac_cv_lib[]Name[]_ltlibs" + INC[]NAME="$ac_cv_lib[]Name[]_cppflags" + AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME) + AC_SUBST([LIB]NAME) + AC_SUBST([LTLIB]NAME) + dnl Also set HAVE_LIB[]NAME so that AC_LIB_HAVE_LINKFLAGS can reuse the + dnl results of this search when this library appears as a dependency. + HAVE_LIB[]NAME=yes + undefine([Name]) + undefine([NAME]) +]) + +dnl AC_LIB_HAVE_LINKFLAGS(name, dependencies, includes, testcode) +dnl searches for libname and the libraries corresponding to explicit and +dnl implicit dependencies, together with the specified include files and +dnl the ability to compile and link the specified testcode. If found, it +dnl sets and AC_SUBSTs HAVE_LIB${NAME}=yes and the LIB${NAME} and +dnl LTLIB${NAME} variables and augments the CPPFLAGS variable, and +dnl #defines HAVE_LIB${NAME} to 1. Otherwise, it sets and AC_SUBSTs +dnl HAVE_LIB${NAME}=no and LIB${NAME} and LTLIB${NAME} to empty. +AC_DEFUN([AC_LIB_HAVE_LINKFLAGS], +[ + AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) + AC_REQUIRE([AC_LIB_RPATH]) + define([Name],[translit([$1],[./-], [___])]) + define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], + [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) + + dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME + dnl accordingly. + AC_LIB_LINKFLAGS_BODY([$1], [$2]) + + dnl Add $INC[]NAME to CPPFLAGS before performing the following checks, + dnl because if the user has installed lib[]Name and not disabled its use + dnl via --without-lib[]Name-prefix, he wants to use it. + ac_save_CPPFLAGS="$CPPFLAGS" + AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME) + + AC_CACHE_CHECK([for lib[]$1], [ac_cv_lib[]Name], [ + ac_save_LIBS="$LIBS" + LIBS="$LIBS $LIB[]NAME" + AC_TRY_LINK([$3], [$4], [ac_cv_lib[]Name=yes], [ac_cv_lib[]Name=no]) + LIBS="$ac_save_LIBS" + ]) + if test "$ac_cv_lib[]Name" = yes; then + HAVE_LIB[]NAME=yes + AC_DEFINE([HAVE_LIB]NAME, 1, [Define if you have the $1 library.]) + AC_MSG_CHECKING([how to link with lib[]$1]) + AC_MSG_RESULT([$LIB[]NAME]) + else + HAVE_LIB[]NAME=no + dnl If $LIB[]NAME didn't lead to a usable library, we don't need + dnl $INC[]NAME either. + CPPFLAGS="$ac_save_CPPFLAGS" + LIB[]NAME= + LTLIB[]NAME= + fi + AC_SUBST([HAVE_LIB]NAME) + AC_SUBST([LIB]NAME) + AC_SUBST([LTLIB]NAME) + undefine([Name]) + undefine([NAME]) +]) + +dnl Determine the platform dependent parameters needed to use rpath: +dnl libext, shlibext, hardcode_libdir_flag_spec, hardcode_libdir_separator, +dnl hardcode_direct, hardcode_minus_L, +dnl sys_lib_search_path_spec, sys_lib_dlsearch_path_spec. +AC_DEFUN([AC_LIB_RPATH], +[ + AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS + AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $LD, $with_gnu_ld + AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host + AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT]) dnl we use $ac_aux_dir + AC_CACHE_CHECK([for shared library run path origin], acl_cv_rpath, [ + CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ + ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh + . ./conftest.sh + rm -f ./conftest.sh + acl_cv_rpath=done + ]) + wl="$acl_cv_wl" + libext="$acl_cv_libext" + shlibext="$acl_cv_shlibext" + hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" + hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" + hardcode_direct="$acl_cv_hardcode_direct" + hardcode_minus_L="$acl_cv_hardcode_minus_L" + sys_lib_search_path_spec="$acl_cv_sys_lib_search_path_spec" + sys_lib_dlsearch_path_spec="$acl_cv_sys_lib_dlsearch_path_spec" + dnl Determine whether the user wants rpath handling at all. + AC_ARG_ENABLE(rpath, + [ --disable-rpath do not hardcode runtime library paths], + :, enable_rpath=yes) +]) + +dnl AC_LIB_LINKFLAGS_BODY(name [, dependencies]) searches for libname and +dnl the libraries corresponding to explicit and implicit dependencies. +dnl Sets the LIB${NAME}, LTLIB${NAME} and INC${NAME} variables. +AC_DEFUN([AC_LIB_LINKFLAGS_BODY], +[ + define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], + [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) + dnl By default, look in $includedir and $libdir. + use_additional=yes + AC_LIB_WITH_FINAL_PREFIX([ + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" + ]) + AC_ARG_WITH([lib$1-prefix], +[ --with-lib$1-prefix[=DIR] search for lib$1 in DIR/include and DIR/lib + --without-lib$1-prefix don't search for lib$1 in includedir and libdir], +[ + if test "X$withval" = "Xno"; then + use_additional=no + else + if test "X$withval" = "X"; then + AC_LIB_WITH_FINAL_PREFIX([ + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" + ]) + else + additional_includedir="$withval/include" + additional_libdir="$withval/lib" + fi + fi +]) + dnl Search the library and its dependencies in $additional_libdir and + dnl $LDFLAGS. Using breadth-first-seach. + LIB[]NAME= + LTLIB[]NAME= + INC[]NAME= + rpathdirs= + ltrpathdirs= + names_already_handled= + names_next_round='$1 $2' + while test -n "$names_next_round"; do + names_this_round="$names_next_round" + names_next_round= + for name in $names_this_round; do + already_handled= + for n in $names_already_handled; do + if test "$n" = "$name"; then + already_handled=yes + break + fi + done + if test -z "$already_handled"; then + names_already_handled="$names_already_handled $name" + dnl See if it was already located by an earlier AC_LIB_LINKFLAGS + dnl or AC_LIB_HAVE_LINKFLAGS call. + uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` + eval value=\"\$HAVE_LIB$uppername\" + if test -n "$value"; then + if test "$value" = yes; then + eval value=\"\$LIB$uppername\" + test -z "$value" || LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$value" + eval value=\"\$LTLIB$uppername\" + test -z "$value" || LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$value" + else + dnl An earlier call to AC_LIB_HAVE_LINKFLAGS has determined + dnl that this library doesn't exist. So just drop it. + : + fi + else + dnl Search the library lib$name in $additional_libdir and $LDFLAGS + dnl and the already constructed $LIBNAME/$LTLIBNAME. + found_dir= + found_la= + found_so= + found_a= + if test $use_additional = yes; then + if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then + found_dir="$additional_libdir" + found_so="$additional_libdir/lib$name.$shlibext" + if test -f "$additional_libdir/lib$name.la"; then + found_la="$additional_libdir/lib$name.la" + fi + else + if test -f "$additional_libdir/lib$name.$libext"; then + found_dir="$additional_libdir" + found_a="$additional_libdir/lib$name.$libext" + if test -f "$additional_libdir/lib$name.la"; then + found_la="$additional_libdir/lib$name.la" + fi + fi + fi + fi + if test "X$found_dir" = "X"; then + for x in $LDFLAGS $LTLIB[]NAME; do + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) + case "$x" in + -L*) + dir=`echo "X$x" | sed -e 's/^X-L//'` + if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then + found_dir="$dir" + found_so="$dir/lib$name.$shlibext" + if test -f "$dir/lib$name.la"; then + found_la="$dir/lib$name.la" + fi + else + if test -f "$dir/lib$name.$libext"; then + found_dir="$dir" + found_a="$dir/lib$name.$libext" + if test -f "$dir/lib$name.la"; then + found_la="$dir/lib$name.la" + fi + fi + fi + ;; + esac + if test "X$found_dir" != "X"; then + break + fi + done + fi + if test "X$found_dir" != "X"; then + dnl Found the library. + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name" + if test "X$found_so" != "X"; then + dnl Linking with a shared library. We attempt to hardcode its + dnl directory into the executable's runpath, unless it's the + dnl standard /usr/lib. + if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then + dnl No hardcoding is needed. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" + else + dnl Use an explicit option to hardcode DIR into the resulting + dnl binary. + dnl Potentially add DIR to ltrpathdirs. + dnl The ltrpathdirs will be appended to $LTLIBNAME at the end. + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $found_dir" + fi + dnl The hardcoding into $LIBNAME is system dependent. + if test "$hardcode_direct" = yes; then + dnl Using DIR/libNAME.so during linking hardcodes DIR into the + dnl resulting binary. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" + else + if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then + dnl Use an explicit option to hardcode DIR into the resulting + dnl binary. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" + dnl Potentially add DIR to rpathdirs. + dnl The rpathdirs will be appended to $LIBNAME at the end. + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $found_dir" + fi + else + dnl Rely on "-L$found_dir". + dnl But don't add it if it's already contained in the LDFLAGS + dnl or the already constructed $LIBNAME + haveit= + for x in $LDFLAGS $LIB[]NAME; do + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) + if test "X$x" = "X-L$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir" + fi + if test "$hardcode_minus_L" != no; then + dnl FIXME: Not sure whether we should use + dnl "-L$found_dir -l$name" or "-L$found_dir $found_so" + dnl here. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" + else + dnl We cannot use $hardcode_runpath_var and LD_RUN_PATH + dnl here, because this doesn't fit in flags passed to the + dnl compiler. So give up. No hardcoding. This affects only + dnl very old systems. + dnl FIXME: Not sure whether we should use + dnl "-L$found_dir -l$name" or "-L$found_dir $found_so" + dnl here. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name" + fi + fi + fi + fi + else + if test "X$found_a" != "X"; then + dnl Linking with a static library. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_a" + else + dnl We shouldn't come here, but anyway it's good to have a + dnl fallback. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir -l$name" + fi + fi + dnl Assume the include files are nearby. + additional_includedir= + case "$found_dir" in + */lib | */lib/) + basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'` + additional_includedir="$basedir/include" + ;; + esac + if test "X$additional_includedir" != "X"; then + dnl Potentially add $additional_includedir to $INCNAME. + dnl But don't add it + dnl 1. if it's the standard /usr/include, + dnl 2. if it's /usr/local/include and we are using GCC on Linux, + dnl 3. if it's already present in $CPPFLAGS or the already + dnl constructed $INCNAME, + dnl 4. if it doesn't exist as a directory. + if test "X$additional_includedir" != "X/usr/include"; then + haveit= + if test "X$additional_includedir" = "X/usr/local/include"; then + if test -n "$GCC"; then + case $host_os in + linux*) haveit=yes;; + esac + fi + fi + if test -z "$haveit"; then + for x in $CPPFLAGS $INC[]NAME; do + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) + if test "X$x" = "X-I$additional_includedir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_includedir"; then + dnl Really add $additional_includedir to $INCNAME. + INC[]NAME="${INC[]NAME}${INC[]NAME:+ }-I$additional_includedir" + fi + fi + fi + fi + fi + dnl Look for dependencies. + if test -n "$found_la"; then + dnl Read the .la file. It defines the variables + dnl dlname, library_names, old_library, dependency_libs, current, + dnl age, revision, installed, dlopen, dlpreopen, libdir. + save_libdir="$libdir" + case "$found_la" in + */* | *\\*) . "$found_la" ;; + *) . "./$found_la" ;; + esac + libdir="$save_libdir" + dnl We use only dependency_libs. + for dep in $dependency_libs; do + case "$dep" in + -L*) + additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` + dnl Potentially add $additional_libdir to $LIBNAME and $LTLIBNAME. + dnl But don't add it + dnl 1. if it's the standard /usr/lib, + dnl 2. if it's /usr/local/lib and we are using GCC on Linux, + dnl 3. if it's already present in $LDFLAGS or the already + dnl constructed $LIBNAME, + dnl 4. if it doesn't exist as a directory. + if test "X$additional_libdir" != "X/usr/lib"; then + haveit= + if test "X$additional_libdir" = "X/usr/local/lib"; then + if test -n "$GCC"; then + case $host_os in + linux*) haveit=yes;; + esac + fi + fi + if test -z "$haveit"; then + haveit= + for x in $LDFLAGS $LIB[]NAME; do + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) + if test "X$x" = "X-L$additional_libdir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_libdir"; then + dnl Really add $additional_libdir to $LIBNAME. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$additional_libdir" + fi + fi + haveit= + for x in $LDFLAGS $LTLIB[]NAME; do + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) + if test "X$x" = "X-L$additional_libdir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_libdir"; then + dnl Really add $additional_libdir to $LTLIBNAME. + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$additional_libdir" + fi + fi + fi + fi + ;; + -R*) + dir=`echo "X$dep" | sed -e 's/^X-R//'` + if test "$enable_rpath" != no; then + dnl Potentially add DIR to rpathdirs. + dnl The rpathdirs will be appended to $LIBNAME at the end. + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $dir" + fi + dnl Potentially add DIR to ltrpathdirs. + dnl The ltrpathdirs will be appended to $LTLIBNAME at the end. + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $dir" + fi + fi + ;; + -l*) + dnl Handle this in the next round. + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` + ;; + *.la) + dnl Handle this in the next round. Throw away the .la's + dnl directory; it is already contained in a preceding -L + dnl option. + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` + ;; + *) + dnl Most likely an immediate library name. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$dep" + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$dep" + ;; + esac + done + fi + else + dnl Didn't find the library; assume it is in the system directories + dnl known to the linker and runtime loader. (All the system + dnl directories known to the linker should also be known to the + dnl runtime loader, otherwise the system is severely misconfigured.) + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name" + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name" + fi + fi + fi + done + done + if test "X$rpathdirs" != "X"; then + if test -n "$hardcode_libdir_separator"; then + dnl Weird platform: only the last -rpath option counts, the user must + dnl pass all path elements in one option. We can arrange that for a + dnl single library, but not when more than one $LIBNAMEs are used. + alldirs= + for found_dir in $rpathdirs; do + alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir" + done + dnl Note: hardcode_libdir_flag_spec uses $libdir and $wl. + acl_save_libdir="$libdir" + libdir="$alldirs" + eval flag=\"$hardcode_libdir_flag_spec\" + libdir="$acl_save_libdir" + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag" + else + dnl The -rpath options are cumulative. + for found_dir in $rpathdirs; do + acl_save_libdir="$libdir" + libdir="$found_dir" + eval flag=\"$hardcode_libdir_flag_spec\" + libdir="$acl_save_libdir" + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag" + done + fi + fi + if test "X$ltrpathdirs" != "X"; then + dnl When using libtool, the option that works for both libraries and + dnl executables is -R. The -R options are cumulative. + for found_dir in $ltrpathdirs; do + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir" + done + fi +]) + +dnl AC_LIB_APPENDTOVAR(VAR, CONTENTS) appends the elements of CONTENTS to VAR, +dnl unless already present in VAR. +dnl Works only for CPPFLAGS, not for LIB* variables because that sometimes +dnl contains two or three consecutive elements that belong together. +AC_DEFUN([AC_LIB_APPENDTOVAR], +[ + for element in [$2]; do + haveit= + for x in $[$1]; do + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) + if test "X$x" = "X$element"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + [$1]="${[$1]}${[$1]:+ }$element" + fi + done +]) + +# lib-ld.m4 serial 1 (gettext-0.11) +dnl Copyright (C) 1996-2002 Free Software Foundation, Inc. +dnl This file is free software, distributed under the terms of the GNU +dnl General Public License. As a special exception to the GNU General +dnl Public License, this file may be distributed as part of a program +dnl that contains a configuration script generated by Autoconf, under +dnl the same distribution terms as the rest of that program. + +dnl Subroutines of libtool.m4, +dnl with replacements s/AC_/AC_LIB/ and s/lt_cv/acl_cv/ to avoid collision +dnl with libtool.m4. + +dnl From libtool-1.4. Sets the variable with_gnu_ld to yes or no. +AC_DEFUN([AC_LIB_PROG_LD_GNU], +[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], acl_cv_prog_gnu_ld, +[# I'd rather use --version here, but apparently some GNU ld's only accept -v. +if $LD -v 2>&1 &5; then + acl_cv_prog_gnu_ld=yes +else + acl_cv_prog_gnu_ld=no +fi]) +with_gnu_ld=$acl_cv_prog_gnu_ld +]) + +dnl From libtool-1.4. Sets the variable LD. +AC_DEFUN([AC_LIB_PROG_LD], +[AC_ARG_WITH(gnu-ld, +[ --with-gnu-ld assume the C compiler uses GNU ld [default=no]], +test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no) +AC_REQUIRE([AC_PROG_CC])dnl +AC_REQUIRE([AC_CANONICAL_HOST])dnl +ac_prog=ld +if test "$GCC" = yes; then + # Check if gcc -print-prog-name=ld gives a path. + AC_MSG_CHECKING([for ld used by GCC]) + case $host in + *-*-mingw*) + # gcc leaves a trailing carriage return which upsets mingw + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; + *) + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; + esac + case $ac_prog in + # Accept absolute paths. + [[\\/]* | [A-Za-z]:[\\/]*)] + [re_direlt='/[^/][^/]*/\.\./'] + # Canonicalize the path of ld + ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` + while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do + ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` + done + test -z "$LD" && LD="$ac_prog" + ;; + "") + # If it fails, then pretend we aren't using GCC. + ac_prog=ld + ;; + *) + # If it is relative, then search for the first ld in PATH. + with_gnu_ld=unknown + ;; + esac +elif test "$with_gnu_ld" = yes; then + AC_MSG_CHECKING([for GNU ld]) +else + AC_MSG_CHECKING([for non-GNU ld]) +fi +AC_CACHE_VAL(acl_cv_path_LD, +[if test -z "$LD"; then + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" + for ac_dir in $PATH; do + test -z "$ac_dir" && ac_dir=. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then + acl_cv_path_LD="$ac_dir/$ac_prog" + # Check to see if the program is GNU ld. I'd rather use --version, + # but apparently some GNU ld's only accept -v. + # Break only if it was the GNU/non-GNU ld that we prefer. + if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then + test "$with_gnu_ld" != no && break + else + test "$with_gnu_ld" != yes && break + fi + fi + done + IFS="$ac_save_ifs" +else + acl_cv_path_LD="$LD" # Let the user override the test with a path. +fi]) +LD="$acl_cv_path_LD" +if test -n "$LD"; then + AC_MSG_RESULT($LD) +else + AC_MSG_RESULT(no) +fi +test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH]) +AC_LIB_PROG_LD_GNU +]) + +#serial 6 + +dnl From J. David Anglin. + +dnl HPUX and other systems can't unlink shared text that is being executed. + +AC_DEFUN([jm_FUNC_UNLINK_BUSY_TEXT], +[dnl + AC_CACHE_CHECK([whether a running program can be unlinked], + jm_cv_func_unlink_busy_text, + [ + AC_TRY_RUN([ + main (argc, argv) + int argc; + char **argv; + { + if (!argc) + exit (-1); + exit (unlink (argv[0])); + } + ], + jm_cv_func_unlink_busy_text=yes, + jm_cv_func_unlink_busy_text=no, + jm_cv_func_unlink_busy_text=no + ) + ] + ) + + if test $jm_cv_func_unlink_busy_text = no; then + INSTALL=$ac_install_sh + fi +]) + +#serial 12 + +dnl From Jim Meyering. +dnl +dnl This is not pretty. I've just taken the autoconf code and wrapped +dnl it in an AC_DEFUN. +dnl + +# jm_LIST_MOUNTED_FILESYSTEMS([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]]) +AC_DEFUN([jm_LIST_MOUNTED_FILESYSTEMS], + [ +AC_CHECK_FUNCS(listmntent getmntinfo) +AC_CHECK_HEADERS(mntent.h sys/param.h sys/ucred.h sys/mount.h sys/fs_types.h) + getfsstat_includes="\ +$ac_includes_default +#if HAVE_SYS_PARAM_H +# include /* needed by powerpc-apple-darwin1.3.7 */ +#endif +#if HAVE_SYS_UCRED_H +# include /* needed by powerpc-apple-darwin1.3.7 */ +#endif +#if HAVE_SYS_MOUNT_H +# include +#endif +#if HAVE_SYS_FS_TYPES_H +# include /* needed by powerpc-apple-darwin1.3.7 */ +#endif +" +AC_CHECK_MEMBERS([struct fsstat.f_fstypename],,,[$getfsstat_includes]) + +# Determine how to get the list of mounted filesystems. +ac_list_mounted_fs= + +# If the getmntent function is available but not in the standard library, +# make sure LIBS contains -lsun (on Irix4) or -lseq (on PTX). +AC_FUNC_GETMNTENT + +# This test must precede the ones for getmntent because Unicos-9 is +# reported to have the getmntent function, but its support is incompatible +# with other getmntent implementations. + +# NOTE: Normally, I wouldn't use a check for system type as I've done for +# `CRAY' below since that goes against the whole autoconf philosophy. But +# I think there is too great a chance that some non-Cray system has a +# function named listmntent to risk the false positive. + +if test -z "$ac_list_mounted_fs"; then + # Cray UNICOS 9 + AC_MSG_CHECKING([for listmntent of Cray/Unicos-9]) + AC_CACHE_VAL(fu_cv_sys_mounted_cray_listmntent, + [fu_cv_sys_mounted_cray_listmntent=no + AC_EGREP_CPP(yes, + [#ifdef _CRAY +yes +#endif + ], [test $ac_cv_func_listmntent = yes \ + && fu_cv_sys_mounted_cray_listmntent=yes] + ) + ] + ) + AC_MSG_RESULT($fu_cv_sys_mounted_cray_listmntent) + if test $fu_cv_sys_mounted_cray_listmntent = yes; then + ac_list_mounted_fs=found + AC_DEFINE(MOUNTED_LISTMNTENT, 1, + [Define if there is a function named listmntent that can be used to + list all mounted filesystems. (UNICOS)]) + fi +fi + +if test -z "$ac_list_mounted_fs"; then + # AIX. + AC_MSG_CHECKING([for mntctl function and struct vmount]) + AC_CACHE_VAL(fu_cv_sys_mounted_vmount, + [AC_TRY_CPP([#include ], + fu_cv_sys_mounted_vmount=yes, + fu_cv_sys_mounted_vmount=no)]) + AC_MSG_RESULT($fu_cv_sys_mounted_vmount) + if test $fu_cv_sys_mounted_vmount = yes; then + ac_list_mounted_fs=found + AC_DEFINE(MOUNTED_VMOUNT, 1, + [Define if there is a function named mntctl that can be used to read + the list of mounted filesystems, and there is a system header file + that declares `struct vmount.' (AIX)]) + fi +fi + +if test $ac_cv_func_getmntent = yes; then + + # This system has the getmntent function. + # Determine whether it's the one-argument variant or the two-argument one. + + if test -z "$ac_list_mounted_fs"; then + # 4.3BSD, SunOS, HP-UX, Dynix, Irix + AC_MSG_CHECKING([for one-argument getmntent function]) + AC_CACHE_VAL(fu_cv_sys_mounted_getmntent1, + [AC_TRY_COMPILE([ +/* SunOS 4.1.x /usr/include/mntent.h needs this for FILE */ +#include + +#include +#if !defined MOUNTED +# if defined _PATH_MOUNTED /* GNU libc */ +# define MOUNTED _PATH_MOUNTED +# endif +# if defined MNT_MNTTAB /* HP-UX. */ +# define MOUNTED MNT_MNTTAB +# endif +# if defined MNTTABNAME /* Dynix. */ +# define MOUNTED MNTTABNAME +# endif +#endif +], + [ struct mntent *mnt = 0; char *table = MOUNTED; ], + fu_cv_sys_mounted_getmntent1=yes, + fu_cv_sys_mounted_getmntent1=no)]) + AC_MSG_RESULT($fu_cv_sys_mounted_getmntent1) + if test $fu_cv_sys_mounted_getmntent1 = yes; then + ac_list_mounted_fs=found + AC_DEFINE(MOUNTED_GETMNTENT1, 1, + [Define if there is a function named getmntent for reading the list + of mounted filesystems, and that function takes a single argument. + (4.3BSD, SunOS, HP-UX, Dynix, Irix)]) + fi + fi + + if test -z "$ac_list_mounted_fs"; then + # SVR4 + AC_MSG_CHECKING([for two-argument getmntent function]) + AC_CACHE_VAL(fu_cv_sys_mounted_getmntent2, + [AC_EGREP_HEADER(getmntent, sys/mnttab.h, + fu_cv_sys_mounted_getmntent2=yes, + fu_cv_sys_mounted_getmntent2=no)]) + AC_MSG_RESULT($fu_cv_sys_mounted_getmntent2) + if test $fu_cv_sys_mounted_getmntent2 = yes; then + ac_list_mounted_fs=found + AC_DEFINE(MOUNTED_GETMNTENT2, 1, + [Define if there is a function named getmntent for reading the list of + mounted filesystems, and that function takes two arguments. (SVR4)]) + fi + fi + +fi + +if test -z "$ac_list_mounted_fs"; then + # DEC Alpha running OSF/1, and Apple Darwin 1.3. + # powerpc-apple-darwin1.3.7 needs sys/param.h sys/ucred.h sys/fs_types.h + + AC_MSG_CHECKING([for getfsstat function]) + AC_CACHE_VAL(fu_cv_sys_mounted_getfsstat, + [AC_TRY_LINK([ +#include +#if HAVE_STRUCT_FSSTAT_F_FSTYPENAME +# define FS_TYPE(Ent) ((Ent).f_fstypename) +#else +# define FS_TYPE(Ent) mnt_names[(Ent).f_type] +#endif +]$getfsstat_includes +, + [struct statfs *stats; + int numsys = getfsstat ((struct statfs *)0, 0L, MNT_WAIT); + char *t = FS_TYPE (*stats); ], + fu_cv_sys_mounted_getfsstat=yes, + fu_cv_sys_mounted_getfsstat=no)]) + AC_MSG_RESULT($fu_cv_sys_mounted_getfsstat) + if test $fu_cv_sys_mounted_getfsstat = yes; then + ac_list_mounted_fs=found + AC_DEFINE(MOUNTED_GETFSSTAT, 1, + [Define if there is a function named getfsstat for reading the + list of mounted filesystems. (DEC Alpha running OSF/1)]) + fi +fi + +if test -z "$ac_list_mounted_fs"; then + # SVR3 + AC_MSG_CHECKING([for FIXME existence of three headers]) + AC_CACHE_VAL(fu_cv_sys_mounted_fread_fstyp, + [AC_TRY_CPP([ +#include +#include +#include ], + fu_cv_sys_mounted_fread_fstyp=yes, + fu_cv_sys_mounted_fread_fstyp=no)]) + AC_MSG_RESULT($fu_cv_sys_mounted_fread_fstyp) + if test $fu_cv_sys_mounted_fread_fstyp = yes; then + ac_list_mounted_fs=found + AC_DEFINE(MOUNTED_FREAD_FSTYP, 1, +[Define if (like SVR2) there is no specific function for reading the + list of mounted filesystems, and your system has these header files: + and . (SVR3)]) + fi +fi + +if test -z "$ac_list_mounted_fs"; then + # 4.4BSD and DEC OSF/1. + AC_MSG_CHECKING([for getmntinfo function]) + AC_CACHE_VAL(fu_cv_sys_mounted_getmntinfo, + [ + test "$ac_cv_func_getmntinfo" = yes \ + && fu_cv_sys_mounted_getmntinfo=yes \ + || fu_cv_sys_mounted_getmntinfo=no + ]) + AC_MSG_RESULT($fu_cv_sys_mounted_getmntinfo) + if test $fu_cv_sys_mounted_getmntinfo = yes; then + ac_list_mounted_fs=found + AC_DEFINE(MOUNTED_GETMNTINFO, 1, + [Define if there is a function named getmntinfo for reading the + list of mounted filesystems. (4.4BSD, Darwin)]) + fi +fi + +if test -z "$ac_list_mounted_fs"; then + # Ultrix + AC_MSG_CHECKING([for getmnt function]) + AC_CACHE_VAL(fu_cv_sys_mounted_getmnt, + [AC_TRY_CPP([ +#include +#include ], + fu_cv_sys_mounted_getmnt=yes, + fu_cv_sys_mounted_getmnt=no)]) + AC_MSG_RESULT($fu_cv_sys_mounted_getmnt) + if test $fu_cv_sys_mounted_getmnt = yes; then + ac_list_mounted_fs=found + AC_DEFINE(MOUNTED_GETMNT, 1, + [Define if there is a function named getmnt for reading the list of + mounted filesystems. (Ultrix)]) + fi +fi + +if test -z "$ac_list_mounted_fs"; then + # BeOS + AC_CHECK_FUNCS(next_dev fs_stat_dev) + AC_CHECK_HEADERS(fs_info.h) + AC_MSG_CHECKING([for BEOS mounted file system support functions]) + if test $ac_cv_header_fs_info_h = yes \ + && test $ac_cv_func_next_dev = yes \ + && test $ac_cv_func_fs_stat_dev = yes; then + fu_result=yes + else + fu_result=no + fi + AC_MSG_RESULT($fu_result) + if test $fu_result = yes; then + ac_list_mounted_fs=found + AC_DEFINE(MOUNTED_FS_STAT_DEV, 1, + [Define if there are functions named next_dev and fs_stat_dev for + reading the list of mounted filesystems. (BeOS)]) + fi +fi + +if test -z "$ac_list_mounted_fs"; then + # SVR2 + AC_MSG_CHECKING([whether it is possible to resort to fread on /etc/mnttab]) + AC_CACHE_VAL(fu_cv_sys_mounted_fread, + [AC_TRY_CPP([#include ], + fu_cv_sys_mounted_fread=yes, + fu_cv_sys_mounted_fread=no)]) + AC_MSG_RESULT($fu_cv_sys_mounted_fread) + if test $fu_cv_sys_mounted_fread = yes; then + ac_list_mounted_fs=found + AC_DEFINE(MOUNTED_FREAD, 1, + [Define if there is no specific function for reading the list of + mounted filesystems. fread will be used to read /etc/mnttab. (SVR2) ]) + fi +fi + +if test -z "$ac_list_mounted_fs"; then + AC_MSG_ERROR([could not determine how to read list of mounted filesystems]) + # FIXME -- no need to abort building the whole package + # Can't build mountlist.c or anything that needs its functions +fi + +AS_IF([test $ac_list_mounted_fs = found], [$1], [$2]) + + ]) + +#serial 3 + +dnl From Jim Meyering. +dnl +dnl See if struct statfs has the f_fstypename member. +dnl If so, define HAVE_F_FSTYPENAME_IN_STATFS. +dnl + +AC_DEFUN([jm_FSTYPENAME], + [ + AC_CACHE_CHECK([for f_fstypename in struct statfs], + fu_cv_sys_f_fstypename_in_statfs, + [ + AC_TRY_COMPILE( + [ +#include +#include +#include + ], + [struct statfs s; int i = sizeof s.f_fstypename;], + fu_cv_sys_f_fstypename_in_statfs=yes, + fu_cv_sys_f_fstypename_in_statfs=no + ) + ] + ) + + if test $fu_cv_sys_f_fstypename_in_statfs = yes; then + AC_DEFINE(HAVE_F_FSTYPENAME_IN_STATFS, 1, + [Define if struct statfs has the f_fstypename member.]) + fi + ] +) + +#serial 9 + +# From fileutils/configure.in + +# Try to determine how a program can obtain filesystem usage information. +# If successful, define the appropriate symbol (see fsusage.c) and +# execute ACTION-IF-FOUND. Otherwise, execute ACTION-IF-NOT-FOUND. +# +# jm_FILE_SYSTEM_USAGE([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]]) + +AC_DEFUN([jm_FILE_SYSTEM_USAGE], +[ + +echo "checking how to get filesystem space usage..." +ac_fsusage_space=no + +# Perform only the link test since it seems there are no variants of the +# statvfs function. This check is more than just AC_CHECK_FUNCS(statvfs) +# because that got a false positive on SCO OSR5. Adding the declaration +# of a `struct statvfs' causes this test to fail (as it should) on such +# systems. That system is reported to work fine with STAT_STATFS4 which +# is what it gets when this test fails. +if test $ac_fsusage_space = no; then + # SVR4 + AC_CACHE_CHECK([for statvfs function (SVR4)], fu_cv_sys_stat_statvfs, + [AC_TRY_LINK([#include +#ifdef __GLIBC__ +Do not use statvfs on systems with GNU libc, because that function stats +all preceding entries in /proc/mounts, and that makes df hang if even +one of the corresponding file systems is hard-mounted, but not available. +#endif +#include ], + [struct statvfs fsd; statvfs (0, &fsd);], + fu_cv_sys_stat_statvfs=yes, + fu_cv_sys_stat_statvfs=no)]) + if test $fu_cv_sys_stat_statvfs = yes; then + ac_fsusage_space=yes + AC_DEFINE(STAT_STATVFS, 1, + [ Define if there is a function named statvfs. (SVR4)]) + fi +fi + +if test $ac_fsusage_space = no; then + # DEC Alpha running OSF/1 + AC_MSG_CHECKING([for 3-argument statfs function (DEC OSF/1)]) + AC_CACHE_VAL(fu_cv_sys_stat_statfs3_osf1, + [AC_TRY_RUN([ +#include +#include +#include + main () + { + struct statfs fsd; + fsd.f_fsize = 0; + exit (statfs (".", &fsd, sizeof (struct statfs))); + }], + fu_cv_sys_stat_statfs3_osf1=yes, + fu_cv_sys_stat_statfs3_osf1=no, + fu_cv_sys_stat_statfs3_osf1=no)]) + AC_MSG_RESULT($fu_cv_sys_stat_statfs3_osf1) + if test $fu_cv_sys_stat_statfs3_osf1 = yes; then + ac_fsusage_space=yes + AC_DEFINE(STAT_STATFS3_OSF1, 1, + [ Define if statfs takes 3 args. (DEC Alpha running OSF/1)]) + fi +fi + +if test $ac_fsusage_space = no; then +# AIX + AC_MSG_CHECKING([for two-argument statfs with statfs.bsize dnl +member (AIX, 4.3BSD)]) + AC_CACHE_VAL(fu_cv_sys_stat_statfs2_bsize, + [AC_TRY_RUN([ +#ifdef HAVE_SYS_PARAM_H +#include +#endif +#ifdef HAVE_SYS_MOUNT_H +#include +#endif +#ifdef HAVE_SYS_VFS_H +#include +#endif + main () + { + struct statfs fsd; + fsd.f_bsize = 0; + exit (statfs (".", &fsd)); + }], + fu_cv_sys_stat_statfs2_bsize=yes, + fu_cv_sys_stat_statfs2_bsize=no, + fu_cv_sys_stat_statfs2_bsize=no)]) + AC_MSG_RESULT($fu_cv_sys_stat_statfs2_bsize) + if test $fu_cv_sys_stat_statfs2_bsize = yes; then + ac_fsusage_space=yes + AC_DEFINE(STAT_STATFS2_BSIZE, 1, +[ Define if statfs takes 2 args and struct statfs has a field named f_bsize. + (4.3BSD, SunOS 4, HP-UX, AIX PS/2)]) + fi +fi + +if test $ac_fsusage_space = no; then +# SVR3 + AC_MSG_CHECKING([for four-argument statfs (AIX-3.2.5, SVR3)]) + AC_CACHE_VAL(fu_cv_sys_stat_statfs4, + [AC_TRY_RUN([#include +#include + main () + { + struct statfs fsd; + exit (statfs (".", &fsd, sizeof fsd, 0)); + }], + fu_cv_sys_stat_statfs4=yes, + fu_cv_sys_stat_statfs4=no, + fu_cv_sys_stat_statfs4=no)]) + AC_MSG_RESULT($fu_cv_sys_stat_statfs4) + if test $fu_cv_sys_stat_statfs4 = yes; then + ac_fsusage_space=yes + AC_DEFINE(STAT_STATFS4, 1, + [ Define if statfs takes 4 args. (SVR3, Dynix, Irix, Dolphin)]) + fi +fi + +if test $ac_fsusage_space = no; then +# 4.4BSD and NetBSD + AC_MSG_CHECKING([for two-argument statfs with statfs.fsize dnl +member (4.4BSD and NetBSD)]) + AC_CACHE_VAL(fu_cv_sys_stat_statfs2_fsize, + [AC_TRY_RUN([#include +#ifdef HAVE_SYS_PARAM_H +#include +#endif +#ifdef HAVE_SYS_MOUNT_H +#include +#endif + main () + { + struct statfs fsd; + fsd.f_fsize = 0; + exit (statfs (".", &fsd)); + }], + fu_cv_sys_stat_statfs2_fsize=yes, + fu_cv_sys_stat_statfs2_fsize=no, + fu_cv_sys_stat_statfs2_fsize=no)]) + AC_MSG_RESULT($fu_cv_sys_stat_statfs2_fsize) + if test $fu_cv_sys_stat_statfs2_fsize = yes; then + ac_fsusage_space=yes + AC_DEFINE(STAT_STATFS2_FSIZE, 1, +[ Define if statfs takes 2 args and struct statfs has a field named f_fsize. + (4.4BSD, NetBSD)]) + fi +fi + +if test $ac_fsusage_space = no; then + # Ultrix + AC_MSG_CHECKING([for two-argument statfs with struct fs_data (Ultrix)]) + AC_CACHE_VAL(fu_cv_sys_stat_fs_data, + [AC_TRY_RUN([#include +#ifdef HAVE_SYS_PARAM_H +#include +#endif +#ifdef HAVE_SYS_MOUNT_H +#include +#endif +#ifdef HAVE_SYS_FS_TYPES_H +#include +#endif + main () + { + struct fs_data fsd; + /* Ultrix's statfs returns 1 for success, + 0 for not mounted, -1 for failure. */ + exit (statfs (".", &fsd) != 1); + }], + fu_cv_sys_stat_fs_data=yes, + fu_cv_sys_stat_fs_data=no, + fu_cv_sys_stat_fs_data=no)]) + AC_MSG_RESULT($fu_cv_sys_stat_fs_data) + if test $fu_cv_sys_stat_fs_data = yes; then + ac_fsusage_space=yes + AC_DEFINE(STAT_STATFS2_FS_DATA, 1, +[ Define if statfs takes 2 args and the second argument has + type struct fs_data. (Ultrix)]) + fi +fi + +if test $ac_fsusage_space = no; then + # SVR2 + AC_TRY_CPP([#include + ], + AC_DEFINE(STAT_READ_FILSYS, 1, + [Define if there is no specific function for reading filesystems usage + information and you have the header file. (SVR2)]) + ac_fsusage_space=yes) +fi + +AS_IF([test $ac_fsusage_space = yes], [$1], [$2]) + +]) + +#serial 5 + +# Define some macros required for proper operation of code in lib/*.c +# on MSDOS/Windows systems. + +# From Jim Meyering. + +AC_DEFUN([jm_AC_DOS], + [ + AC_CACHE_CHECK([whether system is Windows or MSDOS], [ac_cv_win_or_dos], + [ + AC_TRY_COMPILE([], + [#if !defined _WIN32 && !defined __WIN32__ && !defined __MSDOS__ +neither MSDOS nor Windows +#endif], + [ac_cv_win_or_dos=yes], + [ac_cv_win_or_dos=no]) + ]) + + if test x"$ac_cv_win_or_dos" = xyes; then + ac_fs_accepts_drive_letter_prefix=1 + ac_fs_backslash_is_file_name_separator=1 + else + ac_fs_accepts_drive_letter_prefix=0 + ac_fs_backslash_is_file_name_separator=0 + fi + + AH_VERBATIM(FILESYSTEM_PREFIX_LEN, + [#if FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX +# define FILESYSTEM_PREFIX_LEN(Filename) \ + ((Filename)[0] && (Filename)[1] == ':' ? 2 : 0) +#else +# define FILESYSTEM_PREFIX_LEN(Filename) 0 +#endif]) + + AC_DEFINE_UNQUOTED([FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX], + $ac_fs_accepts_drive_letter_prefix, + [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.]) + + AH_VERBATIM(ISSLASH, + [#if FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR +# define ISSLASH(C) ((C) == '/' || (C) == '\\') +#else +# define ISSLASH(C) ((C) == '/') +#endif]) + + AC_DEFINE_UNQUOTED([FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR], + $ac_fs_backslash_is_file_name_separator, + [Define if the backslash character may also serve as a file name + component separator.]) + ]) + +#serial 1 +AC_DEFUN([AC_FUNC_CANONICALIZE_FILE_NAME], + [ + AC_REQUIRE([AC_HEADER_STDC]) + AC_CHECK_HEADERS(string.h sys/param.h stddef.h) + AC_CHECK_FUNCS(resolvepath) + AC_REQUIRE([AC_HEADER_STAT]) + + # This would simply be AC_REPLACE_FUNC([canonicalize_file_name]) + # if the function name weren't so long. Besides, I would rather + # not have underscores in file names. + AC_CHECK_FUNC([canonicalize_file_name], , [AC_LIBOBJ(canonicalize)]) + ]) + +#serial 5 + +dnl From Paul Eggert. + +# Define ST_MTIM_NSEC to be the nanoseconds member of struct stat's st_mtim, +# if it exists. + +AC_DEFUN([AC_STRUCT_ST_MTIM_NSEC], + [AC_CACHE_CHECK([for nanoseconds member of struct stat.st_mtim], + ac_cv_struct_st_mtim_nsec, + [ac_save_CPPFLAGS="$CPPFLAGS" + ac_cv_struct_st_mtim_nsec=no + # tv_nsec -- the usual case + # _tv_nsec -- Solaris 2.6, if + # (defined _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED == 1 + # && !defined __EXTENSIONS__) + # st__tim.tv_nsec -- UnixWare 2.1.2 + for ac_val in tv_nsec _tv_nsec st__tim.tv_nsec; do + CPPFLAGS="$ac_save_CPPFLAGS -DST_MTIM_NSEC=$ac_val" + AC_TRY_COMPILE([#include +#include ], [struct stat s; s.st_mtim.ST_MTIM_NSEC;], + [ac_cv_struct_st_mtim_nsec=$ac_val; break]) + done + CPPFLAGS="$ac_save_CPPFLAGS"]) + + if test $ac_cv_struct_st_mtim_nsec != no; then + AC_DEFINE_UNQUOTED(ST_MTIM_NSEC, $ac_cv_struct_st_mtim_nsec, + [Define to be the nanoseconds member of struct stat's st_mtim, + if it exists.]) + fi + ] +) + +#serial 3 + +# Define HAVE_ST_DM_MODE if struct stat has an st_dm_mode member. + +AC_DEFUN([AC_STRUCT_ST_DM_MODE], + [AC_CACHE_CHECK([for st_dm_mode in struct stat], ac_cv_struct_st_dm_mode, + [AC_TRY_COMPILE([#include +#include ], [struct stat s; s.st_dm_mode;], + ac_cv_struct_st_dm_mode=yes, + ac_cv_struct_st_dm_mode=no)]) + + if test $ac_cv_struct_st_dm_mode = yes; then + AC_DEFINE(HAVE_ST_DM_MODE, 1, + [Define if struct stat has an st_dm_mode member. ]) + fi + ] +) + +#serial 5 + +dnl From Jim Meyering + +dnl Define HAVE_STRUCT_TIMESPEC if `struct timespec' is declared +dnl in time.h or sys/time.h. + +AC_DEFUN([jm_CHECK_TYPE_STRUCT_TIMESPEC], +[ + AC_REQUIRE([AC_HEADER_TIME]) + AC_CACHE_CHECK([for struct timespec], fu_cv_sys_struct_timespec, + [AC_TRY_COMPILE( + [ +# if TIME_WITH_SYS_TIME +# include +# include +# else +# if HAVE_SYS_TIME_H +# include +# else +# include +# endif +# endif + ], + [static struct timespec x; x.tv_sec = x.tv_nsec;], + fu_cv_sys_struct_timespec=yes, + fu_cv_sys_struct_timespec=no) + ]) + + if test $fu_cv_sys_struct_timespec = yes; then + AC_DEFINE(HAVE_STRUCT_TIMESPEC, 1, + [Define if struct timespec is declared in . ]) + fi +]) + +#serial 6 +dnl From Jim Meyering and Paul Eggert. +AC_DEFUN([jm_HEADER_TIOCGWINSZ_IN_TERMIOS_H], +[AC_REQUIRE([AC_SYS_POSIX_TERMIOS]) + AC_CACHE_CHECK([whether use of TIOCGWINSZ requires termios.h], + jm_cv_sys_tiocgwinsz_needs_termios_h, + [jm_cv_sys_tiocgwinsz_needs_termios_h=no + + if test $ac_cv_sys_posix_termios = yes; then + AC_EGREP_CPP([yes], + [#include +# include +# ifdef TIOCGWINSZ + yes +# endif + ], jm_cv_sys_tiocgwinsz_needs_termios_h=yes) + fi + ]) +]) + +AC_DEFUN([jm_WINSIZE_IN_PTEM], + [AC_REQUIRE([AC_SYS_POSIX_TERMIOS]) + AC_CACHE_CHECK([whether use of struct winsize requires sys/ptem.h], + jm_cv_sys_struct_winsize_needs_sys_ptem_h, + [jm_cv_sys_struct_winsize_needs_sys_ptem_h=yes + if test $ac_cv_sys_posix_termios = yes; then + AC_TRY_COMPILE([#include ] + [struct winsize x;], + [jm_cv_sys_struct_winsize_needs_sys_ptem_h=no]) + fi + if test $jm_cv_sys_struct_winsize_needs_sys_ptem_h = yes; then + AC_TRY_COMPILE([#include ], + [struct winsize x;], + [], [jm_cv_sys_struct_winsize_needs_sys_ptem_h=no]) + fi]) + if test $jm_cv_sys_struct_winsize_needs_sys_ptem_h = yes; then + AC_DEFINE([WINSIZE_IN_PTEM], 1, + [Define if sys/ptem.h is required for struct winsize.]) + fi]) + +# Determine whether this system has infrastructure for obtaining the boot time. + +# GNULIB_BOOT_TIME([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]]) +* ---------------------------------------------------------- +AC_DEFUN([GNULIB_BOOT_TIME], +[ + AC_CHECK_FUNCS(sysctl) + AC_CHECK_HEADERS(sys/sysctl.h) + AC_CACHE_CHECK( + [whether we can get the system boot time], + [gnulib_cv_have_boot_time], + [ + AC_COMPILE_IFELSE( + [AC_LANG_PROGRAM( +[AC_INCLUDES_DEFAULT +#if HAVE_SYSCTL && HAVE_SYS_SYSCTL_H +# include /* needed for OpenBSD 3.0 */ +# include +#endif +#ifdef HAVE_UTMPX_H +# include +#else +# include +#endif +], +[[ +#if defined BOOT_TIME || (defined CTL_KERN && defined KERN_BOOTTIME) +/* your system *does* have the infrastructure to determine boot time */ +#else +please_tell_us_how_to_determine_boot_time_on_your_system +#endif +]])], + gnulib_cv_have_boot_time=yes, + gnulib_cv_have_boot_time=no) + ]) + AS_IF([test $gnulib_cv_have_boot_time = yes], [$1], [$2]) +]) + +#serial 4 + +AC_DEFUN([jm_HEADER_TIOCGWINSZ_NEEDS_SYS_IOCTL], +[AC_REQUIRE([jm_HEADER_TIOCGWINSZ_IN_TERMIOS_H]) + AC_CACHE_CHECK([whether use of TIOCGWINSZ requires sys/ioctl.h], + jm_cv_sys_tiocgwinsz_needs_sys_ioctl_h, + [jm_cv_sys_tiocgwinsz_needs_sys_ioctl_h=no + + if test $jm_cv_sys_tiocgwinsz_needs_termios_h = no; then + AC_EGREP_CPP([yes], + [#include +# include +# ifdef TIOCGWINSZ + yes +# endif + ], jm_cv_sys_tiocgwinsz_needs_sys_ioctl_h=yes) + fi + ]) + if test $jm_cv_sys_tiocgwinsz_needs_sys_ioctl_h = yes; then + AC_DEFINE(GWINSZ_IN_SYS_IOCTL, 1, + [Define if your system defines TIOCGWINSZ in sys/ioctl.h.]) + fi +]) + +#serial 5 + +dnl Misc lib-related macros for fileutils, sh-utils, textutils. + +AC_DEFUN([jm_LIB_CHECK], +[ + + # Check for libypsec.a on Dolphin M88K machines. + AC_CHECK_LIB(ypsec, main) + + # m88k running dgux 5.4 needs this + AC_CHECK_LIB(ldgc, main) + + # Some programs need to link with -lm. printf does if it uses + # lib/strtod.c which uses pow. And seq uses the math functions, + # floor, modf, rint. And factor uses sqrt. And sleep uses fesetround. + + # Save a copy of $LIBS and add $FLOOR_LIBM before these tests + # Check for these math functions used by seq. + ac_su_saved_lib="$LIBS" + LIBS="$LIBS -lm" + AC_CHECK_FUNCS(floor modf rint) + LIBS="$ac_su_saved_lib" + + AC_SUBST(SQRT_LIBM) + AC_CHECK_FUNCS(sqrt) + if test $ac_cv_func_sqrt = no; then + AC_CHECK_LIB(m, sqrt, [SQRT_LIBM=-lm]) + fi + + AC_SUBST(FESETROUND_LIBM) + AC_CHECK_FUNCS(fesetround) + if test $ac_cv_func_fesetround = no; then + AC_CHECK_LIB(m, fesetround, [FESETROUND_LIBM=-lm]) + fi + + # The -lsun library is required for YP support on Irix-4.0.5 systems. + # m88k/svr3 DolphinOS systems using YP need -lypsec for id. + AC_SEARCH_LIBS(yp_match, [sun ypsec]) + + # SysV needs -lsec, older versions of Linux need -lshadow for + # shadow passwords. UnixWare 7 needs -lgen. + AC_SEARCH_LIBS(getspnam, [shadow sec gen]) + + AC_CHECK_HEADERS(shadow.h) + + # Requirements for su.c. + shadow_includes="\ +$ac_includes_default +#if HAVE_SHADOW_H +# include +#endif +" + AC_CHECK_MEMBERS([struct spwd.sp_pwdp],,,[$shadow_includes]) + AC_CHECK_FUNCS(getspnam) + + # SCO-ODT-3.0 is reported to need -lufc for crypt. + # NetBSD needs -lcrypt for crypt. + ac_su_saved_lib="$LIBS" + AC_SEARCH_LIBS(crypt, [ufc crypt], [LIB_CRYPT="$ac_cv_search_crypt"]) + LIBS="$ac_su_saved_lib" + AC_SUBST(LIB_CRYPT) +]) + +# gettext.m4 serial 17 (gettext-0.11.5) +dnl Copyright (C) 1995-2002 Free Software Foundation, Inc. +dnl This file is free software, distributed under the terms of the GNU +dnl General Public License. As a special exception to the GNU General +dnl Public License, this file may be distributed as part of a program +dnl that contains a configuration script generated by Autoconf, under +dnl the same distribution terms as the rest of that program. +dnl +dnl This file can can be used in projects which are not available under +dnl the GNU General Public License or the GNU Library General Public +dnl License but which still want to provide support for the GNU gettext +dnl functionality. +dnl Please note that the actual code of the GNU gettext library is covered +dnl by the GNU Library General Public License, and the rest of the GNU +dnl gettext package package is covered by the GNU General Public License. +dnl They are *not* in the public domain. + +dnl Authors: +dnl Ulrich Drepper , 1995-2000. +dnl Bruno Haible , 2000-2002. + +dnl Macro to add for using GNU gettext. + +dnl Usage: AM_GNU_GETTEXT([INTLSYMBOL], [NEEDSYMBOL], [INTLDIR]). +dnl INTLSYMBOL can be one of 'external', 'no-libtool', 'use-libtool'. The +dnl default (if it is not specified or empty) is 'no-libtool'. +dnl INTLSYMBOL should be 'external' for packages with no intl directory, +dnl and 'no-libtool' or 'use-libtool' for packages with an intl directory. +dnl If INTLSYMBOL is 'use-libtool', then a libtool library +dnl $(top_builddir)/intl/libintl.la will be created (shared and/or static, +dnl depending on --{enable,disable}-{shared,static} and on the presence of +dnl AM-DISABLE-SHARED). If INTLSYMBOL is 'no-libtool', a static library +dnl $(top_builddir)/intl/libintl.a will be created. +dnl If NEEDSYMBOL is specified and is 'need-ngettext', then GNU gettext +dnl implementations (in libc or libintl) without the ngettext() function +dnl will be ignored. If NEEDSYMBOL is specified and is +dnl 'need-formatstring-macros', then GNU gettext implementations that don't +dnl support the ISO C 99 formatstring macros will be ignored. +dnl INTLDIR is used to find the intl libraries. If empty, +dnl the value `$(top_builddir)/intl/' is used. +dnl +dnl The result of the configuration is one of three cases: +dnl 1) GNU gettext, as included in the intl subdirectory, will be compiled +dnl and used. +dnl Catalog format: GNU --> install in $(datadir) +dnl Catalog extension: .mo after installation, .gmo in source tree +dnl 2) GNU gettext has been found in the system's C library. +dnl Catalog format: GNU --> install in $(datadir) +dnl Catalog extension: .mo after installation, .gmo in source tree +dnl 3) No internationalization, always use English msgid. +dnl Catalog format: none +dnl Catalog extension: none +dnl If INTLSYMBOL is 'external', only cases 2 and 3 can occur. +dnl The use of .gmo is historical (it was needed to avoid overwriting the +dnl GNU format catalogs when building on a platform with an X/Open gettext), +dnl but we keep it in order not to force irrelevant filename changes on the +dnl maintainers. +dnl +AC_DEFUN([AM_GNU_GETTEXT], +[ + dnl Argument checking. + ifelse([$1], [], , [ifelse([$1], [external], , [ifelse([$1], [no-libtool], , [ifelse([$1], [use-libtool], , + [errprint([ERROR: invalid first argument to AM_GNU_GETTEXT +])])])])]) + ifelse([$2], [], , [ifelse([$2], [need-ngettext], , [ifelse([$2], [need-formatstring-macros], , + [errprint([ERROR: invalid second argument to AM_GNU_GETTEXT +])])])]) + define(gt_included_intl, ifelse([$1], [external], [no], [yes])) + define(gt_libtool_suffix_prefix, ifelse([$1], [use-libtool], [l], [])) + + AC_REQUIRE([AM_PO_SUBDIRS])dnl + ifelse(gt_included_intl, yes, [ + AC_REQUIRE([AM_INTL_SUBDIR])dnl + ]) + + dnl Prerequisites of AC_LIB_LINKFLAGS_BODY. + AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) + AC_REQUIRE([AC_LIB_RPATH]) + + dnl Sometimes libintl requires libiconv, so first search for libiconv. + dnl Ideally we would do this search only after the + dnl if test "$USE_NLS" = "yes"; then + dnl if test "$gt_cv_func_gnugettext_libc" != "yes"; then + dnl tests. But if configure.in invokes AM_ICONV after AM_GNU_GETTEXT + dnl the configure script would need to contain the same shell code + dnl again, outside any 'if'. There are two solutions: + dnl - Invoke AM_ICONV_LINKFLAGS_BODY here, outside any 'if'. + dnl - Control the expansions in more detail using AC_PROVIDE_IFELSE. + dnl Since AC_PROVIDE_IFELSE is only in autoconf >= 2.52 and not + dnl documented, we avoid it. + ifelse(gt_included_intl, yes, , [ + AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY]) + ]) + + AC_MSG_CHECKING([whether NLS is requested]) + dnl Default is enabled NLS + AC_ARG_ENABLE(nls, + [ --disable-nls do not use Native Language Support], + USE_NLS=$enableval, USE_NLS=yes) + AC_MSG_RESULT($USE_NLS) + AC_SUBST(USE_NLS) + + ifelse(gt_included_intl, yes, [ + BUILD_INCLUDED_LIBINTL=no + USE_INCLUDED_LIBINTL=no + ]) + LIBINTL= + LTLIBINTL= + POSUB= + + dnl If we use NLS figure out what method + if test "$USE_NLS" = "yes"; then + gt_use_preinstalled_gnugettext=no + ifelse(gt_included_intl, yes, [ + AC_MSG_CHECKING([whether included gettext is requested]) + AC_ARG_WITH(included-gettext, + [ --with-included-gettext use the GNU gettext library included here], + nls_cv_force_use_gnu_gettext=$withval, + nls_cv_force_use_gnu_gettext=no) + AC_MSG_RESULT($nls_cv_force_use_gnu_gettext) + + nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext" + if test "$nls_cv_force_use_gnu_gettext" != "yes"; then + ]) + dnl User does not insist on using GNU NLS library. Figure out what + dnl to use. If GNU gettext is available we use this. Else we have + dnl to fall back to GNU NLS library. + + dnl Add a version number to the cache macros. + define([gt_api_version], ifelse([$2], [need-formatstring-macros], 3, ifelse([$2], [need-ngettext], 2, 1))) + define([gt_cv_func_gnugettext_libc], [gt_cv_func_gnugettext]gt_api_version[_libc]) + define([gt_cv_func_gnugettext_libintl], [gt_cv_func_gnugettext]gt_api_version[_libintl]) + + AC_CACHE_CHECK([for GNU gettext in libc], gt_cv_func_gnugettext_libc, + [AC_TRY_LINK([#include +]ifelse([$2], [need-formatstring-macros], +[#ifndef __GNU_GETTEXT_SUPPORTED_REVISION +#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) +#endif +changequote(,)dnl +typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; +changequote([,])dnl +], [])[extern int _nl_msg_cat_cntr; +extern int *_nl_domain_bindings;], + [bindtextdomain ("", ""); +return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_domain_bindings], + gt_cv_func_gnugettext_libc=yes, + gt_cv_func_gnugettext_libc=no)]) + + if test "$gt_cv_func_gnugettext_libc" != "yes"; then + dnl Sometimes libintl requires libiconv, so first search for libiconv. + ifelse(gt_included_intl, yes, , [ + AM_ICONV_LINK + ]) + dnl Search for libintl and define LIBINTL, LTLIBINTL and INCINTL + dnl accordingly. Don't use AC_LIB_LINKFLAGS_BODY([intl],[iconv]) + dnl because that would add "-liconv" to LIBINTL and LTLIBINTL + dnl even if libiconv doesn't exist. + AC_LIB_LINKFLAGS_BODY([intl]) + AC_CACHE_CHECK([for GNU gettext in libintl], + gt_cv_func_gnugettext_libintl, + [gt_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$CPPFLAGS $INCINTL" + gt_save_LIBS="$LIBS" + LIBS="$LIBS $LIBINTL" + dnl Now see whether libintl exists and does not depend on libiconv. + AC_TRY_LINK([#include +]ifelse([$2], [need-formatstring-macros], +[#ifndef __GNU_GETTEXT_SUPPORTED_REVISION +#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) +#endif +changequote(,)dnl +typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; +changequote([,])dnl +], [])[extern int _nl_msg_cat_cntr; +extern +#ifdef __cplusplus +"C" +#endif +const char *_nl_expand_alias ();], + [bindtextdomain ("", ""); +return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_expand_alias (0)], + gt_cv_func_gnugettext_libintl=yes, + gt_cv_func_gnugettext_libintl=no) + dnl Now see whether libintl exists and depends on libiconv. + if test "$gt_cv_func_gnugettext_libintl" != yes && test -n "$LIBICONV"; then + LIBS="$LIBS $LIBICONV" + AC_TRY_LINK([#include +]ifelse([$2], [need-formatstring-macros], +[#ifndef __GNU_GETTEXT_SUPPORTED_REVISION +#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) +#endif +changequote(,)dnl +typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; +changequote([,])dnl +], [])[extern int _nl_msg_cat_cntr; +extern +#ifdef __cplusplus +"C" +#endif +const char *_nl_expand_alias ();], + [bindtextdomain ("", ""); +return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_expand_alias (0)], + [LIBINTL="$LIBINTL $LIBICONV" + LTLIBINTL="$LTLIBINTL $LTLIBICONV" + gt_cv_func_gnugettext_libintl=yes + ]) + fi + CPPFLAGS="$gt_save_CPPFLAGS" + LIBS="$gt_save_LIBS"]) + fi + + dnl If an already present or preinstalled GNU gettext() is found, + dnl use it. But if this macro is used in GNU gettext, and GNU + dnl gettext is already preinstalled in libintl, we update this + dnl libintl. (Cf. the install rule in intl/Makefile.in.) + if test "$gt_cv_func_gnugettext_libc" = "yes" \ + || { test "$gt_cv_func_gnugettext_libintl" = "yes" \ + && test "$PACKAGE" != gettext; }; then + gt_use_preinstalled_gnugettext=yes + else + dnl Reset the values set by searching for libintl. + LIBINTL= + LTLIBINTL= + INCINTL= + fi + + ifelse(gt_included_intl, yes, [ + if test "$gt_use_preinstalled_gnugettext" != "yes"; then + dnl GNU gettext is not found in the C library. + dnl Fall back on included GNU gettext library. + nls_cv_use_gnu_gettext=yes + fi + fi + + if test "$nls_cv_use_gnu_gettext" = "yes"; then + dnl Mark actions used to generate GNU NLS library. + INTLOBJS="\$(GETTOBJS)" + BUILD_INCLUDED_LIBINTL=yes + USE_INCLUDED_LIBINTL=yes + LIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LIBICONV" + LTLIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LTLIBICONV" + LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'` + fi + + if test "$gt_use_preinstalled_gnugettext" = "yes" \ + || test "$nls_cv_use_gnu_gettext" = "yes"; then + dnl Mark actions to use GNU gettext tools. + CATOBJEXT=.gmo + fi + ]) + + if test "$gt_use_preinstalled_gnugettext" = "yes" \ + || test "$nls_cv_use_gnu_gettext" = "yes"; then + AC_DEFINE(ENABLE_NLS, 1, + [Define to 1 if translation of program messages to the user's native language + is requested.]) + else + USE_NLS=no + fi + fi + + if test "$USE_NLS" = "yes"; then + + if test "$gt_use_preinstalled_gnugettext" = "yes"; then + if test "$gt_cv_func_gnugettext_libintl" = "yes"; then + AC_MSG_CHECKING([how to link with libintl]) + AC_MSG_RESULT([$LIBINTL]) + AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCINTL]) + fi + + dnl For backward compatibility. Some packages may be using this. + AC_DEFINE(HAVE_GETTEXT, 1, + [Define if the GNU gettext() function is already present or preinstalled.]) + AC_DEFINE(HAVE_DCGETTEXT, 1, + [Define if the GNU dcgettext() function is already present or preinstalled.]) + fi + + dnl We need to process the po/ directory. + POSUB=po + fi + + ifelse(gt_included_intl, yes, [ + dnl If this is used in GNU gettext we have to set BUILD_INCLUDED_LIBINTL + dnl to 'yes' because some of the testsuite requires it. + if test "$PACKAGE" = gettext; then + BUILD_INCLUDED_LIBINTL=yes + fi + + dnl Make all variables we use known to autoconf. + AC_SUBST(BUILD_INCLUDED_LIBINTL) + AC_SUBST(USE_INCLUDED_LIBINTL) + AC_SUBST(CATOBJEXT) + AC_SUBST(INTLOBJS) + + dnl For backward compatibility. Some configure.ins may be using this. + nls_cv_header_intl= + nls_cv_header_libgt= + + dnl For backward compatibility. Some Makefiles may be using this. + DATADIRNAME=share + AC_SUBST(DATADIRNAME) + + dnl For backward compatibility. Some Makefiles may be using this. + INSTOBJEXT=.mo + AC_SUBST(INSTOBJEXT) + + dnl For backward compatibility. Some Makefiles may be using this. + GENCAT=gencat + AC_SUBST(GENCAT) + + dnl Enable libtool support if the surrounding package wishes it. + INTL_LIBTOOL_SUFFIX_PREFIX=gt_libtool_suffix_prefix + AC_SUBST(INTL_LIBTOOL_SUFFIX_PREFIX) + ]) + + dnl For backward compatibility. Some Makefiles may be using this. + INTLLIBS="$LIBINTL" + AC_SUBST(INTLLIBS) + + dnl Make all documented variables known to autoconf. + AC_SUBST(LIBINTL) + AC_SUBST(LTLIBINTL) + AC_SUBST(POSUB) +]) + + +dnl Checks for all prerequisites of the po subdirectory, +dnl except for USE_NLS. +AC_DEFUN([AM_PO_SUBDIRS], +[ + AC_REQUIRE([AC_PROG_MAKE_SET])dnl + AC_REQUIRE([AC_PROG_INSTALL])dnl + AC_REQUIRE([AM_MKINSTALLDIRS])dnl + + dnl Perform the following tests also if --disable-nls has been given, + dnl because they are needed for "make dist" to work. + + dnl Search for GNU msgfmt in the PATH. + dnl The first test excludes Solaris msgfmt and early GNU msgfmt versions. + dnl The second test excludes FreeBSD msgfmt. + AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt, + [$ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 && + (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], + :) + AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT) + + dnl Search for GNU xgettext 0.11 or newer in the PATH. + dnl The first test excludes Solaris xgettext and early GNU xgettext versions. + dnl The second test excludes FreeBSD xgettext. + AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, + [$ac_dir/$ac_word --omit-header --copyright-holder= /dev/null >/dev/null 2>&1 && + (if $ac_dir/$ac_word --omit-header --copyright-holder= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], + :) + dnl Remove leftover from FreeBSD xgettext call. + rm -f messages.po + + dnl Search for GNU msgmerge 0.11 or newer in the PATH. + AM_PATH_PROG_WITH_TEST(MSGMERGE, msgmerge, + [$ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1], :) + + dnl This could go away some day; the PATH_PROG_WITH_TEST already does it. + dnl Test whether we really found GNU msgfmt. + if test "$GMSGFMT" != ":"; then + dnl If it is no GNU msgfmt we define it as : so that the + dnl Makefiles still can work. + if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 && + (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then + : ; + else + GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'` + AC_MSG_RESULT( + [found $GMSGFMT program is not GNU msgfmt; ignore it]) + GMSGFMT=":" + fi + fi + + dnl This could go away some day; the PATH_PROG_WITH_TEST already does it. + dnl Test whether we really found GNU xgettext. + if test "$XGETTEXT" != ":"; then + dnl If it is no GNU xgettext we define it as : so that the + dnl Makefiles still can work. + if $XGETTEXT --omit-header --copyright-holder= /dev/null >/dev/null 2>&1 && + (if $XGETTEXT --omit-header --copyright-holder= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then + : ; + else + AC_MSG_RESULT( + [found xgettext program is not GNU xgettext; ignore it]) + XGETTEXT=":" + fi + dnl Remove leftover from FreeBSD xgettext call. + rm -f messages.po + fi + + AC_OUTPUT_COMMANDS([ + for ac_file in $CONFIG_FILES; do + # Support "outfile[:infile[:infile...]]" + case "$ac_file" in + *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; + esac + # PO directories have a Makefile.in generated from Makefile.in.in. + case "$ac_file" in */Makefile.in) + # Adjust a relative srcdir. + ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` + ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" + ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` + # In autoconf-2.13 it is called $ac_given_srcdir. + # In autoconf-2.50 it is called $srcdir. + test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" + case "$ac_given_srcdir" in + .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; + /*) top_srcdir="$ac_given_srcdir" ;; + *) top_srcdir="$ac_dots$ac_given_srcdir" ;; + esac + if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then + rm -f "$ac_dir/POTFILES" + test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" + cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" + # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend + # on $ac_dir but don't depend on user-specified configuration + # parameters. + if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then + # The LINGUAS file contains the set of available languages. + if test -n "$ALL_LINGUAS"; then + test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" + fi + ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"` + # Hide the ALL_LINGUAS assigment from automake. + eval 'ALL_LINGUAS''=$ALL_LINGUAS_' + fi + case "$ac_given_srcdir" in + .) srcdirpre= ;; + *) srcdirpre='$(srcdir)/' ;; + esac + POFILES= + GMOFILES= + UPDATEPOFILES= + DUMMYPOFILES= + for lang in $ALL_LINGUAS; do + POFILES="$POFILES $srcdirpre$lang.po" + GMOFILES="$GMOFILES $srcdirpre$lang.gmo" + UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" + DUMMYPOFILES="$DUMMYPOFILES $lang.nop" + done + # CATALOGS depends on both $ac_dir and the user's LINGUAS + # environment variable. + INST_LINGUAS= + if test -n "$ALL_LINGUAS"; then + for presentlang in $ALL_LINGUAS; do + useit=no + if test "%UNSET%" != "$LINGUAS"; then + desiredlanguages="$LINGUAS" + else + desiredlanguages="$ALL_LINGUAS" + fi + for desiredlang in $desiredlanguages; do + # Use the presentlang catalog if desiredlang is + # a. equal to presentlang, or + # b. a variant of presentlang (because in this case, + # presentlang can be used as a fallback for messages + # which are not translated in the desiredlang catalog). + case "$desiredlang" in + "$presentlang"*) useit=yes;; + esac + done + if test $useit = yes; then + INST_LINGUAS="$INST_LINGUAS $presentlang" + fi + done + fi + CATALOGS= + if test -n "$INST_LINGUAS"; then + for lang in $INST_LINGUAS; do + CATALOGS="$CATALOGS $lang.gmo" + done + fi + test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" + sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" + for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do + if test -f "$f"; then + case "$f" in + *.orig | *.bak | *~) ;; + *) cat "$f" >> "$ac_dir/Makefile" ;; + esac + fi + done + fi + ;; + esac + done], + [# Capture the value of obsolete ALL_LINGUAS because we need it to compute + # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it + # from automake. + eval 'ALL_LINGUAS''="$ALL_LINGUAS"' + # Capture the value of LINGUAS because we need it to compute CATALOGS. + LINGUAS="${LINGUAS-%UNSET%}" + ]) +]) + + +dnl Checks for all prerequisites of the intl subdirectory, +dnl except for INTL_LIBTOOL_SUFFIX_PREFIX (and possibly LIBTOOL), INTLOBJS, +dnl USE_INCLUDED_LIBINTL, BUILD_INCLUDED_LIBINTL. +AC_DEFUN([AM_INTL_SUBDIR], +[ + AC_REQUIRE([AC_PROG_INSTALL])dnl + AC_REQUIRE([AM_MKINSTALLDIRS])dnl + AC_REQUIRE([AC_PROG_CC])dnl + AC_REQUIRE([AC_CANONICAL_HOST])dnl + AC_REQUIRE([AC_PROG_RANLIB])dnl + AC_REQUIRE([AC_ISC_POSIX])dnl + AC_REQUIRE([AC_HEADER_STDC])dnl + AC_REQUIRE([AC_C_CONST])dnl + AC_REQUIRE([AC_C_INLINE])dnl + AC_REQUIRE([AC_TYPE_OFF_T])dnl + AC_REQUIRE([AC_TYPE_SIZE_T])dnl + AC_REQUIRE([AC_FUNC_ALLOCA])dnl + AC_REQUIRE([AC_FUNC_MMAP])dnl + AC_REQUIRE([jm_GLIBC21])dnl + AC_REQUIRE([gt_INTDIV0])dnl + AC_REQUIRE([jm_AC_TYPE_UINTMAX_T])dnl + AC_REQUIRE([gt_INTTYPES_PRI])dnl + + AC_CHECK_HEADERS([argz.h limits.h locale.h nl_types.h malloc.h stddef.h \ +stdlib.h string.h unistd.h sys/param.h]) + AC_CHECK_FUNCS([feof_unlocked fgets_unlocked getc_unlocked getcwd getegid \ +geteuid getgid getuid mempcpy munmap putenv setenv setlocale stpcpy \ +strcasecmp strdup strtoul tsearch __argz_count __argz_stringify __argz_next]) + + AM_ICONV + AM_LANGINFO_CODESET + if test $ac_cv_header_locale_h = yes; then + AM_LC_MESSAGES + fi + + dnl intl/plural.c is generated from intl/plural.y. It requires bison, + dnl because plural.y uses bison specific features. It requires at least + dnl bison-1.26 because earlier versions generate a plural.c that doesn't + dnl compile. + dnl bison is only needed for the maintainer (who touches plural.y). But in + dnl order to avoid separate Makefiles or --enable-maintainer-mode, we put + dnl the rule in general Makefile. Now, some people carelessly touch the + dnl files or have a broken "make" program, hence the plural.c rule will + dnl sometimes fire. To avoid an error, defines BISON to ":" if it is not + dnl present or too old. + AC_CHECK_PROGS([INTLBISON], [bison]) + if test -z "$INTLBISON"; then + ac_verc_fail=yes + else + dnl Found it, now check the version. + AC_MSG_CHECKING([version of bison]) +changequote(<<,>>)dnl + ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'` + case $ac_prog_version in + '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;; + 1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*) +changequote([,])dnl + ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;; + *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;; + esac + AC_MSG_RESULT([$ac_prog_version]) + fi + if test $ac_verc_fail = yes; then + INTLBISON=: + fi +]) + + +AC_DEFUN([AM_MKINSTALLDIRS], +[ + dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly + dnl find the mkinstalldirs script in another subdir but $(top_srcdir). + dnl Try to locate is. + MKINSTALLDIRS= + if test -n "$ac_aux_dir"; then + MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" + fi + if test -z "$MKINSTALLDIRS"; then + MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" + fi + AC_SUBST(MKINSTALLDIRS) +]) + + +dnl Usage: AM_GNU_GETTEXT_VERSION([gettext-version]) +AC_DEFUN([AM_GNU_GETTEXT_VERSION], []) + +# progtest.m4 serial 2 (gettext-0.10.40) +dnl Copyright (C) 1996-2002 Free Software Foundation, Inc. +dnl This file is free software, distributed under the terms of the GNU +dnl General Public License. As a special exception to the GNU General +dnl Public License, this file may be distributed as part of a program +dnl that contains a configuration script generated by Autoconf, under +dnl the same distribution terms as the rest of that program. +dnl +dnl This file can can be used in projects which are not available under +dnl the GNU General Public License or the GNU Library General Public +dnl License but which still want to provide support for the GNU gettext +dnl functionality. +dnl Please note that the actual code of the GNU gettext library is covered +dnl by the GNU Library General Public License, and the rest of the GNU +dnl gettext package package is covered by the GNU General Public License. +dnl They are *not* in the public domain. + +dnl Authors: +dnl Ulrich Drepper , 1996. + +# Search path for a program which passes the given test. + +dnl AM_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR, +dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]]) +AC_DEFUN([AM_PATH_PROG_WITH_TEST], +[# Extract the first word of "$2", so it can be a program name with args. +set dummy $2; ac_word=[$]2 +AC_MSG_CHECKING([for $ac_word]) +AC_CACHE_VAL(ac_cv_path_$1, +[case "[$]$1" in + /*) + ac_cv_path_$1="[$]$1" # Let the user override the test with a path. + ;; + *) + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" + for ac_dir in ifelse([$5], , $PATH, [$5]); do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + if [$3]; then + ac_cv_path_$1="$ac_dir/$ac_word" + break + fi + fi + done + IFS="$ac_save_ifs" +dnl If no 4th arg is given, leave the cache variable unset, +dnl so AC_PATH_PROGS will keep looking. +ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4" +])dnl + ;; +esac])dnl +$1="$ac_cv_path_$1" +if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then + AC_MSG_RESULT([$]$1) +else + AC_MSG_RESULT(no) +fi +AC_SUBST($1)dnl +]) + +# intdiv0.m4 serial 1 (gettext-0.11.3) +dnl Copyright (C) 2002 Free Software Foundation, Inc. +dnl This file is free software, distributed under the terms of the GNU +dnl General Public License. As a special exception to the GNU General +dnl Public License, this file may be distributed as part of a program +dnl that contains a configuration script generated by Autoconf, under +dnl the same distribution terms as the rest of that program. + +dnl From Bruno Haible. + +AC_DEFUN([gt_INTDIV0], +[ + AC_REQUIRE([AC_PROG_CC])dnl + AC_REQUIRE([AC_CANONICAL_HOST])dnl + + AC_CACHE_CHECK([whether integer division by zero raises SIGFPE], + gt_cv_int_divbyzero_sigfpe, + [ + AC_TRY_RUN([ +#include +#include + +static void +#ifdef __cplusplus +sigfpe_handler (int sig) +#else +sigfpe_handler (sig) int sig; +#endif +{ + /* Exit with code 0 if SIGFPE, with code 1 if any other signal. */ + exit (sig != SIGFPE); +} + +int x = 1; +int y = 0; +int z; +int nan; + +int main () +{ + signal (SIGFPE, sigfpe_handler); +/* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP. */ +#if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP) + signal (SIGTRAP, sigfpe_handler); +#endif +/* Linux/SPARC yields signal SIGILL. */ +#if defined (__sparc__) && defined (__linux__) + signal (SIGILL, sigfpe_handler); +#endif + + z = x / y; + nan = y / y; + exit (1); +} +], gt_cv_int_divbyzero_sigfpe=yes, gt_cv_int_divbyzero_sigfpe=no, + [ + # Guess based on the CPU. + case "$host_cpu" in + alpha* | i[34567]86 | m68k | s390*) + gt_cv_int_divbyzero_sigfpe="guessing yes";; + *) + gt_cv_int_divbyzero_sigfpe="guessing no";; + esac + ]) + ]) + case "$gt_cv_int_divbyzero_sigfpe" in + *yes) value=1;; + *) value=0;; + esac + AC_DEFINE_UNQUOTED(INTDIV0_RAISES_SIGFPE, $value, + [Define if integer division by zero raises signal SIGFPE.]) +]) + +# lcmessage.m4 serial 3 (gettext-0.11.3) +dnl Copyright (C) 1995-2002 Free Software Foundation, Inc. +dnl This file is free software, distributed under the terms of the GNU +dnl General Public License. As a special exception to the GNU General +dnl Public License, this file may be distributed as part of a program +dnl that contains a configuration script generated by Autoconf, under +dnl the same distribution terms as the rest of that program. +dnl +dnl This file can can be used in projects which are not available under +dnl the GNU General Public License or the GNU Library General Public +dnl License but which still want to provide support for the GNU gettext +dnl functionality. +dnl Please note that the actual code of the GNU gettext library is covered +dnl by the GNU Library General Public License, and the rest of the GNU +dnl gettext package package is covered by the GNU General Public License. +dnl They are *not* in the public domain. + +dnl Authors: +dnl Ulrich Drepper , 1995. + +# Check whether LC_MESSAGES is available in . + +AC_DEFUN([AM_LC_MESSAGES], +[ + AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES, + [AC_TRY_LINK([#include ], [return LC_MESSAGES], + am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)]) + if test $am_cv_val_LC_MESSAGES = yes; then + AC_DEFINE(HAVE_LC_MESSAGES, 1, + [Define if your file defines LC_MESSAGES.]) + fi +]) + diff --git a/src/apps/bin/coreutils-5.0/announce-gen b/src/apps/bin/coreutils-5.0/announce-gen new file mode 100755 index 0000000000..c885b44aa9 --- /dev/null +++ b/src/apps/bin/coreutils-5.0/announce-gen @@ -0,0 +1,331 @@ +#!/usr/bin/perl -w +# Generate an announcement message. +use strict; + +use Getopt::Long; +use Digest::MD5; +use Digest::SHA1; + +(my $VERSION = '$Revision: 1.1 $ ') =~ tr/[0-9].//cd; +(my $ME = $0) =~ s|.*/||; + +my %valid_release_types = map {$_ => 1} qw (alpha beta major); + +END +{ + # Nobody ever checks the status of print()s. That's okay, because + # if any do fail, we're guaranteed to get an indicator when we close() + # the filehandle. + # + # Close stdout now, and if there were no errors, return happy status. + # If stdout has already been closed by the script, though, do nothing. + defined fileno STDOUT + or return; + close STDOUT + and return; + + # Errors closing stdout. Indicate that, and hope stderr is OK. + warn "$ME: closing standard output: $!\n"; + + # Don't be so arrogant as to assume that we're the first END handler + # defined, and thus the last one invoked. There may be others yet + # to come. $? will be passed on to them, and to the final _exit(). + # + # If it isn't already an error, make it one (and if it _is_ an error, + # preserve the value: it might be important). + $? ||= 1; +} + +sub usage ($) +{ + my ($exit_code) = @_; + my $STREAM = ($exit_code == 0 ? *STDOUT : *STDERR); + if ($exit_code != 0) + { + print $STREAM "Try `$ME --help' for more information.\n"; + } + else + { + my @types = sort keys %valid_release_types; + print $STREAM < sub {$_ eq 'ChangeLog' && -d 'CVS' + and push @changelog, $File::Find::name}}, + '.'); + + # If there are no ChangeLog files, we're done. + @changelog + or return; + my %changelog = map {$_ => 1} @changelog; + + # Reorder the list of files so that if there are ChangeLog + # files in the specified directories, they're listed first, + # in this order: + my @dir = qw ( . src lib m4 config doc ); + + # A typical @changelog array might look like this: + # ./ChangeLog + # ./po/ChangeLog + # ./m4/ChangeLog + # ./lib/ChangeLog + # ./doc/ChangeLog + # ./config/ChangeLog + my @reordered; + foreach my $d (@dir) + { + my $dot_slash = $d eq '.' ? $d : "./$d"; + my $target = "$dot_slash/ChangeLog"; + delete $changelog{$target} + and push @reordered, $target; + } + + # Append any remaining ChangeLog files. + push @reordered, sort keys %changelog; + + # Remove leading `./'. + @reordered = map { s!^\./!!; $_ } @reordered; + + print "\nChangeLog entries:\n\n"; + # print join ("\n", @reordered), "\n"; + + $prev_version =~ s/\./_/g; + my $prev_cvs_tag = "\U$package_name\E-$prev_version"; + + my $cmd = "cvs -n diff -u -r$prev_cvs_tag -rHEAD @reordered"; + open DIFF, '-|', $cmd + or die "$ME: cannot run `$cmd': $!\n"; + # Print two types of lines, making minor changes: + # Lines starting with `+++ ', e.g., + # +++ ChangeLog 22 Feb 2003 16:52:51 -0000 1.247 + # and those starting with `+'. + # Don't print the others. + my $prev_printed_line_empty = 1; + while (defined (my $line = )) + { + if ($line =~ /^\+\+\+ /) + { + my $separator = "*"x70 ."\n"; + $line =~ s///; + $line =~ s/\s.*//; + $prev_printed_line_empty + or print "\n"; + print $separator, $line, $separator; + } + elsif ($line =~ /^\+/) + { + $line =~ s///; + print $line; + $prev_printed_line_empty = ($line =~ /^$/); + } + } + close DIFF; + + # The exit code should be 1. + # Allow in case there are no modified ChangeLog entries. + $? == 256 || $? == 128 + or warn "$ME: warning: `cmd' had unexpected exit code or signal ($?)\n"; +} + +{ + my $release_type; + my $package_name; + my $prev_version; + my $curr_version; + my $release_archive_dir; + my @url_dir_list; + my $news_file; + + GetOptions + ( + 'release-type=s' => \$release_type, + 'package-name=s' => \$package_name, + 'previous-version=s' => \$prev_version, + 'current-version=s' => \$curr_version, + 'release-archive-directory=s' => \$release_archive_dir, + 'url-directory=s@' => \@url_dir_list, + 'news=s@' => \$news_file, + + help => sub { usage 0 }, + version => sub { print "$ME version $VERSION\n"; exit }, + ) or usage 1; + + my $fail = 0; + # Ensure that sure each required option is specified. + $release_type + or (warn "$ME: release type not specified\n"), $fail = 1; + $package_name + or (warn "$ME: package name not specified\n"), $fail = 1; + $prev_version + or (warn "$ME: previous version string not specified\n"), $fail = 1; + $curr_version + or (warn "$ME: current version string not specified\n"), $fail = 1; + $release_archive_dir + or (warn "$ME: release directory name not specified\n"), $fail = 1; + @url_dir_list + or (warn "$ME: URL directory name(s) not specified\n"), $fail = 1; + + exists $valid_release_types{$release_type} + or (warn "$ME: `$release_type': invalid release type\n"), $fail = 1; + + @ARGV + and (warn "$ME: too many arguments\n"), $fail = 1; + $fail + and usage 1; + + my $my_distdir = "$package_name-$curr_version"; + my $tgz = "$my_distdir.tar.gz"; + my $tbz = "$my_distdir.tar.bz2"; + my $xd = "$package_name-$prev_version-$curr_version.xdelta"; + + my %size; + + foreach my $f (($tgz, $tbz, $xd)) + { + my $cmd = "du --human $f"; + my $t = `$cmd`; + # FIXME-someday: give a better diagnostic, a la $PROCESS_STATUS + $@ + and (warn "$ME: command failed: `$cmd'\n"), $fail = 1; + chomp $t; + $t =~ s/^([\d.]+[MkK]).*/${1}B/; + $size{$f} = $t; + } + + $fail + and exit 1; + + print < + +FIXME: put comments here + +EOF + + print "Here are the compressed sources:\n"; + foreach my $url (@url_dir_list) + { + print " $url/$tgz ($size{$tgz})\n"; + print " $url/$tbz ($size{$tbz})\n"; + } + + print "\nAnd here are xdelta-style diffs:\n"; + foreach my $url (@url_dir_list) + { + print " $url/$xd ($size{$xd})\n"; + } + + print "\nHere are GPG detached signatures:\n"; + foreach my $url (@url_dir_list) + { + print " $url/$tgz.sig\n"; + print " $url/$tbz.sig\n"; + } + + # FIXME: clean up upon interrupt or die + my $tmpdir = $ENV{TMPDIR} || '/tmp'; + my $tmp = "$tmpdir/$ME-$$"; + unlink $tmp; # ignore failure + + print "\nHere are the MD5 and SHA1 signatures:\n"; + print "\n"; + print "<#part type=text/plain filename=\"$tmp\" disposition=inline>\n" + . "<#/part>\n"; + + open OUT, '>', $tmp + or die "$ME: $tmp: cannot open for writing: $!\n"; + + foreach my $meth (qw (md5 sha1)) + { + foreach my $f (($tgz, $tbz, $xd)) + { + open IN, '<', $f + or die "$ME: $f: cannot open for reading: $!\n"; + binmode IN; + my $dig = + ($meth eq 'md5' + ? Digest::MD5->new->addfile(*IN)->hexdigest + : Digest::SHA1->new->addfile(*IN)->hexdigest); + close IN; + print OUT "$dig $f\n"; + } + } + + close OUT + or die "$ME: $tmp: while writing: $!\n"; + chmod 0400, $tmp; # ignore failure + + if ($news_file) + { + print "\nNEWS\n\n"; + + # Print all lines from $news_file, starting with the first one + # that mentions $curr_version up to but not including + # the first occurrence of $prev_version. + my $in_items; + open NEWS, '<', $news_file + or die "$ME: $news_file: cannot open for reading: $!\n"; + while (defined (my $line = )) + { + if ( ! $in_items) + { + $line =~ /^[^ *].*\Q$curr_version\E/o + or next; + $in_items = 1; + print $line; + } + else + { + # Be careful that this regexp cannot match version numbers + # in NEWS items -- they might well say `introduced in 4.5.5', + # and we don't want that to match. + $line =~ /^[^ *].*\Q$prev_version\E/o + and last; + print $line; + } + } + close NEWS; + + $in_items + or die "$ME: $news_file: no matching lines\n"; + } + + $release_type eq 'major' + or print_changelog_deltas ($package_name, $prev_version); + + exit 0; +} diff --git a/src/apps/bin/coreutils-5.0/config.h b/src/apps/bin/coreutils-5.0/config.h new file mode 100644 index 0000000000..a7e1d8f750 --- /dev/null +++ b/src/apps/bin/coreutils-5.0/config.h @@ -0,0 +1,1431 @@ +/* config.h. Generated by configure. */ +/* config.hin. Generated from configure.ac by autoheader. */ + +/* Define if you have the Andrew File System. */ +/* #undef AFS */ + +/* Define to the function xargmatch calls on failures. */ +#define ARGMATCH_DIE usage (1) + +/* Define to the declaration of the xargmatch failure function. */ +#define ARGMATCH_DIE_DECL extern void usage () + +/* 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 to 1 if using `getloadavg.c'. */ +#define C_GETLOADAVG 1 + +/* Define to 1 for DGUX with . */ +/* #undef DGUX */ + +/* 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 getpagesize() 4096 + +/* Define if there is a member named d_ino in the struct describing directory + headers. */ +#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 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 FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 + +/* Define if the backslash character may also serve as a file name component + separator. */ +#define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 + +#if FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX +# define FILESYSTEM_PREFIX_LEN(Filename) \ + ((Filename)[0] && (Filename)[1] == ':' ? 2 : 0) +#else +# define FILESYSTEM_PREFIX_LEN(Filename) 0 +#endif + +/* Define to the type of elements in the array set by `getgroups'. Usually + this is either `int' or `gid_t'. */ +#define GETGROUPS_T gid_t + +/* Define to 1 if the `getloadavg' function needs to be run setuid or setgid. + */ +/* #undef GETLOADAVG_PRIVILEGED */ + +/* Define if gettimeofday clobbers localtime's static buffer. */ +/* #undef GETTIMEOFDAY_CLOBBERS_LOCALTIME_BUFFER */ + +/* The concatenation of the strings `GNU ', and PACKAGE. */ +#define GNU_PACKAGE "GNU coreutils" + +/* Define if your system defines TIOCGWINSZ in sys/ioctl.h. */ +/* #undef GWINSZ_IN_SYS_IOCTL */ + +/* Define if your system defines TIOCGWINSZ in sys/pty.h. */ +/* #undef GWINSZ_IN_SYS_PTY */ + +/* Define to 1 if you have the `acl' function. */ +/* #undef HAVE_ACL */ + +/* Define to 1 if you have the `alarm' function. */ +#define HAVE_ALARM 1 + +/* Define to 1 if you have `alloca', as a function or macro. */ +#define HAVE_ALLOCA 1 + +/* Define to 1 if you have and it should be used (not on Ultrix). + */ +#define HAVE_ALLOCA_H 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_ARPA_INET_H */ + +/* Define to 1 if you have the `atexit' function. */ +#define HAVE_ATEXIT 1 + +/* Define to 1 if you have the `bcopy' function. */ +#define HAVE_BCOPY 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_BP_SYM_H */ + +/* Define to 1 if you have the `btowc' function. */ +#define HAVE_BTOWC 1 + +/* Define to 1 if you have the `chroot' function. */ +/* #undef HAVE_CHROOT */ + +/* Define to 1 if you have the `chsize' function. */ +/* #undef HAVE_CHSIZE */ + +/* Define to 1 if you have the `clock_gettime' function. */ +/* #undef HAVE_CLOCK_GETTIME */ + +/* Define to 1 if you have the `clock_settime' function. */ +/* #undef HAVE_CLOCK_SETTIME */ + +/* Define if backslash-a works in C strings. */ +#define HAVE_C_BACKSLASH_A 1 + +/* FIXME */ +#define HAVE_C_LINE 1 + +/* Define if the GNU dcgettext() function is already present or preinstalled. + */ +/* #undef HAVE_DCGETTEXT */ + +/* Define to 1 if you have the declaration of `clearerr_unlocked', and to 0 if + you don't. */ +#define HAVE_DECL_CLEARERR_UNLOCKED 1 + +/* Define to 1 if you have the declaration of `dirfd', and to 0 if you don't. + */ +#define HAVE_DECL_DIRFD 0 + +/* Define to 1 if you have the declaration of `euidaccess', and to 0 if you + don't. */ +#define HAVE_DECL_EUIDACCESS 0 + +/* Define to 1 if you have the declaration of `feof_unlocked', and to 0 if you + don't. */ +#define HAVE_DECL_FEOF_UNLOCKED 1 + +/* Define to 1 if you have the declaration of `ferror_unlocked', and to 0 if + you don't. */ +#define HAVE_DECL_FERROR_UNLOCKED 1 + +/* Define to 1 if you have the declaration of `fflush_unlocked', and to 0 if + you don't. */ +#define HAVE_DECL_FFLUSH_UNLOCKED 1 + +/* Define to 1 if you have the declaration of `fgets_unlocked', and to 0 if + you don't. */ +#define HAVE_DECL_FGETS_UNLOCKED 0 + +/* Define to 1 if you have the declaration of `fputc_unlocked', and to 0 if + you don't. */ +#define HAVE_DECL_FPUTC_UNLOCKED 1 + +/* Define to 1 if you have the declaration of `fputs_unlocked', and to 0 if + you don't. */ +#define HAVE_DECL_FPUTS_UNLOCKED 0 + +/* Define to 1 if you have the declaration of `fread_unlocked', and to 0 if + you don't. */ +#define HAVE_DECL_FREAD_UNLOCKED 1 + +/* Define to 1 if you have the declaration of `free', and to 0 if you don't. + */ +#define HAVE_DECL_FREE 1 + +/* Define to 1 if you have the declaration of `fwrite_unlocked', and to 0 if + you don't. */ +#define HAVE_DECL_FWRITE_UNLOCKED 1 + +/* Define to 1 if you have the declaration of `getchar_unlocked', and to 0 if + you don't. */ +#define HAVE_DECL_GETCHAR_UNLOCKED 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 `getenv', and to 0 if you don't. + */ +#define HAVE_DECL_GETENV 1 + +/* Define to 1 if you have the declaration of `geteuid', and to 0 if you + don't. */ +#define HAVE_DECL_GETEUID 1 + +/* Define to 1 if you have the declaration of `getgrgid', and to 0 if you + don't. */ +#define HAVE_DECL_GETGRGID 1 + +/* Define to 1 if you have the declaration of `getlogin', and to 0 if you + don't. */ +#define HAVE_DECL_GETLOGIN 1 + +/* Define to 1 if you have the declaration of `getpwuid', and to 0 if you + don't. */ +#define HAVE_DECL_GETPWUID 1 + +/* Define to 1 if you have the declaration of `getuid', and to 0 if you don't. + */ +#define HAVE_DECL_GETUID 1 + +/* Define to 1 if you have the declaration of `getutent', and to 0 if you + don't. */ +#define HAVE_DECL_GETUTENT 0 + +/* Define to 1 if you have the declaration of `lseek', and to 0 if you don't. + */ +#define HAVE_DECL_LSEEK 1 + +/* Define to 1 if you have the declaration of `malloc', and to 0 if you don't. + */ +#define HAVE_DECL_MALLOC 1 + +/* Define to 1 if you have the declaration of `memchr', and to 0 if you don't. + */ +#define HAVE_DECL_MEMCHR 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 `nanosleep', and to 0 if you + don't. */ +#define HAVE_DECL_NANOSLEEP 0 + +/* Define to 1 if you have the declaration of `putchar_unlocked', and to 0 if + you don't. */ +#define HAVE_DECL_PUTCHAR_UNLOCKED 1 + +/* Define to 1 if you have the declaration of `putc_unlocked', and to 0 if you + don't. */ +#define HAVE_DECL_PUTC_UNLOCKED 1 + +/* Define to 1 if you have the declaration of `realloc', and to 0 if you + don't. */ +#define HAVE_DECL_REALLOC 1 + +/* Define to 1 if you have the declaration of `stpcpy', and to 0 if you don't. + */ +#define HAVE_DECL_STPCPY 1 + +/* Define to 1 if you have the declaration of `strerror', and to 0 if you + don't. */ +#define HAVE_DECL_STRERROR 1 + +/* 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 `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 0 + +/* Define to 1 if you have the declaration of `strsignal', and to 0 if you + don't. */ +#define HAVE_DECL_STRSIGNAL 1 + +/* Define to 1 if you have the declaration of `strstr', and to 0 if you don't. + */ +#define HAVE_DECL_STRSTR 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 `strtol', and to 0 if you don't. + */ +#define HAVE_DECL_STRTOL 1 + +/* Define to 1 if you have the declaration of `strtoll', and to 0 if you + don't. */ +#define HAVE_DECL_STRTOLL 1 + +/* Define to 1 if you have the declaration of `strtoul', and to 0 if you + don't. */ +#define HAVE_DECL_STRTOUL 1 + +/* Define to 1 if you have the declaration of `strtoull', and to 0 if you + don't. */ +#define HAVE_DECL_STRTOULL 1 + +/* 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 `sys_siglist', and to 0 if you + don't. */ +#define HAVE_DECL_SYS_SIGLIST 0 + +/* Define to 1 if you have the declaration of `ttyname', and to 0 if you + don't. */ +#define HAVE_DECL_TTYNAME 1 + +/* Define to 1 if you have the declaration of wcwidth(), and to 0 otherwise. + */ +#define HAVE_DECL_WCWIDTH 0 + +/* Define to 1 if you have the declaration of `_sys_siglist', and to 0 if you + don't. */ +#define HAVE_DECL__SYS_SIGLIST 0 + +/* 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 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 `endpwent' function. */ +#define HAVE_ENDPWENT 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_ERRNO_H 1 + +/* Define to 1 if you have the `euidaccess' function. */ +/* #undef HAVE_EUIDACCESS */ + +/* Define to 1 if you have the `fchdir' function. */ +/* #undef HAVE_FCHDIR */ + +/* Define to 1 if you have the header file. */ +#define HAVE_FCNTL_H 1 + +/* Define to 1 if you have the `fdatasync' function. */ +/* #undef HAVE_FDATASYNC */ + +/* Define to 1 if you have the `fesetround' function. */ +#define HAVE_FESETROUND 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_FLOAT_H 1 + +/* Define to 1 if you have the `floor' function. */ +/* #undef HAVE_FLOOR */ + +/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */ +/* #undef HAVE_FSEEKO */ + +/* Define to 1 if you have the 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 `ftime' function. */ +#define HAVE_FTIME 1 + +/* Define to 1 if you have the `ftruncate' function. */ +#define HAVE_FTRUNCATE 1 + +/* Define if struct statfs has the f_fstypename member. */ +/* #undef HAVE_F_FSTYPENAME_IN_STATFS */ + +/* Define to 1 if you have the `getcwd' function. */ +#define HAVE_GETCWD 1 + +/* Define if getcwd (NULL, 0) allocates memory for result. */ +#define HAVE_GETCWD_NULL 1 + +/* Define to 1 if you have the `getdelim' function. */ +/* #undef HAVE_GETDELIM */ + +/* Define to 1 if your system has a working `getgroups' function. */ +#define HAVE_GETGROUPS 1 + +/* Define to 1 if you have the `gethostbyaddr' function. */ +#define HAVE_GETHOSTBYADDR 1 + +/* Define to 1 if you have the `gethostbyname' function. */ +#define HAVE_GETHOSTBYNAME 1 + +/* Define to 1 if you have the `gethostid' function. */ +/* #undef HAVE_GETHOSTID */ + +/* Define to 1 if you have the `gethostname' function. */ +#define HAVE_GETHOSTNAME 1 + +/* Define to 1 if you have the `gethrtime' function. */ +/* #undef HAVE_GETHRTIME */ + +/* Define to 1 if you have the `getloadavg' function. */ +/* #undef HAVE_GETLOADAVG */ + +/* 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 `getpagesize' function. */ +/* #undef HAVE_GETPAGESIZE */ + +/* Define to 1 if you have the `getpass' function. */ +/* #undef HAVE_GETPASS */ + +/* Define to 1 if you have the `getspnam' function. */ +/* #undef HAVE_GETSPNAM */ + +/* Define to 1 if you have the `getsysinfo' function. */ +/* #undef HAVE_GETSYSINFO */ + +/* Define if the GNU gettext() function is already present or preinstalled. */ +/* #undef HAVE_GETTEXT */ + +/* Define to 1 if you have the `gettimeofday' function. */ +#define HAVE_GETTIMEOFDAY 1 + +/* Define to 1 if you have the `getusershell' function. */ +/* #undef HAVE_GETUSERSHELL */ + +/* Define to 1 if you have the header file. */ +#define HAVE_GRP_H 1 + +/* Define to 1 if you have the `hasmntopt' function. */ +/* #undef HAVE_HASMNTOPT */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_HURD_H */ + +/* Define if you have the iconv() function. */ +/* #undef HAVE_ICONV */ + +/* Define to 1 if you have the `inet_ntoa' function. */ +#define HAVE_INET_NTOA 1 + +/* Define to 1 if you have the `initgroups' function. */ +/* #undef HAVE_INITGROUPS */ + +/* Define to 1 if you have the header file. */ +#define HAVE_INTTYPES_H 1 + +/* Define to 1 if you have the `isascii' function. */ +#define HAVE_ISASCII 1 + +/* Define to 1 if you have the `iswcntrl' function. */ +#define HAVE_ISWCNTRL 1 + +/* Define to 1 if you have the `iswprint' function. */ +#define HAVE_ISWPRINT 1 + +/* Define to 1 if you have the `iswspace' function. */ +#define HAVE_ISWSPACE 1 + +/* Define if you have and nl_langinfo(CODESET). */ +/* #undef HAVE_LANGINFO_CODESET */ + +/* Define to 1 if you have the `lchown' function. */ +/* #undef HAVE_LCHOWN */ + +/* Define to 1 if you have the `dgc' library (-ldgc). */ +/* #undef HAVE_LIBDGC */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_LIBINTL_H */ + +/* Define to 1 if you have the `kstat' library (-lkstat). */ +/* #undef HAVE_LIBKSTAT */ + +/* Define to 1 if you have the `ldgc' library (-lldgc). */ +/* #undef HAVE_LIBLDGC */ + +/* Define to 1 if you have the `os' library (-los). */ +/* #undef HAVE_LIBOS */ + +/* Define to 1 if you have the `ypsec' library (-lypsec). */ +/* #undef HAVE_LIBYPSEC */ + +/* Define to 1 if you have the 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 `localeconv' function. */ +#define HAVE_LOCALECONV 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_LOCALE_H 1 + +/* Define to 1 if you have the `localtime_r' function. */ +#define HAVE_LOCALTIME_R 1 + +/* Define to 1 if long double works and has more range or precision than + double. */ +/* #undef HAVE_LONG_DOUBLE */ + +/* Define to 1 if you support file names longer than 14 characters. */ +#define HAVE_LONG_FILE_NAMES 1 + +/* Define if you have the long long type. */ +#define HAVE_LONG_LONG 1 + +/* Define if lstat has the bug that it succeeds when given the zero-length + file name argument. The lstat from SunOS4.1.4 and the Hurd as of + 1998-11-01) do this. */ +/* #undef HAVE_LSTAT_EMPTY_STRING_BUG */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_MACHINE_HAL_SYSINFO_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_MACH_MACH_H */ + +/* Define to 1 if your system has a GNU libc compatible `malloc' function, and + to 0 otherwise. */ +#define HAVE_MALLOC 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 mbrtowc and mbstate_t are properly declared. */ +/* #undef HAVE_MBRTOWC */ + +/* 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 declares mbstate_t. */ +/* #undef HAVE_MBSTATE_T */ + +/* Define to 1 if you have the `memchr' function. */ +#define HAVE_MEMCHR 1 + +/* Define to 1 if you have the `memcmp' function. */ +#define HAVE_MEMCMP 1 + +/* Define to 1 if you have the `memcpy' function. */ +#define HAVE_MEMCPY 1 + +/* Define to 1 if you have the `memmove' function. */ +#define HAVE_MEMMOVE 1 + +/* Define to 1 if you have the 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. */ +/* #undef HAVE_MEMRCHR */ + +/* Define to 1 if you have the `memset' function. */ +#define HAVE_MEMSET 1 + +/* Define to 1 if you have the `mkfifo' function. */ +#define HAVE_MKFIFO 1 + +/* Define to 1 if you have the `mkstemp' function. */ +#define HAVE_MKSTEMP 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_MNTENT_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_MNTTAB_H */ + +/* Define to 1 if you have the `modf' function. */ +/* #undef HAVE_MODF */ + +/* Define to 1 if you have the header file, and it defines `DIR'. */ +/* #undef HAVE_NDIR_H */ + +/* Define to 1 if you have the header file. */ +#define HAVE_NETDB_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_NETINET_IN_H 1 + +/* Define to 1 if you have the `next_dev' function. */ +#define HAVE_NEXT_DEV 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_NLIST_H */ + +/* Define to 1 if libc includes obstacks. */ +#define HAVE_OBSTACK 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_OS_H 1 + +/* Define to 1 if you have the `pathconf' function. */ +#define HAVE_PATHCONF 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_PATHS_H */ + +/* Define if your system has the /proc/uptime special file. */ +/* #undef HAVE_PROC_UPTIME */ + +/* Define to 1 if you have the `pstat_getdynamic' function. */ +/* #undef HAVE_PSTAT_GETDYNAMIC */ + +/* Define to 1 if you have the `pstat_getstatic' function. */ +/* #undef HAVE_PSTAT_GETSTATIC */ + +/* Define to 1 if you have the header file. */ +#define HAVE_PWD_H 1 + +/* Define to 1 if you have the `raise' function. */ +#define HAVE_RAISE 1 + +/* Define to 1 if your system has a GNU libc compatible `realloc' function, + and to 0 otherwise. */ +#define HAVE_REALLOC 1 + +/* Define to 1 if you have the `realpath' function. */ +/* #undef HAVE_REALPATH */ + +/* Define to 1 if you have the `resolvepath' function. */ +/* #undef HAVE_RESOLVEPATH */ + +/* Define to 1 if you have the `rint' function. */ +/* #undef HAVE_RINT */ + +/* Define to 1 if you have the `rmdir' function. */ +#define HAVE_RMDIR 1 + +/* Define to 1 if you have the `rpmatch' function. */ +/* #undef HAVE_RPMATCH */ + +/* Define to 1 if you have the `sethostname' function. */ +/* #undef HAVE_SETHOSTNAME */ + +/* Define to 1 if you have the `setlocale' function. */ +#define HAVE_SETLOCALE 1 + +/* Define to 1 if you have the `setregid' function. */ +/* #undef HAVE_SETREGID */ + +/* Define to 1 if you have the `setreuid' function. */ +/* #undef HAVE_SETREUID */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SHADOW_H */ + +/* Define to 1 if you have the `sig2str' function. */ +/* #undef HAVE_SIG2STR */ + +/* Define to 1 if you have the `sqrt' function. */ +#define HAVE_SQRT 1 + +/* Define to 1 if you have the `statvfs' function. */ +#define HAVE_STATVFS 1 + +/* Define if stat has the bug that it succeeds when given the zero-length file + name argument. The stat from SunOS4.1.4 and the Hurd as of 1998-11-01) do + this. */ +/* #undef HAVE_STAT_EMPTY_STRING_BUG */ + +/* Define to 1 if stdbool.h conforms to C99. */ +// #define HAVE_STDBOOL_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_STDDEF_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_STDINT_H 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_STDIO_EXT_H */ + +/* Define to 1 if you have the 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 `strcasecmp' function. */ +#define HAVE_STRCASECMP 1 + +/* Define to 1 if you have the `strchr' function. */ +#define HAVE_STRCHR 1 + +/* Define to 1 if you have the `strcspn' function. */ +#define HAVE_STRCSPN 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 header file. */ +#define HAVE_STRINGS_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_STRING_H 1 + +/* Define to 1 if you have the `strncasecmp' function. */ +#define HAVE_STRNCASECMP 1 + +/* Define to 1 if you have the `strndup' function. */ +/* #undef HAVE_STRNDUP */ + +/* Define to 1 if you have the `strpbrk' function. */ +#define HAVE_STRPBRK 1 + +/* Define to 1 if you have the `strrchr' function. */ +#define HAVE_STRRCHR 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. */ +/* #undef HAVE_STRTOLL */ + +/* Define to 1 if you have the `strtoul' function. */ +#define HAVE_STRTOUL 1 + +/* Define to 1 if you have the `strtoull' function. */ +/* #undef HAVE_STRTOULL */ + +/* Define to 1 if you have the `strtoumax' function. */ +#define HAVE_STRTOUMAX 1 + +/* Define if there is a member named d_type in the struct describing directory + headers. */ +/* #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 `n_un.n_name' is member of `struct nlist'. */ +/* #undef HAVE_STRUCT_NLIST_N_UN_N_NAME */ + +/* Define to 1 if `sp_pwdp' is member of `struct spwd'. */ +/* #undef HAVE_STRUCT_SPWD_SP_PWDP */ + +/* Define to 1 if `f_basetype' is member of `struct statfs'. */ +/* #undef HAVE_STRUCT_STATFS_F_BASETYPE */ + +/* Define to 1 if `f_fsid.__val' is member of `struct statfs'. */ +/* #undef HAVE_STRUCT_STATFS_F_FSID___VAL */ + +/* Define to 1 if `f_fstypename' is member of `struct statfs'. */ +/* #undef HAVE_STRUCT_STATFS_F_FSTYPENAME */ + +/* Define to 1 if `f_namelen' is member of `struct statfs'. */ +/* #undef HAVE_STRUCT_STATFS_F_NAMELEN */ + +/* Define to 1 if `f_namemax' is member of `struct statfs'. */ +/* #undef HAVE_STRUCT_STATFS_F_NAMEMAX */ + +/* Define to 1 if `f_type' is member of `struct statfs'. */ +/* #undef HAVE_STRUCT_STATFS_F_TYPE */ + +/* Define to 1 if `f_basetype' is member of `struct statvfs'. */ +/* #undef HAVE_STRUCT_STATVFS_F_BASETYPE */ + +/* Define to 1 if `f_fsid.__val' is member of `struct statvfs'. */ +/* #undef HAVE_STRUCT_STATVFS_F_FSID___VAL */ + +/* Define to 1 if `f_namelen' is member of `struct statvfs'. */ +/* #undef HAVE_STRUCT_STATVFS_F_NAMELEN */ + +/* Define to 1 if `f_namemax' is member of `struct statvfs'. */ +#define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 + +/* Define to 1 if `f_type' is member of `struct statvfs'. */ +/* #undef HAVE_STRUCT_STATVFS_F_TYPE */ + +/* Define to 1 if `st_author' is member of `struct stat'. */ +/* #undef HAVE_STRUCT_STAT_ST_AUTHOR */ + +/* Define to 1 if `st_blksize' is member of `struct stat'. */ +#define HAVE_STRUCT_STAT_ST_BLKSIZE 1 + +/* Define to 1 if `st_blocks' is member of `struct stat'. */ +/* #undef HAVE_STRUCT_STAT_ST_BLOCKS */ + +/* Define if struct timespec is declared in . */ +#define HAVE_STRUCT_TIMESPEC 1 + +/* Define to 1 if `tm_zone' is member of `struct tm'. */ +#define HAVE_STRUCT_TM_TM_ZONE 1 + +/* Define if struct utimbuf is declared -- usually in . Some systems + have utime.h but don't declare the struct anywhere. */ +#define HAVE_STRUCT_UTIMBUF 1 + +/* Define to 1 if `ut_exit.e_exit' is member of `struct utmpx'. */ +/* #undef HAVE_STRUCT_UTMPX_UT_EXIT_E_EXIT */ + +/* Define to 1 if `ut_exit.e_termination' is member of `struct utmpx'. */ +/* #undef HAVE_STRUCT_UTMPX_UT_EXIT_E_TERMINATION */ + +/* Define to 1 if `ut_exit.ut_exit' is member of `struct utmpx'. */ +/* #undef HAVE_STRUCT_UTMPX_UT_EXIT_UT_EXIT */ + +/* Define to 1 if `ut_exit.ut_termination' is member of `struct utmpx'. */ +/* #undef HAVE_STRUCT_UTMPX_UT_EXIT_UT_TERMINATION */ + +/* Define to 1 if `ut_id' is member of `struct utmpx'. */ +/* #undef HAVE_STRUCT_UTMPX_UT_ID */ + +/* Define to 1 if `ut_name' is member of `struct utmpx'. */ +/* #undef HAVE_STRUCT_UTMPX_UT_NAME */ + +/* Define to 1 if `ut_pid' is member of `struct utmpx'. */ +/* #undef HAVE_STRUCT_UTMPX_UT_PID */ + +/* Define to 1 if `ut_type' is member of `struct utmpx'. */ +/* #undef HAVE_STRUCT_UTMPX_UT_TYPE */ + +/* Define to 1 if `ut_user' is member of `struct utmpx'. */ +/* #undef HAVE_STRUCT_UTMPX_UT_USER */ + +/* Define to 1 if `ut_exit.e_exit' is member of `struct utmp'. */ +/* #undef HAVE_STRUCT_UTMP_UT_EXIT_E_EXIT */ + +/* Define to 1 if `ut_exit.e_termination' is member of `struct utmp'. */ +/* #undef HAVE_STRUCT_UTMP_UT_EXIT_E_TERMINATION */ + +/* Define to 1 if `ut_exit.ut_exit' is member of `struct utmp'. */ +/* #undef HAVE_STRUCT_UTMP_UT_EXIT_UT_EXIT */ + +/* Define to 1 if `ut_exit.ut_termination' is member of `struct utmp'. */ +/* #undef HAVE_STRUCT_UTMP_UT_EXIT_UT_TERMINATION */ + +/* Define to 1 if `ut_id' is member of `struct utmp'. */ +/* #undef HAVE_STRUCT_UTMP_UT_ID */ + +/* Define to 1 if `ut_name' is member of `struct utmp'. */ +/* #undef HAVE_STRUCT_UTMP_UT_NAME */ + +/* Define to 1 if `ut_pid' is member of `struct utmp'. */ +/* #undef HAVE_STRUCT_UTMP_UT_PID */ + +/* Define to 1 if `ut_type' is member of `struct utmp'. */ +/* #undef HAVE_STRUCT_UTMP_UT_TYPE */ + +/* Define to 1 if `ut_user' is member of `struct utmp'. */ +/* #undef HAVE_STRUCT_UTMP_UT_USER */ + +/* Define to 1 if you have the `strverscmp' function. */ +/* #undef HAVE_STRVERSCMP */ + +/* Define to 1 if your `struct stat' has `st_blocks'. Deprecated, use + `HAVE_STRUCT_STAT_ST_BLOCKS' instead. */ +/* #undef HAVE_ST_BLOCKS */ + +/* Define if struct stat has an st_dm_mode member. */ +/* #undef HAVE_ST_DM_MODE */ + +/* Define to 1 if you have the `sysctl' function. */ +/* #undef HAVE_SYSCTL */ + +/* Define to 1 if you have the `sysinfo' function. */ +/* #undef HAVE_SYSINFO */ + +/* FIXME */ +/* #undef HAVE_SYSLOG */ + +/* Define to 1 if you have the header file. */ +#define HAVE_SYSLOG_H 1 + +/* Define to 1 if you have the `sysmp' function. */ +/* #undef HAVE_SYSMP */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SYS_ACL_H */ + +/* Define to 1 if you have the header file, and it defines `DIR'. + */ +/* #undef HAVE_SYS_DIR_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SYS_FILSYS_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SYS_FSTYP_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SYS_FS_S5PARAM_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SYS_FS_TYPES_H */ + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_IOCTL_H 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SYS_MNTENT_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SYS_MOUNT_H */ + +/* Define to 1 if you have the header file, and it defines `DIR'. + */ +/* #undef HAVE_SYS_NDIR_H */ + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_PARAM_H 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SYS_PSTAT_H */ + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_RESOURCE_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_SOCKET_H 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SYS_STATFS_H */ + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_STATVFS_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_STAT_H 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SYS_SYSCTL_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SYS_SYSINFO_H */ + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_SYSMACROS_H 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SYS_SYSMP_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SYS_SYSTEMCFG_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SYS_SYSTEMINFO_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SYS_TABLE_H */ + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_TIMEB_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_TIME_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_TYPES_H 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SYS_UCRED_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SYS_VFS_H */ + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_WAIT_H 1 + +/* Define to 1 if you have the `table' function. */ +/* #undef HAVE_TABLE */ + +/* Define to 1 if you have the header file. */ +#define HAVE_TERMIOS_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 `uname' function. */ +#define HAVE_UNAME 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_UNISTD_H 1 + +/* Define if you have the unsigned long long type. */ +#define HAVE_UNSIGNED_LONG_LONG 1 + +/* Define to 1 if you have the `utime' function. */ +/* #undef HAVE_UTIME */ +#define HAVE_UTIME 1 + +/* Define if utimes accepts a null argument */ +/* #undef HAVE_UTIMES_NULL */ + +/* Define to 1 if you have the header file. */ +#define HAVE_UTIME_H 1 + +/* Define to 1 if `utime(file, NULL)' sets file's timestamp to the present. */ +#define HAVE_UTIME_NULL 1 + +/* Define to 1 if you have the `utmpname' function. */ +/* #undef HAVE_UTMPNAME */ + +/* Define to 1 if you have the `utmpxname' function. */ +/* #undef HAVE_UTMPXNAME */ + +/* FIXME */ +/* #undef HAVE_UTMPX_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_UTMP_H */ + +/* FIXME */ +/* #undef HAVE_UT_HOST */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_VALUES_H */ + +/* Define to 1 if you have the `vprintf' function. */ +#define HAVE_VPRINTF 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_WCHAR_H 1 + +/* Define to 1 if you have the `wcrtomb' function. */ +#define HAVE_WCRTOMB 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_WCTYPE_H */ + +/* Define to 1 if you have the `wcwidth' function. */ +/* #undef HAVE_WCWIDTH */ + +/* Define to 1 if you have the `wmempcpy' function. */ +/* #undef HAVE_WMEMPCPY */ + +/* Define to 1 if you have the external variable, _system_configuration with a + member named physmem. */ +/* #undef HAVE__SYSTEM_CONFIGURATION */ + +/* Define to 1 if you have the `__fpending' function. */ +/* #undef HAVE___FPENDING */ + +/* Define to 1 if you have the `__secure_getenv' function. */ +/* #undef HAVE___SECURE_GETENV */ + +/* The host operating system. */ +#define HOST_OPERATING_SYSTEM "BeOS" + +/* Define as const if the declaration of iconv() needs const. */ +/* #undef ICONV_CONST */ + +#if FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR +# define ISSLASH(C) ((C) == '/' || (C) == '\\') +#else +# define ISSLASH(C) ((C) == '/') +#endif + +/* Define if `link(2)' dereferences symbolic links. */ +/* #undef LINK_FOLLOWS_SYMLINKS */ + +/* FIXME */ +#define LOCALTIME_CACHE 1 + +/* Define to 1 if `lstat' dereferences a symlink specified with a trailing + slash. */ +#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 + +/* Define to 1 if `major', `minor', and `makedev' are declared in . + */ +/* #undef MAJOR_IN_MKDEV */ + +/* Define to 1 if `major', `minor', and `makedev' are declared in + . */ +#define MAJOR_IN_SYSMACROS 1 + +/* Define if there is no specific function for reading the list of mounted + filesystems. 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 filesystems, and your system has these header files: + and . (SVR3) */ +/* #undef MOUNTED_FREAD_FSTYP */ + +/* Define if there are functions named next_dev and fs_stat_dev for reading + the list of mounted filesystems. (BeOS) */ +#define MOUNTED_FS_STAT_DEV 1 + +/* Define if there is a function named getfsstat for reading the list of + mounted filesystems. (DEC Alpha running OSF/1) */ +/* #undef MOUNTED_GETFSSTAT */ + +/* Define if there is a function named getmnt for reading the list of mounted + filesystems. (Ultrix) */ +/* #undef MOUNTED_GETMNT */ + +/* Define if there is a function named getmntent for reading the list of + mounted filesystems, 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 filesystems, and that function takes two arguments. (SVR4) */ +/* #undef MOUNTED_GETMNTENT2 */ + +/* Define if there is a function named getmntinfo for reading the list of + mounted filesystems. (4.4BSD, Darwin) */ +/* #undef MOUNTED_GETMNTINFO */ + +/* Define if there is a function named listmntent that can be used to list all + mounted filesystems. (UNICOS) */ +/* #undef MOUNTED_LISTMNTENT */ + +/* Define if there is a function named mntctl that can be used to read the + list of mounted filesystems, and there is a system header file that + declares `struct vmount.' (AIX) */ +/* #undef MOUNTED_VMOUNT */ + +/* Define to 1 if assertions should be disabled. */ +/* #undef NDEBUG */ + +/* FIXME */ +/* #undef NICE_PRIORITY */ + +/* Define to 1 if your `struct nlist' has an `n_un' member. Obsolete, depend + on `HAVE_STRUCT_NLIST_N_UN_N_NAME */ +/* #undef NLIST_NAME_UNION */ + +/* Name of package */ +#define PACKAGE "coreutils" + +/* Define to the address where bug reports for this package should be sent. */ +#define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" + +/* Define to the full name of this package. */ +#define PACKAGE_NAME "GNU coreutils" + +/* Define to the full name and version of this package. */ +#define PACKAGE_STRING "GNU coreutils 5.0" + +/* Define to the one symbol short name of this package. */ +#define PACKAGE_TARNAME "coreutils" + +/* Define to the version of this package. */ +#define PACKAGE_VERSION "5.0" + +/* the number of pending output bytes on stream `fp' */ +#define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base + +/* Define if exists and defines unusable PRI* macros. */ +/* #undef PRI_MACROS_BROKEN */ + +/* Define to 1 if the C compiler supports function prototypes. */ +#define PROTOTYPES 1 + +/* Define if rename does not work for source paths with a trailing slash, like + the one from SunOS 4.1.1_U1. */ +#define RENAME_TRAILING_SLASH_BUG 1 + +/* Define as the return type of signal handlers (`int' or `void'). */ +#define RETSIGTYPE void + +/* the value to which errno is set when rmdir fails on a nonempty directory */ +#define RMDIR_ERRNO_NOT_EMPTY -2147459066 + +/* Define to 1 if the `setvbuf' function takes the buffering type as its + second argument and the buffer pointer as the third, as on System V before + release 3. */ +/* #undef SETVBUF_REVERSED */ + +/* 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 run-time. + 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 if the block counts reported by statfs may be truncated to 2GB and + the correct values may be stored in the f_spare array. (SunOS 4.1.2, 4.1.3, + and 4.1.3_U1 are reported to have this problem. SunOS 4.1.1 seems not to be + affected.) */ +/* #undef STATFS_TRUNCATES_BLOCK_COUNTS */ + +/* Define to 1 if the `S_IS*' macros in do not work properly. */ +/* #undef STAT_MACROS_BROKEN */ + +/* Define if there is no specific function for reading filesystems usage + information and you have the header file. (SVR2) */ +/* #undef STAT_READ_FILSYS */ + +/* Define if statfs takes 2 args and struct statfs has a field named f_bsize. + (4.3BSD, SunOS 4, HP-UX, AIX PS/2) */ +/* #undef STAT_STATFS2_BSIZE */ + +/* Define if statfs takes 2 args and struct statfs has a field named f_fsize. + (4.4BSD, NetBSD) */ +/* #undef STAT_STATFS2_FSIZE */ + +/* Define if statfs takes 2 args and the second argument has type struct + fs_data. (Ultrix) */ +/* #undef STAT_STATFS2_FS_DATA */ + +/* Define if statfs takes 3 args. (DEC Alpha running OSF/1) */ +/* #undef STAT_STATFS3_OSF1 */ + +/* Define if statfs takes 4 args. (SVR3, Dynix, Irix, Dolphin) */ +/* #undef STAT_STATFS4 */ + +/* Define if there is a function named statvfs. (SVR4) */ +#define STAT_STATVFS 1 + +/* Define to 1 if you have the ANSI C header files. */ +#define STDC_HEADERS 1 + +/* Define to 1 if strerror_r returns char *. */ +#define STRERROR_R_CHAR_P 1 + +/* Define to be the nanoseconds member of struct stat's st_mtim, if it exists. + */ +/* #undef ST_MTIM_NSEC */ + +/* Define to 1 on System V Release 4. */ +/* #undef SVR4 */ + +/* FIXME */ +/* #undef TERMIOS_NEEDS_XOPEN_SOURCE */ + +/* Define to 1 if you can safely include both and . */ +#define TIME_WITH_SYS_TIME 1 + +/* Define to 1 if your declares `struct tm'. */ +/* #undef TM_IN_SYS_TIME */ + +/* Define to 1 for Encore UMAX. */ +/* #undef UMAX */ + +/* Define to 1 for Encore UMAX 4.3 that has instead of + . */ +/* #undef UMAX4_3 */ + +/* the maximum number of simultaneously open files per process */ +#define UTILS_OPEN_MAX 122 + +/* Version number of package */ +#define VERSION "5.0" + +/* Define if sys/ptem.h is required for struct winsize. */ +/* #undef WINSIZE_IN_PTEM */ + +/* Define to 1 if your processor stores words with the most significant byte + first (like Motorola and SPARC, unlike Intel and VAX). */ +/* #undef WORDS_BIGENDIAN */ + +/* Define to 1 if on AIX 3. + System headers sometimes define this. + We just want to avoid a redefinition error message. */ +#ifndef _ALL_SOURCE +/* # undef _ALL_SOURCE */ +#endif + +/* 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 like PROTOTYPES; this can be used by system headers. */ +#define __PROTOTYPES 1 + +/* Define to rpl_chown if the replacement function should be used. */ +#define chown rpl_chown + +/* Define to empty if `const' does not conform to ANSI C. */ +/* #undef const */ + +/* Define to rpl_fnmatch if the replacement function should be used. */ +#define fnmatch rpl_fnmatch + +/* Define to rpl_getcwd if the wrapper function should be used. */ +#define getcwd rpl_getcwd + +/* Define as rpl_getgroups if getgroups doesn't work right. */ +/* #undef getgroups */ + +/* Define to rpl_gettimeofday if the replacement function should be used. */ +/* #undef gettimeofday */ + +/* Define to `int' if doesn't define. */ +/* #undef gid_t */ + +/* Define as `__inline' if that's what the C compiler calls it, or to nothing + if it is not supported. */ +/* #undef inline */ + +/* Define to `unsigned long' if does not define. */ +/* #undef ino_t */ + +/* Define to widest signed type if doesn't define. */ +/* #undef intmax_t */ + +/* Define to rpl_localtime if the replacement function should be used. */ +/* #undef localtime */ + +/* Define to `unsigned int' if does not define. */ +#define major_t unsigned int + +/* Define to rpl_malloc if the replacement function should be used. */ +/* #undef malloc */ + +/* Define to a type if does not define. */ +#define mbstate_t int + +/* Define to rpl_memcmp if the replacement function should be used. */ +/* #undef memcmp */ + +/* Define to `unsigned int' if does not define. */ +#define minor_t unsigned int + +/* Define to rpl_mkdir if the replacement function should be used. */ +#define mkdir rpl_mkdir + +/* Define to rpl_mkstemp if the replacement function should be used. */ +/* #undef mkstemp */ + +/* Define to rpl_mktime if the replacement function should be used. */ +#define mktime rpl_mktime + +/* Define to `int' if does not define. */ +/* #undef mode_t */ + +/* Define to the name of the strftime replacement function. */ +#define my_strftime nstrftime + +/* Define to rpl_nanosleep if the replacement function should be used. */ +#define nanosleep rpl_nanosleep + +/* Define to `long' if does not define. */ +/* #undef off_t */ + +/* Define to `int' if does not define. */ +/* #undef pid_t */ + +/* Define to rpl_putenv if the replacement function should be used. */ +#define putenv rpl_putenv + +/* Define to rpl_realloc if the replacement function should be used. */ +/* #undef realloc */ + +/* Define to equivalent of C99 restrict keyword, or to nothing if this is not + supported. Do not define if restrict is supported directly. */ +#define restrict __restrict__ + +/* Define to `unsigned' if does not define. */ +/* #undef size_t */ + +/* Define to `int' if does not define. */ +/* #undef ssize_t */ + +/* Define to `int' if doesn't define. */ +/* #undef uid_t */ + +/* Define to widest unsigned type if doesn't define. */ +/* #undef uintmax_t */ + +/* Define to empty if the keyword `volatile' does not work. Warning: valid + code using `volatile' can become incorrect without. Disable with care. */ +/* #undef volatile */ diff --git a/src/apps/bin/coreutils-5.0/config.hin b/src/apps/bin/coreutils-5.0/config.hin new file mode 100644 index 0000000000..312b40f99f --- /dev/null +++ b/src/apps/bin/coreutils-5.0/config.hin @@ -0,0 +1,1429 @@ +/* config.hin. Generated from configure.ac by autoheader. */ + +/* Define if you have the Andrew File System. */ +#undef AFS + +/* Define to the function xargmatch calls on failures. */ +#undef ARGMATCH_DIE + +/* Define to the declaration of the xargmatch failure function. */ +#undef ARGMATCH_DIE_DECL + +/* 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 to 1 if using `getloadavg.c'. */ +#undef C_GETLOADAVG + +/* Define to 1 for DGUX with . */ +#undef DGUX + +/* 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 if there is a member named d_ino in the struct describing directory + headers. */ +#undef D_INO_IN_DIRENT + +/* Define to 1 if translation of program messages to the user's native + language is requested. */ +#undef ENABLE_NLS + +/* 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. */ +#undef FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX + +/* Define if the backslash character may also serve as a file name component + separator. */ +#undef FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR + +#if FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX +# define FILESYSTEM_PREFIX_LEN(Filename) \ + ((Filename)[0] && (Filename)[1] == ':' ? 2 : 0) +#else +# define FILESYSTEM_PREFIX_LEN(Filename) 0 +#endif + +/* Define to the type of elements in the array set by `getgroups'. Usually + this is either `int' or `gid_t'. */ +#undef GETGROUPS_T + +/* Define to 1 if the `getloadavg' function needs to be run setuid or setgid. + */ +#undef GETLOADAVG_PRIVILEGED + +/* Define if gettimeofday clobbers localtime's static buffer. */ +#undef GETTIMEOFDAY_CLOBBERS_LOCALTIME_BUFFER + +/* The concatenation of the strings `GNU ', and PACKAGE. */ +#undef GNU_PACKAGE + +/* Define if your system defines TIOCGWINSZ in sys/ioctl.h. */ +#undef GWINSZ_IN_SYS_IOCTL + +/* Define if your system defines TIOCGWINSZ in sys/pty.h. */ +#undef GWINSZ_IN_SYS_PTY + +/* Define to 1 if you have the `acl' function. */ +#undef HAVE_ACL + +/* Define to 1 if you have the `alarm' function. */ +#undef HAVE_ALARM + +/* Define to 1 if you have `alloca', as a function or macro. */ +#undef HAVE_ALLOCA + +/* Define to 1 if you have and it should be used (not on Ultrix). + */ +#undef HAVE_ALLOCA_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_ARPA_INET_H + +/* Define to 1 if you have the `atexit' function. */ +#undef HAVE_ATEXIT + +/* Define to 1 if you have the `bcopy' function. */ +#undef HAVE_BCOPY + +/* Define to 1 if you have the header file. */ +#undef HAVE_BP_SYM_H + +/* Define to 1 if you have the `btowc' function. */ +#undef HAVE_BTOWC + +/* Define to 1 if you have the `chroot' function. */ +#undef HAVE_CHROOT + +/* Define to 1 if you have the `chsize' function. */ +#undef HAVE_CHSIZE + +/* Define to 1 if you have the `clock_gettime' function. */ +#undef HAVE_CLOCK_GETTIME + +/* Define to 1 if you have the `clock_settime' function. */ +#undef HAVE_CLOCK_SETTIME + +/* Define if backslash-a works in C strings. */ +#undef HAVE_C_BACKSLASH_A + +/* FIXME */ +#undef HAVE_C_LINE + +/* Define if the GNU dcgettext() function is already present or preinstalled. + */ +#undef HAVE_DCGETTEXT + +/* Define to 1 if you have the declaration of `clearerr_unlocked', and to 0 if + you don't. */ +#undef HAVE_DECL_CLEARERR_UNLOCKED + +/* Define to 1 if you have the declaration of `dirfd', and to 0 if you don't. + */ +#undef HAVE_DECL_DIRFD + +/* Define to 1 if you have the declaration of `euidaccess', and to 0 if you + don't. */ +#undef HAVE_DECL_EUIDACCESS + +/* Define to 1 if you have the declaration of `feof_unlocked', and to 0 if you + don't. */ +#undef HAVE_DECL_FEOF_UNLOCKED + +/* Define to 1 if you have the declaration of `ferror_unlocked', and to 0 if + you don't. */ +#undef HAVE_DECL_FERROR_UNLOCKED + +/* Define to 1 if you have the declaration of `fflush_unlocked', and to 0 if + you don't. */ +#undef HAVE_DECL_FFLUSH_UNLOCKED + +/* Define to 1 if you have the declaration of `fgets_unlocked', and to 0 if + you don't. */ +#undef HAVE_DECL_FGETS_UNLOCKED + +/* Define to 1 if you have the declaration of `fputc_unlocked', and to 0 if + you don't. */ +#undef HAVE_DECL_FPUTC_UNLOCKED + +/* Define to 1 if you have the declaration of `fputs_unlocked', and to 0 if + you don't. */ +#undef HAVE_DECL_FPUTS_UNLOCKED + +/* Define to 1 if you have the declaration of `fread_unlocked', and to 0 if + you don't. */ +#undef HAVE_DECL_FREAD_UNLOCKED + +/* Define to 1 if you have the declaration of `free', and to 0 if you don't. + */ +#undef HAVE_DECL_FREE + +/* Define to 1 if you have the declaration of `fwrite_unlocked', and to 0 if + you don't. */ +#undef HAVE_DECL_FWRITE_UNLOCKED + +/* Define to 1 if you have the declaration of `getchar_unlocked', and to 0 if + you don't. */ +#undef HAVE_DECL_GETCHAR_UNLOCKED + +/* Define to 1 if you have the declaration of `getcwd', and to 0 if you don't. + */ +#undef HAVE_DECL_GETCWD + +/* Define to 1 if you have the declaration of `getc_unlocked', and to 0 if you + don't. */ +#undef HAVE_DECL_GETC_UNLOCKED + +/* Define to 1 if you have the declaration of `getenv', and to 0 if you don't. + */ +#undef HAVE_DECL_GETENV + +/* Define to 1 if you have the declaration of `geteuid', and to 0 if you + don't. */ +#undef HAVE_DECL_GETEUID + +/* Define to 1 if you have the declaration of `getgrgid', and to 0 if you + don't. */ +#undef HAVE_DECL_GETGRGID + +/* Define to 1 if you have the declaration of `getlogin', and to 0 if you + don't. */ +#undef HAVE_DECL_GETLOGIN + +/* Define to 1 if you have the declaration of `getpwuid', and to 0 if you + don't. */ +#undef HAVE_DECL_GETPWUID + +/* Define to 1 if you have the declaration of `getuid', and to 0 if you don't. + */ +#undef HAVE_DECL_GETUID + +/* Define to 1 if you have the declaration of `getutent', and to 0 if you + don't. */ +#undef HAVE_DECL_GETUTENT + +/* Define to 1 if you have the declaration of `lseek', and to 0 if you don't. + */ +#undef HAVE_DECL_LSEEK + +/* Define to 1 if you have the declaration of `malloc', and to 0 if you don't. + */ +#undef HAVE_DECL_MALLOC + +/* Define to 1 if you have the declaration of `memchr', and to 0 if you don't. + */ +#undef HAVE_DECL_MEMCHR + +/* Define to 1 if you have the declaration of `memrchr', and to 0 if you + don't. */ +#undef HAVE_DECL_MEMRCHR + +/* Define to 1 if you have the declaration of `nanosleep', and to 0 if you + don't. */ +#undef HAVE_DECL_NANOSLEEP + +/* Define to 1 if you have the declaration of `putchar_unlocked', and to 0 if + you don't. */ +#undef HAVE_DECL_PUTCHAR_UNLOCKED + +/* Define to 1 if you have the declaration of `putc_unlocked', and to 0 if you + don't. */ +#undef HAVE_DECL_PUTC_UNLOCKED + +/* Define to 1 if you have the declaration of `realloc', and to 0 if you + don't. */ +#undef HAVE_DECL_REALLOC + +/* Define to 1 if you have the declaration of `stpcpy', and to 0 if you don't. + */ +#undef HAVE_DECL_STPCPY + +/* 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. */ +#undef HAVE_DECL_STRERROR_R + +/* Define to 1 if you have the declaration of `strndup', and to 0 if you + don't. */ +#undef HAVE_DECL_STRNDUP + +/* Define to 1 if you have the declaration of `strnlen', and to 0 if you + don't. */ +#undef HAVE_DECL_STRNLEN + +/* Define to 1 if you have the declaration of `strsignal', and to 0 if you + don't. */ +#undef HAVE_DECL_STRSIGNAL + +/* Define to 1 if you have the declaration of `strstr', and to 0 if you don't. + */ +#undef HAVE_DECL_STRSTR + +/* Define to 1 if you have the declaration of `strtoimax', and to 0 if you + don't. */ +#undef HAVE_DECL_STRTOIMAX + +/* Define to 1 if you have the declaration of `strtol', and to 0 if you don't. + */ +#undef HAVE_DECL_STRTOL + +/* 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 `strtoul', and to 0 if you + don't. */ +#undef HAVE_DECL_STRTOUL + +/* 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. */ +#undef HAVE_DECL_STRTOUMAX + +/* Define to 1 if you have the declaration of `sys_siglist', and to 0 if you + don't. */ +#undef HAVE_DECL_SYS_SIGLIST + +/* Define to 1 if you have the declaration of `ttyname', and to 0 if you + don't. */ +#undef HAVE_DECL_TTYNAME + +/* Define to 1 if you have the declaration of wcwidth(), and to 0 otherwise. + */ +#undef HAVE_DECL_WCWIDTH + +/* Define to 1 if you have the declaration of `_sys_siglist', and to 0 if you + don't. */ +#undef HAVE_DECL__SYS_SIGLIST + +/* Define to 1 if you have the declaration of `__fpending', and to 0 if you + don't. */ +#undef HAVE_DECL___FPENDING + +/* Define to 1 if you have the header file, and it defines `DIR'. + */ +#undef HAVE_DIRENT_H + +/* Define to 1 if you have the `dirfd' function. */ +#undef HAVE_DIRFD + +/* 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. */ +#undef HAVE_DUP2 + +/* Define to 1 if you have the `endgrent' function. */ +#undef HAVE_ENDGRENT + +/* Define to 1 if you have the `endpwent' function. */ +#undef HAVE_ENDPWENT + +/* Define to 1 if you have the header file. */ +#undef HAVE_ERRNO_H + +/* Define to 1 if you have the `euidaccess' function. */ +#undef HAVE_EUIDACCESS + +/* Define to 1 if you have the `fchdir' function. */ +#undef HAVE_FCHDIR + +/* Define to 1 if you have the header file. */ +#undef HAVE_FCNTL_H + +/* Define to 1 if you have the `fdatasync' function. */ +#undef HAVE_FDATASYNC + +/* Define to 1 if you have the `fesetround' function. */ +#undef HAVE_FESETROUND + +/* Define to 1 if you have the header file. */ +#undef HAVE_FLOAT_H + +/* Define to 1 if you have the `floor' function. */ +#undef HAVE_FLOOR + +/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */ +#undef HAVE_FSEEKO + +/* Define to 1 if you have the header file. */ +#undef HAVE_FS_INFO_H + +/* Define to 1 if you have the `fs_stat_dev' function. */ +#undef HAVE_FS_STAT_DEV + +/* Define to 1 if you have the `ftime' function. */ +#undef HAVE_FTIME + +/* Define to 1 if you have the `ftruncate' function. */ +#undef HAVE_FTRUNCATE + +/* Define if struct statfs has the f_fstypename member. */ +#undef HAVE_F_FSTYPENAME_IN_STATFS + +/* Define to 1 if you have the `getcwd' function. */ +#undef HAVE_GETCWD + +/* Define if getcwd (NULL, 0) allocates memory for result. */ +#undef HAVE_GETCWD_NULL + +/* Define to 1 if you have the `getdelim' function. */ +#undef HAVE_GETDELIM + +/* Define to 1 if your system has a working `getgroups' function. */ +#undef HAVE_GETGROUPS + +/* Define to 1 if you have the `gethostbyaddr' function. */ +#undef HAVE_GETHOSTBYADDR + +/* Define to 1 if you have the `gethostbyname' function. */ +#undef HAVE_GETHOSTBYNAME + +/* Define to 1 if you have the `gethostid' function. */ +#undef HAVE_GETHOSTID + +/* Define to 1 if you have the `gethostname' function. */ +#undef HAVE_GETHOSTNAME + +/* Define to 1 if you have the `gethrtime' function. */ +#undef HAVE_GETHRTIME + +/* Define to 1 if you have the `getloadavg' function. */ +#undef HAVE_GETLOADAVG + +/* 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 `getpagesize' function. */ +#undef HAVE_GETPAGESIZE + +/* Define to 1 if you have the `getpass' function. */ +#undef HAVE_GETPASS + +/* Define to 1 if you have the `getspnam' function. */ +#undef HAVE_GETSPNAM + +/* Define to 1 if you have the `getsysinfo' function. */ +#undef HAVE_GETSYSINFO + +/* Define if the GNU gettext() function is already present or preinstalled. */ +#undef HAVE_GETTEXT + +/* Define to 1 if you have the `gettimeofday' function. */ +#undef HAVE_GETTIMEOFDAY + +/* Define to 1 if you have the `getusershell' function. */ +#undef HAVE_GETUSERSHELL + +/* Define to 1 if you have the header file. */ +#undef HAVE_GRP_H + +/* Define to 1 if you have the `hasmntopt' function. */ +#undef HAVE_HASMNTOPT + +/* Define to 1 if you have the header file. */ +#undef HAVE_HURD_H + +/* Define if you have the iconv() function. */ +#undef HAVE_ICONV + +/* Define to 1 if you have the `inet_ntoa' function. */ +#undef HAVE_INET_NTOA + +/* Define to 1 if you have the `initgroups' function. */ +#undef HAVE_INITGROUPS + +/* Define to 1 if you have the header file. */ +#undef HAVE_INTTYPES_H + +/* Define to 1 if you have the `isascii' function. */ +#undef HAVE_ISASCII + +/* Define to 1 if you have the `iswcntrl' function. */ +#undef HAVE_ISWCNTRL + +/* Define to 1 if you have the `iswprint' function. */ +#undef HAVE_ISWPRINT + +/* Define to 1 if you have the `iswspace' function. */ +#undef HAVE_ISWSPACE + +/* Define if you have and nl_langinfo(CODESET). */ +#undef HAVE_LANGINFO_CODESET + +/* Define to 1 if you have the `lchown' function. */ +#undef HAVE_LCHOWN + +/* Define to 1 if you have the `dgc' library (-ldgc). */ +#undef HAVE_LIBDGC + +/* Define to 1 if you have the header file. */ +#undef HAVE_LIBINTL_H + +/* Define to 1 if you have the `kstat' library (-lkstat). */ +#undef HAVE_LIBKSTAT + +/* Define to 1 if you have the `ldgc' library (-lldgc). */ +#undef HAVE_LIBLDGC + +/* Define to 1 if you have the `os' library (-los). */ +#undef HAVE_LIBOS + +/* Define to 1 if you have the `ypsec' library (-lypsec). */ +#undef HAVE_LIBYPSEC + +/* Define to 1 if you have the header file. */ +#undef HAVE_LIMITS_H + +/* Define to 1 if you have the `listmntent' function. */ +#undef HAVE_LISTMNTENT + +/* Define to 1 if you have the `localeconv' function. */ +#undef HAVE_LOCALECONV + +/* Define to 1 if you have the header file. */ +#undef HAVE_LOCALE_H + +/* Define to 1 if you have the `localtime_r' function. */ +#undef HAVE_LOCALTIME_R + +/* Define to 1 if long double works and has more range or precision than + double. */ +#undef HAVE_LONG_DOUBLE + +/* Define to 1 if you support file names longer than 14 characters. */ +#undef HAVE_LONG_FILE_NAMES + +/* Define if you have the long long type. */ +#undef HAVE_LONG_LONG + +/* Define if lstat has the bug that it succeeds when given the zero-length + file name argument. The lstat from SunOS4.1.4 and the Hurd as of + 1998-11-01) do this. */ +#undef HAVE_LSTAT_EMPTY_STRING_BUG + +/* Define to 1 if you have the header file. */ +#undef HAVE_MACHINE_HAL_SYSINFO_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_MACH_MACH_H + +/* Define to 1 if your system has a GNU libc compatible `malloc' function, and + to 0 otherwise. */ +#undef HAVE_MALLOC + +/* Define to 1 if you have the `mblen' function. */ +#undef HAVE_MBLEN + +/* Define to 1 if you have the `mbrlen' function. */ +#undef HAVE_MBRLEN + +/* Define to 1 if mbrtowc and mbstate_t are properly declared. */ +#undef HAVE_MBRTOWC + +/* Define to 1 if you have the `mbsinit' function. */ +#undef HAVE_MBSINIT + +/* Define to 1 if you have the `mbsrtowcs' function. */ +#undef HAVE_MBSRTOWCS + +/* Define to 1 if declares mbstate_t. */ +#undef HAVE_MBSTATE_T + +/* Define to 1 if you have the `memchr' function. */ +#undef HAVE_MEMCHR + +/* Define to 1 if you have the `memcmp' function. */ +#undef HAVE_MEMCMP + +/* Define to 1 if you have the `memcpy' function. */ +#undef HAVE_MEMCPY + +/* Define to 1 if you have the `memmove' function. */ +#undef HAVE_MEMMOVE + +/* Define to 1 if you have the header file. */ +#undef HAVE_MEMORY_H + +/* Define to 1 if you have the `mempcpy' function. */ +#undef HAVE_MEMPCPY + +/* Define to 1 if you have the `memrchr' function. */ +#undef HAVE_MEMRCHR + +/* Define to 1 if you have the `memset' function. */ +#undef HAVE_MEMSET + +/* Define to 1 if you have the `mkfifo' function. */ +#undef HAVE_MKFIFO + +/* Define to 1 if you have the `mkstemp' function. */ +#undef HAVE_MKSTEMP + +/* Define to 1 if you have the header file. */ +#undef HAVE_MNTENT_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_MNTTAB_H + +/* Define to 1 if you have the `modf' function. */ +#undef HAVE_MODF + +/* Define to 1 if you have the header file, and it defines `DIR'. */ +#undef HAVE_NDIR_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_NETDB_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_NETINET_IN_H + +/* Define to 1 if you have the `next_dev' function. */ +#undef HAVE_NEXT_DEV + +/* Define to 1 if you have the header file. */ +#undef HAVE_NLIST_H + +/* Define to 1 if libc includes obstacks. */ +#undef HAVE_OBSTACK + +/* Define to 1 if you have the header file. */ +#undef HAVE_OS_H + +/* Define to 1 if you have the `pathconf' function. */ +#undef HAVE_PATHCONF + +/* Define to 1 if you have the header file. */ +#undef HAVE_PATHS_H + +/* Define if your system has the /proc/uptime special file. */ +#undef HAVE_PROC_UPTIME + +/* Define to 1 if you have the `pstat_getdynamic' function. */ +#undef HAVE_PSTAT_GETDYNAMIC + +/* Define to 1 if you have the `pstat_getstatic' function. */ +#undef HAVE_PSTAT_GETSTATIC + +/* Define to 1 if you have the header file. */ +#undef HAVE_PWD_H + +/* Define to 1 if you have the `raise' function. */ +#undef HAVE_RAISE + +/* Define to 1 if your system has a GNU libc compatible `realloc' function, + and to 0 otherwise. */ +#undef HAVE_REALLOC + +/* Define to 1 if you have the `realpath' function. */ +#undef HAVE_REALPATH + +/* Define to 1 if you have the `resolvepath' function. */ +#undef HAVE_RESOLVEPATH + +/* Define to 1 if you have the `rint' function. */ +#undef HAVE_RINT + +/* Define to 1 if you have the `rmdir' function. */ +#undef HAVE_RMDIR + +/* Define to 1 if you have the `rpmatch' function. */ +#undef HAVE_RPMATCH + +/* Define to 1 if you have the `sethostname' function. */ +#undef HAVE_SETHOSTNAME + +/* Define to 1 if you have the `setlocale' function. */ +#undef HAVE_SETLOCALE + +/* Define to 1 if you have the `setregid' function. */ +#undef HAVE_SETREGID + +/* Define to 1 if you have the `setreuid' function. */ +#undef HAVE_SETREUID + +/* Define to 1 if you have the header file. */ +#undef HAVE_SHADOW_H + +/* Define to 1 if you have the `sig2str' function. */ +#undef HAVE_SIG2STR + +/* Define to 1 if you have the `sqrt' function. */ +#undef HAVE_SQRT + +/* Define to 1 if you have the `statvfs' function. */ +#undef HAVE_STATVFS + +/* Define if stat has the bug that it succeeds when given the zero-length file + name argument. The stat from SunOS4.1.4 and the Hurd as of 1998-11-01) do + this. */ +#undef HAVE_STAT_EMPTY_STRING_BUG + +/* Define to 1 if stdbool.h conforms to C99. */ +#undef HAVE_STDBOOL_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_STDDEF_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_STDINT_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_STDIO_EXT_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_STDLIB_H + +/* Define to 1 if you have the `stpcpy' function. */ +#undef HAVE_STPCPY + +/* Define to 1 if you have the `strcasecmp' function. */ +#undef HAVE_STRCASECMP + +/* Define to 1 if you have the `strchr' function. */ +#undef HAVE_STRCHR + +/* Define to 1 if you have the `strcspn' function. */ +#undef HAVE_STRCSPN + +/* Define to 1 if you have the `strdup' function. */ +#undef HAVE_STRDUP + +/* Define to 1 if you have the `strerror' function. */ +#undef HAVE_STRERROR + +/* Define to 1 if you have the `strerror_r' function. */ +#undef HAVE_STRERROR_R + +/* Define to 1 if you have the `strftime' function. */ +#undef HAVE_STRFTIME + +/* Define to 1 if you have the header file. */ +#undef HAVE_STRINGS_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_STRING_H + +/* Define to 1 if you have the `strncasecmp' function. */ +#undef HAVE_STRNCASECMP + +/* Define to 1 if you have the `strndup' function. */ +#undef HAVE_STRNDUP + +/* Define to 1 if you have the `strpbrk' function. */ +#undef HAVE_STRPBRK + +/* Define to 1 if you have the `strrchr' function. */ +#undef HAVE_STRRCHR + +/* Define to 1 if you have the `strstr' function. */ +#undef HAVE_STRSTR + +/* Define to 1 if you have the `strtoimax' function. */ +#undef HAVE_STRTOIMAX + +/* Define to 1 if you have the `strtol' function. */ +#undef HAVE_STRTOL + +/* Define to 1 if you have the `strtoll' function. */ +#undef HAVE_STRTOLL + +/* Define to 1 if you have the `strtoul' function. */ +#undef HAVE_STRTOUL + +/* Define to 1 if you have the `strtoull' function. */ +#undef HAVE_STRTOULL + +/* Define to 1 if you have the `strtoumax' function. */ +#undef HAVE_STRTOUMAX + +/* Define if there is a member named d_type in the struct describing directory + headers. */ +#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 `n_un.n_name' is member of `struct nlist'. */ +#undef HAVE_STRUCT_NLIST_N_UN_N_NAME + +/* Define to 1 if `sp_pwdp' is member of `struct spwd'. */ +#undef HAVE_STRUCT_SPWD_SP_PWDP + +/* Define to 1 if `f_basetype' is member of `struct statfs'. */ +#undef HAVE_STRUCT_STATFS_F_BASETYPE + +/* Define to 1 if `f_fsid.__val' is member of `struct statfs'. */ +#undef HAVE_STRUCT_STATFS_F_FSID___VAL + +/* Define to 1 if `f_fstypename' is member of `struct statfs'. */ +#undef HAVE_STRUCT_STATFS_F_FSTYPENAME + +/* Define to 1 if `f_namelen' is member of `struct statfs'. */ +#undef HAVE_STRUCT_STATFS_F_NAMELEN + +/* Define to 1 if `f_namemax' is member of `struct statfs'. */ +#undef HAVE_STRUCT_STATFS_F_NAMEMAX + +/* Define to 1 if `f_type' is member of `struct statfs'. */ +#undef HAVE_STRUCT_STATFS_F_TYPE + +/* Define to 1 if `f_basetype' is member of `struct statvfs'. */ +#undef HAVE_STRUCT_STATVFS_F_BASETYPE + +/* Define to 1 if `f_fsid.__val' is member of `struct statvfs'. */ +#undef HAVE_STRUCT_STATVFS_F_FSID___VAL + +/* Define to 1 if `f_namelen' is member of `struct statvfs'. */ +#undef HAVE_STRUCT_STATVFS_F_NAMELEN + +/* Define to 1 if `f_namemax' is member of `struct statvfs'. */ +#undef HAVE_STRUCT_STATVFS_F_NAMEMAX + +/* Define to 1 if `f_type' is member of `struct statvfs'. */ +#undef HAVE_STRUCT_STATVFS_F_TYPE + +/* Define to 1 if `st_author' is member of `struct stat'. */ +#undef HAVE_STRUCT_STAT_ST_AUTHOR + +/* Define to 1 if `st_blksize' is member of `struct stat'. */ +#undef HAVE_STRUCT_STAT_ST_BLKSIZE + +/* Define to 1 if `st_blocks' is member of `struct stat'. */ +#undef HAVE_STRUCT_STAT_ST_BLOCKS + +/* Define if struct timespec is declared in . */ +#undef HAVE_STRUCT_TIMESPEC + +/* Define to 1 if `tm_zone' is member of `struct tm'. */ +#undef HAVE_STRUCT_TM_TM_ZONE + +/* Define if struct utimbuf is declared -- usually in . Some systems + have utime.h but don't declare the struct anywhere. */ +#undef HAVE_STRUCT_UTIMBUF + +/* Define to 1 if `ut_exit.e_exit' is member of `struct utmpx'. */ +#undef HAVE_STRUCT_UTMPX_UT_EXIT_E_EXIT + +/* Define to 1 if `ut_exit.e_termination' is member of `struct utmpx'. */ +#undef HAVE_STRUCT_UTMPX_UT_EXIT_E_TERMINATION + +/* Define to 1 if `ut_exit.ut_exit' is member of `struct utmpx'. */ +#undef HAVE_STRUCT_UTMPX_UT_EXIT_UT_EXIT + +/* Define to 1 if `ut_exit.ut_termination' is member of `struct utmpx'. */ +#undef HAVE_STRUCT_UTMPX_UT_EXIT_UT_TERMINATION + +/* Define to 1 if `ut_id' is member of `struct utmpx'. */ +#undef HAVE_STRUCT_UTMPX_UT_ID + +/* Define to 1 if `ut_name' is member of `struct utmpx'. */ +#undef HAVE_STRUCT_UTMPX_UT_NAME + +/* Define to 1 if `ut_pid' is member of `struct utmpx'. */ +#undef HAVE_STRUCT_UTMPX_UT_PID + +/* Define to 1 if `ut_type' is member of `struct utmpx'. */ +#undef HAVE_STRUCT_UTMPX_UT_TYPE + +/* Define to 1 if `ut_user' is member of `struct utmpx'. */ +#undef HAVE_STRUCT_UTMPX_UT_USER + +/* Define to 1 if `ut_exit.e_exit' is member of `struct utmp'. */ +#undef HAVE_STRUCT_UTMP_UT_EXIT_E_EXIT + +/* Define to 1 if `ut_exit.e_termination' is member of `struct utmp'. */ +#undef HAVE_STRUCT_UTMP_UT_EXIT_E_TERMINATION + +/* Define to 1 if `ut_exit.ut_exit' is member of `struct utmp'. */ +#undef HAVE_STRUCT_UTMP_UT_EXIT_UT_EXIT + +/* Define to 1 if `ut_exit.ut_termination' is member of `struct utmp'. */ +#undef HAVE_STRUCT_UTMP_UT_EXIT_UT_TERMINATION + +/* Define to 1 if `ut_id' is member of `struct utmp'. */ +#undef HAVE_STRUCT_UTMP_UT_ID + +/* Define to 1 if `ut_name' is member of `struct utmp'. */ +#undef HAVE_STRUCT_UTMP_UT_NAME + +/* Define to 1 if `ut_pid' is member of `struct utmp'. */ +#undef HAVE_STRUCT_UTMP_UT_PID + +/* Define to 1 if `ut_type' is member of `struct utmp'. */ +#undef HAVE_STRUCT_UTMP_UT_TYPE + +/* Define to 1 if `ut_user' is member of `struct utmp'. */ +#undef HAVE_STRUCT_UTMP_UT_USER + +/* Define to 1 if you have the `strverscmp' function. */ +#undef HAVE_STRVERSCMP + +/* Define to 1 if your `struct stat' has `st_blocks'. Deprecated, use + `HAVE_STRUCT_STAT_ST_BLOCKS' instead. */ +#undef HAVE_ST_BLOCKS + +/* Define if struct stat has an st_dm_mode member. */ +#undef HAVE_ST_DM_MODE + +/* Define to 1 if you have the `sysctl' function. */ +#undef HAVE_SYSCTL + +/* Define to 1 if you have the `sysinfo' function. */ +#undef HAVE_SYSINFO + +/* FIXME */ +#undef HAVE_SYSLOG + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYSLOG_H + +/* Define to 1 if you have the `sysmp' function. */ +#undef HAVE_SYSMP + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_ACL_H + +/* Define to 1 if you have the header file, and it defines `DIR'. + */ +#undef HAVE_SYS_DIR_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_FILSYS_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_FSTYP_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_FS_S5PARAM_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_FS_TYPES_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_IOCTL_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_MNTENT_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_MOUNT_H + +/* Define to 1 if you have the header file, and it defines `DIR'. + */ +#undef HAVE_SYS_NDIR_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_PARAM_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_PSTAT_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_RESOURCE_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_SOCKET_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_STATFS_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_STATVFS_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_STAT_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_SYSCTL_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_SYSINFO_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_SYSMACROS_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_SYSMP_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_SYSTEMCFG_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_SYSTEMINFO_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_TABLE_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_TIMEB_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_TIME_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_TYPES_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_UCRED_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_VFS_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_WAIT_H + +/* Define to 1 if you have the `table' function. */ +#undef HAVE_TABLE + +/* Define to 1 if you have the header file. */ +#undef HAVE_TERMIOS_H + +/* Define if struct tm has the tm_gmtoff member. */ +#undef HAVE_TM_GMTOFF + +/* Define to 1 if your `struct tm' has `tm_zone'. Deprecated, use + `HAVE_STRUCT_TM_TM_ZONE' instead. */ +#undef HAVE_TM_ZONE + +/* 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. */ +#undef HAVE_TZSET + +/* Define to 1 if you have the `uname' function. */ +#undef HAVE_UNAME + +/* Define to 1 if you have the header file. */ +#undef HAVE_UNISTD_H + +/* Define if you have the unsigned long long type. */ +#undef HAVE_UNSIGNED_LONG_LONG + +/* Define to 1 if you have the `utime' function. */ +#undef HAVE_UTIME + +/* Define if utimes accepts a null argument */ +#undef HAVE_UTIMES_NULL + +/* Define to 1 if you have the header file. */ +#undef HAVE_UTIME_H + +/* Define to 1 if `utime(file, NULL)' sets file's timestamp to the present. */ +#undef HAVE_UTIME_NULL + +/* Define to 1 if you have the `utmpname' function. */ +#undef HAVE_UTMPNAME + +/* Define to 1 if you have the `utmpxname' function. */ +#undef HAVE_UTMPXNAME + +/* FIXME */ +#undef HAVE_UTMPX_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_UTMP_H + +/* FIXME */ +#undef HAVE_UT_HOST + +/* Define to 1 if you have the header file. */ +#undef HAVE_VALUES_H + +/* Define to 1 if you have the `vprintf' function. */ +#undef HAVE_VPRINTF + +/* Define to 1 if you have the header file. */ +#undef HAVE_WCHAR_H + +/* Define to 1 if you have the `wcrtomb' function. */ +#undef HAVE_WCRTOMB + +/* Define to 1 if you have the header file. */ +#undef HAVE_WCTYPE_H + +/* Define to 1 if you have the `wcwidth' function. */ +#undef HAVE_WCWIDTH + +/* Define to 1 if you have the `wmempcpy' function. */ +#undef HAVE_WMEMPCPY + +/* Define to 1 if you have the external variable, _system_configuration with a + member named physmem. */ +#undef HAVE__SYSTEM_CONFIGURATION + +/* Define to 1 if you have the `__fpending' function. */ +#undef HAVE___FPENDING + +/* Define to 1 if you have the `__secure_getenv' function. */ +#undef HAVE___SECURE_GETENV + +/* The host operating system. */ +#undef HOST_OPERATING_SYSTEM + +/* Define as const if the declaration of iconv() needs const. */ +#undef ICONV_CONST + +#if FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR +# define ISSLASH(C) ((C) == '/' || (C) == '\\') +#else +# define ISSLASH(C) ((C) == '/') +#endif + +/* Define if `link(2)' dereferences symbolic links. */ +#undef LINK_FOLLOWS_SYMLINKS + +/* FIXME */ +#undef LOCALTIME_CACHE + +/* 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 . + */ +#undef MAJOR_IN_MKDEV + +/* Define to 1 if `major', `minor', and `makedev' are declared in + . */ +#undef MAJOR_IN_SYSMACROS + +/* Define if there is no specific function for reading the list of mounted + filesystems. 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 filesystems, and your system has these header files: + and . (SVR3) */ +#undef MOUNTED_FREAD_FSTYP + +/* Define if there are functions named next_dev and fs_stat_dev for reading + the list of mounted filesystems. (BeOS) */ +#undef MOUNTED_FS_STAT_DEV + +/* Define if there is a function named getfsstat for reading the list of + mounted filesystems. (DEC Alpha running OSF/1) */ +#undef MOUNTED_GETFSSTAT + +/* Define if there is a function named getmnt for reading the list of mounted + filesystems. (Ultrix) */ +#undef MOUNTED_GETMNT + +/* Define if there is a function named getmntent for reading the list of + mounted filesystems, 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 filesystems, and that function takes two arguments. (SVR4) */ +#undef MOUNTED_GETMNTENT2 + +/* Define if there is a function named getmntinfo for reading the list of + mounted filesystems. (4.4BSD, Darwin) */ +#undef MOUNTED_GETMNTINFO + +/* Define if there is a function named listmntent that can be used to list all + mounted filesystems. (UNICOS) */ +#undef MOUNTED_LISTMNTENT + +/* Define if there is a function named mntctl that can be used to read the + list of mounted filesystems, and there is a system header file that + declares `struct vmount.' (AIX) */ +#undef MOUNTED_VMOUNT + +/* Define to 1 if assertions should be disabled. */ +#undef NDEBUG + +/* FIXME */ +#undef NICE_PRIORITY + +/* Define to 1 if your `struct nlist' has an `n_un' member. Obsolete, depend + on `HAVE_STRUCT_NLIST_N_UN_N_NAME */ +#undef NLIST_NAME_UNION + +/* Name of package */ +#undef PACKAGE + +/* Define to the address where bug reports for this package should be sent. */ +#undef PACKAGE_BUGREPORT + +/* Define to the full name of this package. */ +#undef PACKAGE_NAME + +/* Define to the full name and version of this package. */ +#undef PACKAGE_STRING + +/* Define to the one symbol short name of this package. */ +#undef PACKAGE_TARNAME + +/* Define to the version of this package. */ +#undef PACKAGE_VERSION + +/* the number of pending output bytes on stream `fp' */ +#undef PENDING_OUTPUT_N_BYTES + +/* Define if exists and defines unusable PRI* macros. */ +#undef PRI_MACROS_BROKEN + +/* Define to 1 if the C compiler supports function prototypes. */ +#undef PROTOTYPES + +/* Define if rename does not work for source paths with a trailing slash, like + the one from SunOS 4.1.1_U1. */ +#undef RENAME_TRAILING_SLASH_BUG + +/* Define as the return type of signal handlers (`int' or `void'). */ +#undef RETSIGTYPE + +/* the value to which errno is set when rmdir fails on a nonempty directory */ +#undef RMDIR_ERRNO_NOT_EMPTY + +/* Define to 1 if the `setvbuf' function takes the buffering type as its + second argument and the buffer pointer as the third, as on System V before + release 3. */ +#undef SETVBUF_REVERSED + +/* 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 run-time. + 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 if the block counts reported by statfs may be truncated to 2GB and + the correct values may be stored in the f_spare array. (SunOS 4.1.2, 4.1.3, + and 4.1.3_U1 are reported to have this problem. SunOS 4.1.1 seems not to be + affected.) */ +#undef STATFS_TRUNCATES_BLOCK_COUNTS + +/* Define to 1 if the `S_IS*' macros in do not work properly. */ +#undef STAT_MACROS_BROKEN + +/* Define if there is no specific function for reading filesystems usage + information and you have the header file. (SVR2) */ +#undef STAT_READ_FILSYS + +/* Define if statfs takes 2 args and struct statfs has a field named f_bsize. + (4.3BSD, SunOS 4, HP-UX, AIX PS/2) */ +#undef STAT_STATFS2_BSIZE + +/* Define if statfs takes 2 args and struct statfs has a field named f_fsize. + (4.4BSD, NetBSD) */ +#undef STAT_STATFS2_FSIZE + +/* Define if statfs takes 2 args and the second argument has type struct + fs_data. (Ultrix) */ +#undef STAT_STATFS2_FS_DATA + +/* Define if statfs takes 3 args. (DEC Alpha running OSF/1) */ +#undef STAT_STATFS3_OSF1 + +/* Define if statfs takes 4 args. (SVR3, Dynix, Irix, Dolphin) */ +#undef STAT_STATFS4 + +/* Define if there is a function named statvfs. (SVR4) */ +#undef STAT_STATVFS + +/* Define to 1 if you have the ANSI C header files. */ +#undef STDC_HEADERS + +/* Define to 1 if strerror_r returns char *. */ +#undef STRERROR_R_CHAR_P + +/* Define to be the nanoseconds member of struct stat's st_mtim, if it exists. + */ +#undef ST_MTIM_NSEC + +/* Define to 1 on System V Release 4. */ +#undef SVR4 + +/* FIXME */ +#undef TERMIOS_NEEDS_XOPEN_SOURCE + +/* Define to 1 if you can safely include both and . */ +#undef TIME_WITH_SYS_TIME + +/* Define to 1 if your declares `struct tm'. */ +#undef TM_IN_SYS_TIME + +/* Define to 1 for Encore UMAX. */ +#undef UMAX + +/* Define to 1 for Encore UMAX 4.3 that has instead of + . */ +#undef UMAX4_3 + +/* the maximum number of simultaneously open files per process */ +#undef UTILS_OPEN_MAX + +/* Version number of package */ +#undef VERSION + +/* Define if sys/ptem.h is required for struct winsize. */ +#undef WINSIZE_IN_PTEM + +/* Define to 1 if your processor stores words with the most significant byte + first (like Motorola and SPARC, unlike Intel and VAX). */ +#undef WORDS_BIGENDIAN + +/* Define to 1 if on AIX 3. + System headers sometimes define this. + We just want to avoid a redefinition error message. */ +#ifndef _ALL_SOURCE +# undef _ALL_SOURCE +#endif + +/* 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 +# undef _GNU_SOURCE +#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 like PROTOTYPES; this can be used by system headers. */ +#undef __PROTOTYPES + +/* Define to rpl_chown if the replacement function should be used. */ +#undef chown + +/* Define to empty if `const' does not conform to ANSI C. */ +#undef const + +/* Define to rpl_fnmatch if the replacement function should be used. */ +#undef fnmatch + +/* Define to rpl_getcwd if the wrapper function should be used. */ +#undef getcwd + +/* Define as rpl_getgroups if getgroups doesn't work right. */ +#undef getgroups + +/* Define to rpl_gettimeofday if the replacement function should be used. */ +#undef gettimeofday + +/* Define to `int' if doesn't define. */ +#undef gid_t + +/* Define as `__inline' if that's what the C compiler calls it, or to nothing + if it is not supported. */ +#undef inline + +/* Define to `unsigned long' if does not define. */ +#undef ino_t + +/* Define to widest signed type if doesn't define. */ +#undef intmax_t + +/* Define to rpl_localtime if the replacement function should be used. */ +#undef localtime + +/* Define to `unsigned int' if does not define. */ +#undef major_t + +/* Define to rpl_malloc if the replacement function should be used. */ +#undef malloc + +/* Define to a type if does not define. */ +#undef mbstate_t + +/* Define to rpl_memcmp if the replacement function should be used. */ +#undef memcmp + +/* Define to `unsigned int' if does not define. */ +#undef minor_t + +/* Define to rpl_mkdir if the replacement function should be used. */ +#undef mkdir + +/* Define to rpl_mkstemp if the replacement function should be used. */ +#undef mkstemp + +/* Define to rpl_mktime if the replacement function should be used. */ +#undef mktime + +/* Define to `int' if does not define. */ +#undef mode_t + +/* Define to the name of the strftime replacement function. */ +#undef my_strftime + +/* Define to rpl_nanosleep if the replacement function should be used. */ +#undef nanosleep + +/* Define to `long' if does not define. */ +#undef off_t + +/* Define to `int' if does not define. */ +#undef pid_t + +/* Define to rpl_putenv if the replacement function should be used. */ +#undef putenv + +/* Define to rpl_realloc if the replacement function should be used. */ +#undef realloc + +/* Define to equivalent of C99 restrict keyword, or to nothing if this is not + supported. Do not define if restrict is supported directly. */ +#undef restrict + +/* Define to `unsigned' if does not define. */ +#undef size_t + +/* Define to `int' if does not define. */ +#undef ssize_t + +/* Define to `int' if doesn't define. */ +#undef uid_t + +/* Define to widest unsigned type if doesn't define. */ +#undef uintmax_t + +/* Define to empty if the keyword `volatile' does not work. Warning: valid + code using `volatile' can become incorrect without. Disable with care. */ +#undef volatile diff --git a/src/apps/bin/coreutils-5.0/config.log b/src/apps/bin/coreutils-5.0/config.log new file mode 100644 index 0000000000..16636a7282 --- /dev/null +++ b/src/apps/bin/coreutils-5.0/config.log @@ -0,0 +1,62811 @@ +This file contains any messages produced by compilers while +running configure, to aid debugging if configure makes a mistake. + +It was created by GNU coreutils configure 5.0, which was +generated by GNU Autoconf 2.57. Invocation command line was + + $ ./configure + +## --------- ## +## Platform. ## +## --------- ## + +hostname = +uname -m = BePC +uname -r = 5.0 +uname -s = BeOS +uname -v = 1000009 + +/usr/bin/uname -p = unknown +/bin/uname -X = unknown + +/bin/arch = unknown +/usr/bin/arch -k = unknown +/usr/convex/getsysinfo = unknown +hostinfo = unknown +/bin/machine = unknown +/usr/bin/oslevel = unknown +/bin/universe = unknown + +PATH: . +PATH: /boot/home/config/bin +PATH: /bin +PATH: /boot/apps +PATH: /boot/preferences +PATH: /boot/beos/apps +PATH: /boot/beos/preferences +PATH: /boot/develop/tools/gnupro/bin +PATH: /boot/apps/X11R6.4/bin +PATH: /boot/apps/GeekGadgets/bin +PATH: /boot/home/bin + + +## ----------- ## +## Core tests. ## +## ----------- ## + +configure:1336: checking build system type +configure:1354: result: i586-pc-beos +configure:1362: checking host system type +configure:1376: result: i586-pc-beos +configure:1398: checking for a BSD-compatible install +configure:1452: result: /bin/install -c +configure:1463: checking whether build environment is sane +configure:1506: result: yes +configure:1539: checking for gawk +configure:1555: found /bin/gawk +configure:1565: result: gawk +configure:1575: checking whether make sets $(MAKE) +configure:1595: result: yes +configure:1767: checking for perl5.003 or newer +configure:1791: result: yes +configure:1852: checking for gcc +configure:1868: found /boot/develop/tools/gnupro/bin/gcc +configure:1878: result: gcc +configure:2122: checking for C compiler version +configure:2125: gcc --version &5 +2.9-beos-991026 +configure:2128: $? = 0 +configure:2130: gcc -v &5 +Reading specs from /boot/develop/tools/gnupro/lib/gcc-lib/i586-beos/2.9-beos-991026/specs +gcc version 2.9-beos-991026 +configure:2133: $? = 0 +configure:2135: gcc -V &5 +gcc: argument to `-V' is missing +configure:2138: $? = 1 +configure:2161: checking for C compiler default output +configure:2164: gcc conftest.c >&5 +configure:2167: $? = 0 +configure:2213: result: conftest +configure:2218: checking whether the C compiler works +configure:2224: ./conftest +configure:2227: $? = 0 +configure:2244: result: yes +configure:2251: checking whether we are cross compiling +configure:2253: result: no +configure:2256: checking for suffix of executables +configure:2258: gcc -o conftest conftest.c >&5 +configure:2261: $? = 0 +configure:2286: result: +configure:2292: checking for suffix of object files +configure:2313: gcc -c conftest.c >&5 +configure:2316: $? = 0 +configure:2338: result: o +configure:2342: checking whether we are using the GNU C compiler +configure:2366: gcc -c conftest.c >&5 +configure:2369: $? = 0 +configure:2372: test -s conftest.o +configure:2375: $? = 0 +configure:2388: result: yes +configure:2394: checking whether gcc accepts -g +configure:2415: gcc -c -g conftest.c >&5 +configure:2418: $? = 0 +configure:2421: test -s conftest.o +configure:2424: $? = 0 +configure:2435: result: yes +configure:2452: checking for gcc option to accept ANSI C +configure:2512: gcc -c -g -O2 conftest.c >&5 +configure:2515: $? = 0 +configure:2518: test -s conftest.o +configure:2521: $? = 0 +configure:2539: result: none needed +configure:2557: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:2: parse error before `me' +configure:2560: $? = 1 +configure: failed program was: +| #ifndef __cplusplus +| choke me +| #endif +configure:2677: checking for style of include used by make +configure:2705: result: GNU +configure:2733: checking dependency style of gcc +configure:2801: result: gcc +configure:2823: checking how to run the C preprocessor +configure:2858: gcc -E conftest.c +configure:2864: $? = 0 +configure:2895: gcc -E conftest.c +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:12: ac_nonexistent.h: No such file or directory +configure:2901: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| /* end confdefs.h. */ +| #include +configure:2939: result: gcc -E +configure:2963: gcc -E conftest.c +configure:2969: $? = 0 +configure:3000: gcc -E conftest.c +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:12: ac_nonexistent.h: No such file or directory +configure:3006: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| /* end confdefs.h. */ +| #include +configure:3050: checking for egrep +configure:3060: result: grep -E +configure:3066: checking whether gcc needs -traditional +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:12: sgtty.h: No such file or directory +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:12: termio.h: No such file or directory +configure:3108: result: no +configure:3156: checking for ranlib +configure:3172: found /boot/develop/tools/gnupro/bin/ranlib +configure:3183: result: ranlib +configure:3195: checking whether ln -s works +configure:3199: result: yes +configure:3207: checking for AIX +configure:3229: result: no +configure:3235: checking for ANSI C header files +configure:3260: gcc -c -g -O2 conftest.c >&5 +configure:3263: $? = 0 +configure:3266: test -s conftest.o +configure:3269: $? = 0 +configure:3355: gcc -o conftest -g -O2 conftest.c >&5 +configure:3358: $? = 0 +configure:3360: ./conftest +configure:3363: $? = 0 +configure:3378: result: yes +configure:3402: checking for sys/types.h +configure:3418: gcc -c -g -O2 conftest.c >&5 +configure:3421: $? = 0 +configure:3424: test -s conftest.o +configure:3427: $? = 0 +configure:3438: result: yes +configure:3402: checking for sys/stat.h +configure:3418: gcc -c -g -O2 conftest.c >&5 +configure:3421: $? = 0 +configure:3424: test -s conftest.o +configure:3427: $? = 0 +configure:3438: result: yes +configure:3402: checking for stdlib.h +configure:3418: gcc -c -g -O2 conftest.c >&5 +configure:3421: $? = 0 +configure:3424: test -s conftest.o +configure:3427: $? = 0 +configure:3438: result: yes +configure:3402: checking for string.h +configure:3418: gcc -c -g -O2 conftest.c >&5 +configure:3421: $? = 0 +configure:3424: test -s conftest.o +configure:3427: $? = 0 +configure:3438: result: yes +configure:3402: checking for memory.h +configure:3418: gcc -c -g -O2 conftest.c >&5 +configure:3421: $? = 0 +configure:3424: test -s conftest.o +configure:3427: $? = 0 +configure:3438: result: yes +configure:3402: checking for strings.h +configure:3418: gcc -c -g -O2 conftest.c >&5 +configure:3421: $? = 0 +configure:3424: test -s conftest.o +configure:3427: $? = 0 +configure:3438: result: yes +configure:3402: checking for inttypes.h +configure:3418: gcc -c -g -O2 conftest.c >&5 +configure:3421: $? = 0 +configure:3424: test -s conftest.o +configure:3427: $? = 0 +configure:3438: result: yes +configure:3402: checking for stdint.h +configure:3418: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:55: stdint.h: No such file or directory +configure:3421: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| /* end confdefs.h. */ +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| +| #include +configure:3438: result: no +configure:3402: checking for unistd.h +configure:3418: gcc -c -g -O2 conftest.c >&5 +configure:3421: $? = 0 +configure:3424: test -s conftest.o +configure:3427: $? = 0 +configure:3438: result: yes +configure:3460: checking minix/config.h usability +configure:3472: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:55: minix/config.h: No such file or directory +configure:3475: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| /* end confdefs.h. */ +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| #include +configure:3491: result: no +configure:3495: checking minix/config.h presence +configure:3505: gcc -E conftest.c +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:21: minix/config.h: No such file or directory +configure:3511: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| /* end confdefs.h. */ +| #include +configure:3530: result: no +configure:3566: checking for minix/config.h +configure:3573: result: no +configure:3607: checking for uname +configure:3656: gcc -o conftest -g -O2 conftest.c >&5 +configure:3659: $? = 0 +configure:3662: test -s conftest +configure:3665: $? = 0 +configure:3676: result: yes +configure:3691: checking for chroot +configure:3740: gcc -o conftest -g -O2 conftest.c >&5 +/tmp/ccc7KO4o.o: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:54: undefined reference to `chroot' +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:53: undefined reference to `chroot' +collect2: ld returned 1 exit status +configure:3743: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| /* end confdefs.h. */ +| /* System header to define __stub macros and hopefully few prototypes, +| which can conflict with char chroot (); below. +| Prefer to if __STDC__ is defined, since +| exists even on freestanding compilers. */ +| #ifdef __STDC__ +| # include +| #else +| # include +| #endif +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| { +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char chroot (); +| /* The GNU C library defines this for functions which it implements +| to always fail with ENOSYS. Some functions are actually named +| something starting with __ and the normal name is an alias. */ +| #if defined (__stub_chroot) || defined (__stub___chroot) +| choke me +| #else +| char (*f) () = chroot; +| #endif +| #ifdef __cplusplus +| } +| #endif +| +| int +| main () +| { +| return f != chroot; +| ; +| return 0; +| } +configure:3760: result: no +configure:3775: checking for gethostid +configure:3824: gcc -o conftest -g -O2 conftest.c >&5 +/tmp/ccefJuiD.o: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:54: undefined reference to `gethostid' +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:53: undefined reference to `gethostid' +collect2: ld returned 1 exit status +configure:3827: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| /* end confdefs.h. */ +| /* System header to define __stub macros and hopefully few prototypes, +| which can conflict with char gethostid (); below. +| Prefer to if __STDC__ is defined, since +| exists even on freestanding compilers. */ +| #ifdef __STDC__ +| # include +| #else +| # include +| #endif +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| { +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char gethostid (); +| /* The GNU C library defines this for functions which it implements +| to always fail with ENOSYS. Some functions are actually named +| something starting with __ and the normal name is an alias. */ +| #if defined (__stub_gethostid) || defined (__stub___gethostid) +| choke me +| #else +| char (*f) () = gethostid; +| #endif +| #ifdef __cplusplus +| } +| #endif +| +| int +| main () +| { +| return f != gethostid; +| ; +| return 0; +| } +configure:3844: result: no +configure:3857: checking for strerror in -lcposix +configure:3887: gcc -o conftest -g -O2 conftest.c -lcposix >&5 +/boot/develop/tools/gnupro/bin/ld: cannot open -lcposix: No such file or directory +collect2: ld returned 1 exit status +configure:3890: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| /* end confdefs.h. */ +| +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char strerror (); +| int +| main () +| { +| strerror (); +| ; +| return 0; +| } +configure:3908: result: no +configure:3923: checking for special C compiler options needed for large files +configure:4002: result: no +configure:4008: checking for _FILE_OFFSET_BITS value needed for large files +configure:4039: gcc -c -g -O2 conftest.c >&5 +configure:4042: $? = 0 +configure:4045: test -s conftest.o +configure:4048: $? = 0 +configure:4103: result: no +configure:4113: checking for _LARGE_FILES value needed for large files +configure:4144: gcc -c -g -O2 conftest.c >&5 +configure:4147: $? = 0 +configure:4150: test -s conftest.o +configure:4153: $? = 0 +configure:4208: result: no +configure:4223: checking for gcc option to accept ANSI C +configure:4286: gcc -c -g -O2 conftest.c >&5 +configure:4289: $? = 0 +configure:4292: test -s conftest.o +configure:4295: $? = 0 +configure:4310: result: none needed +configure:4323: checking for function prototypes +configure:4326: result: yes +configure:4340: checking for ANSI C header files +configure:4483: result: yes +configure:4498: checking for string.h +configure:4503: result: yes +configure:4634: checking whether byte ordering is bigendian +configure:4661: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:32: `bogus' undeclared (first use in this function) +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:32: (Each undeclared identifier is reported only once +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:32: for each function it appears in.) +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:32: parse error before `endian' +configure:4664: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| /* end confdefs.h. */ +| #include +| #include +| +| int +| main () +| { +| #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN +| bogus endian macros +| #endif +| +| ; +| return 0; +| } +configure:4791: gcc -o conftest -g -O2 conftest.c >&5 +configure:4794: $? = 0 +configure:4796: ./conftest +configure:4799: $? = 0 +configure:4815: result: no +configure:4834: checking for an ANSI C-conforming const +configure:4901: gcc -c -g -O2 conftest.c >&5 +configure:4904: $? = 0 +configure:4907: test -s conftest.o +configure:4910: $? = 0 +configure:4921: result: yes +configure:4931: checking for working volatile +configure:4954: gcc -c -g -O2 conftest.c >&5 +configure:4957: $? = 0 +configure:4960: test -s conftest.o +configure:4963: $? = 0 +configure:4974: result: yes +configure:4984: checking for inline +configure:5005: gcc -c -g -O2 conftest.c >&5 +configure:5008: $? = 0 +configure:5011: test -s conftest.o +configure:5014: $? = 0 +configure:5026: result: inline +configure:5041: checking for working long double with more range or precision than double +configure:5067: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:32: size of array `test_array' is negative +configure:5070: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| /* end confdefs.h. */ +| #include +| long double foo = 0.0; +| int +| main () +| { +| static int test_array [1 - 2 * !(/* Using '|' rather than '||' catches a GCC 2.95.2 x86 bug. */ +| (DBL_MAX < LDBL_MAX) | (LDBL_EPSILON < DBL_EPSILON) +| | (DBL_MAX_EXP < LDBL_MAX_EXP) | (DBL_MANT_DIG < LDBL_MANT_DIG))]; +| test_array [0] = 0 +| +| ; +| return 0; +| } +configure:5087: result: no +configure:5186: checking errno.h usability +configure:5198: gcc -c -g -O2 conftest.c >&5 +configure:5201: $? = 0 +configure:5204: test -s conftest.o +configure:5207: $? = 0 +configure:5217: result: yes +configure:5221: checking errno.h presence +configure:5231: gcc -E conftest.c +configure:5237: $? = 0 +configure:5256: result: yes +configure:5292: checking for errno.h +configure:5299: result: yes +configure:5186: checking fcntl.h usability +configure:5198: gcc -c -g -O2 conftest.c >&5 +configure:5201: $? = 0 +configure:5204: test -s conftest.o +configure:5207: $? = 0 +configure:5217: result: yes +configure:5221: checking fcntl.h presence +configure:5231: gcc -E conftest.c +configure:5237: $? = 0 +configure:5256: result: yes +configure:5292: checking for fcntl.h +configure:5299: result: yes +configure:5186: checking float.h usability +configure:5198: gcc -c -g -O2 conftest.c >&5 +configure:5201: $? = 0 +configure:5204: test -s conftest.o +configure:5207: $? = 0 +configure:5217: result: yes +configure:5221: checking float.h presence +configure:5231: gcc -E conftest.c +configure:5237: $? = 0 +configure:5256: result: yes +configure:5292: checking for float.h +configure:5299: result: yes +configure:5186: checking hurd.h usability +configure:5198: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:62: hurd.h: No such file or directory +configure:5201: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| /* end confdefs.h. */ +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| #include +configure:5217: result: no +configure:5221: checking hurd.h presence +configure:5231: gcc -E conftest.c +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:28: hurd.h: No such file or directory +configure:5237: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| /* end confdefs.h. */ +| #include +configure:5256: result: no +configure:5292: checking for hurd.h +configure:5299: result: no +configure:5186: checking limits.h usability +configure:5198: gcc -c -g -O2 conftest.c >&5 +configure:5201: $? = 0 +configure:5204: test -s conftest.o +configure:5207: $? = 0 +configure:5217: result: yes +configure:5221: checking limits.h presence +configure:5231: gcc -E conftest.c +configure:5237: $? = 0 +configure:5256: result: yes +configure:5292: checking for limits.h +configure:5299: result: yes +configure:5177: checking for memory.h +configure:5182: result: yes +configure:5186: checking mntent.h usability +configure:5198: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:64: mntent.h: No such file or directory +configure:5201: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| /* end confdefs.h. */ +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| #include +configure:5217: result: no +configure:5221: checking mntent.h presence +configure:5231: gcc -E conftest.c +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:30: mntent.h: No such file or directory +configure:5237: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| /* end confdefs.h. */ +| #include +configure:5256: result: no +configure:5292: checking for mntent.h +configure:5299: result: no +configure:5186: checking mnttab.h usability +configure:5198: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:64: mnttab.h: No such file or directory +configure:5201: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| /* end confdefs.h. */ +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| #include +configure:5217: result: no +configure:5221: checking mnttab.h presence +configure:5231: gcc -E conftest.c +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:30: mnttab.h: No such file or directory +configure:5237: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| /* end confdefs.h. */ +| #include +configure:5256: result: no +configure:5292: checking for mnttab.h +configure:5299: result: no +configure:5186: checking netdb.h usability +configure:5198: gcc -c -g -O2 conftest.c >&5 +configure:5201: $? = 0 +configure:5204: test -s conftest.o +configure:5207: $? = 0 +configure:5217: result: yes +configure:5221: checking netdb.h presence +configure:5231: gcc -E conftest.c +configure:5237: $? = 0 +configure:5256: result: yes +configure:5292: checking for netdb.h +configure:5299: result: yes +configure:5186: checking paths.h usability +configure:5198: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:65: paths.h: No such file or directory +configure:5201: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| /* end confdefs.h. */ +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| #include +configure:5217: result: no +configure:5221: checking paths.h presence +configure:5231: gcc -E conftest.c +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:31: paths.h: No such file or directory +configure:5237: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| /* end confdefs.h. */ +| #include +configure:5256: result: no +configure:5292: checking for paths.h +configure:5299: result: no +configure:5177: checking for stdlib.h +configure:5182: result: yes +configure:5186: checking stddef.h usability +configure:5198: gcc -c -g -O2 conftest.c >&5 +configure:5201: $? = 0 +configure:5204: test -s conftest.o +configure:5207: $? = 0 +configure:5217: result: yes +configure:5221: checking stddef.h presence +configure:5231: gcc -E conftest.c +configure:5237: $? = 0 +configure:5256: result: yes +configure:5292: checking for stddef.h +configure:5299: result: yes +configure:5177: checking for stdint.h +configure:5182: result: no +configure:5177: checking for string.h +configure:5182: result: yes +configure:5186: checking sys/filsys.h usability +configure:5198: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:68: sys/filsys.h: No such file or directory +configure:5201: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| /* end confdefs.h. */ +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| #include +configure:5217: result: no +configure:5221: checking sys/filsys.h presence +configure:5231: gcc -E conftest.c +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:34: sys/filsys.h: No such file or directory +configure:5237: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| /* end confdefs.h. */ +| #include +configure:5256: result: no +configure:5292: checking for sys/filsys.h +configure:5299: result: no +configure:5186: checking sys/fs/s5param.h usability +configure:5198: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:68: sys/fs/s5param.h: No such file or directory +configure:5201: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| /* end confdefs.h. */ +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| #include +configure:5217: result: no +configure:5221: checking sys/fs/s5param.h presence +configure:5231: gcc -E conftest.c +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:34: sys/fs/s5param.h: No such file or directory +configure:5237: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| /* end confdefs.h. */ +| #include +configure:5256: result: no +configure:5292: checking for sys/fs/s5param.h +configure:5299: result: no +configure:5186: checking sys/fs_types.h usability +configure:5198: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:68: sys/fs_types.h: No such file or directory +configure:5201: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| /* end confdefs.h. */ +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| #include +configure:5217: result: no +configure:5221: checking sys/fs_types.h presence +configure:5231: gcc -E conftest.c +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:34: sys/fs_types.h: No such file or directory +configure:5237: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| /* end confdefs.h. */ +| #include +configure:5256: result: no +configure:5292: checking for sys/fs_types.h +configure:5299: result: no +configure:5186: checking sys/fstyp.h usability +configure:5198: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:68: sys/fstyp.h: No such file or directory +configure:5201: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| /* end confdefs.h. */ +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| #include +configure:5217: result: no +configure:5221: checking sys/fstyp.h presence +configure:5231: gcc -E conftest.c +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:34: sys/fstyp.h: No such file or directory +configure:5237: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| /* end confdefs.h. */ +| #include +configure:5256: result: no +configure:5292: checking for sys/fstyp.h +configure:5299: result: no +configure:5186: checking sys/ioctl.h usability +configure:5198: gcc -c -g -O2 conftest.c >&5 +configure:5201: $? = 0 +configure:5204: test -s conftest.o +configure:5207: $? = 0 +configure:5217: result: yes +configure:5221: checking sys/ioctl.h presence +configure:5231: gcc -E conftest.c +configure:5237: $? = 0 +configure:5256: result: yes +configure:5292: checking for sys/ioctl.h +configure:5299: result: yes +configure:5186: checking sys/mntent.h usability +configure:5198: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:69: sys/mntent.h: No such file or directory +configure:5201: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| /* end confdefs.h. */ +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| #include +configure:5217: result: no +configure:5221: checking sys/mntent.h presence +configure:5231: gcc -E conftest.c +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:35: sys/mntent.h: No such file or directory +configure:5237: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| /* end confdefs.h. */ +| #include +configure:5256: result: no +configure:5292: checking for sys/mntent.h +configure:5299: result: no +configure:5186: checking sys/mount.h usability +configure:5198: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:69: sys/mount.h: No such file or directory +configure:5201: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| /* end confdefs.h. */ +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| #include +configure:5217: result: no +configure:5221: checking sys/mount.h presence +configure:5231: gcc -E conftest.c +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:35: sys/mount.h: No such file or directory +configure:5237: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| /* end confdefs.h. */ +| #include +configure:5256: result: no +configure:5292: checking for sys/mount.h +configure:5299: result: no +configure:5186: checking sys/param.h usability +configure:5198: gcc -c -g -O2 conftest.c >&5 +configure:5201: $? = 0 +configure:5204: test -s conftest.o +configure:5207: $? = 0 +configure:5217: result: yes +configure:5221: checking sys/param.h presence +configure:5231: gcc -E conftest.c +configure:5237: $? = 0 +configure:5256: result: yes +configure:5292: checking for sys/param.h +configure:5299: result: yes +configure:5186: checking sys/resource.h usability +configure:5198: gcc -c -g -O2 conftest.c >&5 +configure:5201: $? = 0 +configure:5204: test -s conftest.o +configure:5207: $? = 0 +configure:5217: result: yes +configure:5221: checking sys/resource.h presence +configure:5231: gcc -E conftest.c +configure:5237: $? = 0 +configure:5256: result: yes +configure:5292: checking for sys/resource.h +configure:5299: result: yes +configure:5186: checking sys/socket.h usability +configure:5198: gcc -c -g -O2 conftest.c >&5 +configure:5201: $? = 0 +configure:5204: test -s conftest.o +configure:5207: $? = 0 +configure:5217: result: yes +configure:5221: checking sys/socket.h presence +configure:5231: gcc -E conftest.c +configure:5237: $? = 0 +configure:5256: result: yes +configure:5292: checking for sys/socket.h +configure:5299: result: yes +configure:5186: checking sys/statfs.h usability +configure:5198: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:72: sys/statfs.h: No such file or directory +configure:5201: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| #include +configure:5217: result: no +configure:5221: checking sys/statfs.h presence +configure:5231: gcc -E conftest.c +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:38: sys/statfs.h: No such file or directory +configure:5237: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| /* end confdefs.h. */ +| #include +configure:5256: result: no +configure:5292: checking for sys/statfs.h +configure:5299: result: no +configure:5186: checking sys/statvfs.h usability +configure:5198: gcc -c -g -O2 conftest.c >&5 +configure:5201: $? = 0 +configure:5204: test -s conftest.o +configure:5207: $? = 0 +configure:5217: result: yes +configure:5221: checking sys/statvfs.h presence +configure:5231: gcc -E conftest.c +configure:5237: $? = 0 +configure:5256: result: yes +configure:5292: checking for sys/statvfs.h +configure:5299: result: yes +configure:5186: checking sys/sysctl.h usability +configure:5198: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:73: sys/sysctl.h: No such file or directory +configure:5201: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| /* end confdefs.h. */ +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| #include +configure:5217: result: no +configure:5221: checking sys/sysctl.h presence +configure:5231: gcc -E conftest.c +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:39: sys/sysctl.h: No such file or directory +configure:5237: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| /* end confdefs.h. */ +| #include +configure:5256: result: no +configure:5292: checking for sys/sysctl.h +configure:5299: result: no +configure:5186: checking sys/systeminfo.h usability +configure:5198: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:73: sys/systeminfo.h: No such file or directory +configure:5201: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| /* end confdefs.h. */ +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| #include +configure:5217: result: no +configure:5221: checking sys/systeminfo.h presence +configure:5231: gcc -E conftest.c +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:39: sys/systeminfo.h: No such file or directory +configure:5237: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| /* end confdefs.h. */ +| #include +configure:5256: result: no +configure:5292: checking for sys/systeminfo.h +configure:5299: result: no +configure:5186: checking sys/time.h usability +configure:5198: gcc -c -g -O2 conftest.c >&5 +configure:5201: $? = 0 +configure:5204: test -s conftest.o +configure:5207: $? = 0 +configure:5217: result: yes +configure:5221: checking sys/time.h presence +configure:5231: gcc -E conftest.c +configure:5237: $? = 0 +configure:5256: result: yes +configure:5292: checking for sys/time.h +configure:5299: result: yes +configure:5186: checking sys/timeb.h usability +configure:5198: gcc -c -g -O2 conftest.c >&5 +configure:5201: $? = 0 +configure:5204: test -s conftest.o +configure:5207: $? = 0 +configure:5217: result: yes +configure:5221: checking sys/timeb.h presence +configure:5231: gcc -E conftest.c +configure:5237: $? = 0 +configure:5256: result: yes +configure:5292: checking for sys/timeb.h +configure:5299: result: yes +configure:5186: checking sys/vfs.h usability +configure:5198: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:75: sys/vfs.h: No such file or directory +configure:5201: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| /* end confdefs.h. */ +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| #include +configure:5217: result: no +configure:5221: checking sys/vfs.h presence +configure:5231: gcc -E conftest.c +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:41: sys/vfs.h: No such file or directory +configure:5237: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| /* end confdefs.h. */ +| #include +configure:5256: result: no +configure:5292: checking for sys/vfs.h +configure:5299: result: no +configure:5186: checking sys/wait.h usability +configure:5198: gcc -c -g -O2 conftest.c >&5 +configure:5201: $? = 0 +configure:5204: test -s conftest.o +configure:5207: $? = 0 +configure:5217: result: yes +configure:5221: checking sys/wait.h presence +configure:5231: gcc -E conftest.c +configure:5237: $? = 0 +configure:5256: result: yes +configure:5292: checking for sys/wait.h +configure:5299: result: yes +configure:5186: checking syslog.h usability +configure:5198: gcc -c -g -O2 conftest.c >&5 +configure:5201: $? = 0 +configure:5204: test -s conftest.o +configure:5207: $? = 0 +configure:5217: result: yes +configure:5221: checking syslog.h presence +configure:5231: gcc -E conftest.c +configure:5237: $? = 0 +configure:5256: result: yes +configure:5292: checking for syslog.h +configure:5299: result: yes +configure:5186: checking termios.h usability +configure:5198: gcc -c -g -O2 conftest.c >&5 +configure:5201: $? = 0 +configure:5204: test -s conftest.o +configure:5207: $? = 0 +configure:5217: result: yes +configure:5221: checking termios.h presence +configure:5231: gcc -E conftest.c +configure:5237: $? = 0 +configure:5256: result: yes +configure:5292: checking for termios.h +configure:5299: result: yes +configure:5177: checking for unistd.h +configure:5182: result: yes +configure:5186: checking utime.h usability +configure:5198: gcc -c -g -O2 conftest.c >&5 +configure:5201: $? = 0 +configure:5204: test -s conftest.o +configure:5207: $? = 0 +configure:5217: result: yes +configure:5221: checking utime.h presence +configure:5231: gcc -E conftest.c +configure:5237: $? = 0 +configure:5256: result: yes +configure:5292: checking for utime.h +configure:5299: result: yes +configure:5186: checking values.h usability +configure:5198: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:80: values.h: No such file or directory +configure:5201: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| /* end confdefs.h. */ +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| #include +configure:5217: result: no +configure:5221: checking values.h presence +configure:5231: gcc -E conftest.c +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:46: values.h: No such file or directory +configure:5237: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| /* end confdefs.h. */ +| #include +configure:5256: result: no +configure:5292: checking for values.h +configure:5299: result: no +configure:5321: checking for dirent.h that defines DIR +configure:5345: gcc -c -g -O2 conftest.c >&5 +configure:5348: $? = 0 +configure:5351: test -s conftest.o +configure:5354: $? = 0 +configure:5365: result: yes +configure:5379: checking for library containing opendir +configure:5410: gcc -o conftest -g -O2 conftest.c >&5 +configure:5413: $? = 0 +configure:5416: test -s conftest +configure:5419: $? = 0 +configure:5477: result: none required +configure:5607: checking for struct stat.st_blocks +configure:5630: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:85: structure has no member named `st_blocks' +configure:5633: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| /* end confdefs.h. */ +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| int +| main () +| { +| static struct stat ac_aggr; +| if (ac_aggr.st_blocks) +| return 0; +| ; +| return 0; +| } +configure:5664: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:85: structure has no member named `st_blocks' +configure:5667: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| /* end confdefs.h. */ +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| int +| main () +| { +| static struct stat ac_aggr; +| if (sizeof ac_aggr.st_blocks) +| return 0; +| ; +| return 0; +| } +configure:5686: result: no +configure:5704: checking whether struct tm is in sys/time.h or time.h +configure:5727: gcc -c -g -O2 conftest.c >&5 +configure:5730: $? = 0 +configure:5733: test -s conftest.o +configure:5736: $? = 0 +configure:5747: result: time.h +configure:5757: checking for struct tm.tm_zone +configure:5783: gcc -c -g -O2 conftest.c >&5 +configure:5786: $? = 0 +configure:5789: test -s conftest.o +configure:5792: $? = 0 +configure:5842: result: yes +configure:5916: checking whether stat file-mode macros are broken +configure:5964: result: no +configure:5974: checking for nanoseconds member of struct stat.st_mtim +configure:6005: gcc -c -g -O2 -DST_MTIM_NSEC=tv_nsec conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:54: structure has no member named `st_mtim' +configure:6008: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| /* end confdefs.h. */ +| #include +| #include +| int +| main () +| { +| struct stat s; s.st_mtim.ST_MTIM_NSEC; +| ; +| return 0; +| } +configure:6005: gcc -c -g -O2 -DST_MTIM_NSEC=_tv_nsec conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:54: structure has no member named `st_mtim' +configure:6008: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| /* end confdefs.h. */ +| #include +| #include +| int +| main () +| { +| struct stat s; s.st_mtim.ST_MTIM_NSEC; +| ; +| return 0; +| } +configure:6005: gcc -c -g -O2 -DST_MTIM_NSEC=st__tim.tv_nsec conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:54: structure has no member named `st_mtim' +configure:6008: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| /* end confdefs.h. */ +| #include +| #include +| int +| main () +| { +| struct stat s; s.st_mtim.ST_MTIM_NSEC; +| ; +| return 0; +| } +configure:6026: result: no +configure:6038: checking for st_dm_mode in struct stat +configure:6060: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:54: structure has no member named `st_dm_mode' +configure:6063: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| /* end confdefs.h. */ +| #include +| #include +| int +| main () +| { +| struct stat s; s.st_dm_mode; +| ; +| return 0; +| } +configure:6080: result: no +configure:6092: checking whether time.h and sys/time.h may both be included +configure:6117: gcc -c -g -O2 conftest.c >&5 +configure:6120: $? = 0 +configure:6123: test -s conftest.o +configure:6126: $? = 0 +configure:6137: result: yes +configure:6149: checking for struct timespec +configure:6181: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:65: storage size of `x' isn't known +configure:6184: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| /* end confdefs.h. */ +| +| # if TIME_WITH_SYS_TIME +| # include +| # include +| # else +| # if HAVE_SYS_TIME_H +| # include +| # else +| # include +| # endif +| # endif +| +| int +| main () +| { +| static struct timespec x; x.tv_sec = x.tv_nsec; +| ; +| return 0; +| } +configure:6202: result: no +configure:6213: checking for uid_t in sys/types.h +configure:6236: result: yes +configure:6251: checking type of array argument to getgroups +configure:6289: gcc -o conftest -g -O2 conftest.c >&5 +configure:6292: $? = 0 +configure:6294: ./conftest +configure:6297: $? = 0 +configure:6330: result: gid_t +configure:6338: checking for mode_t +configure:6362: gcc -c -g -O2 conftest.c >&5 +configure:6365: $? = 0 +configure:6368: test -s conftest.o +configure:6371: $? = 0 +configure:6382: result: yes +configure:6394: checking for off_t +configure:6418: gcc -c -g -O2 conftest.c >&5 +configure:6421: $? = 0 +configure:6424: test -s conftest.o +configure:6427: $? = 0 +configure:6438: result: yes +configure:6450: checking for pid_t +configure:6474: gcc -c -g -O2 conftest.c >&5 +configure:6477: $? = 0 +configure:6480: test -s conftest.o +configure:6483: $? = 0 +configure:6494: result: yes +configure:6506: checking return type of signal handlers +configure:6537: gcc -c -g -O2 conftest.c >&5 +configure:6540: $? = 0 +configure:6543: test -s conftest.o +configure:6546: $? = 0 +configure:6557: result: void +configure:6565: checking for size_t +configure:6589: gcc -c -g -O2 conftest.c >&5 +configure:6592: $? = 0 +configure:6595: test -s conftest.o +configure:6598: $? = 0 +configure:6609: result: yes +configure:6622: checking for unsigned long long +configure:6644: gcc -o conftest -g -O2 conftest.c >&5 +configure:6647: $? = 0 +configure:6650: test -s conftest +configure:6653: $? = 0 +configure:6664: result: yes +configure:6676: checking for uintmax_t +configure:6700: gcc -c -g -O2 conftest.c >&5 +configure:6703: $? = 0 +configure:6706: test -s conftest.o +configure:6709: $? = 0 +configure:6720: result: yes +configure:6736: checking whether sys/types.h defines makedev +configure:6757: gcc -o conftest -g -O2 conftest.c >&5 +/tmp/cc3SzKMB.o: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:57: undefined reference to `makedev' +collect2: ld returned 1 exit status +configure:6760: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| /* end confdefs.h. */ +| #include +| int +| main () +| { +| return makedev(0, 0); +| ; +| return 0; +| } +configure:6778: result: no +configure:6792: checking sys/mkdev.h usability +configure:6804: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:87: sys/mkdev.h: No such file or directory +configure:6807: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| /* end confdefs.h. */ +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| #include +configure:6823: result: no +configure:6827: checking sys/mkdev.h presence +configure:6837: gcc -E conftest.c +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:53: sys/mkdev.h: No such file or directory +configure:6843: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| /* end confdefs.h. */ +| #include +configure:6862: result: no +configure:6898: checking for sys/mkdev.h +configure:6905: result: no +configure:6930: checking sys/sysmacros.h usability +configure:6942: gcc -c -g -O2 conftest.c >&5 +configure:6945: $? = 0 +configure:6948: test -s conftest.o +configure:6951: $? = 0 +configure:6961: result: yes +configure:6965: checking sys/sysmacros.h presence +configure:6975: gcc -E conftest.c +configure:6981: $? = 0 +configure:7000: result: yes +configure:7036: checking for sys/sysmacros.h +configure:7043: result: yes +configure:7059: checking for C/C++ restrict keyword +configure:7076: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:54: parse error before `x' +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:54: warning: data definition has no type or storage class +configure:7079: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| /* end confdefs.h. */ +| float * restrict x; +configure:7076: gcc -c -g -O2 conftest.c >&5 +configure:7079: $? = 0 +configure:7082: test -s conftest.o +configure:7085: $? = 0 +configure:7097: result: __restrict__ +configure:7114: checking for working alloca.h +configure:7135: gcc -o conftest -g -O2 conftest.c >&5 +configure:7138: $? = 0 +configure:7141: test -s conftest +configure:7144: $? = 0 +configure:7155: result: yes +configure:7165: checking for alloca +configure:7206: gcc -o conftest -g -O2 conftest.c >&5 +configure:7209: $? = 0 +configure:7212: test -s conftest +configure:7215: $? = 0 +configure:7226: result: yes +configure:7436: checking for limits.h +configure:7441: result: yes +configure:7578: checking for string.h +configure:7583: result: yes +configure:7729: checking wchar.h usability +configure:7741: gcc -c -g -O2 conftest.c >&5 +configure:7744: $? = 0 +configure:7747: test -s conftest.o +configure:7750: $? = 0 +configure:7760: result: yes +configure:7764: checking wchar.h presence +configure:7774: gcc -E conftest.c +configure:7780: $? = 0 +configure:7799: result: yes +configure:7835: checking for wchar.h +configure:7842: result: yes +configure:7871: checking wctype.h usability +configure:7883: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:94: wctype.h: No such file or directory +configure:7886: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| /* end confdefs.h. */ +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| #include +configure:7902: result: no +configure:7906: checking wctype.h presence +configure:7916: gcc -E conftest.c +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:60: wctype.h: No such file or directory +configure:7922: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| /* end confdefs.h. */ +| #include +configure:7941: result: no +configure:7977: checking for wctype.h +configure:7984: result: no +configure:8003: checking for isascii +configure:8052: gcc -o conftest -g -O2 conftest.c >&5 +configure:8055: $? = 0 +configure:8058: test -s conftest +configure:8061: $? = 0 +configure:8072: result: yes +configure:8088: checking for mempcpy +configure:8137: gcc -o conftest -g -O2 conftest.c >&5 +/tmp/cc70BXq3.o: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:93: undefined reference to `mempcpy' +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:92: undefined reference to `mempcpy' +collect2: ld returned 1 exit status +configure:8140: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| /* end confdefs.h. */ +| /* System header to define __stub macros and hopefully few prototypes, +| which can conflict with char mempcpy (); below. +| Prefer to if __STDC__ is defined, since +| exists even on freestanding compilers. */ +| #ifdef __STDC__ +| # include +| #else +| # include +| #endif +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| { +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char mempcpy (); +| /* The GNU C library defines this for functions which it implements +| to always fail with ENOSYS. Some functions are actually named +| something starting with __ and the normal name is an alias. */ +| #if defined (__stub_mempcpy) || defined (__stub___mempcpy) +| choke me +| #else +| char (*f) () = mempcpy; +| #endif +| #ifdef __cplusplus +| } +| #endif +| +| int +| main () +| { +| return f != mempcpy; +| ; +| return 0; +| } +configure:8157: result: no +configure:8169: checking host operating system +configure:8233: result: BeOS +configure:8241: checking whether mkdir fails due to a trailing slash +configure:8271: gcc -o conftest -g -O2 conftest.c >&5 +configure:8274: $? = 0 +configure:8276: ./conftest +configure:8279: $? = 255 +configure: program exited with status 255 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| /* end confdefs.h. */ +| +| # include +| # include +| # include +| int main () +| { +| rmdir ("confdir-slash"); +| exit (mkdir ("confdir-slash/", 0700)); +| } +| +configure:8295: result: yes +configure:8313: checking whether to enable assertions +configure:8326: result: yes +configure:8337: checking for utime.h +configure:8342: result: yes +configure:8473: checking for struct utimbuf +configure:8508: gcc -c -g -O2 conftest.c >&5 +configure:8511: $? = 0 +configure:8514: test -s conftest.o +configure:8517: $? = 0 +configure:8529: result: yes +configure:8540: checking for d_type member in directory struct +configure:8577: gcc -o conftest -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:85: structure has no member named `d_type' +configure:8580: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| /* end confdefs.h. */ +| +| #include +| #ifdef HAVE_DIRENT_H +| # include +| #else /* not HAVE_DIRENT_H */ +| # define dirent direct +| # ifdef HAVE_SYS_NDIR_H +| # include +| # endif /* HAVE_SYS_NDIR_H */ +| # ifdef HAVE_SYS_DIR_H +| # include +| # endif /* HAVE_SYS_DIR_H */ +| # ifdef HAVE_NDIR_H +| # include +| # endif /* HAVE_NDIR_H */ +| #endif /* HAVE_DIRENT_H */ +| +| int +| main () +| { +| struct dirent dp; dp.d_type = 0; +| ; +| return 0; +| } +configure:8599: result: no +configure:8610: checking for d_ino member in directory struct +configure:8647: gcc -o conftest -g -O2 conftest.c >&5 +configure:8650: $? = 0 +configure:8653: test -s conftest +configure:8656: $? = 0 +configure:8669: result: yes +configure:8706: checking grp.h usability +configure:8718: gcc -c -g -O2 conftest.c >&5 +configure:8721: $? = 0 +configure:8724: test -s conftest.o +configure:8727: $? = 0 +configure:8737: result: yes +configure:8741: checking grp.h presence +configure:8751: gcc -E conftest.c +configure:8757: $? = 0 +configure:8776: result: yes +configure:8812: checking for grp.h +configure:8819: result: yes +configure:8697: checking for memory.h +configure:8702: result: yes +configure:8706: checking pwd.h usability +configure:8718: gcc -c -g -O2 conftest.c >&5 +configure:8721: $? = 0 +configure:8724: test -s conftest.o +configure:8727: $? = 0 +configure:8737: result: yes +configure:8741: checking pwd.h presence +configure:8751: gcc -E conftest.c +configure:8757: $? = 0 +configure:8776: result: yes +configure:8812: checking for pwd.h +configure:8819: result: yes +configure:8697: checking for string.h +configure:8702: result: yes +configure:8697: checking for strings.h +configure:8702: result: yes +configure:8697: checking for stdlib.h +configure:8702: result: yes +configure:8697: checking for unistd.h +configure:8702: result: yes +configure:8697: checking for sys/time.h +configure:8702: result: yes +configure:8706: checking utmp.h usability +configure:8718: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:108: utmp.h: No such file or directory +configure:8721: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| /* end confdefs.h. */ +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| #include +configure:8737: result: no +configure:8741: checking utmp.h presence +configure:8751: gcc -E conftest.c +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:74: utmp.h: No such file or directory +configure:8757: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| /* end confdefs.h. */ +| #include +configure:8776: result: no +configure:8812: checking for utmp.h +configure:8819: result: no +configure:8706: checking utmpx.h usability +configure:8718: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:108: utmpx.h: No such file or directory +configure:8721: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| /* end confdefs.h. */ +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| #include +configure:8737: result: no +configure:8741: checking utmpx.h presence +configure:8751: gcc -E conftest.c +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:74: utmpx.h: No such file or directory +configure:8757: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| /* end confdefs.h. */ +| #include +configure:8776: result: no +configure:8812: checking for utmpx.h +configure:8819: result: no +configure:8880: checking whether euidaccess is declared +configure:8905: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:122: `euidaccess' undeclared (first use in this function) +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:122: (Each undeclared identifier is reported only once +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:122: for each function it appears in.) +configure:8908: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| /* end confdefs.h. */ +| +| #include +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #else +| # if HAVE_STRINGS_H +| # include +| # endif +| #endif +| #if HAVE_STDLIB_H +| # include +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| +| #include +| #if TIME_WITH_SYS_TIME +| # include +| # include +| #else +| # if HAVE_SYS_TIME_H +| # include +| # else +| # include +| # endif +| #endif +| +| #if HAVE_UTMP_H +| # include +| #endif +| +| #if HAVE_GRP_H +| # include +| #endif +| +| #if HAVE_PWD_H +| # include +| #endif +| +| +| int +| main () +| { +| #ifndef euidaccess +| char *p = (char *) euidaccess; +| #endif +| +| ; +| return 0; +| } +configure:8925: result: no +configure:8941: checking whether free is declared +configure:8966: gcc -c -g -O2 conftest.c >&5 +configure:8969: $? = 0 +configure:8972: test -s conftest.o +configure:8975: $? = 0 +configure:8986: result: yes +configure:9002: checking whether getenv is declared +configure:9027: gcc -c -g -O2 conftest.c >&5 +configure:9030: $? = 0 +configure:9033: test -s conftest.o +configure:9036: $? = 0 +configure:9047: result: yes +configure:9063: checking whether geteuid is declared +configure:9088: gcc -c -g -O2 conftest.c >&5 +configure:9091: $? = 0 +configure:9094: test -s conftest.o +configure:9097: $? = 0 +configure:9108: result: yes +configure:9124: checking whether getgrgid is declared +configure:9149: gcc -c -g -O2 conftest.c >&5 +configure:9152: $? = 0 +configure:9155: test -s conftest.o +configure:9158: $? = 0 +configure:9169: result: yes +configure:9185: checking whether getlogin is declared +configure:9210: gcc -c -g -O2 conftest.c >&5 +configure:9213: $? = 0 +configure:9216: test -s conftest.o +configure:9219: $? = 0 +configure:9230: result: yes +configure:9246: checking whether getpwuid is declared +configure:9271: gcc -c -g -O2 conftest.c >&5 +configure:9274: $? = 0 +configure:9277: test -s conftest.o +configure:9280: $? = 0 +configure:9291: result: yes +configure:9307: checking whether getuid is declared +configure:9332: gcc -c -g -O2 conftest.c >&5 +configure:9335: $? = 0 +configure:9338: test -s conftest.o +configure:9341: $? = 0 +configure:9352: result: yes +configure:9368: checking whether getutent is declared +configure:9393: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:130: `getutent' undeclared (first use in this function) +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:130: (Each undeclared identifier is reported only once +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:130: for each function it appears in.) +configure:9396: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| /* end confdefs.h. */ +| +| #include +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #else +| # if HAVE_STRINGS_H +| # include +| # endif +| #endif +| #if HAVE_STDLIB_H +| # include +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| +| #include +| #if TIME_WITH_SYS_TIME +| # include +| # include +| #else +| # if HAVE_SYS_TIME_H +| # include +| # else +| # include +| # endif +| #endif +| +| #if HAVE_UTMP_H +| # include +| #endif +| +| #if HAVE_GRP_H +| # include +| #endif +| +| #if HAVE_PWD_H +| # include +| #endif +| +| +| int +| main () +| { +| #ifndef getutent +| char *p = (char *) getutent; +| #endif +| +| ; +| return 0; +| } +configure:9413: result: no +configure:9429: checking whether lseek is declared +configure:9454: gcc -c -g -O2 conftest.c >&5 +configure:9457: $? = 0 +configure:9460: test -s conftest.o +configure:9463: $? = 0 +configure:9474: result: yes +configure:9490: checking whether malloc is declared +configure:9515: gcc -c -g -O2 conftest.c >&5 +configure:9518: $? = 0 +configure:9521: test -s conftest.o +configure:9524: $? = 0 +configure:9535: result: yes +configure:9551: checking whether memchr is declared +configure:9576: gcc -c -g -O2 conftest.c >&5 +configure:9579: $? = 0 +configure:9582: test -s conftest.o +configure:9585: $? = 0 +configure:9596: result: yes +configure:9612: checking whether memrchr is declared +configure:9637: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:134: `memrchr' undeclared (first use in this function) +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:134: (Each undeclared identifier is reported only once +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:134: for each function it appears in.) +configure:9640: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| /* end confdefs.h. */ +| +| #include +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #else +| # if HAVE_STRINGS_H +| # include +| # endif +| #endif +| #if HAVE_STDLIB_H +| # include +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| +| #include +| #if TIME_WITH_SYS_TIME +| # include +| # include +| #else +| # if HAVE_SYS_TIME_H +| # include +| # else +| # include +| # endif +| #endif +| +| #if HAVE_UTMP_H +| # include +| #endif +| +| #if HAVE_GRP_H +| # include +| #endif +| +| #if HAVE_PWD_H +| # include +| #endif +| +| +| int +| main () +| { +| #ifndef memrchr +| char *p = (char *) memrchr; +| #endif +| +| ; +| return 0; +| } +configure:9657: result: no +configure:9673: checking whether nanosleep is declared +configure:9698: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:135: `nanosleep' undeclared (first use in this function) +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:135: (Each undeclared identifier is reported only once +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:135: for each function it appears in.) +configure:9701: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| /* end confdefs.h. */ +| +| #include +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #else +| # if HAVE_STRINGS_H +| # include +| # endif +| #endif +| #if HAVE_STDLIB_H +| # include +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| +| #include +| #if TIME_WITH_SYS_TIME +| # include +| # include +| #else +| # if HAVE_SYS_TIME_H +| # include +| # else +| # include +| # endif +| #endif +| +| #if HAVE_UTMP_H +| # include +| #endif +| +| #if HAVE_GRP_H +| # include +| #endif +| +| #if HAVE_PWD_H +| # include +| #endif +| +| +| int +| main () +| { +| #ifndef nanosleep +| char *p = (char *) nanosleep; +| #endif +| +| ; +| return 0; +| } +configure:9718: result: no +configure:9734: checking whether realloc is declared +configure:9759: gcc -c -g -O2 conftest.c >&5 +configure:9762: $? = 0 +configure:9765: test -s conftest.o +configure:9768: $? = 0 +configure:9779: result: yes +configure:9795: checking whether stpcpy is declared +configure:9820: gcc -c -g -O2 conftest.c >&5 +configure:9823: $? = 0 +configure:9826: test -s conftest.o +configure:9829: $? = 0 +configure:9840: result: yes +configure:9856: checking whether strndup is declared +configure:9881: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:138: `strndup' undeclared (first use in this function) +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:138: (Each undeclared identifier is reported only once +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:138: for each function it appears in.) +configure:9884: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| /* end confdefs.h. */ +| +| #include +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #else +| # if HAVE_STRINGS_H +| # include +| # endif +| #endif +| #if HAVE_STDLIB_H +| # include +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| +| #include +| #if TIME_WITH_SYS_TIME +| # include +| # include +| #else +| # if HAVE_SYS_TIME_H +| # include +| # else +| # include +| # endif +| #endif +| +| #if HAVE_UTMP_H +| # include +| #endif +| +| #if HAVE_GRP_H +| # include +| #endif +| +| #if HAVE_PWD_H +| # include +| #endif +| +| +| int +| main () +| { +| #ifndef strndup +| char *p = (char *) strndup; +| #endif +| +| ; +| return 0; +| } +configure:9901: result: no +configure:9917: checking whether strnlen is declared +configure:9942: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:139: `strnlen' undeclared (first use in this function) +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:139: (Each undeclared identifier is reported only once +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:139: for each function it appears in.) +configure:9945: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| /* end confdefs.h. */ +| +| #include +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #else +| # if HAVE_STRINGS_H +| # include +| # endif +| #endif +| #if HAVE_STDLIB_H +| # include +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| +| #include +| #if TIME_WITH_SYS_TIME +| # include +| # include +| #else +| # if HAVE_SYS_TIME_H +| # include +| # else +| # include +| # endif +| #endif +| +| #if HAVE_UTMP_H +| # include +| #endif +| +| #if HAVE_GRP_H +| # include +| #endif +| +| #if HAVE_PWD_H +| # include +| #endif +| +| +| int +| main () +| { +| #ifndef strnlen +| char *p = (char *) strnlen; +| #endif +| +| ; +| return 0; +| } +configure:9962: result: no +configure:9978: checking whether strstr is declared +configure:10003: gcc -c -g -O2 conftest.c >&5 +configure:10006: $? = 0 +configure:10009: test -s conftest.o +configure:10012: $? = 0 +configure:10023: result: yes +configure:10039: checking whether strtoul is declared +configure:10064: gcc -c -g -O2 conftest.c >&5 +configure:10067: $? = 0 +configure:10070: test -s conftest.o +configure:10073: $? = 0 +configure:10084: result: yes +configure:10100: checking whether strtoull is declared +configure:10125: gcc -c -g -O2 conftest.c >&5 +configure:10128: $? = 0 +configure:10131: test -s conftest.o +configure:10134: $? = 0 +configure:10145: result: yes +configure:10161: checking whether ttyname is declared +configure:10186: gcc -c -g -O2 conftest.c >&5 +configure:10189: $? = 0 +configure:10192: test -s conftest.o +configure:10195: $? = 0 +configure:10206: result: yes +configure:10225: checking for long file names +configure:10264: result: yes +configure:10280: checking for pathconf +configure:10329: gcc -o conftest -g -O2 conftest.c >&5 +configure:10332: $? = 0 +configure:10335: test -s conftest +configure:10338: $? = 0 +configure:10349: result: yes +configure:10366: checking for limits.h +configure:10371: result: yes +configure:10366: checking for string.h +configure:10371: result: yes +configure:10366: checking for unistd.h +configure:10371: result: yes +configure:10504: checking for library containing gethostbyname +configure:10535: gcc -o conftest -g -O2 conftest.c >&5 +configure:10538: $? = 0 +configure:10541: test -s conftest +configure:10544: $? = 0 +configure:10602: result: none required +configure:10623: checking for gethostbyname +configure:10672: gcc -o conftest -g -O2 conftest.c >&5 +configure:10675: $? = 0 +configure:10678: test -s conftest +configure:10681: $? = 0 +configure:10692: result: yes +configure:10623: checking for gethostbyaddr +configure:10672: gcc -o conftest -g -O2 conftest.c >&5 +configure:10675: $? = 0 +configure:10678: test -s conftest +configure:10681: $? = 0 +configure:10692: result: yes +configure:10623: checking for inet_ntoa +configure:10672: gcc -o conftest -g -O2 conftest.c >&5 +configure:10675: $? = 0 +configure:10678: test -s conftest +configure:10681: $? = 0 +configure:10692: result: yes +configure:10714: checking for unistd.h +configure:10719: result: yes +configure:10714: checking for string.h +configure:10719: result: yes +configure:10714: checking for netdb.h +configure:10719: result: yes +configure:10714: checking for sys/socket.h +configure:10719: result: yes +configure:10723: checking netinet/in.h usability +configure:10735: gcc -c -g -O2 conftest.c >&5 +configure:10738: $? = 0 +configure:10741: test -s conftest.o +configure:10744: $? = 0 +configure:10754: result: yes +configure:10758: checking netinet/in.h presence +configure:10768: gcc -E conftest.c +configure:10774: $? = 0 +configure:10793: result: yes +configure:10829: checking for netinet/in.h +configure:10836: result: yes +configure:10723: checking arpa/inet.h usability +configure:10735: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:143: arpa/inet.h: No such file or directory +configure:10738: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| /* end confdefs.h. */ +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| #include +configure:10754: result: no +configure:10758: checking arpa/inet.h presence +configure:10768: gcc -E conftest.c +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:109: arpa/inet.h: No such file or directory +configure:10774: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| /* end confdefs.h. */ +| #include +configure:10793: result: no +configure:10829: checking for arpa/inet.h +configure:10836: result: no +configure:10857: checking for string.h +configure:10862: result: yes +configure:11000: checking for strerror +configure:11049: gcc -o conftest -g -O2 conftest.c >&5 +configure:11052: $? = 0 +configure:11055: test -s conftest +configure:11058: $? = 0 +configure:11069: result: yes +configure:11000: checking for vprintf +configure:11049: gcc -o conftest -g -O2 conftest.c >&5 +configure:11052: $? = 0 +configure:11055: test -s conftest +configure:11058: $? = 0 +configure:11069: result: yes +configure:11000: checking for doprnt +configure:11049: gcc -o conftest -g -O2 conftest.c >&5 +/tmp/ccnOeOsB.o: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:144: undefined reference to `doprnt' +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:143: undefined reference to `doprnt' +collect2: ld returned 1 exit status +configure:11052: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| /* end confdefs.h. */ +| /* System header to define __stub macros and hopefully few prototypes, +| which can conflict with char doprnt (); below. +| Prefer to if __STDC__ is defined, since +| exists even on freestanding compilers. */ +| #ifdef __STDC__ +| # include +| #else +| # include +| #endif +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| { +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char doprnt (); +| /* The GNU C library defines this for functions which it implements +| to always fail with ENOSYS. Some functions are actually named +| something starting with __ and the normal name is an alias. */ +| #if defined (__stub_doprnt) || defined (__stub___doprnt) +| choke me +| #else +| char (*f) () = doprnt; +| #endif +| #ifdef __cplusplus +| } +| #endif +| +| int +| main () +| { +| return f != doprnt; +| ; +| return 0; +| } +configure:11069: result: no +configure:11079: checking whether strerror is declared +configure:11103: gcc -c -g -O2 conftest.c >&5 +configure:11106: $? = 0 +configure:11109: test -s conftest.o +configure:11112: $? = 0 +configure:11123: result: yes +configure:11155: checking libintl.h usability +configure:11167: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:147: libintl.h: No such file or directory +configure:11170: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| /* end confdefs.h. */ +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| #include +configure:11186: result: no +configure:11190: checking libintl.h presence +configure:11200: gcc -E conftest.c +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:113: libintl.h: No such file or directory +configure:11206: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| /* end confdefs.h. */ +| #include +configure:11225: result: no +configure:11261: checking for libintl.h +configure:11268: result: no +configure:11281: checking whether strerror_r is declared +configure:11305: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:151: `strerror_r' undeclared (first use in this function) +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:151: (Each undeclared identifier is reported only once +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:151: for each function it appears in.) +configure:11308: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| /* end confdefs.h. */ +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| int +| main () +| { +| #ifndef strerror_r +| char *p = (char *) strerror_r; +| #endif +| +| ; +| return 0; +| } +configure:11325: result: no +configure:11347: checking for strerror_r +configure:11396: gcc -o conftest -g -O2 conftest.c >&5 +configure:11399: $? = 0 +configure:11402: test -s conftest +configure:11405: $? = 0 +configure:11416: result: yes +configure:11426: checking whether strerror_r returns char * +configure:11501: gcc -o conftest -g -O2 conftest.c >&5 +configure:11504: $? = 0 +configure:11506: ./conftest +configure:11509: $? = 0 +configure:11523: result: yes +configure:11533: checking for ANSI C header files +configure:11676: result: yes +configure:11687: checking for mbstate_t +configure:11709: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:155: `mbstate_t' undeclared (first use in this function) +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:155: (Each undeclared identifier is reported only once +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:155: for each function it appears in.) +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:155: parse error before `x' +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:155: `x' undeclared (first use in this function) +configure:11712: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| /* end confdefs.h. */ +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| # include +| int +| main () +| { +| mbstate_t x; return sizeof x; +| ; +| return 0; +| } +configure:11729: result: no +configure:11745: checking for working GNU fnmatch +configure:11788: gcc -o conftest -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:118: fnmatch.h: No such file or directory +configure:11791: $? = 1 +configure: program exited with status 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| /* end confdefs.h. */ +| #include +| # define y(a, b, c) (fnmatch (a, b, c) == 0) +| # define n(a, b, c) (fnmatch (a, b, c) == FNM_NOMATCH) +| +| int +| main () +| { +| exit +| (!(y ("a*", "abc", 0) +| && n ("d*/*1", "d/s/1", FNM_PATHNAME) +| && y ("a\\bc", "abc", 0) +| && n ("a\\bc", "abc", FNM_NOESCAPE) +| && y ("*x", ".x", 0) +| && n ("*x", ".x", FNM_PERIOD) +| && y ("xxXX", "xXxX", FNM_CASEFOLD) +| && y ("a++(x|yy)b", "a+xyyyyxb", FNM_EXTMATCH) +| && n ("d*/*1", "d/s/1", FNM_FILE_NAME) +| && y ("*", "x", FNM_FILE_NAME | FNM_LEADING_DIR) +| && y ("x*", "x/y/z", FNM_FILE_NAME | FNM_LEADING_DIR) +| && y ("*c*", "c/x", FNM_FILE_NAME | FNM_LEADING_DIR))); +| ; +| return 0; +| } +configure:11810: result: no +configure:11815: checking whether getenv is declared +configure:11859: result: yes +configure:11884: checking for btowc +configure:11933: gcc -o conftest -g -O2 conftest.c >&5 +configure:11936: $? = 0 +configure:11939: test -s conftest +configure:11942: $? = 0 +configure:11953: result: yes +configure:11884: checking for mbsrtowcs +configure:11933: gcc -o conftest -g -O2 conftest.c >&5 +configure:11936: $? = 0 +configure:11939: test -s conftest +configure:11942: $? = 0 +configure:11953: result: yes +configure:11884: checking for mempcpy +configure:11953: result: no +configure:11884: checking for wmempcpy +configure:11933: gcc -o conftest -g -O2 conftest.c >&5 +/tmp/ccBsIXbi.o: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:153: undefined reference to `wmempcpy' +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:152: undefined reference to `wmempcpy' +collect2: ld returned 1 exit status +configure:11936: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| /* end confdefs.h. */ +| /* System header to define __stub macros and hopefully few prototypes, +| which can conflict with char wmempcpy (); below. +| Prefer to if __STDC__ is defined, since +| exists even on freestanding compilers. */ +| #ifdef __STDC__ +| # include +| #else +| # include +| #endif +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| { +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char wmempcpy (); +| /* The GNU C library defines this for functions which it implements +| to always fail with ENOSYS. Some functions are actually named +| something starting with __ and the normal name is an alias. */ +| #if defined (__stub_wmempcpy) || defined (__stub___wmempcpy) +| choke me +| #else +| char (*f) () = wmempcpy; +| #endif +| #ifdef __cplusplus +| } +| #endif +| +| int +| main () +| { +| return f != wmempcpy; +| ; +| return 0; +| } +configure:11953: result: no +configure:11969: checking for wchar.h +configure:11974: result: yes +configure:11969: checking for wctype.h +configure:11974: result: no +configure:12117: checking for stdbool.h that conforms to C99 +configure:12170: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:126: parse error before string constant +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:144: warning: data definition has no type or storage class +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:144: warning: data definition has no type or storage class +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:149: size of array `d' is negative +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:150: incompatible types in initialization +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:150: initializer element is not constant +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:151: `_Bool' undeclared here (not in a function) +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:153: `_Bool' undeclared here (not in a function) +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:154: request for member `t' in something not a structure or union +configure:12173: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| /* end confdefs.h. */ +| +| #include +| #ifndef bool +| "error: bool is not defined" +| #endif +| #ifndef false +| "error: false is not defined" +| #endif +| #if false +| "error: false is not 0" +| #endif +| #ifndef true +| "error: false is not defined" +| #endif +| #if true != 1 +| "error: true is not 1" +| #endif +| #ifndef __bool_true_false_are_defined +| "error: __bool_true_false_are_defined is not defined" +| #endif +| +| struct s { _Bool s: 1; _Bool t; } s; +| +| char a[true == 1 ? 1 : -1]; +| char b[false == 0 ? 1 : -1]; +| char c[__bool_true_false_are_defined == 1 ? 1 : -1]; +| char d[(bool) -0.5 == true ? 1 : -1]; +| bool e = &s; +| char f[(_Bool) -0.0 == false ? 1 : -1]; +| char g[true]; +| char h[sizeof (_Bool)]; +| char i[sizeof s.t]; +| +| int +| main () +| { +| return !a + !b + !c + !d + !e + !f + !g + !h + !i; +| ; +| return 0; +| } +configure:12190: result: no +configure:12208: checking for getpagesize +configure:12257: gcc -o conftest -g -O2 conftest.c >&5 +/tmp/ccslEVtK.o: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:155: undefined reference to `getpagesize' +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:154: undefined reference to `getpagesize' +collect2: ld returned 1 exit status +configure:12260: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| /* end confdefs.h. */ +| /* System header to define __stub macros and hopefully few prototypes, +| which can conflict with char getpagesize (); below. +| Prefer to if __STDC__ is defined, since +| exists even on freestanding compilers. */ +| #ifdef __STDC__ +| # include +| #else +| # include +| #endif +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| { +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char getpagesize (); +| /* The GNU C library defines this for functions which it implements +| to always fail with ENOSYS. Some functions are actually named +| something starting with __ and the normal name is an alias. */ +| #if defined (__stub_getpagesize) || defined (__stub___getpagesize) +| choke me +| #else +| char (*f) () = getpagesize; +| #endif +| #ifdef __cplusplus +| } +| #endif +| +| int +| main () +| { +| return f != getpagesize; +| ; +| return 0; +| } +configure:12277: result: no +configure:12302: checking OS.h usability +configure:12314: gcc -c -g -O2 conftest.c >&5 +configure:12317: $? = 0 +configure:12320: test -s conftest.o +configure:12323: $? = 0 +configure:12333: result: yes +configure:12337: checking OS.h presence +configure:12347: gcc -E conftest.c +configure:12353: $? = 0 +configure:12372: result: yes +configure:12408: checking for OS.h +configure:12415: result: yes +configure:12293: checking for unistd.h +configure:12298: result: yes +configure:12446: checking locale.h usability +configure:12458: gcc -c -g -O2 conftest.c >&5 +configure:12461: $? = 0 +configure:12464: test -s conftest.o +configure:12467: $? = 0 +configure:12477: result: yes +configure:12481: checking locale.h presence +configure:12491: gcc -E conftest.c +configure:12497: $? = 0 +configure:12516: result: yes +configure:12552: checking for locale.h +configure:12559: result: yes +configure:12437: checking for stdlib.h +configure:12442: result: yes +configure:12437: checking for string.h +configure:12442: result: yes +configure:12576: checking for setlocale +configure:12625: gcc -o conftest -g -O2 conftest.c >&5 +configure:12628: $? = 0 +configure:12631: test -s conftest +configure:12634: $? = 0 +configure:12645: result: yes +configure:12663: checking for stdlib.h +configure:12668: result: yes +configure:12807: checking for locale.h +configure:12812: result: yes +configure:12942: checking whether getenv is declared +configure:12986: result: yes +configure:13008: checking for localeconv +configure:13057: gcc -o conftest -g -O2 conftest.c >&5 +configure:13060: $? = 0 +configure:13063: test -s conftest +configure:13066: $? = 0 +configure:13077: result: yes +configure:13101: checking for limits.h +configure:13106: result: yes +configure:13101: checking for stdlib.h +configure:13106: result: yes +configure:13101: checking for string.h +configure:13106: result: yes +configure:13101: checking for wchar.h +configure:13106: result: yes +configure:13101: checking for wctype.h +configure:13106: result: no +configure:13244: checking for isascii +configure:13313: result: yes +configure:13244: checking for iswcntrl +configure:13293: gcc -o conftest -g -O2 conftest.c >&5 +configure:13296: $? = 0 +configure:13299: test -s conftest +configure:13302: $? = 0 +configure:13313: result: yes +configure:13244: checking for iswprint +configure:13293: gcc -o conftest -g -O2 conftest.c >&5 +configure:13296: $? = 0 +configure:13299: test -s conftest +configure:13302: $? = 0 +configure:13313: result: yes +configure:13244: checking for mbsinit +configure:13293: gcc -o conftest -g -O2 conftest.c >&5 +configure:13296: $? = 0 +configure:13299: test -s conftest +configure:13302: $? = 0 +configure:13313: result: yes +configure:13244: checking for wcwidth +configure:13293: gcc -o conftest -g -O2 conftest.c >&5 +/tmp/cckkTiHs.o: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:173: undefined reference to `wcwidth' +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:172: undefined reference to `wcwidth' +collect2: ld returned 1 exit status +configure:13296: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| /* end confdefs.h. */ +| /* System header to define __stub macros and hopefully few prototypes, +| which can conflict with char wcwidth (); below. +| Prefer to if __STDC__ is defined, since +| exists even on freestanding compilers. */ +| #ifdef __STDC__ +| # include +| #else +| # include +| #endif +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| { +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char wcwidth (); +| /* The GNU C library defines this for functions which it implements +| to always fail with ENOSYS. Some functions are actually named +| something starting with __ and the normal name is an alias. */ +| #if defined (__stub_wcwidth) || defined (__stub___wcwidth) +| choke me +| #else +| char (*f) () = wcwidth; +| #endif +| #ifdef __cplusplus +| } +| #endif +| +| int +| main () +| { +| return f != wcwidth; +| ; +| return 0; +| } +configure:13313: result: no +configure:13324: checking whether mbrtowc and mbstate_t are properly declared +configure:13345: gcc -o conftest -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:145: `mbrtowc' undeclared (first use in this function) +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:145: (Each undeclared identifier is reported only once +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:145: for each function it appears in.) +configure:13348: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| /* end confdefs.h. */ +| #include +| int +| main () +| { +| mbstate_t state; return ! (sizeof state && mbrtowc); +| ; +| return 0; +| } +configure:13365: result: no +configure:13376: checking whether wcwidth is declared +configure:13409: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:155: `wcwidth' undeclared (first use in this function) +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:155: (Each undeclared identifier is reported only once +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:155: for each function it appears in.) +configure:13412: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| /* end confdefs.h. */ +| +| /* AIX 3.2.5 declares wcwidth in . */ +| #if HAVE_STRING_H +| # include +| #endif +| #if HAVE_WCHAR_H +| # include +| #endif +| +| int +| main () +| { +| +| #ifndef wcwidth +| char *p = (char *) wcwidth; +| #endif +| +| ; +| return 0; +| } +configure:13429: result: no +configure:13442: checking for mbstate_t +configure:13484: result: no +configure:13508: checking for limits.h +configure:13513: result: yes +configure:13508: checking for stdlib.h +configure:13513: result: yes +configure:13517: checking bp-sym.h usability +configure:13529: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:179: bp-sym.h: No such file or directory +configure:13532: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| /* end confdefs.h. */ +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| #include +configure:13548: result: no +configure:13552: checking bp-sym.h presence +configure:13562: gcc -E conftest.c +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:145: bp-sym.h: No such file or directory +configure:13568: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| /* end confdefs.h. */ +| #include +configure:13587: result: no +configure:13623: checking for bp-sym.h +configure:13630: result: no +configure:13644: checking for external symbol _system_configuration +configure:13666: gcc -o conftest -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:145: sys/systemcfg.h: No such file or directory +configure:13669: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| /* end confdefs.h. */ +| #include +| +| int +| main () +| { +| double x = _system_configuration.physmem; +| ; +| return 0; +| } +configure:13686: result: no +configure:13714: checking for unistd.h +configure:13719: result: yes +configure:13723: checking sys/pstat.h usability +configure:13735: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:180: sys/pstat.h: No such file or directory +configure:13738: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| /* end confdefs.h. */ +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| #include +configure:13754: result: no +configure:13758: checking sys/pstat.h presence +configure:13768: gcc -E conftest.c +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:146: sys/pstat.h: No such file or directory +configure:13774: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| /* end confdefs.h. */ +| #include +configure:13793: result: no +configure:13829: checking for sys/pstat.h +configure:13836: result: no +configure:13723: checking sys/sysmp.h usability +configure:13735: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:180: sys/sysmp.h: No such file or directory +configure:13738: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| /* end confdefs.h. */ +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| #include +configure:13754: result: no +configure:13758: checking sys/sysmp.h presence +configure:13768: gcc -E conftest.c +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:146: sys/sysmp.h: No such file or directory +configure:13774: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| /* end confdefs.h. */ +| #include +configure:13793: result: no +configure:13829: checking for sys/sysmp.h +configure:13836: result: no +configure:13723: checking sys/sysinfo.h usability +configure:13735: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:180: sys/sysinfo.h: No such file or directory +configure:13738: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| /* end confdefs.h. */ +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| #include +configure:13754: result: no +configure:13758: checking sys/sysinfo.h presence +configure:13768: gcc -E conftest.c +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:146: sys/sysinfo.h: No such file or directory +configure:13774: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| /* end confdefs.h. */ +| #include +configure:13793: result: no +configure:13829: checking for sys/sysinfo.h +configure:13836: result: no +configure:13723: checking machine/hal_sysinfo.h usability +configure:13735: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:180: machine/hal_sysinfo.h: No such file or directory +configure:13738: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| /* end confdefs.h. */ +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| #include +configure:13754: result: no +configure:13758: checking machine/hal_sysinfo.h presence +configure:13768: gcc -E conftest.c +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:146: machine/hal_sysinfo.h: No such file or directory +configure:13774: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| /* end confdefs.h. */ +| #include +configure:13793: result: no +configure:13829: checking for machine/hal_sysinfo.h +configure:13836: result: no +configure:13723: checking sys/table.h usability +configure:13735: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:180: sys/table.h: No such file or directory +configure:13738: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| /* end confdefs.h. */ +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| #include +configure:13754: result: no +configure:13758: checking sys/table.h presence +configure:13768: gcc -E conftest.c +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:146: sys/table.h: No such file or directory +configure:13774: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| /* end confdefs.h. */ +| #include +configure:13793: result: no +configure:13829: checking for sys/table.h +configure:13836: result: no +configure:13714: checking for sys/param.h +configure:13719: result: yes +configure:13714: checking for sys/sysctl.h +configure:13719: result: no +configure:13723: checking sys/systemcfg.h usability +configure:13735: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:181: sys/systemcfg.h: No such file or directory +configure:13738: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| /* end confdefs.h. */ +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| #include +configure:13754: result: no +configure:13758: checking sys/systemcfg.h presence +configure:13768: gcc -E conftest.c +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:147: sys/systemcfg.h: No such file or directory +configure:13774: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| /* end confdefs.h. */ +| #include +configure:13793: result: no +configure:13829: checking for sys/systemcfg.h +configure:13836: result: no +configure:13858: checking for pstat_getstatic +configure:13907: gcc -o conftest -g -O2 conftest.c >&5 +/tmp/cclUtbwY.o: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:179: undefined reference to `pstat_getstatic' +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:178: undefined reference to `pstat_getstatic' +collect2: ld returned 1 exit status +configure:13910: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| /* end confdefs.h. */ +| /* System header to define __stub macros and hopefully few prototypes, +| which can conflict with char pstat_getstatic (); below. +| Prefer to if __STDC__ is defined, since +| exists even on freestanding compilers. */ +| #ifdef __STDC__ +| # include +| #else +| # include +| #endif +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| { +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char pstat_getstatic (); +| /* The GNU C library defines this for functions which it implements +| to always fail with ENOSYS. Some functions are actually named +| something starting with __ and the normal name is an alias. */ +| #if defined (__stub_pstat_getstatic) || defined (__stub___pstat_getstatic) +| choke me +| #else +| char (*f) () = pstat_getstatic; +| #endif +| #ifdef __cplusplus +| } +| #endif +| +| int +| main () +| { +| return f != pstat_getstatic; +| ; +| return 0; +| } +configure:13927: result: no +configure:13858: checking for pstat_getdynamic +configure:13907: gcc -o conftest -g -O2 conftest.c >&5 +/tmp/ccUPni6o.o: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:179: undefined reference to `pstat_getdynamic' +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:178: undefined reference to `pstat_getdynamic' +collect2: ld returned 1 exit status +configure:13910: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| /* end confdefs.h. */ +| /* System header to define __stub macros and hopefully few prototypes, +| which can conflict with char pstat_getdynamic (); below. +| Prefer to if __STDC__ is defined, since +| exists even on freestanding compilers. */ +| #ifdef __STDC__ +| # include +| #else +| # include +| #endif +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| { +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char pstat_getdynamic (); +| /* The GNU C library defines this for functions which it implements +| to always fail with ENOSYS. Some functions are actually named +| something starting with __ and the normal name is an alias. */ +| #if defined (__stub_pstat_getdynamic) || defined (__stub___pstat_getdynamic) +| choke me +| #else +| char (*f) () = pstat_getdynamic; +| #endif +| #ifdef __cplusplus +| } +| #endif +| +| int +| main () +| { +| return f != pstat_getdynamic; +| ; +| return 0; +| } +configure:13927: result: no +configure:13858: checking for sysmp +configure:13907: gcc -o conftest -g -O2 conftest.c >&5 +/tmp/cciUe2jT.o: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:179: undefined reference to `sysmp' +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:178: undefined reference to `sysmp' +collect2: ld returned 1 exit status +configure:13910: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| /* end confdefs.h. */ +| /* System header to define __stub macros and hopefully few prototypes, +| which can conflict with char sysmp (); below. +| Prefer to if __STDC__ is defined, since +| exists even on freestanding compilers. */ +| #ifdef __STDC__ +| # include +| #else +| # include +| #endif +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| { +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char sysmp (); +| /* The GNU C library defines this for functions which it implements +| to always fail with ENOSYS. Some functions are actually named +| something starting with __ and the normal name is an alias. */ +| #if defined (__stub_sysmp) || defined (__stub___sysmp) +| choke me +| #else +| char (*f) () = sysmp; +| #endif +| #ifdef __cplusplus +| } +| #endif +| +| int +| main () +| { +| return f != sysmp; +| ; +| return 0; +| } +configure:13927: result: no +configure:13858: checking for getsysinfo +configure:13907: gcc -o conftest -g -O2 conftest.c >&5 +/tmp/cc81KIUX.o: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:179: undefined reference to `getsysinfo' +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:178: undefined reference to `getsysinfo' +collect2: ld returned 1 exit status +configure:13910: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| /* end confdefs.h. */ +| /* System header to define __stub macros and hopefully few prototypes, +| which can conflict with char getsysinfo (); below. +| Prefer to if __STDC__ is defined, since +| exists even on freestanding compilers. */ +| #ifdef __STDC__ +| # include +| #else +| # include +| #endif +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| { +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char getsysinfo (); +| /* The GNU C library defines this for functions which it implements +| to always fail with ENOSYS. Some functions are actually named +| something starting with __ and the normal name is an alias. */ +| #if defined (__stub_getsysinfo) || defined (__stub___getsysinfo) +| choke me +| #else +| char (*f) () = getsysinfo; +| #endif +| #ifdef __cplusplus +| } +| #endif +| +| int +| main () +| { +| return f != getsysinfo; +| ; +| return 0; +| } +configure:13927: result: no +configure:13858: checking for sysctl +configure:13907: gcc -o conftest -g -O2 conftest.c >&5 +/tmp/cce2AdSY.o: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:179: undefined reference to `sysctl' +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:178: undefined reference to `sysctl' +collect2: ld returned 1 exit status +configure:13910: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| /* end confdefs.h. */ +| /* System header to define __stub macros and hopefully few prototypes, +| which can conflict with char sysctl (); below. +| Prefer to if __STDC__ is defined, since +| exists even on freestanding compilers. */ +| #ifdef __STDC__ +| # include +| #else +| # include +| #endif +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| { +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char sysctl (); +| /* The GNU C library defines this for functions which it implements +| to always fail with ENOSYS. Some functions are actually named +| something starting with __ and the normal name is an alias. */ +| #if defined (__stub_sysctl) || defined (__stub___sysctl) +| choke me +| #else +| char (*f) () = sysctl; +| #endif +| #ifdef __cplusplus +| } +| #endif +| +| int +| main () +| { +| return f != sysctl; +| ; +| return 0; +| } +configure:13927: result: no +configure:13858: checking for table +configure:13907: gcc -o conftest -g -O2 conftest.c >&5 +/tmp/cceyggBw.o: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:179: undefined reference to `table' +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:178: undefined reference to `table' +collect2: ld returned 1 exit status +configure:13910: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| /* end confdefs.h. */ +| /* System header to define __stub macros and hopefully few prototypes, +| which can conflict with char table (); below. +| Prefer to if __STDC__ is defined, since +| exists even on freestanding compilers. */ +| #ifdef __STDC__ +| # include +| #else +| # include +| #endif +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| { +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char table (); +| /* The GNU C library defines this for functions which it implements +| to always fail with ENOSYS. Some functions are actually named +| something starting with __ and the normal name is an alias. */ +| #if defined (__stub_table) || defined (__stub___table) +| choke me +| #else +| char (*f) () = table; +| #endif +| #ifdef __cplusplus +| } +| #endif +| +| int +| main () +| { +| return f != table; +| ; +| return 0; +| } +configure:13927: result: no +configure:13946: checking for unistd.h +configure:13951: result: yes +configure:14081: checking whether getenv is declared +configure:14125: result: yes +configure:14144: checking for working memcmp +configure:14192: gcc -o conftest -g -O2 conftest.c >&5 +configure:14195: $? = 0 +configure:14197: ./conftest +configure:14200: $? = 0 +configure:14214: result: yes +configure:14227: checking whether backslash-a works in strings +configure:14255: gcc -c -g -O2 conftest.c >&5 +configure:14258: $? = 0 +configure:14261: test -s conftest.o +configure:14264: $? = 0 +configure:14275: result: yes +configure:14291: checking for isascii +configure:14360: result: yes +configure:14291: checking for iswprint +configure:14360: result: yes +configure:14382: checking for limits.h +configure:14387: result: yes +configure:14382: checking for stddef.h +configure:14387: result: yes +configure:14382: checking for stdlib.h +configure:14387: result: yes +configure:14382: checking for string.h +configure:14387: result: yes +configure:14382: checking for wchar.h +configure:14387: result: yes +configure:14382: checking for wctype.h +configure:14387: result: no +configure:14532: checking for string.h +configure:14537: result: yes +configure:14532: checking for utmp.h +configure:14537: result: no +configure:14532: checking for utmpx.h +configure:14537: result: no +configure:14532: checking for sys/param.h +configure:14537: result: yes +configure:14671: checking for utmpname +configure:14720: gcc -o conftest -g -O2 conftest.c >&5 +/tmp/ccC3QkwW.o: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:191: undefined reference to `utmpname' +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:190: undefined reference to `utmpname' +collect2: ld returned 1 exit status +configure:14723: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| /* end confdefs.h. */ +| /* System header to define __stub macros and hopefully few prototypes, +| which can conflict with char utmpname (); below. +| Prefer to if __STDC__ is defined, since +| exists even on freestanding compilers. */ +| #ifdef __STDC__ +| # include +| #else +| # include +| #endif +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| { +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char utmpname (); +| /* The GNU C library defines this for functions which it implements +| to always fail with ENOSYS. Some functions are actually named +| something starting with __ and the normal name is an alias. */ +| #if defined (__stub_utmpname) || defined (__stub___utmpname) +| choke me +| #else +| char (*f) () = utmpname; +| #endif +| #ifdef __cplusplus +| } +| #endif +| +| int +| main () +| { +| return f != utmpname; +| ; +| return 0; +| } +configure:14740: result: no +configure:14754: checking for utmpxname +configure:14803: gcc -o conftest -g -O2 conftest.c >&5 +/tmp/cc5CAeDx.o: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:191: undefined reference to `utmpxname' +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:190: undefined reference to `utmpxname' +collect2: ld returned 1 exit status +configure:14806: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| /* end confdefs.h. */ +| /* System header to define __stub macros and hopefully few prototypes, +| which can conflict with char utmpxname (); below. +| Prefer to if __STDC__ is defined, since +| exists even on freestanding compilers. */ +| #ifdef __STDC__ +| # include +| #else +| # include +| #endif +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| { +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char utmpxname (); +| /* The GNU C library defines this for functions which it implements +| to always fail with ENOSYS. Some functions are actually named +| something starting with __ and the normal name is an alias. */ +| #if defined (__stub_utmpxname) || defined (__stub___utmpxname) +| choke me +| #else +| char (*f) () = utmpxname; +| #endif +| #ifdef __cplusplus +| } +| #endif +| +| int +| main () +| { +| return f != utmpxname; +| ; +| return 0; +| } +configure:14823: result: no +configure:16507: checking for long long +configure:16529: gcc -o conftest -g -O2 conftest.c >&5 +configure:16532: $? = 0 +configure:16535: test -s conftest +configure:16538: $? = 0 +configure:16549: result: yes +configure:16568: checking for sys/sysmacros.h +configure:16573: result: yes +configure:16568: checking for sys/statvfs.h +configure:16573: result: yes +configure:16568: checking for sys/vfs.h +configure:16573: result: no +configure:16568: checking for inttypes.h +configure:16573: result: yes +configure:16709: checking for sys/param.h +configure:16714: result: yes +configure:16709: checking for sys/mount.h +configure:16714: result: no +configure:16848: checking for statvfs +configure:16897: gcc -o conftest -g -O2 conftest.c >&5 +configure:16900: $? = 0 +configure:16903: test -s conftest +configure:16906: $? = 0 +configure:16917: result: yes +configure:16943: checking for struct statfs.f_basetype +configure:16967: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:215: storage size of `ac_aggr' isn't known +configure:16970: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| /* end confdefs.h. */ +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| #if HAVE_SYS_STATVFS_H +| # include +| #endif +| #if HAVE_SYS_VFS_H +| # include +| #endif +| #if ( ! HAVE_SYS_STATVFS_H && ! HAVE_SYS_VFS_H && HAVE_SYS_MOUNT_H && HAVE_SYS_PARAM_H ) +| /* NetBSD 1.5.2 needs these, for the declaration of struct statfs. */ +| # include +| # include +| #endif +| +| +| int +| main () +| { +| static struct statfs ac_aggr; +| if (ac_aggr.f_basetype) +| return 0; +| ; +| return 0; +| } +configure:17002: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:215: storage size of `ac_aggr' isn't known +configure:17005: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| /* end confdefs.h. */ +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| #if HAVE_SYS_STATVFS_H +| # include +| #endif +| #if HAVE_SYS_VFS_H +| # include +| #endif +| #if ( ! HAVE_SYS_STATVFS_H && ! HAVE_SYS_VFS_H && HAVE_SYS_MOUNT_H && HAVE_SYS_PARAM_H ) +| /* NetBSD 1.5.2 needs these, for the declaration of struct statfs. */ +| # include +| # include +| #endif +| +| +| int +| main () +| { +| static struct statfs ac_aggr; +| if (sizeof ac_aggr.f_basetype) +| return 0; +| ; +| return 0; +| } +configure:17024: result: no +configure:17035: checking for struct statvfs.f_basetype +configure:17059: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:216: structure has no member named `f_basetype' +configure:17062: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| /* end confdefs.h. */ +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| #if HAVE_SYS_STATVFS_H +| # include +| #endif +| #if HAVE_SYS_VFS_H +| # include +| #endif +| #if ( ! HAVE_SYS_STATVFS_H && ! HAVE_SYS_VFS_H && HAVE_SYS_MOUNT_H && HAVE_SYS_PARAM_H ) +| /* NetBSD 1.5.2 needs these, for the declaration of struct statfs. */ +| # include +| # include +| #endif +| +| +| int +| main () +| { +| static struct statvfs ac_aggr; +| if (ac_aggr.f_basetype) +| return 0; +| ; +| return 0; +| } +configure:17094: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:216: structure has no member named `f_basetype' +configure:17097: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| /* end confdefs.h. */ +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| #if HAVE_SYS_STATVFS_H +| # include +| #endif +| #if HAVE_SYS_VFS_H +| # include +| #endif +| #if ( ! HAVE_SYS_STATVFS_H && ! HAVE_SYS_VFS_H && HAVE_SYS_MOUNT_H && HAVE_SYS_PARAM_H ) +| /* NetBSD 1.5.2 needs these, for the declaration of struct statfs. */ +| # include +| # include +| #endif +| +| +| int +| main () +| { +| static struct statvfs ac_aggr; +| if (sizeof ac_aggr.f_basetype) +| return 0; +| ; +| return 0; +| } +configure:17116: result: no +configure:17127: checking for struct statfs.f_fstypename +configure:17151: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:215: storage size of `ac_aggr' isn't known +configure:17154: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| /* end confdefs.h. */ +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| #if HAVE_SYS_STATVFS_H +| # include +| #endif +| #if HAVE_SYS_VFS_H +| # include +| #endif +| #if ( ! HAVE_SYS_STATVFS_H && ! HAVE_SYS_VFS_H && HAVE_SYS_MOUNT_H && HAVE_SYS_PARAM_H ) +| /* NetBSD 1.5.2 needs these, for the declaration of struct statfs. */ +| # include +| # include +| #endif +| +| +| int +| main () +| { +| static struct statfs ac_aggr; +| if (ac_aggr.f_fstypename) +| return 0; +| ; +| return 0; +| } +configure:17186: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:215: storage size of `ac_aggr' isn't known +configure:17189: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| /* end confdefs.h. */ +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| #if HAVE_SYS_STATVFS_H +| # include +| #endif +| #if HAVE_SYS_VFS_H +| # include +| #endif +| #if ( ! HAVE_SYS_STATVFS_H && ! HAVE_SYS_VFS_H && HAVE_SYS_MOUNT_H && HAVE_SYS_PARAM_H ) +| /* NetBSD 1.5.2 needs these, for the declaration of struct statfs. */ +| # include +| # include +| #endif +| +| +| int +| main () +| { +| static struct statfs ac_aggr; +| if (sizeof ac_aggr.f_fstypename) +| return 0; +| ; +| return 0; +| } +configure:17208: result: no +configure:17219: checking for struct statfs.f_type +configure:17243: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:215: storage size of `ac_aggr' isn't known +configure:17246: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| /* end confdefs.h. */ +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| #if HAVE_SYS_STATVFS_H +| # include +| #endif +| #if HAVE_SYS_VFS_H +| # include +| #endif +| #if ( ! HAVE_SYS_STATVFS_H && ! HAVE_SYS_VFS_H && HAVE_SYS_MOUNT_H && HAVE_SYS_PARAM_H ) +| /* NetBSD 1.5.2 needs these, for the declaration of struct statfs. */ +| # include +| # include +| #endif +| +| +| int +| main () +| { +| static struct statfs ac_aggr; +| if (ac_aggr.f_type) +| return 0; +| ; +| return 0; +| } +configure:17278: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:215: storage size of `ac_aggr' isn't known +configure:17281: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| /* end confdefs.h. */ +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| #if HAVE_SYS_STATVFS_H +| # include +| #endif +| #if HAVE_SYS_VFS_H +| # include +| #endif +| #if ( ! HAVE_SYS_STATVFS_H && ! HAVE_SYS_VFS_H && HAVE_SYS_MOUNT_H && HAVE_SYS_PARAM_H ) +| /* NetBSD 1.5.2 needs these, for the declaration of struct statfs. */ +| # include +| # include +| #endif +| +| +| int +| main () +| { +| static struct statfs ac_aggr; +| if (sizeof ac_aggr.f_type) +| return 0; +| ; +| return 0; +| } +configure:17300: result: no +configure:17311: checking for struct statvfs.f_type +configure:17335: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:216: structure has no member named `f_type' +configure:17338: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| /* end confdefs.h. */ +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| #if HAVE_SYS_STATVFS_H +| # include +| #endif +| #if HAVE_SYS_VFS_H +| # include +| #endif +| #if ( ! HAVE_SYS_STATVFS_H && ! HAVE_SYS_VFS_H && HAVE_SYS_MOUNT_H && HAVE_SYS_PARAM_H ) +| /* NetBSD 1.5.2 needs these, for the declaration of struct statfs. */ +| # include +| # include +| #endif +| +| +| int +| main () +| { +| static struct statvfs ac_aggr; +| if (ac_aggr.f_type) +| return 0; +| ; +| return 0; +| } +configure:17370: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:216: structure has no member named `f_type' +configure:17373: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| /* end confdefs.h. */ +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| #if HAVE_SYS_STATVFS_H +| # include +| #endif +| #if HAVE_SYS_VFS_H +| # include +| #endif +| #if ( ! HAVE_SYS_STATVFS_H && ! HAVE_SYS_VFS_H && HAVE_SYS_MOUNT_H && HAVE_SYS_PARAM_H ) +| /* NetBSD 1.5.2 needs these, for the declaration of struct statfs. */ +| # include +| # include +| #endif +| +| +| int +| main () +| { +| static struct statvfs ac_aggr; +| if (sizeof ac_aggr.f_type) +| return 0; +| ; +| return 0; +| } +configure:17392: result: no +configure:17403: checking for struct statfs.f_fsid.__val +configure:17427: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:215: storage size of `ac_aggr' isn't known +configure:17430: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| /* end confdefs.h. */ +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| #if HAVE_SYS_STATVFS_H +| # include +| #endif +| #if HAVE_SYS_VFS_H +| # include +| #endif +| #if ( ! HAVE_SYS_STATVFS_H && ! HAVE_SYS_VFS_H && HAVE_SYS_MOUNT_H && HAVE_SYS_PARAM_H ) +| /* NetBSD 1.5.2 needs these, for the declaration of struct statfs. */ +| # include +| # include +| #endif +| +| +| int +| main () +| { +| static struct statfs ac_aggr; +| if (ac_aggr.f_fsid.__val) +| return 0; +| ; +| return 0; +| } +configure:17462: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:215: storage size of `ac_aggr' isn't known +configure:17465: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| /* end confdefs.h. */ +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| #if HAVE_SYS_STATVFS_H +| # include +| #endif +| #if HAVE_SYS_VFS_H +| # include +| #endif +| #if ( ! HAVE_SYS_STATVFS_H && ! HAVE_SYS_VFS_H && HAVE_SYS_MOUNT_H && HAVE_SYS_PARAM_H ) +| /* NetBSD 1.5.2 needs these, for the declaration of struct statfs. */ +| # include +| # include +| #endif +| +| +| int +| main () +| { +| static struct statfs ac_aggr; +| if (sizeof ac_aggr.f_fsid.__val) +| return 0; +| ; +| return 0; +| } +configure:17484: result: no +configure:17495: checking for struct statvfs.f_fsid.__val +configure:17519: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:216: request for member `__val' in something not a structure or union +configure:17522: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| /* end confdefs.h. */ +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| #if HAVE_SYS_STATVFS_H +| # include +| #endif +| #if HAVE_SYS_VFS_H +| # include +| #endif +| #if ( ! HAVE_SYS_STATVFS_H && ! HAVE_SYS_VFS_H && HAVE_SYS_MOUNT_H && HAVE_SYS_PARAM_H ) +| /* NetBSD 1.5.2 needs these, for the declaration of struct statfs. */ +| # include +| # include +| #endif +| +| +| int +| main () +| { +| static struct statvfs ac_aggr; +| if (ac_aggr.f_fsid.__val) +| return 0; +| ; +| return 0; +| } +configure:17554: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:216: request for member `__val' in something not a structure or union +configure:17557: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| /* end confdefs.h. */ +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| #if HAVE_SYS_STATVFS_H +| # include +| #endif +| #if HAVE_SYS_VFS_H +| # include +| #endif +| #if ( ! HAVE_SYS_STATVFS_H && ! HAVE_SYS_VFS_H && HAVE_SYS_MOUNT_H && HAVE_SYS_PARAM_H ) +| /* NetBSD 1.5.2 needs these, for the declaration of struct statfs. */ +| # include +| # include +| #endif +| +| +| int +| main () +| { +| static struct statvfs ac_aggr; +| if (sizeof ac_aggr.f_fsid.__val) +| return 0; +| ; +| return 0; +| } +configure:17576: result: no +configure:17587: checking for struct statfs.f_namemax +configure:17611: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:215: storage size of `ac_aggr' isn't known +configure:17614: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| /* end confdefs.h. */ +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| #if HAVE_SYS_STATVFS_H +| # include +| #endif +| #if HAVE_SYS_VFS_H +| # include +| #endif +| #if ( ! HAVE_SYS_STATVFS_H && ! HAVE_SYS_VFS_H && HAVE_SYS_MOUNT_H && HAVE_SYS_PARAM_H ) +| /* NetBSD 1.5.2 needs these, for the declaration of struct statfs. */ +| # include +| # include +| #endif +| +| +| int +| main () +| { +| static struct statfs ac_aggr; +| if (ac_aggr.f_namemax) +| return 0; +| ; +| return 0; +| } +configure:17646: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:215: storage size of `ac_aggr' isn't known +configure:17649: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| /* end confdefs.h. */ +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| #if HAVE_SYS_STATVFS_H +| # include +| #endif +| #if HAVE_SYS_VFS_H +| # include +| #endif +| #if ( ! HAVE_SYS_STATVFS_H && ! HAVE_SYS_VFS_H && HAVE_SYS_MOUNT_H && HAVE_SYS_PARAM_H ) +| /* NetBSD 1.5.2 needs these, for the declaration of struct statfs. */ +| # include +| # include +| #endif +| +| +| int +| main () +| { +| static struct statfs ac_aggr; +| if (sizeof ac_aggr.f_namemax) +| return 0; +| ; +| return 0; +| } +configure:17668: result: no +configure:17679: checking for struct statvfs.f_namemax +configure:17703: gcc -c -g -O2 conftest.c >&5 +configure:17706: $? = 0 +configure:17709: test -s conftest.o +configure:17712: $? = 0 +configure:17760: result: yes +configure:17771: checking for struct statfs.f_namelen +configure:17795: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:216: storage size of `ac_aggr' isn't known +configure:17798: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| /* end confdefs.h. */ +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| #if HAVE_SYS_STATVFS_H +| # include +| #endif +| #if HAVE_SYS_VFS_H +| # include +| #endif +| #if ( ! HAVE_SYS_STATVFS_H && ! HAVE_SYS_VFS_H && HAVE_SYS_MOUNT_H && HAVE_SYS_PARAM_H ) +| /* NetBSD 1.5.2 needs these, for the declaration of struct statfs. */ +| # include +| # include +| #endif +| +| +| int +| main () +| { +| static struct statfs ac_aggr; +| if (ac_aggr.f_namelen) +| return 0; +| ; +| return 0; +| } +configure:17830: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:216: storage size of `ac_aggr' isn't known +configure:17833: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| /* end confdefs.h. */ +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| #if HAVE_SYS_STATVFS_H +| # include +| #endif +| #if HAVE_SYS_VFS_H +| # include +| #endif +| #if ( ! HAVE_SYS_STATVFS_H && ! HAVE_SYS_VFS_H && HAVE_SYS_MOUNT_H && HAVE_SYS_PARAM_H ) +| /* NetBSD 1.5.2 needs these, for the declaration of struct statfs. */ +| # include +| # include +| #endif +| +| +| int +| main () +| { +| static struct statfs ac_aggr; +| if (sizeof ac_aggr.f_namelen) +| return 0; +| ; +| return 0; +| } +configure:17852: result: no +configure:17863: checking for struct statvfs.f_namelen +configure:17887: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:217: structure has no member named `f_namelen' +configure:17890: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| /* end confdefs.h. */ +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| #if HAVE_SYS_STATVFS_H +| # include +| #endif +| #if HAVE_SYS_VFS_H +| # include +| #endif +| #if ( ! HAVE_SYS_STATVFS_H && ! HAVE_SYS_VFS_H && HAVE_SYS_MOUNT_H && HAVE_SYS_PARAM_H ) +| /* NetBSD 1.5.2 needs these, for the declaration of struct statfs. */ +| # include +| # include +| #endif +| +| +| int +| main () +| { +| static struct statvfs ac_aggr; +| if (ac_aggr.f_namelen) +| return 0; +| ; +| return 0; +| } +configure:17922: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:217: structure has no member named `f_namelen' +configure:17925: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| /* end confdefs.h. */ +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| #if HAVE_SYS_STATVFS_H +| # include +| #endif +| #if HAVE_SYS_VFS_H +| # include +| #endif +| #if ( ! HAVE_SYS_STATVFS_H && ! HAVE_SYS_VFS_H && HAVE_SYS_MOUNT_H && HAVE_SYS_PARAM_H ) +| /* NetBSD 1.5.2 needs these, for the declaration of struct statfs. */ +| # include +| # include +| #endif +| +| +| int +| main () +| { +| static struct statvfs ac_aggr; +| if (sizeof ac_aggr.f_namelen) +| return 0; +| ; +| return 0; +| } +configure:17944: result: no +configure:17956: checking for working strnlen +configure:17995: gcc -o conftest -g -O2 conftest.c >&5 +configure:17998: $? = 0 +configure:18000: ./conftest +configure:18003: $? = 0 +configure:18017: result: yes +configure:18029: checking for memory.h +configure:18034: result: yes +configure:18164: checking whether memchr is declared +configure:18208: result: yes +configure:18244: checking for fcntl.h +configure:18249: result: yes +configure:18244: checking for sys/time.h +configure:18249: result: yes +configure:18244: checking for stdint.h +configure:18249: result: no +configure:18244: checking for unistd.h +configure:18249: result: yes +configure:18384: checking for __secure_getenv +configure:18433: gcc -o conftest -g -O2 conftest.c >&5 +/tmp/ccNIjbgq.o: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:203: undefined reference to `__secure_getenv' +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:202: undefined reference to `__secure_getenv' +collect2: ld returned 1 exit status +configure:18436: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| /* end confdefs.h. */ +| /* System header to define __stub macros and hopefully few prototypes, +| which can conflict with char __secure_getenv (); below. +| Prefer to if __STDC__ is defined, since +| exists even on freestanding compilers. */ +| #ifdef __STDC__ +| # include +| #else +| # include +| #endif +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| { +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char __secure_getenv (); +| /* The GNU C library defines this for functions which it implements +| to always fail with ENOSYS. Some functions are actually named +| something starting with __ and the normal name is an alias. */ +| #if defined (__stub___secure_getenv) || defined (__stub_____secure_getenv) +| choke me +| #else +| char (*f) () = __secure_getenv; +| #endif +| #ifdef __cplusplus +| } +| #endif +| +| int +| main () +| { +| return f != __secure_getenv; +| ; +| return 0; +| } +configure:18453: result: no +configure:18384: checking for gettimeofday +configure:18433: gcc -o conftest -g -O2 conftest.c >&5 +configure:18436: $? = 0 +configure:18439: test -s conftest +configure:18442: $? = 0 +configure:18453: result: yes +configure:18463: checking whether getenv is declared +configure:18507: result: yes +configure:18527: checking for function prototypes +configure:18530: result: yes +configure:18553: checking for stdlib.h +configure:18558: result: yes +configure:18553: checking for unistd.h +configure:18558: result: yes +configure:18688: checking whether getcwd (NULL, 0) allocates memory for result +configure:18725: gcc -o conftest -g -O2 conftest.c >&5 +configure:18728: $? = 0 +configure:18730: ./conftest +configure:18733: $? = 0 +configure:18747: result: yes +configure:18766: checking for limits.h +configure:18771: result: yes +configure:18766: checking for stdlib.h +configure:18771: result: yes +configure:18766: checking for sys/param.h +configure:18771: result: yes +configure:18766: checking for unistd.h +configure:18771: result: yes +configure:18905: checking for getcwd +configure:18954: gcc -o conftest -g -O2 conftest.c >&5 +configure:18957: $? = 0 +configure:18960: test -s conftest +configure:18963: $? = 0 +configure:18974: result: yes +configure:18996: checking for limits.h +configure:19001: result: yes +configure:18996: checking for stdlib.h +configure:19001: result: yes +configure:18996: checking for sys/types.h +configure:19001: result: yes +configure:18996: checking for unistd.h +configure:19001: result: yes +configure:19170: checking for dirent.h that defines DIR +configure:19214: result: yes +configure:19228: checking for library containing opendir +configure:19326: result: none required +configure:19476: checking for dirfd +configure:19525: gcc -o conftest -g -O2 conftest.c >&5 +configure:19528: $? = 0 +configure:19531: test -s conftest +configure:19534: $? = 0 +configure:19545: result: yes +configure:19555: checking whether dirfd is declared +configure:19580: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:210: `dirfd' undeclared (first use in this function) +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:210: (Each undeclared identifier is reported only once +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:210: for each function it appears in.) +configure:19583: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| /* end confdefs.h. */ +| +| #if HAVE_DIRENT_H +| # include +| #else /* not HAVE_DIRENT_H */ +| # define dirent direct +| # if HAVE_SYS_NDIR_H +| # include +| # endif /* HAVE_SYS_NDIR_H */ +| # if HAVE_SYS_DIR_H +| # include +| # endif /* HAVE_SYS_DIR_H */ +| # if HAVE_NDIR_H +| # include +| # endif /* HAVE_NDIR_H */ +| #endif /* HAVE_DIRENT_H */ +| +| +| int +| main () +| { +| #ifndef dirfd +| char *p = (char *) dirfd; +| #endif +| +| ; +| return 0; +| } +configure:19600: result: no +configure:19619: checking whether dirfd is a macro +configure:19644: result: no +configure:19819: checking sys/acl.h usability +configure:19831: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:224: sys/acl.h: No such file or directory +configure:19834: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| /* end confdefs.h. */ +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| #include +configure:19850: result: no +configure:19854: checking sys/acl.h presence +configure:19864: gcc -E conftest.c +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:190: sys/acl.h: No such file or directory +configure:19870: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| /* end confdefs.h. */ +| #include +configure:19889: result: no +configure:19925: checking for sys/acl.h +configure:19932: result: no +configure:19949: checking for acl +configure:19998: gcc -o conftest -g -O2 conftest.c >&5 +/tmp/ccPmX2ZW.o: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:222: undefined reference to `acl' +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:221: undefined reference to `acl' +collect2: ld returned 1 exit status +configure:20001: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| /* end confdefs.h. */ +| /* System header to define __stub macros and hopefully few prototypes, +| which can conflict with char acl (); below. +| Prefer to if __STDC__ is defined, since +| exists even on freestanding compilers. */ +| #ifdef __STDC__ +| # include +| #else +| # include +| #endif +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| { +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char acl (); +| /* The GNU C library defines this for functions which it implements +| to always fail with ENOSYS. Some functions are actually named +| something starting with __ and the normal name is an alias. */ +| #if defined (__stub_acl) || defined (__stub___acl) +| choke me +| #else +| char (*f) () = acl; +| #endif +| #ifdef __cplusplus +| } +| #endif +| +| int +| main () +| { +| return f != acl; +| ; +| return 0; +| } +configure:20018: result: no +configure:20028: checking whether lstat dereferences a symlink specified with a trailing slash +configure:20059: gcc -o conftest -g -O2 conftest.c >&5 +configure:20062: $? = 0 +configure:20064: ./conftest +configure:20067: $? = 0 +configure:20088: result: yes +configure:20104: checking whether lstat accepts an empty string +configure:20131: gcc -o conftest -g -O2 conftest.c >&5 +configure:20134: $? = 0 +configure:20136: ./conftest +configure:20139: $? = 1 +configure: program exited with status 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| /* end confdefs.h. */ +| +| # include +| # include +| +| int +| main () +| { +| struct stat sbuf; +| exit (lstat ("", &sbuf) ? 1 : 0); +| } +| +configure:20154: result: no +configure:20175: checking for sys/param.h +configure:20180: result: yes +configure:20310: checking whether stpcpy is declared +configure:20354: result: yes +configure:20375: checking for tdestroy +configure:20424: gcc -o conftest -g -O2 conftest.c >&5 +/tmp/ccp5bJWn.o: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:225: undefined reference to `tdestroy' +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:224: undefined reference to `tdestroy' +collect2: ld returned 1 exit status +configure:20427: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| /* end confdefs.h. */ +| /* System header to define __stub macros and hopefully few prototypes, +| which can conflict with char tdestroy (); below. +| Prefer to if __STDC__ is defined, since +| exists even on freestanding compilers. */ +| #ifdef __STDC__ +| # include +| #else +| # include +| #endif +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| { +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char tdestroy (); +| /* The GNU C library defines this for functions which it implements +| to always fail with ENOSYS. Some functions are actually named +| something starting with __ and the normal name is an alias. */ +| #if defined (__stub_tdestroy) || defined (__stub___tdestroy) +| choke me +| #else +| char (*f) () = tdestroy; +| #endif +| #ifdef __cplusplus +| } +| #endif +| +| int +| main () +| { +| return f != tdestroy; +| ; +| return 0; +| } +configure:20444: result: no +configure:20453: checking for ftw/FTW_CHDIR that informs callback of failed chdir +configure:20504: gcc -o conftest -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:196: ftw.h: No such file or directory +configure:20507: $? = 1 +configure: program exited with status 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| /* end confdefs.h. */ +| +| #include +| #include +| #include +| +| static char *_f[] = { "conftest.dir", "conftest.dir/a", +| "conftest.dir/a/b", "conftest.dir/a/b/c" }; +| static char **p = _f; +| static int depth; +| +| static int +| cb (const char *file, const struct stat *sb, int file_type, struct FTW *info) +| { +| if (strcmp (file, *p++) != 0) +| exit (1); +| ++depth; +| return 0; +| } +| +| int +| main () +| { +| /* Require these symbols, too. */ +| int d1 = FTW_DCH; +| int d2 = FTW_DCHP; +| +| int err = nftw ("conftest.dir", cb, 30, FTW_PHYS | FTW_MOUNT | FTW_CHDIR); +| exit ((err == 0 && depth == 4) ? 0 : 1); +| } +| +configure:20526: result: no +configure:20548: checking for lchown +configure:20597: gcc -o conftest -g -O2 conftest.c >&5 +/tmp/ccEQJGy2.o: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:225: undefined reference to `lchown' +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:224: undefined reference to `lchown' +collect2: ld returned 1 exit status +configure:20600: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| /* end confdefs.h. */ +| /* System header to define __stub macros and hopefully few prototypes, +| which can conflict with char lchown (); below. +| Prefer to if __STDC__ is defined, since +| exists even on freestanding compilers. */ +| #ifdef __STDC__ +| # include +| #else +| # include +| #endif +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| { +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char lchown (); +| /* The GNU C library defines this for functions which it implements +| to always fail with ENOSYS. Some functions are actually named +| something starting with __ and the normal name is an alias. */ +| #if defined (__stub_lchown) || defined (__stub___lchown) +| choke me +| #else +| char (*f) () = lchown; +| #endif +| #ifdef __cplusplus +| } +| #endif +| +| int +| main () +| { +| return f != lchown; +| ; +| return 0; +| } +configure:20617: result: no +configure:20631: checking for rmdir-not-empty errno value +configure:20669: gcc -o conftest -g -O2 conftest.c >&5 +configure:20672: $? = 0 +configure:20674: ./conftest +configure:20677: $? = 0 +configure:20693: result: -2147459066 +configure:20843: checking for working chown +configure:20885: gcc -o conftest -g -O2 conftest.c >&5 +configure:20888: $? = 0 +configure:20890: ./conftest +configure:20893: $? = 1 +configure: program exited with status 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| /* end confdefs.h. */ +| +| # include +| # include +| # include +| # ifdef HAVE_UNISTD_H +| # include +| # endif +| +| int +| main () +| { +| char *f = "conftest.chown"; +| struct stat before, after; +| +| if (creat (f, 0600) < 0) +| exit (1); +| if (stat (f, &before) < 0) +| exit (1); +| if (chown (f, (uid_t) -1, (gid_t) -1) == -1) +| exit (1); +| if (stat (f, &after) < 0) +| exit (1); +| exit ((before.st_uid == after.st_uid +| && before.st_gid == after.st_gid) ? 0 : 1); +| } +| +configure:20908: result: no +configure:20925: checking for sys/time.h +configure:20930: result: yes +configure:20925: checking for unistd.h +configure:20930: result: yes +configure:21064: checking for alarm +configure:21113: gcc -o conftest -g -O2 conftest.c >&5 +configure:21116: $? = 0 +configure:21119: test -s conftest +configure:21122: $? = 0 +configure:21133: result: yes +configure:21143: checking for working mktime +configure:21304: gcc -o conftest -g -O2 conftest.c >&5 +configure:21307: $? = 0 +configure:21309: ./conftest +configure:21312: $? = 1 +configure: program exited with status 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| /* end confdefs.h. */ +| /* Test program from Paul Eggert and Tony Leneis. */ +| #if TIME_WITH_SYS_TIME +| # include +| # include +| #else +| # if HAVE_SYS_TIME_H +| # include +| # else +| # include +| # endif +| #endif +| +| #if HAVE_UNISTD_H +| # include +| #endif +| +| #if !HAVE_ALARM +| # define alarm(X) /* empty */ +| #endif +| +| /* Work around redefinition to rpl_putenv by other config tests. */ +| #undef putenv +| +| static time_t time_t_max; +| +| /* Values we'll use to set the TZ environment variable. */ +| static const char *const tz_strings[] = { +| (const char *) 0, "TZ=GMT0", "TZ=JST-9", +| "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00" +| }; +| #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0])) +| +| /* Fail if mktime fails to convert a date in the spring-forward gap. +| Based on a problem report from Andreas Jaeger. */ +| static void +| spring_forward_gap () +| { +| /* glibc (up to about 1998-10-07) failed this test. */ +| struct tm tm; +| +| /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0" +| instead of "TZ=America/Vancouver" in order to detect the bug even +| on systems that don't support the Olson extension, or don't have the +| full zoneinfo tables installed. */ +| putenv ("TZ=PST8PDT,M4.1.0,M10.5.0"); +| +| tm.tm_year = 98; +| tm.tm_mon = 3; +| tm.tm_mday = 5; +| tm.tm_hour = 2; +| tm.tm_min = 0; +| tm.tm_sec = 0; +| tm.tm_isdst = -1; +| if (mktime (&tm) == (time_t)-1) +| exit (1); +| } +| +| static void +| mktime_test (now) +| time_t now; +| { +| struct tm *lt; +| if ((lt = localtime (&now)) && mktime (lt) != now) +| exit (1); +| now = time_t_max - now; +| if ((lt = localtime (&now)) && mktime (lt) != now) +| exit (1); +| } +| +| static void +| irix_6_4_bug () +| { +| /* Based on code from Ariel Faigon. */ +| struct tm tm; +| tm.tm_year = 96; +| tm.tm_mon = 3; +| tm.tm_mday = 0; +| tm.tm_hour = 0; +| tm.tm_min = 0; +| tm.tm_sec = 0; +| tm.tm_isdst = -1; +| mktime (&tm); +| if (tm.tm_mon != 2 || tm.tm_mday != 31) +| exit (1); +| } +| +| static void +| bigtime_test (j) +| int j; +| { +| struct tm tm; +| time_t now; +| tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j; +| now = mktime (&tm); +| if (now != (time_t) -1) +| { +| struct tm *lt = localtime (&now); +| if (! (lt +| && lt->tm_year == tm.tm_year +| && lt->tm_mon == tm.tm_mon +| && lt->tm_mday == tm.tm_mday +| && lt->tm_hour == tm.tm_hour +| && lt->tm_min == tm.tm_min +| && lt->tm_sec == tm.tm_sec +| && lt->tm_yday == tm.tm_yday +| && lt->tm_wday == tm.tm_wday +| && ((lt->tm_isdst < 0 ? -1 : 0 < lt->tm_isdst) +| == (tm.tm_isdst < 0 ? -1 : 0 < tm.tm_isdst)))) +| exit (1); +| } +| } +| +| int +| main () +| { +| time_t t, delta; +| int i, j; +| +| /* This test makes some buggy mktime implementations loop. +| Give up after 60 seconds; a mktime slower than that +| isn't worth using anyway. */ +| alarm (60); +| +| for (time_t_max = 1; 0 < time_t_max; time_t_max *= 2) +| continue; +| time_t_max--; +| delta = time_t_max / 997; /* a suitable prime number */ +| for (i = 0; i < N_STRINGS; i++) +| { +| if (tz_strings[i]) +| putenv (tz_strings[i]); +| +| for (t = 0; t <= time_t_max - delta; t += delta) +| mktime_test (t); +| mktime_test ((time_t) 60 * 60); +| mktime_test ((time_t) 60 * 60 * 24); +| +| for (j = 1; 0 < j; j *= 2) +| bigtime_test (j); +| bigtime_test (j - 1); +| } +| irix_6_4_bug (); +| spring_forward_gap (); +| exit (0); +| } +configure:21326: result: no +configure:21337: checking for localtime_r +configure:21386: gcc -o conftest -g -O2 conftest.c >&5 +configure:21389: $? = 0 +configure:21392: test -s conftest +configure:21395: $? = 0 +configure:21406: result: yes +configure:21427: checking whether stat accepts an empty string +configure:21454: gcc -o conftest -g -O2 conftest.c >&5 +configure:21457: $? = 0 +configure:21459: ./conftest +configure:21462: $? = 1 +configure: program exited with status 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| /* end confdefs.h. */ +| +| # include +| # include +| +| int +| main () +| { +| struct stat sbuf; +| exit (stat ("", &sbuf) ? 1 : 0); +| } +| +configure:21477: result: no +configure:21493: checking for stdlib.h +configure:21498: result: yes +configure:21628: checking for GNU libc compatible realloc +configure:21657: gcc -o conftest -g -O2 conftest.c >&5 +configure:21660: $? = 0 +configure:21662: ./conftest +configure:21665: $? = 0 +configure:21679: result: yes +configure:21707: checking for stdlib.h +configure:21712: result: yes +configure:21842: checking for GNU libc compatible malloc +configure:21871: gcc -o conftest -g -O2 conftest.c >&5 +configure:21874: $? = 0 +configure:21876: ./conftest +configure:21879: $? = 0 +configure:21893: result: yes +configure:21922: checking for library containing nanosleep +configure:21953: gcc -o conftest -g -O2 conftest.c >&5 +/tmp/ccXncxvx.o: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:215: undefined reference to `nanosleep' +collect2: ld returned 1 exit status +configure:21956: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| /* end confdefs.h. */ +| +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char nanosleep (); +| int +| main () +| { +| nanosleep (); +| ; +| return 0; +| } +configure:21997: gcc -o conftest -g -O2 conftest.c -lrt >&5 +/boot/develop/tools/gnupro/bin/ld: cannot open -lrt: No such file or directory +collect2: ld returned 1 exit status +configure:22000: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| /* end confdefs.h. */ +| +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char nanosleep (); +| int +| main () +| { +| nanosleep (); +| ; +| return 0; +| } +configure:21997: gcc -o conftest -g -O2 conftest.c -lposix4 >&5 +/boot/develop/tools/gnupro/bin/ld: cannot open -lposix4: No such file or directory +collect2: ld returned 1 exit status +configure:22000: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| /* end confdefs.h. */ +| +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char nanosleep (); +| int +| main () +| { +| nanosleep (); +| ; +| return 0; +| } +configure:22020: result: no +configure:22036: checking whether nanosleep works +configure:22075: gcc -o conftest -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:219: storage size of `ts_sleep' isn't known +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:219: storage size of `ts_remaining' isn't known +configure:22078: $? = 1 +configure: program exited with status 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| /* end confdefs.h. */ +| +| # if TIME_WITH_SYS_TIME +| # include +| # include +| # else +| # if HAVE_SYS_TIME_H +| # include +| # else +| # include +| # endif +| # endif +| +| int +| main () +| { +| struct timespec ts_sleep, ts_remaining; +| ts_sleep.tv_sec = 0; +| ts_sleep.tv_nsec = 1; +| exit (nanosleep (&ts_sleep, &ts_remaining) == 0 ? 0 : 1); +| } +| +configure:22098: result: no +configure:22111: checking whether clearerr_unlocked is declared +configure:22135: gcc -c -g -O2 conftest.c >&5 +configure:22138: $? = 0 +configure:22141: test -s conftest.o +configure:22144: $? = 0 +configure:22155: result: yes +configure:22171: checking whether feof_unlocked is declared +configure:22195: gcc -c -g -O2 conftest.c >&5 +configure:22198: $? = 0 +configure:22201: test -s conftest.o +configure:22204: $? = 0 +configure:22215: result: yes +configure:22231: checking whether ferror_unlocked is declared +configure:22255: gcc -c -g -O2 conftest.c >&5 +configure:22258: $? = 0 +configure:22261: test -s conftest.o +configure:22264: $? = 0 +configure:22275: result: yes +configure:22291: checking whether fflush_unlocked is declared +configure:22315: gcc -c -g -O2 conftest.c >&5 +configure:22318: $? = 0 +configure:22321: test -s conftest.o +configure:22324: $? = 0 +configure:22335: result: yes +configure:22351: checking whether fgets_unlocked is declared +configure:22375: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:247: `fgets_unlocked' undeclared (first use in this function) +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:247: (Each undeclared identifier is reported only once +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:247: for each function it appears in.) +configure:22378: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| /* end confdefs.h. */ +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| int +| main () +| { +| #ifndef fgets_unlocked +| char *p = (char *) fgets_unlocked; +| #endif +| +| ; +| return 0; +| } +configure:22395: result: no +configure:22411: checking whether fputc_unlocked is declared +configure:22435: gcc -c -g -O2 conftest.c >&5 +configure:22438: $? = 0 +configure:22441: test -s conftest.o +configure:22444: $? = 0 +configure:22455: result: yes +configure:22471: checking whether fputs_unlocked is declared +configure:22495: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:249: `fputs_unlocked' undeclared (first use in this function) +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:249: (Each undeclared identifier is reported only once +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:249: for each function it appears in.) +configure:22498: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| /* end confdefs.h. */ +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| int +| main () +| { +| #ifndef fputs_unlocked +| char *p = (char *) fputs_unlocked; +| #endif +| +| ; +| return 0; +| } +configure:22515: result: no +configure:22531: checking whether fread_unlocked is declared +configure:22555: gcc -c -g -O2 conftest.c >&5 +configure:22558: $? = 0 +configure:22561: test -s conftest.o +configure:22564: $? = 0 +configure:22575: result: yes +configure:22591: checking whether fwrite_unlocked is declared +configure:22615: gcc -c -g -O2 conftest.c >&5 +configure:22618: $? = 0 +configure:22621: test -s conftest.o +configure:22624: $? = 0 +configure:22635: result: yes +configure:22651: checking whether getc_unlocked is declared +configure:22675: gcc -c -g -O2 conftest.c >&5 +configure:22678: $? = 0 +configure:22681: test -s conftest.o +configure:22684: $? = 0 +configure:22695: result: yes +configure:22711: checking whether getchar_unlocked is declared +configure:22735: gcc -c -g -O2 conftest.c >&5 +configure:22738: $? = 0 +configure:22741: test -s conftest.o +configure:22744: $? = 0 +configure:22755: result: yes +configure:22771: checking whether putc_unlocked is declared +configure:22795: gcc -c -g -O2 conftest.c >&5 +configure:22798: $? = 0 +configure:22801: test -s conftest.o +configure:22804: $? = 0 +configure:22815: result: yes +configure:22831: checking whether putchar_unlocked is declared +configure:22855: gcc -c -g -O2 conftest.c >&5 +configure:22858: $? = 0 +configure:22861: test -s conftest.o +configure:22864: $? = 0 +configure:22875: result: yes +configure:22894: checking for group_member +configure:22943: gcc -o conftest -g -O2 conftest.c >&5 +/tmp/ccWwGOD2.o: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:250: undefined reference to `group_member' +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:249: undefined reference to `group_member' +collect2: ld returned 1 exit status +configure:22946: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| /* end confdefs.h. */ +| /* System header to define __stub macros and hopefully few prototypes, +| which can conflict with char group_member (); below. +| Prefer to if __STDC__ is defined, since +| exists even on freestanding compilers. */ +| #ifdef __STDC__ +| # include +| #else +| # include +| #endif +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| { +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char group_member (); +| /* The GNU C library defines this for functions which it implements +| to always fail with ENOSYS. Some functions are actually named +| something starting with __ and the normal name is an alias. */ +| #if defined (__stub_group_member) || defined (__stub___group_member) +| choke me +| #else +| char (*f) () = group_member; +| #endif +| #ifdef __cplusplus +| } +| #endif +| +| int +| main () +| { +| return f != group_member; +| ; +| return 0; +| } +configure:22963: result: no +configure:22973: checking for SVID conformant putenv +configure:23008: gcc -o conftest -g -O2 conftest.c >&5 +configure:23011: $? = 0 +configure:23013: ./conftest +configure:23016: $? = 1 +configure: program exited with status 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| /* end confdefs.h. */ +| +| int +| main () +| { +| /* Put it in env. */ +| if (putenv ("CONFTEST_putenv=val")) +| exit (1); +| +| /* Try to remove it. */ +| if (putenv ("CONFTEST_putenv")) +| exit (1); +| +| /* Make sure it was deleted. */ +| if (getenv ("CONFTEST_putenv") != 0) +| exit (1); +| +| exit (0); +| } +| +configure:23031: result: no +configure:23043: checking for AFS +configure:23055: result: no +configure:23060: checking for intmax_t +configure:23084: gcc -c -g -O2 conftest.c >&5 +configure:23087: $? = 0 +configure:23090: test -s conftest.o +configure:23093: $? = 0 +configure:23104: result: yes +configure:23125: checking whether strtol is declared +configure:23149: gcc -c -g -O2 conftest.c >&5 +configure:23152: $? = 0 +configure:23155: test -s conftest.o +configure:23158: $? = 0 +configure:23169: result: yes +configure:23185: checking whether strtoul is declared +configure:23229: result: yes +configure:23245: checking whether strtoull is declared +configure:23289: result: yes +configure:23305: checking whether strtoimax is declared +configure:23329: gcc -c -g -O2 conftest.c >&5 +configure:23332: $? = 0 +configure:23335: test -s conftest.o +configure:23338: $? = 0 +configure:23349: result: yes +configure:23365: checking whether strtoumax is declared +configure:23389: gcc -c -g -O2 conftest.c >&5 +configure:23392: $? = 0 +configure:23395: test -s conftest.o +configure:23398: $? = 0 +configure:23409: result: yes +configure:23434: checking for limits.h +configure:23439: result: yes +configure:23434: checking for stdlib.h +configure:23439: result: yes +configure:23434: checking for inttypes.h +configure:23439: result: yes +configure:23570: checking whether defines strtoumax as a macro +configure:23595: result: no +configure:23603: checking for strtoumax +configure:23652: gcc -o conftest -g -O2 conftest.c >&5 +configure:23655: $? = 0 +configure:23658: test -s conftest +configure:23661: $? = 0 +configure:23672: result: yes +configure:23872: checking whether strtol is declared +configure:23916: result: yes +configure:23932: checking whether strtoul is declared +configure:23976: result: yes +configure:23992: checking whether strtoll is declared +configure:24016: gcc -c -g -O2 conftest.c >&5 +configure:24019: $? = 0 +configure:24022: test -s conftest.o +configure:24025: $? = 0 +configure:24036: result: yes +configure:24052: checking whether strtoimax is declared +configure:24096: result: yes +configure:24112: checking whether strtoumax is declared +configure:24156: result: yes +configure:24181: checking for limits.h +configure:24186: result: yes +configure:24181: checking for stdlib.h +configure:24186: result: yes +configure:24181: checking for inttypes.h +configure:24186: result: yes +configure:24317: checking whether defines strtoimax as a macro +configure:24342: result: no +configure:24350: checking for strtoimax +configure:24399: gcc -o conftest -g -O2 conftest.c >&5 +configure:24402: $? = 0 +configure:24405: test -s conftest +configure:24408: $? = 0 +configure:24419: result: yes +configure:24614: checking whether link(2) dereferences a symlink specified with a trailing slash +configure:24810: gcc -o conftest -g -O2 conftest.c >&5 +configure:24813: $? = 0 +configure:24815: ./conftest +Abort +configure:24818: $? = 134 +configure: program exited with status 134 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| /* end confdefs.h. */ +| +| # include +| # include +| # ifdef HAVE_UNISTD_H +| # include +| # endif +| +| # define SAME_INODE(Stat_buf_1, Stat_buf_2) ((Stat_buf_1).st_ino == (Stat_buf_2).st_ino && (Stat_buf_1).st_dev == (Stat_buf_2).st_dev) +| +| int +| main () +| { +| const char *file = "conftest.file"; +| const char *sym = "conftest.sym"; +| const char *hard = "conftest.hard"; +| struct stat sb_file, sb_hard; +| +| /* Create a symlink to the regular file. */ +| if (symlink (file, sym)) +| abort (); +| +| /* Create a hard link to that symlink. */ +| if (link (sym, hard)) +| abort (); +| +| if (lstat (hard, &sb_hard)) +| abort (); +| if (lstat (file, &sb_file)) +| abort (); +| +| /* If the dev/inode of hard and file are the same, then +| the link call followed the symlink. */ +| return SAME_INODE (sb_hard, sb_file) ? 0 : 1; +| } +| +configure:24833: result: no +configure:24843: checking for error_at_line +configure:24864: gcc -o conftest -g -O2 conftest.c >&5 +/tmp/ccYpPOmy.o: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:241: undefined reference to `error_at_line' +collect2: ld returned 1 exit status +configure:24867: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| /* end confdefs.h. */ +| +| int +| main () +| { +| error_at_line (0, 0, "", 0, ""); +| ; +| return 0; +| } +configure:24884: result: no +configure:24897: checking for localtime_r +configure:24966: result: yes +configure:24897: checking for strftime +configure:24946: gcc -o conftest -g -O2 conftest.c >&5 +configure:24949: $? = 0 +configure:24952: test -s conftest +configure:24955: $? = 0 +configure:24966: result: yes +configure:24982: checking for limits.h +configure:24987: result: yes +configure:25125: checking for bcopy +configure:25174: gcc -o conftest -g -O2 conftest.c >&5 +configure:25177: $? = 0 +configure:25180: test -s conftest +configure:25183: $? = 0 +configure:25194: result: yes +configure:25125: checking for tzset +configure:25174: gcc -o conftest -g -O2 conftest.c >&5 +configure:25177: $? = 0 +configure:25180: test -s conftest +configure:25183: $? = 0 +configure:25194: result: yes +configure:25125: checking for mempcpy +configure:25194: result: no +configure:25125: checking for memcpy +configure:25174: gcc -o conftest -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:258: warning: conflicting types for built-in function `memcpy' +configure:25177: $? = 0 +configure:25180: test -s conftest +configure:25183: $? = 0 +configure:25194: result: yes +configure:25125: checking for memset +configure:25174: gcc -o conftest -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:259: warning: conflicting types for built-in function `memset' +configure:25177: $? = 0 +configure:25180: test -s conftest +configure:25183: $? = 0 +configure:25194: result: yes +configure:25206: checking for struct tm.tm_zone +configure:25291: result: yes +configure:25371: checking for mblen +configure:25420: gcc -o conftest -g -O2 conftest.c >&5 +configure:25423: $? = 0 +configure:25426: test -s conftest +configure:25429: $? = 0 +configure:25440: result: yes +configure:25371: checking for mbrlen +configure:25420: gcc -o conftest -g -O2 conftest.c >&5 +configure:25423: $? = 0 +configure:25426: test -s conftest +configure:25429: $? = 0 +configure:25440: result: yes +configure:25451: checking for struct tm.tm_gmtoff +configure:25475: gcc -c -g -O2 conftest.c >&5 +configure:25478: $? = 0 +configure:25481: test -s conftest.o +configure:25484: $? = 0 +configure:25532: result: yes +configure:25549: checking for sys/time.h +configure:25554: result: yes +configure:25705: checking stdio_ext.h usability +configure:25717: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:285: stdio_ext.h: No such file or directory +configure:25720: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| /* end confdefs.h. */ +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| #include +configure:25736: result: no +configure:25740: checking stdio_ext.h presence +configure:25750: gcc -E conftest.c +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:251: stdio_ext.h: No such file or directory +configure:25756: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| /* end confdefs.h. */ +| #include +configure:25775: result: no +configure:25811: checking for stdio_ext.h +configure:25818: result: no +configure:25835: checking for __fpending +configure:25884: gcc -o conftest -g -O2 conftest.c >&5 +/tmp/ccnC2eJZ.o: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:283: undefined reference to `__fpending' +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:282: undefined reference to `__fpending' +collect2: ld returned 1 exit status +configure:25887: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| /* end confdefs.h. */ +| /* System header to define __stub macros and hopefully few prototypes, +| which can conflict with char __fpending (); below. +| Prefer to if __STDC__ is defined, since +| exists even on freestanding compilers. */ +| #ifdef __STDC__ +| # include +| #else +| # include +| #endif +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| { +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char __fpending (); +| /* The GNU C library defines this for functions which it implements +| to always fail with ENOSYS. Some functions are actually named +| something starting with __ and the normal name is an alias. */ +| #if defined (__stub___fpending) || defined (__stub_____fpending) +| choke me +| #else +| char (*f) () = __fpending; +| #endif +| #ifdef __cplusplus +| } +| #endif +| +| int +| main () +| { +| return f != __fpending; +| ; +| return 0; +| } +configure:25904: result: no +configure:25922: checking whether __fpending is declared +configure:25947: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:261: `__fpending' undeclared (first use in this function) +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:261: (Each undeclared identifier is reported only once +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:261: for each function it appears in.) +configure:25950: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| /* end confdefs.h. */ +| +| # if HAVE_STDIO_EXT_H +| # include +| # endif +| +| +| int +| main () +| { +| #ifndef __fpending +| char *p = (char *) __fpending; +| #endif +| +| ; +| return 0; +| } +configure:25967: result: no +configure:25986: checking how to determine the number of pending output bytes on a stream +configure:26039: gcc -c -g -O2 conftest.c >&5 +configure:26042: $? = 0 +configure:26045: test -s conftest.o +configure:26048: $? = 0 +configure:26065: result: fp->_IO_write_ptr - fp->_IO_write_base +configure:26079: checking whether the inttypes.h PRIxNN macros are broken +configure:26105: gcc -c -g -O2 conftest.c >&5 +configure:26108: $? = 0 +configure:26111: test -s conftest.o +configure:26114: $? = 0 +configure:26126: result: no +configure:26137: checking for getgroups +configure:26186: gcc -o conftest -g -O2 conftest.c >&5 +configure:26189: $? = 0 +configure:26192: test -s conftest +configure:26195: $? = 0 +configure:26206: result: yes +configure:26276: checking for working getgroups +configure:26301: gcc -o conftest -g -O2 conftest.c >&5 +configure:26304: $? = 0 +configure:26306: ./conftest +configure:26309: $? = 0 +configure:26324: result: yes +configure:26346: checking for _LARGEFILE_SOURCE value needed for large files +configure:26369: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:258: `fseeko' undeclared (first use in this function) +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:258: (Each undeclared identifier is reported only once +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:258: for each function it appears in.) +configure:26372: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| /* end confdefs.h. */ +| #include +| int +| main () +| { +| return !fseeko; +| ; +| return 0; +| } +configure:26404: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:259: `fseeko' undeclared (first use in this function) +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:259: (Each undeclared identifier is reported only once +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:259: for each function it appears in.) +configure:26407: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| /* end confdefs.h. */ +| #define _LARGEFILE_SOURCE 1 +| #include +| int +| main () +| { +| return !fseeko; +| ; +| return 0; +| } +configure:26425: result: no +configure:26439: checking for fseeko +configure:26460: gcc -o conftest -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:258: `fseeko' undeclared (first use in this function) +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:258: (Each undeclared identifier is reported only once +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:258: for each function it appears in.) +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:258: `fseeko' used prior to declaration +configure:26463: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| /* end confdefs.h. */ +| #include +| int +| main () +| { +| return fseeko && fseeko (stdin, 0, 0); +| ; +| return 0; +| } +configure:26480: result: no +configure:26494: checking for vprintf +configure:26563: result: yes +configure:26570: checking for _doprnt +configure:26619: gcc -o conftest -g -O2 conftest.c >&5 +/tmp/ccX7c9Qq.o: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:287: undefined reference to `_doprnt' +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:286: undefined reference to `_doprnt' +collect2: ld returned 1 exit status +configure:26622: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| /* end confdefs.h. */ +| /* System header to define __stub macros and hopefully few prototypes, +| which can conflict with char _doprnt (); below. +| Prefer to if __STDC__ is defined, since +| exists even on freestanding compilers. */ +| #ifdef __STDC__ +| # include +| #else +| # include +| #endif +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| { +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char _doprnt (); +| /* The GNU C library defines this for functions which it implements +| to always fail with ENOSYS. Some functions are actually named +| something starting with __ and the normal name is an alias. */ +| #if defined (__stub__doprnt) || defined (__stub____doprnt) +| choke me +| #else +| char (*f) () = _doprnt; +| #endif +| #ifdef __cplusplus +| } +| #endif +| +| int +| main () +| { +| return f != _doprnt; +| ; +| return 0; +| } +configure:26639: result: no +configure:26654: checking for /proc/uptime +configure:26665: result: no +configure:26680: checking for ftruncate +configure:26729: gcc -o conftest -g -O2 conftest.c >&5 +configure:26732: $? = 0 +configure:26735: test -s conftest +configure:26738: $? = 0 +configure:26749: result: yes +configure:26990: checking whether rename is broken +configure:27020: gcc -o conftest -g -O2 conftest.c >&5 +configure:27023: $? = 0 +configure:27025: ./conftest +configure:27028: $? = 1 +configure: program exited with status 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| /* end confdefs.h. */ +| +| # include +| int +| main () +| { +| exit (rename ("conftest.d1/", "conftest.d2") ? 1 : 0); +| } +| +configure:27045: result: yes +configure:27060: checking for mkstemp +configure:27109: gcc -o conftest -g -O2 conftest.c >&5 +configure:27112: $? = 0 +configure:27115: test -s conftest +configure:27118: $? = 0 +configure:27129: result: yes +configure:27145: checking for mkstemp limitations +configure:27179: gcc -o conftest -g -O2 conftest.c >&5 +configure:27182: $? = 0 +configure:27184: ./conftest +configure:27187: $? = 0 +configure:27203: result: no +configure:27217: checking whether closedir returns void +configure:27246: gcc -o conftest -g -O2 conftest.c >&5 +configure:27249: $? = 0 +configure:27251: ./conftest +configure:27254: $? = 0 +configure:27268: result: no +configure:27278: checking whether utime accepts a null argument +configure:27309: gcc -o conftest -g -O2 conftest.c >&5 +configure:27312: $? = 0 +configure:27314: ./conftest +configure:27317: $? = 0 +configure:27332: result: yes +configure:27349: checking for utime.h +configure:27354: result: yes +configure:27642: checking determine how many files may be open simultaneously +configure:27681: gcc -o conftest -g -O2 conftest.c >&5 +configure:27684: $? = 0 +configure:27686: ./conftest +configure:27689: $? = 0 +configure:27703: result: 122 +configure:27713: checking whether getcwd properly handles paths longer than PATH_MAX +configure:27719: checking whether getcwd is declared +configure:27743: gcc -c -g -O2 conftest.c >&5 +configure:27746: $? = 0 +configure:27749: test -s conftest.o +configure:27752: $? = 0 +configure:27763: result: yes +configure:27900: gcc -o conftest -g -O2 conftest.c >&5 +configure:27903: $? = 0 +configure:27905: ./conftest +configure:27908: $? = 0 +configure:27922: result: yes +configure:27961: checking for ld used by GCC +configure:28024: result: /boot/develop/tools/gnupro/bin/ld +configure:28033: checking if the linker (/boot/develop/tools/gnupro/bin/ld) is GNU ld +GNU ld version 2.9-beos-991026 (with BFD 2.9-beos-991026) +configure:28045: result: yes +configure:28051: checking for shared library run path origin +configure:28064: result: done +configure:28467: checking whether system is Windows or MSDOS +configure:28491: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:268: `neither' undeclared (first use in this function) +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:268: (Each undeclared identifier is reported only once +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:268: for each function it appears in.) +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:268: parse error before `MSDOS' +configure:28494: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| /* end confdefs.h. */ +| +| int +| main () +| { +| #if !defined _WIN32 && !defined __WIN32__ && !defined __MSDOS__ +| neither MSDOS nor Windows +| #endif +| ; +| return 0; +| } +configure:28512: result: no +configure:28550: checking for string.h +configure:28555: result: yes +configure:28550: checking for sys/param.h +configure:28555: result: yes +configure:28550: checking for stddef.h +configure:28555: result: yes +configure:28689: checking for resolvepath +configure:28738: gcc -o conftest -g -O2 conftest.c >&5 +/tmp/cczxuikJ.o: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:300: undefined reference to `resolvepath' +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:299: undefined reference to `resolvepath' +collect2: ld returned 1 exit status +configure:28741: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| /* end confdefs.h. */ +| /* System header to define __stub macros and hopefully few prototypes, +| which can conflict with char resolvepath (); below. +| Prefer to if __STDC__ is defined, since +| exists even on freestanding compilers. */ +| #ifdef __STDC__ +| # include +| #else +| # include +| #endif +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| { +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char resolvepath (); +| /* The GNU C library defines this for functions which it implements +| to always fail with ENOSYS. Some functions are actually named +| something starting with __ and the normal name is an alias. */ +| #if defined (__stub_resolvepath) || defined (__stub___resolvepath) +| choke me +| #else +| char (*f) () = resolvepath; +| #endif +| #ifdef __cplusplus +| } +| #endif +| +| int +| main () +| { +| return f != resolvepath; +| ; +| return 0; +| } +configure:28758: result: no +configure:28773: checking for canonicalize_file_name +configure:28822: gcc -o conftest -g -O2 conftest.c >&5 +/tmp/ccnwXvui.o: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:300: undefined reference to `canonicalize_file_name' +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:299: undefined reference to `canonicalize_file_name' +collect2: ld returned 1 exit status +configure:28825: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| /* end confdefs.h. */ +| /* System header to define __stub macros and hopefully few prototypes, +| which can conflict with char canonicalize_file_name (); below. +| Prefer to if __STDC__ is defined, since +| exists even on freestanding compilers. */ +| #ifdef __STDC__ +| # include +| #else +| # include +| #endif +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| { +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char canonicalize_file_name (); +| /* The GNU C library defines this for functions which it implements +| to always fail with ENOSYS. Some functions are actually named +| something starting with __ and the normal name is an alias. */ +| #if defined (__stub_canonicalize_file_name) || defined (__stub___canonicalize_file_name) +| choke me +| #else +| char (*f) () = canonicalize_file_name; +| #endif +| #ifdef __cplusplus +| } +| #endif +| +| int +| main () +| { +| return f != canonicalize_file_name; +| ; +| return 0; +| } +configure:28842: result: no +configure:28885: checking for struct stat.st_author +configure:28911: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:310: structure has no member named `st_author' +configure:28914: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| /* end confdefs.h. */ +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| #include +| +| +| int +| main () +| { +| static struct stat ac_aggr; +| if (ac_aggr.st_author) +| return 0; +| ; +| return 0; +| } +configure:28948: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:310: structure has no member named `st_author' +configure:28951: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| /* end confdefs.h. */ +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| #include +| +| +| int +| main () +| { +| static struct stat ac_aggr; +| if (sizeof ac_aggr.st_author) +| return 0; +| ; +| return 0; +| } +configure:28970: result: no +configure:28980: checking for struct stat.st_blksize +configure:29006: gcc -c -g -O2 conftest.c >&5 +configure:29009: $? = 0 +configure:29012: test -s conftest.o +configure:29015: $? = 0 +configure:29065: result: yes +configure:29092: checking for ino_t +configure:29116: gcc -c -g -O2 conftest.c >&5 +configure:29119: $? = 0 +configure:29122: test -s conftest.o +configure:29125: $? = 0 +configure:29136: result: yes +configure:29149: checking for ssize_t +configure:29173: gcc -c -g -O2 conftest.c >&5 +configure:29176: $? = 0 +configure:29179: test -s conftest.o +configure:29182: $? = 0 +configure:29193: result: yes +configure:29205: checking for major_t +configure:29229: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:307: `major_t' undeclared (first use in this function) +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:307: (Each undeclared identifier is reported only once +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:307: for each function it appears in.) +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:307: parse error before `)' +configure:29232: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| /* end confdefs.h. */ +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| int +| main () +| { +| if ((major_t *) 0) +| return 0; +| if (sizeof (major_t)) +| return 0; +| ; +| return 0; +| } +configure:29249: result: no +configure:29261: checking for minor_t +configure:29285: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:308: `minor_t' undeclared (first use in this function) +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:308: (Each undeclared identifier is reported only once +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:308: for each function it appears in.) +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:308: parse error before `)' +configure:29288: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| /* end confdefs.h. */ +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| int +| main () +| { +| if ((minor_t *) 0) +| return 0; +| if (sizeof (minor_t)) +| return 0; +| ; +| return 0; +| } +configure:29305: result: no +configure:29335: checking for working re_compile_pattern +configure:29398: gcc -o conftest -g -O2 conftest.c >&5 +configure:29401: $? = 0 +configure:29403: ./conftest +configure:29406: $? = 1 +configure: program exited with status 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| /* end confdefs.h. */ +| #include +| #include +| #include +| int +| main () +| { +| static struct re_pattern_buffer regex; +| const char *s; +| struct re_registers regs; +| re_set_syntax (RE_SYNTAX_POSIX_EGREP); +| memset (®ex, 0, sizeof (regex)); +| s = re_compile_pattern ("a[[:]:]]b\n", 9, ®ex); +| /* This should fail with _Invalid character class name_ error. */ +| if (!s) +| exit (1); +| +| /* This should succeed, but doesn't for e.g. glibc-2.1.3. */ +| memset (®ex, 0, sizeof (regex)); +| s = re_compile_pattern ("{1", 2, ®ex); +| +| if (s) +| exit (1); +| +| /* The following example is derived from a problem report +| against gawk from Jorge Stolfi . */ +| memset (®ex, 0, sizeof (regex)); +| s = re_compile_pattern ("[anù]*n", 7, ®ex); +| if (s) +| exit (1); +| +| /* This should match, but doesn't for e.g. glibc-2.2.1. */ +| if (re_match (®ex, "an", 2, 0, ®s) != 2) +| exit (1); +| +| memset (®ex, 0, sizeof (regex)); +| s = re_compile_pattern ("x", 1, ®ex); +| if (s) +| exit (1); +| +| /* The version of regex.c in e.g. GNU libc-2.2.93 didn't +| work with a negative RANGE argument. */ +| if (re_search (®ex, "wxy", 3, 2, -2, ®s) != 1) +| exit (1); +| +| exit (0); +| } +| +configure:29420: result: no +configure:29478: checking for btowc +configure:29547: result: yes +configure:29624: checking for getloadavg +configure:29673: gcc -o conftest -g -O2 conftest.c >&5 +/tmp/cca2OMQi.o: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:305: undefined reference to `getloadavg' +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:304: undefined reference to `getloadavg' +collect2: ld returned 1 exit status +configure:29676: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| /* end confdefs.h. */ +| /* System header to define __stub macros and hopefully few prototypes, +| which can conflict with char getloadavg (); below. +| Prefer to if __STDC__ is defined, since +| exists even on freestanding compilers. */ +| #ifdef __STDC__ +| # include +| #else +| # include +| #endif +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| { +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char getloadavg (); +| /* The GNU C library defines this for functions which it implements +| to always fail with ENOSYS. Some functions are actually named +| something starting with __ and the normal name is an alias. */ +| #if defined (__stub_getloadavg) || defined (__stub___getloadavg) +| choke me +| #else +| char (*f) () = getloadavg; +| #endif +| #ifdef __cplusplus +| } +| #endif +| +| int +| main () +| { +| return f != getloadavg; +| ; +| return 0; +| } +configure:29693: result: no +configure:29707: checking for pstat_getdynamic +configure:29776: result: no +configure:29789: checking for kstat_open in -lkstat +configure:29819: gcc -o conftest -g -O2 conftest.c -lkstat >&5 +/boot/develop/tools/gnupro/bin/ld: cannot open -lkstat: No such file or directory +collect2: ld returned 1 exit status +configure:29822: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| /* end confdefs.h. */ +| +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char kstat_open (); +| int +| main () +| { +| kstat_open (); +| ; +| return 0; +| } +configure:29840: result: no +configure:29858: checking for elf_begin in -lelf +configure:29888: gcc -o conftest -g -O2 conftest.c -lelf >&5 +/boot/develop/tools/gnupro/bin/ld: cannot open -lelf: No such file or directory +collect2: ld returned 1 exit status +configure:29891: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| /* end confdefs.h. */ +| +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char elf_begin (); +| int +| main () +| { +| elf_begin (); +| ; +| return 0; +| } +configure:29909: result: no +configure:29917: checking for kvm_open in -lkvm +configure:29947: gcc -o conftest -g -O2 conftest.c -lkvm >&5 +/boot/develop/tools/gnupro/bin/ld: cannot open -lkvm: No such file or directory +collect2: ld returned 1 exit status +configure:29950: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| /* end confdefs.h. */ +| +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char kvm_open (); +| int +| main () +| { +| kvm_open (); +| ; +| return 0; +| } +configure:29968: result: no +configure:29975: checking for getloadavg in -lutil +configure:30005: gcc -o conftest -g -O2 conftest.c -lutil >&5 +/boot/develop/tools/gnupro/bin/ld: cannot open -lutil: No such file or directory +collect2: ld returned 1 exit status +configure:30008: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| /* end confdefs.h. */ +| +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char getloadavg (); +| int +| main () +| { +| getloadavg (); +| ; +| return 0; +| } +configure:30026: result: no +configure:30039: checking for getloadavg in -lgetloadavg +configure:30069: gcc -o conftest -g -O2 conftest.c -lgetloadavg -L/usr/local/lib >&5 +/boot/develop/tools/gnupro/bin/ld: cannot open -lgetloadavg: No such file or directory +collect2: ld returned 1 exit status +configure:30072: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| /* end confdefs.h. */ +| +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char getloadavg (); +| int +| main () +| { +| getloadavg (); +| ; +| return 0; +| } +configure:30090: result: no +configure:30106: checking for getloadavg +configure:30155: gcc -o conftest -g -O2 conftest.c >&5 +/tmp/ccOsBwqi.o: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:305: undefined reference to `getloadavg' +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:304: undefined reference to `getloadavg' +collect2: ld returned 1 exit status +configure:30158: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| /* end confdefs.h. */ +| /* System header to define __stub macros and hopefully few prototypes, +| which can conflict with char getloadavg (); below. +| Prefer to if __STDC__ is defined, since +| exists even on freestanding compilers. */ +| #ifdef __STDC__ +| # include +| #else +| # include +| #endif +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| { +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char getloadavg (); +| /* The GNU C library defines this for functions which it implements +| to always fail with ENOSYS. Some functions are actually named +| something starting with __ and the normal name is an alias. */ +| #if defined (__stub_getloadavg) || defined (__stub___getloadavg) +| choke me +| #else +| char (*f) () = getloadavg; +| #endif +| #ifdef __cplusplus +| } +| #endif +| +| int +| main () +| { +| return f != getloadavg; +| ; +| return 0; +| } +configure:30175: result: no +configure:30201: checking sys/dg_sys_info.h usability +configure:30213: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:308: sys/dg_sys_info.h: No such file or directory +configure:30216: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| /* end confdefs.h. */ +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| #include +configure:30232: result: no +configure:30236: checking sys/dg_sys_info.h presence +configure:30246: gcc -E conftest.c +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:274: sys/dg_sys_info.h: No such file or directory +configure:30252: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| /* end confdefs.h. */ +| #include +configure:30271: result: no +configure:30307: checking for sys/dg_sys_info.h +configure:30314: result: no +configure:30393: checking for locale.h +configure:30398: result: yes +configure:30525: checking for setlocale +configure:30594: result: yes +configure:30628: checking inq_stats/cpustats.h usability +configure:30640: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:309: inq_stats/cpustats.h: No such file or directory +configure:30643: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| /* end confdefs.h. */ +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| #include +configure:30659: result: no +configure:30663: checking inq_stats/cpustats.h presence +configure:30673: gcc -E conftest.c +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:275: inq_stats/cpustats.h: No such file or directory +configure:30679: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| /* end confdefs.h. */ +| #include +configure:30698: result: no +configure:30734: checking for inq_stats/cpustats.h +configure:30741: result: no +configure:30773: checking sys/cpustats.h usability +configure:30785: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:309: sys/cpustats.h: No such file or directory +configure:30788: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| /* end confdefs.h. */ +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| #include +configure:30804: result: no +configure:30808: checking sys/cpustats.h presence +configure:30818: gcc -E conftest.c +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:275: sys/cpustats.h: No such file or directory +configure:30824: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| /* end confdefs.h. */ +| #include +configure:30843: result: no +configure:30879: checking for sys/cpustats.h +configure:30886: result: no +configure:30915: checking mach/mach.h usability +configure:30927: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:309: mach/mach.h: No such file or directory +configure:30930: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| /* end confdefs.h. */ +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| #include +configure:30946: result: no +configure:30950: checking mach/mach.h presence +configure:30960: gcc -E conftest.c +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:275: mach/mach.h: No such file or directory +configure:30966: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| /* end confdefs.h. */ +| #include +configure:30985: result: no +configure:31021: checking for mach/mach.h +configure:31028: result: no +configure:31057: checking nlist.h usability +configure:31069: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:309: nlist.h: No such file or directory +configure:31072: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| /* end confdefs.h. */ +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| #include +configure:31088: result: no +configure:31092: checking nlist.h presence +configure:31102: gcc -E conftest.c +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:275: nlist.h: No such file or directory +configure:31108: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| /* end confdefs.h. */ +| #include +configure:31127: result: no +configure:31163: checking for nlist.h +configure:31170: result: no +configure:31284: checking whether getloadavg requires setgid +configure:31309: result: no +configure:31360: checking for strcasecmp +configure:31409: gcc -o conftest -g -O2 conftest.c >&5 +configure:31412: $? = 0 +configure:31415: test -s conftest +configure:31418: $? = 0 +configure:31429: result: yes +configure:31360: checking for strncasecmp +configure:31409: gcc -o conftest -g -O2 conftest.c >&5 +configure:31412: $? = 0 +configure:31415: test -s conftest +configure:31418: $? = 0 +configure:31429: result: yes +configure:31446: checking for dup2 +configure:31495: gcc -o conftest -g -O2 conftest.c >&5 +configure:31498: $? = 0 +configure:31501: test -s conftest +configure:31504: $? = 0 +configure:31515: result: yes +configure:31533: checking for gethostname +configure:31582: gcc -o conftest -g -O2 conftest.c >&5 +configure:31585: $? = 0 +configure:31588: test -s conftest +configure:31591: $? = 0 +configure:31602: result: yes +configure:31533: checking for getusershell +configure:31582: gcc -o conftest -g -O2 conftest.c >&5 +/tmp/cc9EXv1h.o: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:311: undefined reference to `getusershell' +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:310: undefined reference to `getusershell' +collect2: ld returned 1 exit status +configure:31585: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| /* end confdefs.h. */ +| /* System header to define __stub macros and hopefully few prototypes, +| which can conflict with char getusershell (); below. +| Prefer to if __STDC__ is defined, since +| exists even on freestanding compilers. */ +| #ifdef __STDC__ +| # include +| #else +| # include +| #endif +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| { +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char getusershell (); +| /* The GNU C library defines this for functions which it implements +| to always fail with ENOSYS. Some functions are actually named +| something starting with __ and the normal name is an alias. */ +| #if defined (__stub_getusershell) || defined (__stub___getusershell) +| choke me +| #else +| char (*f) () = getusershell; +| #endif +| #ifdef __cplusplus +| } +| #endif +| +| int +| main () +| { +| return f != getusershell; +| ; +| return 0; +| } +configure:31602: result: no +configure:31619: checking for sig2str +configure:31668: gcc -o conftest -g -O2 conftest.c >&5 +/tmp/cc0udLzU.o: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:311: undefined reference to `sig2str' +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:310: undefined reference to `sig2str' +collect2: ld returned 1 exit status +configure:31671: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| /* end confdefs.h. */ +| /* System header to define __stub macros and hopefully few prototypes, +| which can conflict with char sig2str (); below. +| Prefer to if __STDC__ is defined, since +| exists even on freestanding compilers. */ +| #ifdef __STDC__ +| # include +| #else +| # include +| #endif +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| { +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char sig2str (); +| /* The GNU C library defines this for functions which it implements +| to always fail with ENOSYS. Some functions are actually named +| something starting with __ and the normal name is an alias. */ +| #if defined (__stub_sig2str) || defined (__stub___sig2str) +| choke me +| #else +| char (*f) () = sig2str; +| #endif +| #ifdef __cplusplus +| } +| #endif +| +| int +| main () +| { +| return f != sig2str; +| ; +| return 0; +| } +configure:31688: result: no +configure:31709: checking for strcspn +configure:31758: gcc -o conftest -g -O2 conftest.c >&5 +configure:31761: $? = 0 +configure:31764: test -s conftest +configure:31767: $? = 0 +configure:31778: result: yes +configure:31709: checking for stpcpy +configure:31758: gcc -o conftest -g -O2 conftest.c >&5 +configure:31761: $? = 0 +configure:31764: test -s conftest +configure:31767: $? = 0 +configure:31778: result: yes +configure:31709: checking for strstr +configure:31758: gcc -o conftest -g -O2 conftest.c >&5 +configure:31761: $? = 0 +configure:31764: test -s conftest +configure:31767: $? = 0 +configure:31778: result: yes +configure:31709: checking for strtol +configure:31758: gcc -o conftest -g -O2 conftest.c >&5 +configure:31761: $? = 0 +configure:31764: test -s conftest +configure:31767: $? = 0 +configure:31778: result: yes +configure:31709: checking for strtoul +configure:31758: gcc -o conftest -g -O2 conftest.c >&5 +configure:31761: $? = 0 +configure:31764: test -s conftest +configure:31767: $? = 0 +configure:31778: result: yes +configure:31795: checking for strpbrk +configure:31844: gcc -o conftest -g -O2 conftest.c >&5 +configure:31847: $? = 0 +configure:31850: test -s conftest +configure:31853: $? = 0 +configure:31864: result: yes +configure:31886: checking for euidaccess +configure:31935: gcc -o conftest -g -O2 conftest.c >&5 +/tmp/ccDquakC.o: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:317: undefined reference to `euidaccess' +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:316: undefined reference to `euidaccess' +collect2: ld returned 1 exit status +configure:31938: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| /* end confdefs.h. */ +| /* System header to define __stub macros and hopefully few prototypes, +| which can conflict with char euidaccess (); below. +| Prefer to if __STDC__ is defined, since +| exists even on freestanding compilers. */ +| #ifdef __STDC__ +| # include +| #else +| # include +| #endif +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| { +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char euidaccess (); +| /* The GNU C library defines this for functions which it implements +| to always fail with ENOSYS. Some functions are actually named +| something starting with __ and the normal name is an alias. */ +| #if defined (__stub_euidaccess) || defined (__stub___euidaccess) +| choke me +| #else +| char (*f) () = euidaccess; +| #endif +| #ifdef __cplusplus +| } +| #endif +| +| int +| main () +| { +| return f != euidaccess; +| ; +| return 0; +| } +configure:31955: result: no +configure:31886: checking for memcmp +configure:31935: gcc -o conftest -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:301: warning: conflicting types for built-in function `memcmp' +configure:31938: $? = 0 +configure:31941: test -s conftest +configure:31944: $? = 0 +configure:31955: result: yes +configure:31886: checking for rmdir +configure:31935: gcc -o conftest -g -O2 conftest.c >&5 +configure:31938: $? = 0 +configure:31941: test -s conftest +configure:31944: $? = 0 +configure:31955: result: yes +configure:31886: checking for rpmatch +configure:31935: gcc -o conftest -g -O2 conftest.c >&5 +/tmp/ccU3iiKO.o: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:319: undefined reference to `rpmatch' +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:318: undefined reference to `rpmatch' +collect2: ld returned 1 exit status +configure:31938: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| /* end confdefs.h. */ +| /* System header to define __stub macros and hopefully few prototypes, +| which can conflict with char rpmatch (); below. +| Prefer to if __STDC__ is defined, since +| exists even on freestanding compilers. */ +| #ifdef __STDC__ +| # include +| #else +| # include +| #endif +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| { +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char rpmatch (); +| /* The GNU C library defines this for functions which it implements +| to always fail with ENOSYS. Some functions are actually named +| something starting with __ and the normal name is an alias. */ +| #if defined (__stub_rpmatch) || defined (__stub___rpmatch) +| choke me +| #else +| char (*f) () = rpmatch; +| #endif +| #ifdef __cplusplus +| } +| #endif +| +| int +| main () +| { +| return f != rpmatch; +| ; +| return 0; +| } +configure:31955: result: no +configure:31886: checking for strndup +configure:31935: gcc -o conftest -g -O2 conftest.c >&5 +/tmp/ccGc8art.o: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:319: undefined reference to `strndup' +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:318: undefined reference to `strndup' +collect2: ld returned 1 exit status +configure:31938: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| /* end confdefs.h. */ +| /* System header to define __stub macros and hopefully few prototypes, +| which can conflict with char strndup (); below. +| Prefer to if __STDC__ is defined, since +| exists even on freestanding compilers. */ +| #ifdef __STDC__ +| # include +| #else +| # include +| #endif +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| { +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char strndup (); +| /* The GNU C library defines this for functions which it implements +| to always fail with ENOSYS. Some functions are actually named +| something starting with __ and the normal name is an alias. */ +| #if defined (__stub_strndup) || defined (__stub___strndup) +| choke me +| #else +| char (*f) () = strndup; +| #endif +| #ifdef __cplusplus +| } +| #endif +| +| int +| main () +| { +| return f != strndup; +| ; +| return 0; +| } +configure:31955: result: no +configure:31886: checking for strverscmp +configure:31935: gcc -o conftest -g -O2 conftest.c >&5 +/tmp/ccVBV7tJ.o: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:319: undefined reference to `strverscmp' +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:318: undefined reference to `strverscmp' +collect2: ld returned 1 exit status +configure:31938: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| /* end confdefs.h. */ +| /* System header to define __stub macros and hopefully few prototypes, +| which can conflict with char strverscmp (); below. +| Prefer to if __STDC__ is defined, since +| exists even on freestanding compilers. */ +| #ifdef __STDC__ +| # include +| #else +| # include +| #endif +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| { +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char strverscmp (); +| /* The GNU C library defines this for functions which it implements +| to always fail with ENOSYS. Some functions are actually named +| something starting with __ and the normal name is an alias. */ +| #if defined (__stub_strverscmp) || defined (__stub___strverscmp) +| choke me +| #else +| char (*f) () = strverscmp; +| #endif +| #ifdef __cplusplus +| } +| #endif +| +| int +| main () +| { +| return f != strverscmp; +| ; +| return 0; +| } +configure:31955: result: no +configure:31972: checking for atexit +configure:32021: gcc -o conftest -g -O2 conftest.c >&5 +configure:32024: $? = 0 +configure:32027: test -s conftest +configure:32030: $? = 0 +configure:32041: result: yes +configure:32058: checking for getpass +configure:32107: gcc -o conftest -g -O2 conftest.c >&5 +/tmp/ccBBCWej.o: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:320: undefined reference to `getpass' +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:319: undefined reference to `getpass' +collect2: ld returned 1 exit status +configure:32110: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| /* end confdefs.h. */ +| /* System header to define __stub macros and hopefully few prototypes, +| which can conflict with char getpass (); below. +| Prefer to if __STDC__ is defined, since +| exists even on freestanding compilers. */ +| #ifdef __STDC__ +| # include +| #else +| # include +| #endif +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| { +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char getpass (); +| /* The GNU C library defines this for functions which it implements +| to always fail with ENOSYS. Some functions are actually named +| something starting with __ and the normal name is an alias. */ +| #if defined (__stub_getpass) || defined (__stub___getpass) +| choke me +| #else +| char (*f) () = getpass; +| #endif +| #ifdef __cplusplus +| } +| #endif +| +| int +| main () +| { +| return f != getpass; +| ; +| return 0; +| } +configure:32127: result: no +configure:32146: checking for raise +configure:32195: gcc -o conftest -g -O2 conftest.c >&5 +configure:32198: $? = 0 +configure:32201: test -s conftest +configure:32204: $? = 0 +configure:32215: result: yes +configure:32233: checking for strdup +configure:32282: gcc -o conftest -g -O2 conftest.c >&5 +configure:32285: $? = 0 +configure:32288: test -s conftest +configure:32291: $? = 0 +configure:32302: result: yes +configure:32324: checking for memchr +configure:32373: gcc -o conftest -g -O2 conftest.c >&5 +configure:32376: $? = 0 +configure:32379: test -s conftest +configure:32382: $? = 0 +configure:32393: result: yes +configure:32324: checking for memcpy +configure:32393: result: yes +configure:32324: checking for memmove +configure:32373: gcc -o conftest -g -O2 conftest.c >&5 +configure:32376: $? = 0 +configure:32379: test -s conftest +configure:32382: $? = 0 +configure:32393: result: yes +configure:32324: checking for memrchr +configure:32373: gcc -o conftest -g -O2 conftest.c >&5 +/tmp/cc0AiXyq.o: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:325: undefined reference to `memrchr' +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:324: undefined reference to `memrchr' +collect2: ld returned 1 exit status +configure:32376: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| /* end confdefs.h. */ +| /* System header to define __stub macros and hopefully few prototypes, +| which can conflict with char memrchr (); below. +| Prefer to if __STDC__ is defined, since +| exists even on freestanding compilers. */ +| #ifdef __STDC__ +| # include +| #else +| # include +| #endif +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| { +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char memrchr (); +| /* The GNU C library defines this for functions which it implements +| to always fail with ENOSYS. Some functions are actually named +| something starting with __ and the normal name is an alias. */ +| #if defined (__stub_memrchr) || defined (__stub___memrchr) +| choke me +| #else +| char (*f) () = memrchr; +| #endif +| #ifdef __cplusplus +| } +| #endif +| +| int +| main () +| { +| return f != memrchr; +| ; +| return 0; +| } +configure:32393: result: no +configure:32324: checking for memset +configure:32393: result: yes +configure:32410: checking for getpagesize +configure:32479: result: no +configure:32504: checking whether setvbuf arguments are reversed +configure:32529: gcc -o conftest -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:298: conflicting types for `setvbuf' +/boot/develop/headers/posix/stdio.h:107: previous declaration of `setvbuf' +configure:32532: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| #define HAVE_MEMSET 1 +| #define ARGMATCH_DIE usage (1) +| #define ARGMATCH_DIE_DECL extern void usage () +| /* end confdefs.h. */ +| #include +| # if PROTOTYPES +| int (setvbuf) (FILE *, int, char *, size_t); +| # endif +| int +| main () +| { +| char buf; return setvbuf (stdout, _IOLBF, &buf, 1); +| ; +| return 0; +| } +configure:32634: result: no +configure:32654: checking for library containing clock_gettime +configure:32685: gcc -o conftest -g -O2 conftest.c >&5 +/tmp/ccQ954Wq.o: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:307: undefined reference to `clock_gettime' +collect2: ld returned 1 exit status +configure:32688: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| #define HAVE_MEMSET 1 +| #define ARGMATCH_DIE usage (1) +| #define ARGMATCH_DIE_DECL extern void usage () +| /* end confdefs.h. */ +| +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char clock_gettime (); +| int +| main () +| { +| clock_gettime (); +| ; +| return 0; +| } +configure:32729: gcc -o conftest -g -O2 conftest.c -lrt >&5 +/boot/develop/tools/gnupro/bin/ld: cannot open -lrt: No such file or directory +collect2: ld returned 1 exit status +configure:32732: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| #define HAVE_MEMSET 1 +| #define ARGMATCH_DIE usage (1) +| #define ARGMATCH_DIE_DECL extern void usage () +| /* end confdefs.h. */ +| +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char clock_gettime (); +| int +| main () +| { +| clock_gettime (); +| ; +| return 0; +| } +configure:32729: gcc -o conftest -g -O2 conftest.c -lposix4 >&5 +/boot/develop/tools/gnupro/bin/ld: cannot open -lposix4: No such file or directory +collect2: ld returned 1 exit status +configure:32732: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| #define HAVE_MEMSET 1 +| #define ARGMATCH_DIE usage (1) +| #define ARGMATCH_DIE_DECL extern void usage () +| /* end confdefs.h. */ +| +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char clock_gettime (); +| int +| main () +| { +| clock_gettime (); +| ; +| return 0; +| } +configure:32752: result: no +configure:32772: checking for clock_gettime +configure:32821: gcc -o conftest -g -O2 conftest.c >&5 +/tmp/ccRHzFiN.o: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:328: undefined reference to `clock_gettime' +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:327: undefined reference to `clock_gettime' +collect2: ld returned 1 exit status +configure:32824: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| #define HAVE_MEMSET 1 +| #define ARGMATCH_DIE usage (1) +| #define ARGMATCH_DIE_DECL extern void usage () +| /* end confdefs.h. */ +| /* System header to define __stub macros and hopefully few prototypes, +| which can conflict with char clock_gettime (); below. +| Prefer to if __STDC__ is defined, since +| exists even on freestanding compilers. */ +| #ifdef __STDC__ +| # include +| #else +| # include +| #endif +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| { +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char clock_gettime (); +| /* The GNU C library defines this for functions which it implements +| to always fail with ENOSYS. Some functions are actually named +| something starting with __ and the normal name is an alias. */ +| #if defined (__stub_clock_gettime) || defined (__stub___clock_gettime) +| choke me +| #else +| char (*f) () = clock_gettime; +| #endif +| #ifdef __cplusplus +| } +| #endif +| +| int +| main () +| { +| return f != clock_gettime; +| ; +| return 0; +| } +configure:32841: result: no +configure:32772: checking for clock_settime +configure:32821: gcc -o conftest -g -O2 conftest.c >&5 +/tmp/cc1yEVwX.o: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:328: undefined reference to `clock_settime' +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:327: undefined reference to `clock_settime' +collect2: ld returned 1 exit status +configure:32824: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| #define HAVE_MEMSET 1 +| #define ARGMATCH_DIE usage (1) +| #define ARGMATCH_DIE_DECL extern void usage () +| /* end confdefs.h. */ +| /* System header to define __stub macros and hopefully few prototypes, +| which can conflict with char clock_settime (); below. +| Prefer to if __STDC__ is defined, since +| exists even on freestanding compilers. */ +| #ifdef __STDC__ +| # include +| #else +| # include +| #endif +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| { +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char clock_settime (); +| /* The GNU C library defines this for functions which it implements +| to always fail with ENOSYS. Some functions are actually named +| something starting with __ and the normal name is an alias. */ +| #if defined (__stub_clock_settime) || defined (__stub___clock_settime) +| choke me +| #else +| char (*f) () = clock_settime; +| #endif +| #ifdef __cplusplus +| } +| #endif +| +| int +| main () +| { +| return f != clock_settime; +| ; +| return 0; +| } +configure:32841: result: no +configure:32856: checking for gettimeofday +configure:32925: result: yes +configure:32943: checking for string.h +configure:32948: result: yes +configure:32943: checking for stdlib.h +configure:32948: result: yes +configure:33078: checking whether gettimeofday clobbers localtime buffer +configure:33131: gcc -o conftest -g -O2 conftest.c >&5 +configure:33134: $? = 0 +configure:33136: ./conftest +configure:33139: $? = 0 +configure:33154: result: no +configure:33239: checking for bcopy +configure:33308: result: yes +configure:33239: checking for endgrent +configure:33288: gcc -o conftest -g -O2 conftest.c >&5 +configure:33291: $? = 0 +configure:33294: test -s conftest +configure:33297: $? = 0 +configure:33308: result: yes +configure:33239: checking for endpwent +configure:33288: gcc -o conftest -g -O2 conftest.c >&5 +configure:33291: $? = 0 +configure:33294: test -s conftest +configure:33297: $? = 0 +configure:33308: result: yes +configure:33239: checking for fchdir +configure:33288: gcc -o conftest -g -O2 conftest.c >&5 +/tmp/cc2matga.o: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:334: undefined reference to `fchdir' +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:333: undefined reference to `fchdir' +collect2: ld returned 1 exit status +configure:33291: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| #define HAVE_MEMSET 1 +| #define ARGMATCH_DIE usage (1) +| #define ARGMATCH_DIE_DECL extern void usage () +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_ENDGRENT 1 +| #define HAVE_ENDPWENT 1 +| /* end confdefs.h. */ +| /* System header to define __stub macros and hopefully few prototypes, +| which can conflict with char fchdir (); below. +| Prefer to if __STDC__ is defined, since +| exists even on freestanding compilers. */ +| #ifdef __STDC__ +| # include +| #else +| # include +| #endif +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| { +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char fchdir (); +| /* The GNU C library defines this for functions which it implements +| to always fail with ENOSYS. Some functions are actually named +| something starting with __ and the normal name is an alias. */ +| #if defined (__stub_fchdir) || defined (__stub___fchdir) +| choke me +| #else +| char (*f) () = fchdir; +| #endif +| #ifdef __cplusplus +| } +| #endif +| +| int +| main () +| { +| return f != fchdir; +| ; +| return 0; +| } +configure:33308: result: no +configure:33239: checking for fdatasync +configure:33288: gcc -o conftest -g -O2 conftest.c >&5 +/tmp/cckHfJLk.o: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:334: undefined reference to `fdatasync' +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:333: undefined reference to `fdatasync' +collect2: ld returned 1 exit status +configure:33291: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| #define HAVE_MEMSET 1 +| #define ARGMATCH_DIE usage (1) +| #define ARGMATCH_DIE_DECL extern void usage () +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_ENDGRENT 1 +| #define HAVE_ENDPWENT 1 +| /* end confdefs.h. */ +| /* System header to define __stub macros and hopefully few prototypes, +| which can conflict with char fdatasync (); below. +| Prefer to if __STDC__ is defined, since +| exists even on freestanding compilers. */ +| #ifdef __STDC__ +| # include +| #else +| # include +| #endif +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| { +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char fdatasync (); +| /* The GNU C library defines this for functions which it implements +| to always fail with ENOSYS. Some functions are actually named +| something starting with __ and the normal name is an alias. */ +| #if defined (__stub_fdatasync) || defined (__stub___fdatasync) +| choke me +| #else +| char (*f) () = fdatasync; +| #endif +| #ifdef __cplusplus +| } +| #endif +| +| int +| main () +| { +| return f != fdatasync; +| ; +| return 0; +| } +configure:33308: result: no +configure:33239: checking for ftime +configure:33288: gcc -o conftest -g -O2 conftest.c >&5 +configure:33291: $? = 0 +configure:33294: test -s conftest +configure:33297: $? = 0 +configure:33308: result: yes +configure:33239: checking for ftruncate +configure:33308: result: yes +configure:33239: checking for getcwd +configure:33308: result: yes +configure:33239: checking for gethrtime +configure:33288: gcc -o conftest -g -O2 conftest.c >&5 +/tmp/cclSbob3.o: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:337: undefined reference to `gethrtime' +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:336: undefined reference to `gethrtime' +collect2: ld returned 1 exit status +configure:33291: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| #define HAVE_MEMSET 1 +| #define ARGMATCH_DIE usage (1) +| #define ARGMATCH_DIE_DECL extern void usage () +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_ENDGRENT 1 +| #define HAVE_ENDPWENT 1 +| #define HAVE_FTIME 1 +| #define HAVE_FTRUNCATE 1 +| #define HAVE_GETCWD 1 +| /* end confdefs.h. */ +| /* System header to define __stub macros and hopefully few prototypes, +| which can conflict with char gethrtime (); below. +| Prefer to if __STDC__ is defined, since +| exists even on freestanding compilers. */ +| #ifdef __STDC__ +| # include +| #else +| # include +| #endif +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| { +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char gethrtime (); +| /* The GNU C library defines this for functions which it implements +| to always fail with ENOSYS. Some functions are actually named +| something starting with __ and the normal name is an alias. */ +| #if defined (__stub_gethrtime) || defined (__stub___gethrtime) +| choke me +| #else +| char (*f) () = gethrtime; +| #endif +| #ifdef __cplusplus +| } +| #endif +| +| int +| main () +| { +| return f != gethrtime; +| ; +| return 0; +| } +configure:33308: result: no +configure:33239: checking for getmntinfo +configure:33288: gcc -o conftest -g -O2 conftest.c >&5 +/tmp/ccpDMzRS.o: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:337: undefined reference to `getmntinfo' +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:336: undefined reference to `getmntinfo' +collect2: ld returned 1 exit status +configure:33291: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| #define HAVE_MEMSET 1 +| #define ARGMATCH_DIE usage (1) +| #define ARGMATCH_DIE_DECL extern void usage () +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_ENDGRENT 1 +| #define HAVE_ENDPWENT 1 +| #define HAVE_FTIME 1 +| #define HAVE_FTRUNCATE 1 +| #define HAVE_GETCWD 1 +| /* end confdefs.h. */ +| /* System header to define __stub macros and hopefully few prototypes, +| which can conflict with char getmntinfo (); below. +| Prefer to if __STDC__ is defined, since +| exists even on freestanding compilers. */ +| #ifdef __STDC__ +| # include +| #else +| # include +| #endif +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| { +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char getmntinfo (); +| /* The GNU C library defines this for functions which it implements +| to always fail with ENOSYS. Some functions are actually named +| something starting with __ and the normal name is an alias. */ +| #if defined (__stub_getmntinfo) || defined (__stub___getmntinfo) +| choke me +| #else +| char (*f) () = getmntinfo; +| #endif +| #ifdef __cplusplus +| } +| #endif +| +| int +| main () +| { +| return f != getmntinfo; +| ; +| return 0; +| } +configure:33308: result: no +configure:33239: checking for hasmntopt +configure:33288: gcc -o conftest -g -O2 conftest.c >&5 +/tmp/ccl1HK03.o: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:337: undefined reference to `hasmntopt' +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:336: undefined reference to `hasmntopt' +collect2: ld returned 1 exit status +configure:33291: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| #define HAVE_MEMSET 1 +| #define ARGMATCH_DIE usage (1) +| #define ARGMATCH_DIE_DECL extern void usage () +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_ENDGRENT 1 +| #define HAVE_ENDPWENT 1 +| #define HAVE_FTIME 1 +| #define HAVE_FTRUNCATE 1 +| #define HAVE_GETCWD 1 +| /* end confdefs.h. */ +| /* System header to define __stub macros and hopefully few prototypes, +| which can conflict with char hasmntopt (); below. +| Prefer to if __STDC__ is defined, since +| exists even on freestanding compilers. */ +| #ifdef __STDC__ +| # include +| #else +| # include +| #endif +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| { +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char hasmntopt (); +| /* The GNU C library defines this for functions which it implements +| to always fail with ENOSYS. Some functions are actually named +| something starting with __ and the normal name is an alias. */ +| #if defined (__stub_hasmntopt) || defined (__stub___hasmntopt) +| choke me +| #else +| char (*f) () = hasmntopt; +| #endif +| #ifdef __cplusplus +| } +| #endif +| +| int +| main () +| { +| return f != hasmntopt; +| ; +| return 0; +| } +configure:33308: result: no +configure:33239: checking for isascii +configure:33308: result: yes +configure:33239: checking for iswspace +configure:33288: gcc -o conftest -g -O2 conftest.c >&5 +configure:33291: $? = 0 +configure:33294: test -s conftest +configure:33297: $? = 0 +configure:33308: result: yes +configure:33239: checking for lchown +configure:33308: result: no +configure:33239: checking for listmntent +configure:33288: gcc -o conftest -g -O2 conftest.c >&5 +/tmp/ccfuomYV.o: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:339: undefined reference to `listmntent' +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:338: undefined reference to `listmntent' +collect2: ld returned 1 exit status +configure:33291: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| #define HAVE_MEMSET 1 +| #define ARGMATCH_DIE usage (1) +| #define ARGMATCH_DIE_DECL extern void usage () +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_ENDGRENT 1 +| #define HAVE_ENDPWENT 1 +| #define HAVE_FTIME 1 +| #define HAVE_FTRUNCATE 1 +| #define HAVE_GETCWD 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWSPACE 1 +| /* end confdefs.h. */ +| /* System header to define __stub macros and hopefully few prototypes, +| which can conflict with char listmntent (); below. +| Prefer to if __STDC__ is defined, since +| exists even on freestanding compilers. */ +| #ifdef __STDC__ +| # include +| #else +| # include +| #endif +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| { +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char listmntent (); +| /* The GNU C library defines this for functions which it implements +| to always fail with ENOSYS. Some functions are actually named +| something starting with __ and the normal name is an alias. */ +| #if defined (__stub_listmntent) || defined (__stub___listmntent) +| choke me +| #else +| char (*f) () = listmntent; +| #endif +| #ifdef __cplusplus +| } +| #endif +| +| int +| main () +| { +| return f != listmntent; +| ; +| return 0; +| } +configure:33308: result: no +configure:33239: checking for localeconv +configure:33308: result: yes +configure:33239: checking for memcpy +configure:33308: result: yes +configure:33239: checking for mempcpy +configure:33308: result: no +configure:33239: checking for mkfifo +configure:33288: gcc -o conftest -g -O2 conftest.c >&5 +configure:33291: $? = 0 +configure:33294: test -s conftest +configure:33297: $? = 0 +configure:33308: result: yes +configure:33239: checking for realpath +configure:33288: gcc -o conftest -g -O2 conftest.c >&5 +/tmp/cc5EQE1e.o: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:342: undefined reference to `realpath' +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:341: undefined reference to `realpath' +collect2: ld returned 1 exit status +configure:33291: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| #define HAVE_MEMSET 1 +| #define ARGMATCH_DIE usage (1) +| #define ARGMATCH_DIE_DECL extern void usage () +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_ENDGRENT 1 +| #define HAVE_ENDPWENT 1 +| #define HAVE_FTIME 1 +| #define HAVE_FTRUNCATE 1 +| #define HAVE_GETCWD 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWSPACE 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MKFIFO 1 +| /* end confdefs.h. */ +| /* System header to define __stub macros and hopefully few prototypes, +| which can conflict with char realpath (); below. +| Prefer to if __STDC__ is defined, since +| exists even on freestanding compilers. */ +| #ifdef __STDC__ +| # include +| #else +| # include +| #endif +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| { +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char realpath (); +| /* The GNU C library defines this for functions which it implements +| to always fail with ENOSYS. Some functions are actually named +| something starting with __ and the normal name is an alias. */ +| #if defined (__stub_realpath) || defined (__stub___realpath) +| choke me +| #else +| char (*f) () = realpath; +| #endif +| #ifdef __cplusplus +| } +| #endif +| +| int +| main () +| { +| return f != realpath; +| ; +| return 0; +| } +configure:33308: result: no +configure:33239: checking for sethostname +configure:33288: gcc -o conftest -g -O2 conftest.c >&5 +/tmp/cc7xuRZo.o: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:342: undefined reference to `sethostname' +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:341: undefined reference to `sethostname' +collect2: ld returned 1 exit status +configure:33291: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| #define HAVE_MEMSET 1 +| #define ARGMATCH_DIE usage (1) +| #define ARGMATCH_DIE_DECL extern void usage () +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_ENDGRENT 1 +| #define HAVE_ENDPWENT 1 +| #define HAVE_FTIME 1 +| #define HAVE_FTRUNCATE 1 +| #define HAVE_GETCWD 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWSPACE 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MKFIFO 1 +| /* end confdefs.h. */ +| /* System header to define __stub macros and hopefully few prototypes, +| which can conflict with char sethostname (); below. +| Prefer to if __STDC__ is defined, since +| exists even on freestanding compilers. */ +| #ifdef __STDC__ +| # include +| #else +| # include +| #endif +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| { +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char sethostname (); +| /* The GNU C library defines this for functions which it implements +| to always fail with ENOSYS. Some functions are actually named +| something starting with __ and the normal name is an alias. */ +| #if defined (__stub_sethostname) || defined (__stub___sethostname) +| choke me +| #else +| char (*f) () = sethostname; +| #endif +| #ifdef __cplusplus +| } +| #endif +| +| int +| main () +| { +| return f != sethostname; +| ; +| return 0; +| } +configure:33308: result: no +configure:33239: checking for strchr +configure:33288: gcc -o conftest -g -O2 conftest.c >&5 +configure:33291: $? = 0 +configure:33294: test -s conftest +configure:33297: $? = 0 +configure:33308: result: yes +configure:33239: checking for strerror +configure:33308: result: yes +configure:33239: checking for strrchr +configure:33288: gcc -o conftest -g -O2 conftest.c >&5 +configure:33291: $? = 0 +configure:33294: test -s conftest +configure:33297: $? = 0 +configure:33308: result: yes +configure:33239: checking for sysctl +configure:33308: result: no +configure:33239: checking for sysinfo +configure:33288: gcc -o conftest -g -O2 conftest.c >&5 +/tmp/ccswLWQj.o: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:345: undefined reference to `sysinfo' +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:344: undefined reference to `sysinfo' +collect2: ld returned 1 exit status +configure:33291: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| #define HAVE_MEMSET 1 +| #define ARGMATCH_DIE usage (1) +| #define ARGMATCH_DIE_DECL extern void usage () +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_ENDGRENT 1 +| #define HAVE_ENDPWENT 1 +| #define HAVE_FTIME 1 +| #define HAVE_FTRUNCATE 1 +| #define HAVE_GETCWD 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWSPACE 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MKFIFO 1 +| #define HAVE_STRCHR 1 +| #define HAVE_STRERROR 1 +| #define HAVE_STRRCHR 1 +| /* end confdefs.h. */ +| /* System header to define __stub macros and hopefully few prototypes, +| which can conflict with char sysinfo (); below. +| Prefer to if __STDC__ is defined, since +| exists even on freestanding compilers. */ +| #ifdef __STDC__ +| # include +| #else +| # include +| #endif +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| { +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char sysinfo (); +| /* The GNU C library defines this for functions which it implements +| to always fail with ENOSYS. Some functions are actually named +| something starting with __ and the normal name is an alias. */ +| #if defined (__stub_sysinfo) || defined (__stub___sysinfo) +| choke me +| #else +| char (*f) () = sysinfo; +| #endif +| #ifdef __cplusplus +| } +| #endif +| +| int +| main () +| { +| return f != sysinfo; +| ; +| return 0; +| } +configure:33308: result: no +configure:33239: checking for wcrtomb +configure:33288: gcc -o conftest -g -O2 conftest.c >&5 +configure:33291: $? = 0 +configure:33294: test -s conftest +configure:33297: $? = 0 +configure:33308: result: yes +configure:33239: checking for tzset +configure:33308: result: yes +configure:33325: checking for setreuid +configure:33374: gcc -o conftest -g -O2 conftest.c >&5 +/tmp/ccIKWvoC.o: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:347: undefined reference to `setreuid' +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:346: undefined reference to `setreuid' +collect2: ld returned 1 exit status +configure:33377: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| #define HAVE_MEMSET 1 +| #define ARGMATCH_DIE usage (1) +| #define ARGMATCH_DIE_DECL extern void usage () +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_ENDGRENT 1 +| #define HAVE_ENDPWENT 1 +| #define HAVE_FTIME 1 +| #define HAVE_FTRUNCATE 1 +| #define HAVE_GETCWD 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWSPACE 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MKFIFO 1 +| #define HAVE_STRCHR 1 +| #define HAVE_STRERROR 1 +| #define HAVE_STRRCHR 1 +| #define HAVE_WCRTOMB 1 +| #define HAVE_TZSET 1 +| /* end confdefs.h. */ +| /* System header to define __stub macros and hopefully few prototypes, +| which can conflict with char setreuid (); below. +| Prefer to if __STDC__ is defined, since +| exists even on freestanding compilers. */ +| #ifdef __STDC__ +| # include +| #else +| # include +| #endif +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| { +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char setreuid (); +| /* The GNU C library defines this for functions which it implements +| to always fail with ENOSYS. Some functions are actually named +| something starting with __ and the normal name is an alias. */ +| #if defined (__stub_setreuid) || defined (__stub___setreuid) +| choke me +| #else +| char (*f) () = setreuid; +| #endif +| #ifdef __cplusplus +| } +| #endif +| +| int +| main () +| { +| return f != setreuid; +| ; +| return 0; +| } +configure:33394: result: no +configure:33325: checking for setregid +configure:33374: gcc -o conftest -g -O2 conftest.c >&5 +/tmp/ccuewlNO.o: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:347: undefined reference to `setregid' +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:346: undefined reference to `setregid' +collect2: ld returned 1 exit status +configure:33377: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| #define HAVE_MEMSET 1 +| #define ARGMATCH_DIE usage (1) +| #define ARGMATCH_DIE_DECL extern void usage () +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_ENDGRENT 1 +| #define HAVE_ENDPWENT 1 +| #define HAVE_FTIME 1 +| #define HAVE_FTRUNCATE 1 +| #define HAVE_GETCWD 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWSPACE 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MKFIFO 1 +| #define HAVE_STRCHR 1 +| #define HAVE_STRERROR 1 +| #define HAVE_STRRCHR 1 +| #define HAVE_WCRTOMB 1 +| #define HAVE_TZSET 1 +| /* end confdefs.h. */ +| /* System header to define __stub macros and hopefully few prototypes, +| which can conflict with char setregid (); below. +| Prefer to if __STDC__ is defined, since +| exists even on freestanding compilers. */ +| #ifdef __STDC__ +| # include +| #else +| # include +| #endif +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| { +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char setregid (); +| /* The GNU C library defines this for functions which it implements +| to always fail with ENOSYS. Some functions are actually named +| something starting with __ and the normal name is an alias. */ +| #if defined (__stub_setregid) || defined (__stub___setregid) +| choke me +| #else +| char (*f) () = setregid; +| #endif +| #ifdef __cplusplus +| } +| #endif +| +| int +| main () +| { +| return f != setregid; +| ; +| return 0; +| } +configure:33394: result: no +configure:33406: checking for getline +configure:33455: gcc -o conftest -g -O2 conftest.c >&5 +configure:33458: $? = 0 +configure:33461: test -s conftest +configure:33464: $? = 0 +configure:33475: result: yes +configure:33484: checking for working getline function +configure:33517: gcc -o conftest -g -O2 conftest.c >&5 +configure:33520: $? = 0 +configure:33522: ./conftest +configure:33525: $? = 0 +configure:33539: result: yes +configure:33632: checking for obstacks +configure:33653: gcc -o conftest -g -O2 conftest.c >&5 +configure:33656: $? = 0 +configure:33659: test -s conftest +configure:33662: $? = 0 +configure:33673: result: yes +configure:33686: checking for working strtod +configure:33729: gcc -o conftest -g -O2 conftest.c >&5 +configure:33732: $? = 0 +configure:33734: ./conftest +configure:33737: $? = 0 +configure:33751: result: yes +configure:33922: gcc -o conftest -g -O2 conftest.c >&5 +configure:33925: $? = 0 +configure:33928: test -s conftest +configure:33931: $? = 0 +configure:33980: checking for nl_langinfo and CODESET +configure:34001: gcc -o conftest -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:316: langinfo.h: No such file or directory +configure:34004: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| #define HAVE_MEMSET 1 +| #define ARGMATCH_DIE usage (1) +| #define ARGMATCH_DIE_DECL extern void usage () +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_ENDGRENT 1 +| #define HAVE_ENDPWENT 1 +| #define HAVE_FTIME 1 +| #define HAVE_FTRUNCATE 1 +| #define HAVE_GETCWD 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWSPACE 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MKFIFO 1 +| #define HAVE_STRCHR 1 +| #define HAVE_STRERROR 1 +| #define HAVE_STRRCHR 1 +| #define HAVE_WCRTOMB 1 +| #define HAVE_TZSET 1 +| #define HAVE_OBSTACK 1 +| /* end confdefs.h. */ +| #include +| int +| main () +| { +| char* cs = nl_langinfo(CODESET); +| ; +| return 0; +| } +configure:34022: result: no +configure:34033: checking whether we are using the GNU C Library 2.1 or newer +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:317: features.h: No such file or directory +configure:34064: result: no +configure:34100: checking for iconv +configure:34127: gcc -o conftest -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:317: iconv.h: No such file or directory +configure:34130: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| #define HAVE_MEMSET 1 +| #define ARGMATCH_DIE usage (1) +| #define ARGMATCH_DIE_DECL extern void usage () +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_ENDGRENT 1 +| #define HAVE_ENDPWENT 1 +| #define HAVE_FTIME 1 +| #define HAVE_FTRUNCATE 1 +| #define HAVE_GETCWD 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWSPACE 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MKFIFO 1 +| #define HAVE_STRCHR 1 +| #define HAVE_STRERROR 1 +| #define HAVE_STRRCHR 1 +| #define HAVE_WCRTOMB 1 +| #define HAVE_TZSET 1 +| #define HAVE_OBSTACK 1 +| /* end confdefs.h. */ +| #include +| #include +| int +| main () +| { +| iconv_t cd = iconv_open("",""); +| iconv(cd,NULL,NULL,NULL,NULL); +| iconv_close(cd); +| ; +| return 0; +| } +configure:34167: gcc -o conftest -g -O2 conftest.c -liconv >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:317: iconv.h: No such file or directory +configure:34170: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| #define HAVE_MEMSET 1 +| #define ARGMATCH_DIE usage (1) +| #define ARGMATCH_DIE_DECL extern void usage () +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_ENDGRENT 1 +| #define HAVE_ENDPWENT 1 +| #define HAVE_FTIME 1 +| #define HAVE_FTRUNCATE 1 +| #define HAVE_GETCWD 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWSPACE 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MKFIFO 1 +| #define HAVE_STRCHR 1 +| #define HAVE_STRERROR 1 +| #define HAVE_STRRCHR 1 +| #define HAVE_WCRTOMB 1 +| #define HAVE_TZSET 1 +| #define HAVE_OBSTACK 1 +| /* end confdefs.h. */ +| #include +| #include +| int +| main () +| { +| iconv_t cd = iconv_open("",""); +| iconv(cd,NULL,NULL,NULL,NULL); +| iconv_close(cd); +| ; +| return 0; +| } +configure:34190: result: no, consider installing GNU libiconv +configure:34281: checking whether a running program can be unlinked +configure:34309: gcc -o conftest -g -O2 conftest.c >&5 +configure:34312: $? = 0 +configure:34314: ./conftest +configure:34317: $? = 0 +configure:34333: result: yes +configure:34348: checking for listmntent +configure:34417: result: no +configure:34348: checking for getmntinfo +configure:34417: result: no +configure:34436: checking for mntent.h +configure:34441: result: no +configure:34436: checking for sys/param.h +configure:34441: result: yes +configure:34445: checking sys/ucred.h usability +configure:34457: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:351: sys/ucred.h: No such file or directory +configure:34460: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| #define HAVE_MEMSET 1 +| #define ARGMATCH_DIE usage (1) +| #define ARGMATCH_DIE_DECL extern void usage () +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_ENDGRENT 1 +| #define HAVE_ENDPWENT 1 +| #define HAVE_FTIME 1 +| #define HAVE_FTRUNCATE 1 +| #define HAVE_GETCWD 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWSPACE 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MKFIFO 1 +| #define HAVE_STRCHR 1 +| #define HAVE_STRERROR 1 +| #define HAVE_STRRCHR 1 +| #define HAVE_WCRTOMB 1 +| #define HAVE_TZSET 1 +| #define HAVE_OBSTACK 1 +| #define HAVE_SYS_PARAM_H 1 +| /* end confdefs.h. */ +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| #include +configure:34476: result: no +configure:34480: checking sys/ucred.h presence +configure:34490: gcc -E conftest.c +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:317: sys/ucred.h: No such file or directory +configure:34496: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| #define HAVE_MEMSET 1 +| #define ARGMATCH_DIE usage (1) +| #define ARGMATCH_DIE_DECL extern void usage () +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_ENDGRENT 1 +| #define HAVE_ENDPWENT 1 +| #define HAVE_FTIME 1 +| #define HAVE_FTRUNCATE 1 +| #define HAVE_GETCWD 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWSPACE 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MKFIFO 1 +| #define HAVE_STRCHR 1 +| #define HAVE_STRERROR 1 +| #define HAVE_STRRCHR 1 +| #define HAVE_WCRTOMB 1 +| #define HAVE_TZSET 1 +| #define HAVE_OBSTACK 1 +| #define HAVE_SYS_PARAM_H 1 +| /* end confdefs.h. */ +| #include +configure:34515: result: no +configure:34551: checking for sys/ucred.h +configure:34558: result: no +configure:34436: checking for sys/mount.h +configure:34441: result: no +configure:34436: checking for sys/fs_types.h +configure:34441: result: no +configure:34586: checking for struct fsstat.f_fstypename +configure:34610: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:368: storage size of `ac_aggr' isn't known +configure:34613: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| #define HAVE_MEMSET 1 +| #define ARGMATCH_DIE usage (1) +| #define ARGMATCH_DIE_DECL extern void usage () +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_ENDGRENT 1 +| #define HAVE_ENDPWENT 1 +| #define HAVE_FTIME 1 +| #define HAVE_FTRUNCATE 1 +| #define HAVE_GETCWD 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWSPACE 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MKFIFO 1 +| #define HAVE_STRCHR 1 +| #define HAVE_STRERROR 1 +| #define HAVE_STRRCHR 1 +| #define HAVE_WCRTOMB 1 +| #define HAVE_TZSET 1 +| #define HAVE_OBSTACK 1 +| #define HAVE_SYS_PARAM_H 1 +| /* end confdefs.h. */ +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| #if HAVE_SYS_PARAM_H +| # include /* needed by powerpc-apple-darwin1.3.7 */ +| #endif +| #if HAVE_SYS_UCRED_H +| # include /* needed by powerpc-apple-darwin1.3.7 */ +| #endif +| #if HAVE_SYS_MOUNT_H +| # include +| #endif +| #if HAVE_SYS_FS_TYPES_H +| # include /* needed by powerpc-apple-darwin1.3.7 */ +| #endif +| +| +| int +| main () +| { +| static struct fsstat ac_aggr; +| if (ac_aggr.f_fstypename) +| return 0; +| ; +| return 0; +| } +configure:34645: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:368: storage size of `ac_aggr' isn't known +configure:34648: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| #define HAVE_MEMSET 1 +| #define ARGMATCH_DIE usage (1) +| #define ARGMATCH_DIE_DECL extern void usage () +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_ENDGRENT 1 +| #define HAVE_ENDPWENT 1 +| #define HAVE_FTIME 1 +| #define HAVE_FTRUNCATE 1 +| #define HAVE_GETCWD 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWSPACE 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MKFIFO 1 +| #define HAVE_STRCHR 1 +| #define HAVE_STRERROR 1 +| #define HAVE_STRRCHR 1 +| #define HAVE_WCRTOMB 1 +| #define HAVE_TZSET 1 +| #define HAVE_OBSTACK 1 +| #define HAVE_SYS_PARAM_H 1 +| /* end confdefs.h. */ +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| #if HAVE_SYS_PARAM_H +| # include /* needed by powerpc-apple-darwin1.3.7 */ +| #endif +| #if HAVE_SYS_UCRED_H +| # include /* needed by powerpc-apple-darwin1.3.7 */ +| #endif +| #if HAVE_SYS_MOUNT_H +| # include +| #endif +| #if HAVE_SYS_FS_TYPES_H +| # include /* needed by powerpc-apple-darwin1.3.7 */ +| #endif +| +| +| int +| main () +| { +| static struct fsstat ac_aggr; +| if (sizeof ac_aggr.f_fstypename) +| return 0; +| ; +| return 0; +| } +configure:34667: result: no +configure:34685: checking for getmntent in -lsun +configure:34715: gcc -o conftest -g -O2 conftest.c -lsun >&5 +/boot/develop/tools/gnupro/bin/ld: cannot open -lsun: No such file or directory +collect2: ld returned 1 exit status +configure:34718: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| #define HAVE_MEMSET 1 +| #define ARGMATCH_DIE usage (1) +| #define ARGMATCH_DIE_DECL extern void usage () +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_ENDGRENT 1 +| #define HAVE_ENDPWENT 1 +| #define HAVE_FTIME 1 +| #define HAVE_FTRUNCATE 1 +| #define HAVE_GETCWD 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWSPACE 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MKFIFO 1 +| #define HAVE_STRCHR 1 +| #define HAVE_STRERROR 1 +| #define HAVE_STRRCHR 1 +| #define HAVE_WCRTOMB 1 +| #define HAVE_TZSET 1 +| #define HAVE_OBSTACK 1 +| #define HAVE_SYS_PARAM_H 1 +| /* end confdefs.h. */ +| +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char getmntent (); +| int +| main () +| { +| getmntent (); +| ; +| return 0; +| } +configure:34736: result: no +configure:34741: checking for getmntent in -lseq +configure:34771: gcc -o conftest -g -O2 conftest.c -lseq >&5 +/boot/develop/tools/gnupro/bin/ld: cannot open -lseq: No such file or directory +collect2: ld returned 1 exit status +configure:34774: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| #define HAVE_MEMSET 1 +| #define ARGMATCH_DIE usage (1) +| #define ARGMATCH_DIE_DECL extern void usage () +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_ENDGRENT 1 +| #define HAVE_ENDPWENT 1 +| #define HAVE_FTIME 1 +| #define HAVE_FTRUNCATE 1 +| #define HAVE_GETCWD 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWSPACE 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MKFIFO 1 +| #define HAVE_STRCHR 1 +| #define HAVE_STRERROR 1 +| #define HAVE_STRRCHR 1 +| #define HAVE_WCRTOMB 1 +| #define HAVE_TZSET 1 +| #define HAVE_OBSTACK 1 +| #define HAVE_SYS_PARAM_H 1 +| /* end confdefs.h. */ +| +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char getmntent (); +| int +| main () +| { +| getmntent (); +| ; +| return 0; +| } +configure:34792: result: no +configure:34797: checking for getmntent in -lgen +configure:34827: gcc -o conftest -g -O2 conftest.c -lgen >&5 +/boot/develop/tools/gnupro/bin/ld: cannot open -lgen: No such file or directory +collect2: ld returned 1 exit status +configure:34830: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| #define HAVE_MEMSET 1 +| #define ARGMATCH_DIE usage (1) +| #define ARGMATCH_DIE_DECL extern void usage () +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_ENDGRENT 1 +| #define HAVE_ENDPWENT 1 +| #define HAVE_FTIME 1 +| #define HAVE_FTRUNCATE 1 +| #define HAVE_GETCWD 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWSPACE 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MKFIFO 1 +| #define HAVE_STRCHR 1 +| #define HAVE_STRERROR 1 +| #define HAVE_STRRCHR 1 +| #define HAVE_WCRTOMB 1 +| #define HAVE_TZSET 1 +| #define HAVE_OBSTACK 1 +| #define HAVE_SYS_PARAM_H 1 +| /* end confdefs.h. */ +| +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char getmntent (); +| int +| main () +| { +| getmntent (); +| ; +| return 0; +| } +configure:34848: result: no +configure:34862: checking for getmntent +configure:34911: gcc -o conftest -g -O2 conftest.c >&5 +/tmp/cc5Do8TH.o: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:349: undefined reference to `getmntent' +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:348: undefined reference to `getmntent' +collect2: ld returned 1 exit status +configure:34914: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| #define HAVE_MEMSET 1 +| #define ARGMATCH_DIE usage (1) +| #define ARGMATCH_DIE_DECL extern void usage () +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_ENDGRENT 1 +| #define HAVE_ENDPWENT 1 +| #define HAVE_FTIME 1 +| #define HAVE_FTRUNCATE 1 +| #define HAVE_GETCWD 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWSPACE 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MKFIFO 1 +| #define HAVE_STRCHR 1 +| #define HAVE_STRERROR 1 +| #define HAVE_STRRCHR 1 +| #define HAVE_WCRTOMB 1 +| #define HAVE_TZSET 1 +| #define HAVE_OBSTACK 1 +| #define HAVE_SYS_PARAM_H 1 +| /* end confdefs.h. */ +| /* System header to define __stub macros and hopefully few prototypes, +| which can conflict with char getmntent (); below. +| Prefer to if __STDC__ is defined, since +| exists even on freestanding compilers. */ +| #ifdef __STDC__ +| # include +| #else +| # include +| #endif +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| { +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char getmntent (); +| /* The GNU C library defines this for functions which it implements +| to always fail with ENOSYS. Some functions are actually named +| something starting with __ and the normal name is an alias. */ +| #if defined (__stub_getmntent) || defined (__stub___getmntent) +| choke me +| #else +| char (*f) () = getmntent; +| #endif +| #ifdef __cplusplus +| } +| #endif +| +| int +| main () +| { +| return f != getmntent; +| ; +| return 0; +| } +configure:34931: result: no +configure:34954: checking for listmntent of Cray/Unicos-9 +configure:34983: result: no +configure:34997: checking for mntctl function and struct vmount +configure:35010: gcc -E conftest.c +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:317: fshelp.h: No such file or directory +configure:35016: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| #define HAVE_MEMSET 1 +| #define ARGMATCH_DIE usage (1) +| #define ARGMATCH_DIE_DECL extern void usage () +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_ENDGRENT 1 +| #define HAVE_ENDPWENT 1 +| #define HAVE_FTIME 1 +| #define HAVE_FTRUNCATE 1 +| #define HAVE_GETCWD 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWSPACE 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MKFIFO 1 +| #define HAVE_STRCHR 1 +| #define HAVE_STRERROR 1 +| #define HAVE_STRRCHR 1 +| #define HAVE_WCRTOMB 1 +| #define HAVE_TZSET 1 +| #define HAVE_OBSTACK 1 +| #define HAVE_SYS_PARAM_H 1 +| /* end confdefs.h. */ +| #include +configure:35037: result: no +configure:35170: checking for getfsstat function +configure:35201: gcc -o conftest -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:376: `MNT_WAIT' undeclared (first use in this function) +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:376: (Each undeclared identifier is reported only once +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:376: for each function it appears in.) +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:377: `mnt_names' undeclared (first use in this function) +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:377: dereferencing pointer to incomplete type +configure:35204: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| #define HAVE_MEMSET 1 +| #define ARGMATCH_DIE usage (1) +| #define ARGMATCH_DIE_DECL extern void usage () +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_ENDGRENT 1 +| #define HAVE_ENDPWENT 1 +| #define HAVE_FTIME 1 +| #define HAVE_FTRUNCATE 1 +| #define HAVE_GETCWD 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWSPACE 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MKFIFO 1 +| #define HAVE_STRCHR 1 +| #define HAVE_STRERROR 1 +| #define HAVE_STRRCHR 1 +| #define HAVE_WCRTOMB 1 +| #define HAVE_TZSET 1 +| #define HAVE_OBSTACK 1 +| #define HAVE_SYS_PARAM_H 1 +| /* end confdefs.h. */ +| +| #include +| #if HAVE_STRUCT_FSSTAT_F_FSTYPENAME +| # define FS_TYPE(Ent) ((Ent).f_fstypename) +| #else +| # define FS_TYPE(Ent) mnt_names[(Ent).f_type] +| #endif +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| #if HAVE_SYS_PARAM_H +| # include /* needed by powerpc-apple-darwin1.3.7 */ +| #endif +| #if HAVE_SYS_UCRED_H +| # include /* needed by powerpc-apple-darwin1.3.7 */ +| #endif +| #if HAVE_SYS_MOUNT_H +| # include +| #endif +| #if HAVE_SYS_FS_TYPES_H +| # include /* needed by powerpc-apple-darwin1.3.7 */ +| #endif +| +| +| int +| main () +| { +| struct statfs *stats; +| int numsys = getfsstat ((struct statfs *)0, 0L, MNT_WAIT); +| char *t = FS_TYPE (*stats); +| ; +| return 0; +| } +configure:35222: result: no +configure:35236: checking for FIXME existence of three headers +configure:35252: gcc -E conftest.c +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:318: sys/statfs.h: No such file or directory +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:319: sys/fstyp.h: No such file or directory +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:320: mnttab.h: No such file or directory +configure:35258: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| #define HAVE_MEMSET 1 +| #define ARGMATCH_DIE usage (1) +| #define ARGMATCH_DIE_DECL extern void usage () +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_ENDGRENT 1 +| #define HAVE_ENDPWENT 1 +| #define HAVE_FTIME 1 +| #define HAVE_FTRUNCATE 1 +| #define HAVE_GETCWD 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWSPACE 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MKFIFO 1 +| #define HAVE_STRCHR 1 +| #define HAVE_STRERROR 1 +| #define HAVE_STRRCHR 1 +| #define HAVE_WCRTOMB 1 +| #define HAVE_TZSET 1 +| #define HAVE_OBSTACK 1 +| #define HAVE_SYS_PARAM_H 1 +| /* end confdefs.h. */ +| +| #include +| #include +| #include +configure:35279: result: no +configure:35293: checking for getmntinfo function +configure:35305: result: no +configure:35319: checking for getmnt function +configure:35334: gcc -E conftest.c +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:318: sys/fs_types.h: No such file or directory +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:319: sys/mount.h: No such file or directory +configure:35340: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| #define HAVE_MEMSET 1 +| #define ARGMATCH_DIE usage (1) +| #define ARGMATCH_DIE_DECL extern void usage () +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_ENDGRENT 1 +| #define HAVE_ENDPWENT 1 +| #define HAVE_FTIME 1 +| #define HAVE_FTRUNCATE 1 +| #define HAVE_GETCWD 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWSPACE 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MKFIFO 1 +| #define HAVE_STRCHR 1 +| #define HAVE_STRERROR 1 +| #define HAVE_STRRCHR 1 +| #define HAVE_WCRTOMB 1 +| #define HAVE_TZSET 1 +| #define HAVE_OBSTACK 1 +| #define HAVE_SYS_PARAM_H 1 +| /* end confdefs.h. */ +| +| #include +| #include +configure:35361: result: no +configure:35380: checking for next_dev +configure:35429: gcc -o conftest -g -O2 conftest.c >&5 +configure:35432: $? = 0 +configure:35435: test -s conftest +configure:35438: $? = 0 +configure:35449: result: yes +configure:35380: checking for fs_stat_dev +configure:35429: gcc -o conftest -g -O2 conftest.c >&5 +configure:35432: $? = 0 +configure:35435: test -s conftest +configure:35438: $? = 0 +configure:35449: result: yes +configure:35473: checking fs_info.h usability +configure:35485: gcc -c -g -O2 conftest.c >&5 +configure:35488: $? = 0 +configure:35491: test -s conftest.o +configure:35494: $? = 0 +configure:35504: result: yes +configure:35508: checking fs_info.h presence +configure:35518: gcc -E conftest.c +configure:35524: $? = 0 +configure:35543: result: yes +configure:35579: checking for fs_info.h +configure:35586: result: yes +configure:35599: checking for BEOS mounted file system support functions +configure:35608: result: yes +configure:35691: checking for f_fstypename in struct statfs +configure:35717: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:324: sys/mount.h: No such file or directory +configure:35720: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| #define HAVE_MEMSET 1 +| #define ARGMATCH_DIE usage (1) +| #define ARGMATCH_DIE_DECL extern void usage () +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_ENDGRENT 1 +| #define HAVE_ENDPWENT 1 +| #define HAVE_FTIME 1 +| #define HAVE_FTRUNCATE 1 +| #define HAVE_GETCWD 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWSPACE 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MKFIFO 1 +| #define HAVE_STRCHR 1 +| #define HAVE_STRERROR 1 +| #define HAVE_STRRCHR 1 +| #define HAVE_WCRTOMB 1 +| #define HAVE_TZSET 1 +| #define HAVE_OBSTACK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_NEXT_DEV 1 +| #define HAVE_FS_STAT_DEV 1 +| #define HAVE_FS_INFO_H 1 +| #define MOUNTED_FS_STAT_DEV 1 +| /* end confdefs.h. */ +| +| #include +| #include +| #include +| +| int +| main () +| { +| struct statfs s; int i = sizeof s.f_fstypename; +| ; +| return 0; +| } +configure:35740: result: no +configure:35765: checking for statvfs function (SVR4) +configure:35792: gcc -o conftest -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:323: parse error before `not' +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:323: parse error before `that' +In file included from /boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:327: +/boot/develop/headers/posix/sys/statvfs.h:22: parse error before `}' +/boot/develop/headers/posix/sys/statvfs.h:27: warning: `struct statvfs' declared inside parameter list +/boot/develop/headers/posix/sys/statvfs.h:27: warning: its scope is only this definition or declaration, +/boot/develop/headers/posix/sys/statvfs.h:27: warning: which is probably not what you want. +/boot/develop/headers/posix/sys/statvfs.h:28: warning: `struct statvfs' declared inside parameter list +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:331: storage size of `fsd' isn't known +configure:35795: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| #define HAVE_MEMSET 1 +| #define ARGMATCH_DIE usage (1) +| #define ARGMATCH_DIE_DECL extern void usage () +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_ENDGRENT 1 +| #define HAVE_ENDPWENT 1 +| #define HAVE_FTIME 1 +| #define HAVE_FTRUNCATE 1 +| #define HAVE_GETCWD 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWSPACE 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MKFIFO 1 +| #define HAVE_STRCHR 1 +| #define HAVE_STRERROR 1 +| #define HAVE_STRRCHR 1 +| #define HAVE_WCRTOMB 1 +| #define HAVE_TZSET 1 +| #define HAVE_OBSTACK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_NEXT_DEV 1 +| #define HAVE_FS_STAT_DEV 1 +| #define HAVE_FS_INFO_H 1 +| #define MOUNTED_FS_STAT_DEV 1 +| /* end confdefs.h. */ +| #include +| #ifdef __GLIBC__ +| Do not use statvfs on systems with GNU libc, because that function stats +| all preceding entries in /proc/mounts, and that makes df hang if even +| one of the corresponding file systems is hard-mounted, but not available. +| #endif +| #include +| int +| main () +| { +| struct statvfs fsd; statvfs (0, &fsd); +| ; +| return 0; +| } +configure:35812: result: no +configure:35826: checking for 3-argument statfs function (DEC OSF/1) +configure:35852: gcc -o conftest -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:324: sys/mount.h: No such file or directory +configure:35855: $? = 1 +configure: program exited with status 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| #define HAVE_MEMSET 1 +| #define ARGMATCH_DIE usage (1) +| #define ARGMATCH_DIE_DECL extern void usage () +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_ENDGRENT 1 +| #define HAVE_ENDPWENT 1 +| #define HAVE_FTIME 1 +| #define HAVE_FTRUNCATE 1 +| #define HAVE_GETCWD 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWSPACE 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MKFIFO 1 +| #define HAVE_STRCHR 1 +| #define HAVE_STRERROR 1 +| #define HAVE_STRRCHR 1 +| #define HAVE_WCRTOMB 1 +| #define HAVE_TZSET 1 +| #define HAVE_OBSTACK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_NEXT_DEV 1 +| #define HAVE_FS_STAT_DEV 1 +| #define HAVE_FS_INFO_H 1 +| #define MOUNTED_FS_STAT_DEV 1 +| /* end confdefs.h. */ +| +| #include +| #include +| #include +| main () +| { +| struct statfs fsd; +| fsd.f_fsize = 0; +| exit (statfs (".", &fsd, sizeof (struct statfs))); +| } +configure:35875: result: no +configure:35889: checking for two-argument statfs with statfs.bsize member (AIX, 4.3BSD) +configure:35921: gcc -o conftest -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:333: storage size of `fsd' isn't known +configure:35924: $? = 1 +configure: program exited with status 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| #define HAVE_MEMSET 1 +| #define ARGMATCH_DIE usage (1) +| #define ARGMATCH_DIE_DECL extern void usage () +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_ENDGRENT 1 +| #define HAVE_ENDPWENT 1 +| #define HAVE_FTIME 1 +| #define HAVE_FTRUNCATE 1 +| #define HAVE_GETCWD 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWSPACE 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MKFIFO 1 +| #define HAVE_STRCHR 1 +| #define HAVE_STRERROR 1 +| #define HAVE_STRRCHR 1 +| #define HAVE_WCRTOMB 1 +| #define HAVE_TZSET 1 +| #define HAVE_OBSTACK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_NEXT_DEV 1 +| #define HAVE_FS_STAT_DEV 1 +| #define HAVE_FS_INFO_H 1 +| #define MOUNTED_FS_STAT_DEV 1 +| /* end confdefs.h. */ +| +| #ifdef HAVE_SYS_PARAM_H +| #include +| #endif +| #ifdef HAVE_SYS_MOUNT_H +| #include +| #endif +| #ifdef HAVE_SYS_VFS_H +| #include +| #endif +| main () +| { +| struct statfs fsd; +| fsd.f_bsize = 0; +| exit (statfs (".", &fsd)); +| } +configure:35944: result: no +configure:35958: checking for four-argument statfs (AIX-3.2.5, SVR3) +configure:35981: gcc -o conftest -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:322: sys/statfs.h: No such file or directory +configure:35984: $? = 1 +configure: program exited with status 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| #define HAVE_MEMSET 1 +| #define ARGMATCH_DIE usage (1) +| #define ARGMATCH_DIE_DECL extern void usage () +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_ENDGRENT 1 +| #define HAVE_ENDPWENT 1 +| #define HAVE_FTIME 1 +| #define HAVE_FTRUNCATE 1 +| #define HAVE_GETCWD 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWSPACE 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MKFIFO 1 +| #define HAVE_STRCHR 1 +| #define HAVE_STRERROR 1 +| #define HAVE_STRRCHR 1 +| #define HAVE_WCRTOMB 1 +| #define HAVE_TZSET 1 +| #define HAVE_OBSTACK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_NEXT_DEV 1 +| #define HAVE_FS_STAT_DEV 1 +| #define HAVE_FS_INFO_H 1 +| #define MOUNTED_FS_STAT_DEV 1 +| /* end confdefs.h. */ +| #include +| #include +| main () +| { +| struct statfs fsd; +| exit (statfs (".", &fsd, sizeof fsd, 0)); +| } +configure:36004: result: no +configure:36018: checking for two-argument statfs with statfs.fsize member (4.4BSD and NetBSD) +configure:36047: gcc -o conftest -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:330: storage size of `fsd' isn't known +configure:36050: $? = 1 +configure: program exited with status 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| #define HAVE_MEMSET 1 +| #define ARGMATCH_DIE usage (1) +| #define ARGMATCH_DIE_DECL extern void usage () +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_ENDGRENT 1 +| #define HAVE_ENDPWENT 1 +| #define HAVE_FTIME 1 +| #define HAVE_FTRUNCATE 1 +| #define HAVE_GETCWD 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWSPACE 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MKFIFO 1 +| #define HAVE_STRCHR 1 +| #define HAVE_STRERROR 1 +| #define HAVE_STRRCHR 1 +| #define HAVE_WCRTOMB 1 +| #define HAVE_TZSET 1 +| #define HAVE_OBSTACK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_NEXT_DEV 1 +| #define HAVE_FS_STAT_DEV 1 +| #define HAVE_FS_INFO_H 1 +| #define MOUNTED_FS_STAT_DEV 1 +| /* end confdefs.h. */ +| #include +| #ifdef HAVE_SYS_PARAM_H +| #include +| #endif +| #ifdef HAVE_SYS_MOUNT_H +| #include +| #endif +| main () +| { +| struct statfs fsd; +| fsd.f_fsize = 0; +| exit (statfs (".", &fsd)); +| } +configure:36070: result: no +configure:36084: checking for two-argument statfs with struct fs_data (Ultrix) +configure:36117: gcc -o conftest -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:333: storage size of `fsd' isn't known +configure:36120: $? = 1 +configure: program exited with status 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| #define HAVE_MEMSET 1 +| #define ARGMATCH_DIE usage (1) +| #define ARGMATCH_DIE_DECL extern void usage () +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_ENDGRENT 1 +| #define HAVE_ENDPWENT 1 +| #define HAVE_FTIME 1 +| #define HAVE_FTRUNCATE 1 +| #define HAVE_GETCWD 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWSPACE 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MKFIFO 1 +| #define HAVE_STRCHR 1 +| #define HAVE_STRERROR 1 +| #define HAVE_STRRCHR 1 +| #define HAVE_WCRTOMB 1 +| #define HAVE_TZSET 1 +| #define HAVE_OBSTACK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_NEXT_DEV 1 +| #define HAVE_FS_STAT_DEV 1 +| #define HAVE_FS_INFO_H 1 +| #define MOUNTED_FS_STAT_DEV 1 +| /* end confdefs.h. */ +| #include +| #ifdef HAVE_SYS_PARAM_H +| #include +| #endif +| #ifdef HAVE_SYS_MOUNT_H +| #include +| #endif +| #ifdef HAVE_SYS_FS_TYPES_H +| #include +| #endif +| main () +| { +| struct fs_data fsd; +| /* Ultrix's statfs returns 1 for success, +| 0 for not mounted, -1 for failure. */ +| exit (statfs (".", &fsd) != 1); +| } +configure:36140: result: no +configure:36163: gcc -E conftest.c +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:321: sys/filsys.h: No such file or directory +configure:36169: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| #define HAVE_MEMSET 1 +| #define ARGMATCH_DIE usage (1) +| #define ARGMATCH_DIE_DECL extern void usage () +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_ENDGRENT 1 +| #define HAVE_ENDPWENT 1 +| #define HAVE_FTIME 1 +| #define HAVE_FTRUNCATE 1 +| #define HAVE_GETCWD 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWSPACE 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MKFIFO 1 +| #define HAVE_STRCHR 1 +| #define HAVE_STRERROR 1 +| #define HAVE_STRRCHR 1 +| #define HAVE_WCRTOMB 1 +| #define HAVE_TZSET 1 +| #define HAVE_OBSTACK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_NEXT_DEV 1 +| #define HAVE_FS_STAT_DEV 1 +| #define HAVE_FS_INFO_H 1 +| #define MOUNTED_FS_STAT_DEV 1 +| /* end confdefs.h. */ +| #include +| +configure:36213: checking for fchdir +configure:36282: result: no +configure:36290: checking for fchown +configure:36339: gcc -o conftest -g -O2 conftest.c >&5 +configure:36342: $? = 0 +configure:36345: test -s conftest +configure:36348: $? = 0 +configure:36359: result: yes +configure:36367: checking for lstat +configure:36416: gcc -o conftest -g -O2 conftest.c >&5 +configure:36419: $? = 0 +configure:36422: test -s conftest +configure:36425: $? = 0 +configure:36436: result: yes +configure:36444: checking for readlink +configure:36493: gcc -o conftest -g -O2 conftest.c >&5 +configure:36496: $? = 0 +configure:36499: test -s conftest +configure:36502: $? = 0 +configure:36513: result: yes +configure:36524: checking whether termios.h defines TIOCGWINSZ +configure:36551: result: yes +configure:36594: checking POSIX termios +configure:36619: gcc -o conftest -g -O2 conftest.c >&5 +configure:36622: $? = 0 +configure:36625: test -s conftest +configure:36628: $? = 0 +configure:36639: result: yes +configure:36643: checking whether use of struct winsize requires sys/ptem.h +configure:36667: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:326: `jm_cv_sys_struct_winsize_needs_sys_ptem_h' undeclared (first use in this function) +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:326: (Each undeclared identifier is reported only once +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:326: for each function it appears in.) +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:327: `no' undeclared (first use in this function) +configure:36670: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| #define HAVE_MEMSET 1 +| #define ARGMATCH_DIE usage (1) +| #define ARGMATCH_DIE_DECL extern void usage () +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_ENDGRENT 1 +| #define HAVE_ENDPWENT 1 +| #define HAVE_FTIME 1 +| #define HAVE_FTRUNCATE 1 +| #define HAVE_GETCWD 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWSPACE 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MKFIFO 1 +| #define HAVE_STRCHR 1 +| #define HAVE_STRERROR 1 +| #define HAVE_STRRCHR 1 +| #define HAVE_WCRTOMB 1 +| #define HAVE_TZSET 1 +| #define HAVE_OBSTACK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_NEXT_DEV 1 +| #define HAVE_FS_STAT_DEV 1 +| #define HAVE_FS_INFO_H 1 +| #define MOUNTED_FS_STAT_DEV 1 +| /* end confdefs.h. */ +| #include +| struct winsize x; +| int +| main () +| { +| jm_cv_sys_struct_winsize_needs_sys_ptem_h=no +| ; +| return 0; +| } +configure:36703: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:321: sys/ptem.h: No such file or directory +configure:36706: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| #define HAVE_MEMSET 1 +| #define ARGMATCH_DIE usage (1) +| #define ARGMATCH_DIE_DECL extern void usage () +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_ENDGRENT 1 +| #define HAVE_ENDPWENT 1 +| #define HAVE_FTIME 1 +| #define HAVE_FTRUNCATE 1 +| #define HAVE_GETCWD 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWSPACE 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MKFIFO 1 +| #define HAVE_STRCHR 1 +| #define HAVE_STRERROR 1 +| #define HAVE_STRRCHR 1 +| #define HAVE_WCRTOMB 1 +| #define HAVE_TZSET 1 +| #define HAVE_OBSTACK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_NEXT_DEV 1 +| #define HAVE_FS_STAT_DEV 1 +| #define HAVE_FS_INFO_H 1 +| #define MOUNTED_FS_STAT_DEV 1 +| /* end confdefs.h. */ +| #include +| int +| main () +| { +| struct winsize x; +| ; +| return 0; +| } +configure:36724: result: no +configure:36737: checking for statfs that truncates block counts +configure:36763: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:326: sys/vfs.h: No such file or directory +configure:36766: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| #define HAVE_MEMSET 1 +| #define ARGMATCH_DIE usage (1) +| #define ARGMATCH_DIE_DECL extern void usage () +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_ENDGRENT 1 +| #define HAVE_ENDPWENT 1 +| #define HAVE_FTIME 1 +| #define HAVE_FTRUNCATE 1 +| #define HAVE_GETCWD 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWSPACE 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MKFIFO 1 +| #define HAVE_STRCHR 1 +| #define HAVE_STRERROR 1 +| #define HAVE_STRRCHR 1 +| #define HAVE_WCRTOMB 1 +| #define HAVE_TZSET 1 +| #define HAVE_OBSTACK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_NEXT_DEV 1 +| #define HAVE_FS_STAT_DEV 1 +| #define HAVE_FS_INFO_H 1 +| #define MOUNTED_FS_STAT_DEV 1 +| /* end confdefs.h. */ +| +| #if !defined(sun) && !defined(__sun) +| choke -- this is a workaround for a Sun-specific problem +| #endif +| #include +| #include +| int +| main () +| { +| struct statfs t; long c = *(t.f_spare); +| ; +| return 0; +| } +configure:36791: result: no +configure:36794: checking whether localtime caches TZ +configure:36842: gcc -o conftest -g -O2 conftest.c >&5 +/tmp/ccIi8aiU.o: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:337: undefined reference to `rpl_putenv' +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:342: undefined reference to `rpl_putenv' +collect2: ld returned 1 exit status +configure:36845: $? = 1 +configure: program exited with status 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| #define HAVE_MEMSET 1 +| #define ARGMATCH_DIE usage (1) +| #define ARGMATCH_DIE_DECL extern void usage () +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_ENDGRENT 1 +| #define HAVE_ENDPWENT 1 +| #define HAVE_FTIME 1 +| #define HAVE_FTRUNCATE 1 +| #define HAVE_GETCWD 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWSPACE 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MKFIFO 1 +| #define HAVE_STRCHR 1 +| #define HAVE_STRERROR 1 +| #define HAVE_STRRCHR 1 +| #define HAVE_WCRTOMB 1 +| #define HAVE_TZSET 1 +| #define HAVE_OBSTACK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_NEXT_DEV 1 +| #define HAVE_FS_STAT_DEV 1 +| #define HAVE_FS_INFO_H 1 +| #define MOUNTED_FS_STAT_DEV 1 +| /* end confdefs.h. */ +| #include +| #if STDC_HEADERS +| # include +| #endif +| extern char **environ; +| unset_TZ () +| { +| char **from, **to; +| for (to = from = environ; (*to = *from); from++) +| if (! (to[0][0] == 'T' && to[0][1] == 'Z' && to[0][2] == '=')) +| to++; +| } +| main() +| { +| time_t now = time ((time_t *) 0); +| int hour_GMT0, hour_unset; +| if (putenv ("TZ=GMT0") != 0) +| exit (1); +| hour_GMT0 = localtime (&now)->tm_hour; +| unset_TZ (); +| hour_unset = localtime (&now)->tm_hour; +| if (putenv ("TZ=PST8") != 0) +| exit (1); +| if (localtime (&now)->tm_hour == hour_GMT0) +| exit (1); +| unset_TZ (); +| if (localtime (&now)->tm_hour != hour_unset) +| exit (1); +| exit (0); +| } +configure:36869: result: yes +configure:36884: checking for initgroups +configure:36933: gcc -o conftest -g -O2 conftest.c >&5 +/tmp/ccPFuoAH.o: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:354: undefined reference to `initgroups' +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:353: undefined reference to `initgroups' +collect2: ld returned 1 exit status +configure:36936: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| #define HAVE_MEMSET 1 +| #define ARGMATCH_DIE usage (1) +| #define ARGMATCH_DIE_DECL extern void usage () +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_ENDGRENT 1 +| #define HAVE_ENDPWENT 1 +| #define HAVE_FTIME 1 +| #define HAVE_FTRUNCATE 1 +| #define HAVE_GETCWD 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWSPACE 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MKFIFO 1 +| #define HAVE_STRCHR 1 +| #define HAVE_STRERROR 1 +| #define HAVE_STRRCHR 1 +| #define HAVE_WCRTOMB 1 +| #define HAVE_TZSET 1 +| #define HAVE_OBSTACK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_NEXT_DEV 1 +| #define HAVE_FS_STAT_DEV 1 +| #define HAVE_FS_INFO_H 1 +| #define MOUNTED_FS_STAT_DEV 1 +| #define LOCALTIME_CACHE 1 +| /* end confdefs.h. */ +| /* System header to define __stub macros and hopefully few prototypes, +| which can conflict with char initgroups (); below. +| Prefer to if __STDC__ is defined, since +| exists even on freestanding compilers. */ +| #ifdef __STDC__ +| # include +| #else +| # include +| #endif +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| { +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char initgroups (); +| /* The GNU C library defines this for functions which it implements +| to always fail with ENOSYS. Some functions are actually named +| something starting with __ and the normal name is an alias. */ +| #if defined (__stub_initgroups) || defined (__stub___initgroups) +| choke me +| #else +| char (*f) () = initgroups; +| #endif +| #ifdef __cplusplus +| } +| #endif +| +| int +| main () +| { +| return f != initgroups; +| ; +| return 0; +| } +configure:36953: result: no +configure:36965: checking for initgroups in -los +configure:36995: gcc -o conftest -g -O2 conftest.c -los >&5 +/boot/develop/tools/gnupro/bin/ld: cannot open -los: No such file or directory +collect2: ld returned 1 exit status +configure:36998: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| #define HAVE_MEMSET 1 +| #define ARGMATCH_DIE usage (1) +| #define ARGMATCH_DIE_DECL extern void usage () +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_ENDGRENT 1 +| #define HAVE_ENDPWENT 1 +| #define HAVE_FTIME 1 +| #define HAVE_FTRUNCATE 1 +| #define HAVE_GETCWD 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWSPACE 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MKFIFO 1 +| #define HAVE_STRCHR 1 +| #define HAVE_STRERROR 1 +| #define HAVE_STRRCHR 1 +| #define HAVE_WCRTOMB 1 +| #define HAVE_TZSET 1 +| #define HAVE_OBSTACK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_NEXT_DEV 1 +| #define HAVE_FS_STAT_DEV 1 +| #define HAVE_FS_INFO_H 1 +| #define MOUNTED_FS_STAT_DEV 1 +| #define LOCALTIME_CACHE 1 +| /* end confdefs.h. */ +| +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char initgroups (); +| int +| main () +| { +| initgroups (); +| ; +| return 0; +| } +configure:37016: result: no +configure:37033: checking for syslog +configure:37082: gcc -o conftest -g -O2 conftest.c >&5 +/tmp/ccAKkmT6.o: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:354: undefined reference to `syslog' +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:353: undefined reference to `syslog' +collect2: ld returned 1 exit status +configure:37085: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| #define HAVE_MEMSET 1 +| #define ARGMATCH_DIE usage (1) +| #define ARGMATCH_DIE_DECL extern void usage () +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_ENDGRENT 1 +| #define HAVE_ENDPWENT 1 +| #define HAVE_FTIME 1 +| #define HAVE_FTRUNCATE 1 +| #define HAVE_GETCWD 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWSPACE 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MKFIFO 1 +| #define HAVE_STRCHR 1 +| #define HAVE_STRERROR 1 +| #define HAVE_STRRCHR 1 +| #define HAVE_WCRTOMB 1 +| #define HAVE_TZSET 1 +| #define HAVE_OBSTACK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_NEXT_DEV 1 +| #define HAVE_FS_STAT_DEV 1 +| #define HAVE_FS_INFO_H 1 +| #define MOUNTED_FS_STAT_DEV 1 +| #define LOCALTIME_CACHE 1 +| /* end confdefs.h. */ +| /* System header to define __stub macros and hopefully few prototypes, +| which can conflict with char syslog (); below. +| Prefer to if __STDC__ is defined, since +| exists even on freestanding compilers. */ +| #ifdef __STDC__ +| # include +| #else +| # include +| #endif +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| { +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char syslog (); +| /* The GNU C library defines this for functions which it implements +| to always fail with ENOSYS. Some functions are actually named +| something starting with __ and the normal name is an alias. */ +| #if defined (__stub_syslog) || defined (__stub___syslog) +| choke me +| #else +| char (*f) () = syslog; +| #endif +| #ifdef __cplusplus +| } +| #endif +| +| int +| main () +| { +| return f != syslog; +| ; +| return 0; +| } +configure:37102: result: no +configure:37116: checking for syslog in -lbsd +configure:37146: gcc -o conftest -g -O2 conftest.c -lbsd >&5 +/boot/develop/tools/gnupro/bin/ld: cannot open -lbsd: No such file or directory +collect2: ld returned 1 exit status +configure:37149: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| #define HAVE_MEMSET 1 +| #define ARGMATCH_DIE usage (1) +| #define ARGMATCH_DIE_DECL extern void usage () +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_ENDGRENT 1 +| #define HAVE_ENDPWENT 1 +| #define HAVE_FTIME 1 +| #define HAVE_FTRUNCATE 1 +| #define HAVE_GETCWD 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWSPACE 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MKFIFO 1 +| #define HAVE_STRCHR 1 +| #define HAVE_STRERROR 1 +| #define HAVE_STRRCHR 1 +| #define HAVE_WCRTOMB 1 +| #define HAVE_TZSET 1 +| #define HAVE_OBSTACK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_NEXT_DEV 1 +| #define HAVE_FS_STAT_DEV 1 +| #define HAVE_FS_INFO_H 1 +| #define MOUNTED_FS_STAT_DEV 1 +| #define LOCALTIME_CACHE 1 +| /* end confdefs.h. */ +| +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char syslog (); +| int +| main () +| { +| syslog (); +| ; +| return 0; +| } +configure:37167: result: no +configure:37116: checking for syslog in -lsocket +configure:37146: gcc -o conftest -g -O2 conftest.c -lsocket >&5 +/boot/develop/tools/gnupro/bin/ld: cannot open -lsocket: No such file or directory +collect2: ld returned 1 exit status +configure:37149: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| #define HAVE_MEMSET 1 +| #define ARGMATCH_DIE usage (1) +| #define ARGMATCH_DIE_DECL extern void usage () +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_ENDGRENT 1 +| #define HAVE_ENDPWENT 1 +| #define HAVE_FTIME 1 +| #define HAVE_FTRUNCATE 1 +| #define HAVE_GETCWD 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWSPACE 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MKFIFO 1 +| #define HAVE_STRCHR 1 +| #define HAVE_STRERROR 1 +| #define HAVE_STRRCHR 1 +| #define HAVE_WCRTOMB 1 +| #define HAVE_TZSET 1 +| #define HAVE_OBSTACK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_NEXT_DEV 1 +| #define HAVE_FS_STAT_DEV 1 +| #define HAVE_FS_INFO_H 1 +| #define MOUNTED_FS_STAT_DEV 1 +| #define LOCALTIME_CACHE 1 +| /* end confdefs.h. */ +| +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char syslog (); +| int +| main () +| { +| syslog (); +| ; +| return 0; +| } +configure:37167: result: no +configure:37116: checking for syslog in -linet +configure:37146: gcc -o conftest -g -O2 conftest.c -linet >&5 +/boot/develop/tools/gnupro/bin/ld: cannot open -linet: No such file or directory +collect2: ld returned 1 exit status +configure:37149: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| #define HAVE_MEMSET 1 +| #define ARGMATCH_DIE usage (1) +| #define ARGMATCH_DIE_DECL extern void usage () +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_ENDGRENT 1 +| #define HAVE_ENDPWENT 1 +| #define HAVE_FTIME 1 +| #define HAVE_FTRUNCATE 1 +| #define HAVE_GETCWD 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWSPACE 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MKFIFO 1 +| #define HAVE_STRCHR 1 +| #define HAVE_STRERROR 1 +| #define HAVE_STRRCHR 1 +| #define HAVE_WCRTOMB 1 +| #define HAVE_TZSET 1 +| #define HAVE_OBSTACK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_NEXT_DEV 1 +| #define HAVE_FS_STAT_DEV 1 +| #define HAVE_FS_INFO_H 1 +| #define MOUNTED_FS_STAT_DEV 1 +| #define LOCALTIME_CACHE 1 +| /* end confdefs.h. */ +| +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char syslog (); +| int +| main () +| { +| syslog (); +| ; +| return 0; +| } +configure:37167: result: no +configure:37181: checking for 3-argument setpriority function +configure:37203: gcc -o conftest -g -O2 conftest.c >&5 +/tmp/ccTiTJRr.o: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:327: undefined reference to `setpriority' +collect2: ld returned 1 exit status +configure:37206: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| #define HAVE_MEMSET 1 +| #define ARGMATCH_DIE usage (1) +| #define ARGMATCH_DIE_DECL extern void usage () +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_ENDGRENT 1 +| #define HAVE_ENDPWENT 1 +| #define HAVE_FTIME 1 +| #define HAVE_FTRUNCATE 1 +| #define HAVE_GETCWD 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWSPACE 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MKFIFO 1 +| #define HAVE_STRCHR 1 +| #define HAVE_STRERROR 1 +| #define HAVE_STRRCHR 1 +| #define HAVE_WCRTOMB 1 +| #define HAVE_TZSET 1 +| #define HAVE_OBSTACK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_NEXT_DEV 1 +| #define HAVE_FS_STAT_DEV 1 +| #define HAVE_FS_INFO_H 1 +| #define MOUNTED_FS_STAT_DEV 1 +| #define LOCALTIME_CACHE 1 +| /* end confdefs.h. */ +| #include +| #include +| int +| main () +| { +| setpriority(0, 0, 0); +| ; +| return 0; +| } +configure:37224: result: no +configure:37231: checking for nice function +configure:37252: gcc -o conftest -g -O2 conftest.c >&5 +/tmp/cccwUUON.o: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:326: undefined reference to `nice' +collect2: ld returned 1 exit status +configure:37255: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| #define HAVE_MEMSET 1 +| #define ARGMATCH_DIE usage (1) +| #define ARGMATCH_DIE_DECL extern void usage () +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_ENDGRENT 1 +| #define HAVE_ENDPWENT 1 +| #define HAVE_FTIME 1 +| #define HAVE_FTRUNCATE 1 +| #define HAVE_GETCWD 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWSPACE 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MKFIFO 1 +| #define HAVE_STRCHR 1 +| #define HAVE_STRERROR 1 +| #define HAVE_STRRCHR 1 +| #define HAVE_WCRTOMB 1 +| #define HAVE_TZSET 1 +| #define HAVE_OBSTACK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_NEXT_DEV 1 +| #define HAVE_FS_STAT_DEV 1 +| #define HAVE_FS_INFO_H 1 +| #define MOUNTED_FS_STAT_DEV 1 +| #define LOCALTIME_CACHE 1 +| /* end confdefs.h. */ +| +| int +| main () +| { +| nice(); +| ; +| return 0; +| } +configure:37273: result: no +configure:37298: checking ut_host in struct utmp +configure:37320: gcc -o conftest -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:323: utmp.h: No such file or directory +configure:37323: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| #define HAVE_MEMSET 1 +| #define ARGMATCH_DIE usage (1) +| #define ARGMATCH_DIE_DECL extern void usage () +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_ENDGRENT 1 +| #define HAVE_ENDPWENT 1 +| #define HAVE_FTIME 1 +| #define HAVE_FTRUNCATE 1 +| #define HAVE_GETCWD 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWSPACE 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MKFIFO 1 +| #define HAVE_STRCHR 1 +| #define HAVE_STRERROR 1 +| #define HAVE_STRRCHR 1 +| #define HAVE_WCRTOMB 1 +| #define HAVE_TZSET 1 +| #define HAVE_OBSTACK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_NEXT_DEV 1 +| #define HAVE_FS_STAT_DEV 1 +| #define HAVE_FS_INFO_H 1 +| #define MOUNTED_FS_STAT_DEV 1 +| #define LOCALTIME_CACHE 1 +| /* end confdefs.h. */ +| #include +| #include +| int +| main () +| { +| struct utmp ut; ut.ut_host; +| ; +| return 0; +| } +configure:37341: result: no +configure:37353: checking ut_host in struct utmpx +configure:37375: gcc -o conftest -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:323: utmpx.h: No such file or directory +configure:37378: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| #define HAVE_MEMSET 1 +| #define ARGMATCH_DIE usage (1) +| #define ARGMATCH_DIE_DECL extern void usage () +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_ENDGRENT 1 +| #define HAVE_ENDPWENT 1 +| #define HAVE_FTIME 1 +| #define HAVE_FTRUNCATE 1 +| #define HAVE_GETCWD 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWSPACE 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MKFIFO 1 +| #define HAVE_STRCHR 1 +| #define HAVE_STRERROR 1 +| #define HAVE_STRRCHR 1 +| #define HAVE_WCRTOMB 1 +| #define HAVE_TZSET 1 +| #define HAVE_OBSTACK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_NEXT_DEV 1 +| #define HAVE_FS_STAT_DEV 1 +| #define HAVE_FS_INFO_H 1 +| #define MOUNTED_FS_STAT_DEV 1 +| #define LOCALTIME_CACHE 1 +| /* end confdefs.h. */ +| #include +| #include +| int +| main () +| { +| struct utmpx ut; ut.ut_host; +| ; +| return 0; +| } +configure:37396: result: no +configure:37417: checking for sysctl +configure:37486: result: no +configure:37501: checking for sys/sysctl.h +configure:37506: result: no +configure:37636: checking whether we can get the system boot time +configure:37674: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:363: utmp.h: No such file or directory +configure:37677: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| #define HAVE_MEMSET 1 +| #define ARGMATCH_DIE usage (1) +| #define ARGMATCH_DIE_DECL extern void usage () +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_ENDGRENT 1 +| #define HAVE_ENDPWENT 1 +| #define HAVE_FTIME 1 +| #define HAVE_FTRUNCATE 1 +| #define HAVE_GETCWD 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWSPACE 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MKFIFO 1 +| #define HAVE_STRCHR 1 +| #define HAVE_STRERROR 1 +| #define HAVE_STRRCHR 1 +| #define HAVE_WCRTOMB 1 +| #define HAVE_TZSET 1 +| #define HAVE_OBSTACK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_NEXT_DEV 1 +| #define HAVE_FS_STAT_DEV 1 +| #define HAVE_FS_INFO_H 1 +| #define MOUNTED_FS_STAT_DEV 1 +| #define LOCALTIME_CACHE 1 +| /* end confdefs.h. */ +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| #if HAVE_SYSCTL && HAVE_SYS_SYSCTL_H +| # include /* needed for OpenBSD 3.0 */ +| # include +| #endif +| #ifdef HAVE_UTMPX_H +| # include +| #else +| # include +| #endif +| +| int +| main () +| { +| +| #if defined BOOT_TIME || (defined CTL_KERN && defined KERN_BOOTTIME) +| /* your system *does* have the infrastructure to determine boot time */ +| #else +| please_tell_us_how_to_determine_boot_time_on_your_system +| #endif +| +| ; +| return 0; +| } +configure:37695: result: no +configure:37704: checking POSIX termios +configure:37749: result: yes +configure:37753: checking whether use of TIOCGWINSZ requires termios.h +configure:37783: result: yes +configure:37787: checking whether use of TIOCGWINSZ requires sys/ioctl.h +configure:37817: result: no +configure:37831: checking whether termios.h needs _XOPEN_SOURCE +configure:37876: result: no +configure:37885: checking c_line in struct termios +configure:37910: gcc -o conftest -g -O2 conftest.c >&5 +configure:37913: $? = 0 +configure:37916: test -s conftest +configure:37919: $? = 0 +configure:37931: result: yes +configure:37944: checking whether use of struct winsize requires sys/ptem.h +configure:38025: result: no +configure:38036: checking whether use of TIOCGWINSZ requires termios.h +configure:38066: result: yes +configure:38133: checking whether strsignal is declared +configure:38157: gcc -c -g -O2 conftest.c >&5 +configure:38160: $? = 0 +configure:38163: test -s conftest.o +configure:38166: $? = 0 +configure:38177: result: yes +configure:38193: checking whether strtoimax is declared +configure:38237: result: yes +configure:38253: checking whether sys_siglist is declared +configure:38277: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:363: `sys_siglist' undeclared (first use in this function) +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:363: (Each undeclared identifier is reported only once +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:363: for each function it appears in.) +configure:38280: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| #define HAVE_MEMSET 1 +| #define ARGMATCH_DIE usage (1) +| #define ARGMATCH_DIE_DECL extern void usage () +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_ENDGRENT 1 +| #define HAVE_ENDPWENT 1 +| #define HAVE_FTIME 1 +| #define HAVE_FTRUNCATE 1 +| #define HAVE_GETCWD 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWSPACE 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MKFIFO 1 +| #define HAVE_STRCHR 1 +| #define HAVE_STRERROR 1 +| #define HAVE_STRRCHR 1 +| #define HAVE_WCRTOMB 1 +| #define HAVE_TZSET 1 +| #define HAVE_OBSTACK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_NEXT_DEV 1 +| #define HAVE_FS_STAT_DEV 1 +| #define HAVE_FS_INFO_H 1 +| #define MOUNTED_FS_STAT_DEV 1 +| #define LOCALTIME_CACHE 1 +| #define HAVE_C_LINE 1 +| #define HAVE_DECL_STRSIGNAL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| /* end confdefs.h. */ +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| int +| main () +| { +| #ifndef sys_siglist +| char *p = (char *) sys_siglist; +| #endif +| +| ; +| return 0; +| } +configure:38297: result: no +configure:38313: checking whether _sys_siglist is declared +configure:38337: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:364: `_sys_siglist' undeclared (first use in this function) +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:364: (Each undeclared identifier is reported only once +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:364: for each function it appears in.) +configure:38340: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| #define HAVE_MEMSET 1 +| #define ARGMATCH_DIE usage (1) +| #define ARGMATCH_DIE_DECL extern void usage () +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_ENDGRENT 1 +| #define HAVE_ENDPWENT 1 +| #define HAVE_FTIME 1 +| #define HAVE_FTRUNCATE 1 +| #define HAVE_GETCWD 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWSPACE 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MKFIFO 1 +| #define HAVE_STRCHR 1 +| #define HAVE_STRERROR 1 +| #define HAVE_STRRCHR 1 +| #define HAVE_WCRTOMB 1 +| #define HAVE_TZSET 1 +| #define HAVE_OBSTACK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_NEXT_DEV 1 +| #define HAVE_FS_STAT_DEV 1 +| #define HAVE_FS_INFO_H 1 +| #define MOUNTED_FS_STAT_DEV 1 +| #define LOCALTIME_CACHE 1 +| #define HAVE_C_LINE 1 +| #define HAVE_DECL_STRSIGNAL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_SYS_SIGLIST 0 +| /* end confdefs.h. */ +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| int +| main () +| { +| #ifndef _sys_siglist +| char *p = (char *) _sys_siglist; +| #endif +| +| ; +| return 0; +| } +configure:38357: result: no +configure:38380: checking for main in -lypsec +configure:38404: gcc -o conftest -g -O2 conftest.c -lypsec >&5 +/boot/develop/tools/gnupro/bin/ld: cannot open -lypsec: No such file or directory +collect2: ld returned 1 exit status +configure:38407: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| #define HAVE_MEMSET 1 +| #define ARGMATCH_DIE usage (1) +| #define ARGMATCH_DIE_DECL extern void usage () +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_ENDGRENT 1 +| #define HAVE_ENDPWENT 1 +| #define HAVE_FTIME 1 +| #define HAVE_FTRUNCATE 1 +| #define HAVE_GETCWD 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWSPACE 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MKFIFO 1 +| #define HAVE_STRCHR 1 +| #define HAVE_STRERROR 1 +| #define HAVE_STRRCHR 1 +| #define HAVE_WCRTOMB 1 +| #define HAVE_TZSET 1 +| #define HAVE_OBSTACK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_NEXT_DEV 1 +| #define HAVE_FS_STAT_DEV 1 +| #define HAVE_FS_INFO_H 1 +| #define MOUNTED_FS_STAT_DEV 1 +| #define LOCALTIME_CACHE 1 +| #define HAVE_C_LINE 1 +| #define HAVE_DECL_STRSIGNAL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_SYS_SIGLIST 0 +| #define HAVE_DECL__SYS_SIGLIST 0 +| /* end confdefs.h. */ +| +| +| int +| main () +| { +| main (); +| ; +| return 0; +| } +configure:38425: result: no +configure:38439: checking for main in -lldgc +configure:38463: gcc -o conftest -g -O2 conftest.c -lldgc >&5 +/boot/develop/tools/gnupro/bin/ld: cannot open -lldgc: No such file or directory +collect2: ld returned 1 exit status +configure:38466: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| #define HAVE_MEMSET 1 +| #define ARGMATCH_DIE usage (1) +| #define ARGMATCH_DIE_DECL extern void usage () +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_ENDGRENT 1 +| #define HAVE_ENDPWENT 1 +| #define HAVE_FTIME 1 +| #define HAVE_FTRUNCATE 1 +| #define HAVE_GETCWD 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWSPACE 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MKFIFO 1 +| #define HAVE_STRCHR 1 +| #define HAVE_STRERROR 1 +| #define HAVE_STRRCHR 1 +| #define HAVE_WCRTOMB 1 +| #define HAVE_TZSET 1 +| #define HAVE_OBSTACK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_NEXT_DEV 1 +| #define HAVE_FS_STAT_DEV 1 +| #define HAVE_FS_INFO_H 1 +| #define MOUNTED_FS_STAT_DEV 1 +| #define LOCALTIME_CACHE 1 +| #define HAVE_C_LINE 1 +| #define HAVE_DECL_STRSIGNAL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_SYS_SIGLIST 0 +| #define HAVE_DECL__SYS_SIGLIST 0 +| /* end confdefs.h. */ +| +| +| int +| main () +| { +| main (); +| ; +| return 0; +| } +configure:38484: result: no +configure:38510: checking for floor +configure:38559: gcc -o conftest -g -O2 conftest.c -lm >&5 +/boot/develop/tools/gnupro/bin/ld: cannot open -lm: No such file or directory +collect2: ld returned 1 exit status +configure:38562: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| #define HAVE_MEMSET 1 +| #define ARGMATCH_DIE usage (1) +| #define ARGMATCH_DIE_DECL extern void usage () +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_ENDGRENT 1 +| #define HAVE_ENDPWENT 1 +| #define HAVE_FTIME 1 +| #define HAVE_FTRUNCATE 1 +| #define HAVE_GETCWD 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWSPACE 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MKFIFO 1 +| #define HAVE_STRCHR 1 +| #define HAVE_STRERROR 1 +| #define HAVE_STRRCHR 1 +| #define HAVE_WCRTOMB 1 +| #define HAVE_TZSET 1 +| #define HAVE_OBSTACK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_NEXT_DEV 1 +| #define HAVE_FS_STAT_DEV 1 +| #define HAVE_FS_INFO_H 1 +| #define MOUNTED_FS_STAT_DEV 1 +| #define LOCALTIME_CACHE 1 +| #define HAVE_C_LINE 1 +| #define HAVE_DECL_STRSIGNAL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_SYS_SIGLIST 0 +| #define HAVE_DECL__SYS_SIGLIST 0 +| /* end confdefs.h. */ +| /* System header to define __stub macros and hopefully few prototypes, +| which can conflict with char floor (); below. +| Prefer to if __STDC__ is defined, since +| exists even on freestanding compilers. */ +| #ifdef __STDC__ +| # include +| #else +| # include +| #endif +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| { +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char floor (); +| /* The GNU C library defines this for functions which it implements +| to always fail with ENOSYS. Some functions are actually named +| something starting with __ and the normal name is an alias. */ +| #if defined (__stub_floor) || defined (__stub___floor) +| choke me +| #else +| char (*f) () = floor; +| #endif +| #ifdef __cplusplus +| } +| #endif +| +| int +| main () +| { +| return f != floor; +| ; +| return 0; +| } +configure:38579: result: no +configure:38510: checking for modf +configure:38559: gcc -o conftest -g -O2 conftest.c -lm >&5 +/boot/develop/tools/gnupro/bin/ld: cannot open -lm: No such file or directory +collect2: ld returned 1 exit status +configure:38562: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| #define HAVE_MEMSET 1 +| #define ARGMATCH_DIE usage (1) +| #define ARGMATCH_DIE_DECL extern void usage () +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_ENDGRENT 1 +| #define HAVE_ENDPWENT 1 +| #define HAVE_FTIME 1 +| #define HAVE_FTRUNCATE 1 +| #define HAVE_GETCWD 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWSPACE 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MKFIFO 1 +| #define HAVE_STRCHR 1 +| #define HAVE_STRERROR 1 +| #define HAVE_STRRCHR 1 +| #define HAVE_WCRTOMB 1 +| #define HAVE_TZSET 1 +| #define HAVE_OBSTACK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_NEXT_DEV 1 +| #define HAVE_FS_STAT_DEV 1 +| #define HAVE_FS_INFO_H 1 +| #define MOUNTED_FS_STAT_DEV 1 +| #define LOCALTIME_CACHE 1 +| #define HAVE_C_LINE 1 +| #define HAVE_DECL_STRSIGNAL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_SYS_SIGLIST 0 +| #define HAVE_DECL__SYS_SIGLIST 0 +| /* end confdefs.h. */ +| /* System header to define __stub macros and hopefully few prototypes, +| which can conflict with char modf (); below. +| Prefer to if __STDC__ is defined, since +| exists even on freestanding compilers. */ +| #ifdef __STDC__ +| # include +| #else +| # include +| #endif +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| { +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char modf (); +| /* The GNU C library defines this for functions which it implements +| to always fail with ENOSYS. Some functions are actually named +| something starting with __ and the normal name is an alias. */ +| #if defined (__stub_modf) || defined (__stub___modf) +| choke me +| #else +| char (*f) () = modf; +| #endif +| #ifdef __cplusplus +| } +| #endif +| +| int +| main () +| { +| return f != modf; +| ; +| return 0; +| } +configure:38579: result: no +configure:38510: checking for rint +configure:38559: gcc -o conftest -g -O2 conftest.c -lm >&5 +/boot/develop/tools/gnupro/bin/ld: cannot open -lm: No such file or directory +collect2: ld returned 1 exit status +configure:38562: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| #define HAVE_MEMSET 1 +| #define ARGMATCH_DIE usage (1) +| #define ARGMATCH_DIE_DECL extern void usage () +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_ENDGRENT 1 +| #define HAVE_ENDPWENT 1 +| #define HAVE_FTIME 1 +| #define HAVE_FTRUNCATE 1 +| #define HAVE_GETCWD 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWSPACE 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MKFIFO 1 +| #define HAVE_STRCHR 1 +| #define HAVE_STRERROR 1 +| #define HAVE_STRRCHR 1 +| #define HAVE_WCRTOMB 1 +| #define HAVE_TZSET 1 +| #define HAVE_OBSTACK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_NEXT_DEV 1 +| #define HAVE_FS_STAT_DEV 1 +| #define HAVE_FS_INFO_H 1 +| #define MOUNTED_FS_STAT_DEV 1 +| #define LOCALTIME_CACHE 1 +| #define HAVE_C_LINE 1 +| #define HAVE_DECL_STRSIGNAL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_SYS_SIGLIST 0 +| #define HAVE_DECL__SYS_SIGLIST 0 +| /* end confdefs.h. */ +| /* System header to define __stub macros and hopefully few prototypes, +| which can conflict with char rint (); below. +| Prefer to if __STDC__ is defined, since +| exists even on freestanding compilers. */ +| #ifdef __STDC__ +| # include +| #else +| # include +| #endif +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| { +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char rint (); +| /* The GNU C library defines this for functions which it implements +| to always fail with ENOSYS. Some functions are actually named +| something starting with __ and the normal name is an alias. */ +| #if defined (__stub_rint) || defined (__stub___rint) +| choke me +| #else +| char (*f) () = rint; +| #endif +| #ifdef __cplusplus +| } +| #endif +| +| int +| main () +| { +| return f != rint; +| ; +| return 0; +| } +configure:38579: result: no +configure:38596: checking for sqrt +configure:38645: gcc -o conftest -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:343: warning: conflicting types for built-in function `sqrt' +configure:38648: $? = 0 +configure:38651: test -s conftest +configure:38654: $? = 0 +configure:38665: result: yes +configure:38740: checking for fesetround +configure:38789: gcc -o conftest -g -O2 conftest.c >&5 +configure:38792: $? = 0 +configure:38795: test -s conftest +configure:38798: $? = 0 +configure:38809: result: yes +configure:38882: checking for library containing yp_match +configure:38913: gcc -o conftest -g -O2 conftest.c >&5 +/tmp/ccqzGFhj.o: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:340: undefined reference to `yp_match' +collect2: ld returned 1 exit status +configure:38916: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| #define HAVE_MEMSET 1 +| #define ARGMATCH_DIE usage (1) +| #define ARGMATCH_DIE_DECL extern void usage () +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_ENDGRENT 1 +| #define HAVE_ENDPWENT 1 +| #define HAVE_FTIME 1 +| #define HAVE_FTRUNCATE 1 +| #define HAVE_GETCWD 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWSPACE 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MKFIFO 1 +| #define HAVE_STRCHR 1 +| #define HAVE_STRERROR 1 +| #define HAVE_STRRCHR 1 +| #define HAVE_WCRTOMB 1 +| #define HAVE_TZSET 1 +| #define HAVE_OBSTACK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_NEXT_DEV 1 +| #define HAVE_FS_STAT_DEV 1 +| #define HAVE_FS_INFO_H 1 +| #define MOUNTED_FS_STAT_DEV 1 +| #define LOCALTIME_CACHE 1 +| #define HAVE_C_LINE 1 +| #define HAVE_DECL_STRSIGNAL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_SYS_SIGLIST 0 +| #define HAVE_DECL__SYS_SIGLIST 0 +| #define HAVE_SQRT 1 +| #define HAVE_FESETROUND 1 +| /* end confdefs.h. */ +| +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char yp_match (); +| int +| main () +| { +| yp_match (); +| ; +| return 0; +| } +configure:38957: gcc -o conftest -g -O2 conftest.c -lsun >&5 +/boot/develop/tools/gnupro/bin/ld: cannot open -lsun: No such file or directory +collect2: ld returned 1 exit status +configure:38960: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| #define HAVE_MEMSET 1 +| #define ARGMATCH_DIE usage (1) +| #define ARGMATCH_DIE_DECL extern void usage () +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_ENDGRENT 1 +| #define HAVE_ENDPWENT 1 +| #define HAVE_FTIME 1 +| #define HAVE_FTRUNCATE 1 +| #define HAVE_GETCWD 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWSPACE 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MKFIFO 1 +| #define HAVE_STRCHR 1 +| #define HAVE_STRERROR 1 +| #define HAVE_STRRCHR 1 +| #define HAVE_WCRTOMB 1 +| #define HAVE_TZSET 1 +| #define HAVE_OBSTACK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_NEXT_DEV 1 +| #define HAVE_FS_STAT_DEV 1 +| #define HAVE_FS_INFO_H 1 +| #define MOUNTED_FS_STAT_DEV 1 +| #define LOCALTIME_CACHE 1 +| #define HAVE_C_LINE 1 +| #define HAVE_DECL_STRSIGNAL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_SYS_SIGLIST 0 +| #define HAVE_DECL__SYS_SIGLIST 0 +| #define HAVE_SQRT 1 +| #define HAVE_FESETROUND 1 +| /* end confdefs.h. */ +| +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char yp_match (); +| int +| main () +| { +| yp_match (); +| ; +| return 0; +| } +configure:38957: gcc -o conftest -g -O2 conftest.c -lypsec >&5 +/boot/develop/tools/gnupro/bin/ld: cannot open -lypsec: No such file or directory +collect2: ld returned 1 exit status +configure:38960: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| #define HAVE_MEMSET 1 +| #define ARGMATCH_DIE usage (1) +| #define ARGMATCH_DIE_DECL extern void usage () +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_ENDGRENT 1 +| #define HAVE_ENDPWENT 1 +| #define HAVE_FTIME 1 +| #define HAVE_FTRUNCATE 1 +| #define HAVE_GETCWD 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWSPACE 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MKFIFO 1 +| #define HAVE_STRCHR 1 +| #define HAVE_STRERROR 1 +| #define HAVE_STRRCHR 1 +| #define HAVE_WCRTOMB 1 +| #define HAVE_TZSET 1 +| #define HAVE_OBSTACK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_NEXT_DEV 1 +| #define HAVE_FS_STAT_DEV 1 +| #define HAVE_FS_INFO_H 1 +| #define MOUNTED_FS_STAT_DEV 1 +| #define LOCALTIME_CACHE 1 +| #define HAVE_C_LINE 1 +| #define HAVE_DECL_STRSIGNAL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_SYS_SIGLIST 0 +| #define HAVE_DECL__SYS_SIGLIST 0 +| #define HAVE_SQRT 1 +| #define HAVE_FESETROUND 1 +| /* end confdefs.h. */ +| +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char yp_match (); +| int +| main () +| { +| yp_match (); +| ; +| return 0; +| } +configure:38980: result: no +configure:38998: checking for library containing getspnam +configure:39029: gcc -o conftest -g -O2 conftest.c >&5 +/tmp/ccWgCSjz.o: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:340: undefined reference to `getspnam' +collect2: ld returned 1 exit status +configure:39032: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| #define HAVE_MEMSET 1 +| #define ARGMATCH_DIE usage (1) +| #define ARGMATCH_DIE_DECL extern void usage () +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_ENDGRENT 1 +| #define HAVE_ENDPWENT 1 +| #define HAVE_FTIME 1 +| #define HAVE_FTRUNCATE 1 +| #define HAVE_GETCWD 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWSPACE 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MKFIFO 1 +| #define HAVE_STRCHR 1 +| #define HAVE_STRERROR 1 +| #define HAVE_STRRCHR 1 +| #define HAVE_WCRTOMB 1 +| #define HAVE_TZSET 1 +| #define HAVE_OBSTACK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_NEXT_DEV 1 +| #define HAVE_FS_STAT_DEV 1 +| #define HAVE_FS_INFO_H 1 +| #define MOUNTED_FS_STAT_DEV 1 +| #define LOCALTIME_CACHE 1 +| #define HAVE_C_LINE 1 +| #define HAVE_DECL_STRSIGNAL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_SYS_SIGLIST 0 +| #define HAVE_DECL__SYS_SIGLIST 0 +| #define HAVE_SQRT 1 +| #define HAVE_FESETROUND 1 +| /* end confdefs.h. */ +| +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char getspnam (); +| int +| main () +| { +| getspnam (); +| ; +| return 0; +| } +configure:39073: gcc -o conftest -g -O2 conftest.c -lshadow >&5 +/boot/develop/tools/gnupro/bin/ld: cannot open -lshadow: No such file or directory +collect2: ld returned 1 exit status +configure:39076: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| #define HAVE_MEMSET 1 +| #define ARGMATCH_DIE usage (1) +| #define ARGMATCH_DIE_DECL extern void usage () +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_ENDGRENT 1 +| #define HAVE_ENDPWENT 1 +| #define HAVE_FTIME 1 +| #define HAVE_FTRUNCATE 1 +| #define HAVE_GETCWD 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWSPACE 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MKFIFO 1 +| #define HAVE_STRCHR 1 +| #define HAVE_STRERROR 1 +| #define HAVE_STRRCHR 1 +| #define HAVE_WCRTOMB 1 +| #define HAVE_TZSET 1 +| #define HAVE_OBSTACK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_NEXT_DEV 1 +| #define HAVE_FS_STAT_DEV 1 +| #define HAVE_FS_INFO_H 1 +| #define MOUNTED_FS_STAT_DEV 1 +| #define LOCALTIME_CACHE 1 +| #define HAVE_C_LINE 1 +| #define HAVE_DECL_STRSIGNAL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_SYS_SIGLIST 0 +| #define HAVE_DECL__SYS_SIGLIST 0 +| #define HAVE_SQRT 1 +| #define HAVE_FESETROUND 1 +| /* end confdefs.h. */ +| +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char getspnam (); +| int +| main () +| { +| getspnam (); +| ; +| return 0; +| } +configure:39073: gcc -o conftest -g -O2 conftest.c -lsec >&5 +/boot/develop/tools/gnupro/bin/ld: cannot open -lsec: No such file or directory +collect2: ld returned 1 exit status +configure:39076: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| #define HAVE_MEMSET 1 +| #define ARGMATCH_DIE usage (1) +| #define ARGMATCH_DIE_DECL extern void usage () +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_ENDGRENT 1 +| #define HAVE_ENDPWENT 1 +| #define HAVE_FTIME 1 +| #define HAVE_FTRUNCATE 1 +| #define HAVE_GETCWD 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWSPACE 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MKFIFO 1 +| #define HAVE_STRCHR 1 +| #define HAVE_STRERROR 1 +| #define HAVE_STRRCHR 1 +| #define HAVE_WCRTOMB 1 +| #define HAVE_TZSET 1 +| #define HAVE_OBSTACK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_NEXT_DEV 1 +| #define HAVE_FS_STAT_DEV 1 +| #define HAVE_FS_INFO_H 1 +| #define MOUNTED_FS_STAT_DEV 1 +| #define LOCALTIME_CACHE 1 +| #define HAVE_C_LINE 1 +| #define HAVE_DECL_STRSIGNAL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_SYS_SIGLIST 0 +| #define HAVE_DECL__SYS_SIGLIST 0 +| #define HAVE_SQRT 1 +| #define HAVE_FESETROUND 1 +| /* end confdefs.h. */ +| +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char getspnam (); +| int +| main () +| { +| getspnam (); +| ; +| return 0; +| } +configure:39073: gcc -o conftest -g -O2 conftest.c -lgen >&5 +/boot/develop/tools/gnupro/bin/ld: cannot open -lgen: No such file or directory +collect2: ld returned 1 exit status +configure:39076: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| #define HAVE_MEMSET 1 +| #define ARGMATCH_DIE usage (1) +| #define ARGMATCH_DIE_DECL extern void usage () +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_ENDGRENT 1 +| #define HAVE_ENDPWENT 1 +| #define HAVE_FTIME 1 +| #define HAVE_FTRUNCATE 1 +| #define HAVE_GETCWD 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWSPACE 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MKFIFO 1 +| #define HAVE_STRCHR 1 +| #define HAVE_STRERROR 1 +| #define HAVE_STRRCHR 1 +| #define HAVE_WCRTOMB 1 +| #define HAVE_TZSET 1 +| #define HAVE_OBSTACK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_NEXT_DEV 1 +| #define HAVE_FS_STAT_DEV 1 +| #define HAVE_FS_INFO_H 1 +| #define MOUNTED_FS_STAT_DEV 1 +| #define LOCALTIME_CACHE 1 +| #define HAVE_C_LINE 1 +| #define HAVE_DECL_STRSIGNAL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_SYS_SIGLIST 0 +| #define HAVE_DECL__SYS_SIGLIST 0 +| #define HAVE_SQRT 1 +| #define HAVE_FESETROUND 1 +| /* end confdefs.h. */ +| +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char getspnam (); +| int +| main () +| { +| getspnam (); +| ; +| return 0; +| } +configure:39096: result: no +configure:39125: checking shadow.h usability +configure:39137: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:363: shadow.h: No such file or directory +configure:39140: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| #define HAVE_MEMSET 1 +| #define ARGMATCH_DIE usage (1) +| #define ARGMATCH_DIE_DECL extern void usage () +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_ENDGRENT 1 +| #define HAVE_ENDPWENT 1 +| #define HAVE_FTIME 1 +| #define HAVE_FTRUNCATE 1 +| #define HAVE_GETCWD 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWSPACE 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MKFIFO 1 +| #define HAVE_STRCHR 1 +| #define HAVE_STRERROR 1 +| #define HAVE_STRRCHR 1 +| #define HAVE_WCRTOMB 1 +| #define HAVE_TZSET 1 +| #define HAVE_OBSTACK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_NEXT_DEV 1 +| #define HAVE_FS_STAT_DEV 1 +| #define HAVE_FS_INFO_H 1 +| #define MOUNTED_FS_STAT_DEV 1 +| #define LOCALTIME_CACHE 1 +| #define HAVE_C_LINE 1 +| #define HAVE_DECL_STRSIGNAL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_SYS_SIGLIST 0 +| #define HAVE_DECL__SYS_SIGLIST 0 +| #define HAVE_SQRT 1 +| #define HAVE_FESETROUND 1 +| /* end confdefs.h. */ +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| #include +configure:39156: result: no +configure:39160: checking shadow.h presence +configure:39170: gcc -E conftest.c +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:329: shadow.h: No such file or directory +configure:39176: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| #define HAVE_MEMSET 1 +| #define ARGMATCH_DIE usage (1) +| #define ARGMATCH_DIE_DECL extern void usage () +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_ENDGRENT 1 +| #define HAVE_ENDPWENT 1 +| #define HAVE_FTIME 1 +| #define HAVE_FTRUNCATE 1 +| #define HAVE_GETCWD 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWSPACE 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MKFIFO 1 +| #define HAVE_STRCHR 1 +| #define HAVE_STRERROR 1 +| #define HAVE_STRRCHR 1 +| #define HAVE_WCRTOMB 1 +| #define HAVE_TZSET 1 +| #define HAVE_OBSTACK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_NEXT_DEV 1 +| #define HAVE_FS_STAT_DEV 1 +| #define HAVE_FS_INFO_H 1 +| #define MOUNTED_FS_STAT_DEV 1 +| #define LOCALTIME_CACHE 1 +| #define HAVE_C_LINE 1 +| #define HAVE_DECL_STRSIGNAL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_SYS_SIGLIST 0 +| #define HAVE_DECL__SYS_SIGLIST 0 +| #define HAVE_SQRT 1 +| #define HAVE_FESETROUND 1 +| /* end confdefs.h. */ +| #include +configure:39195: result: no +configure:39231: checking for shadow.h +configure:39238: result: no +configure:39259: checking for struct spwd.sp_pwdp +configure:39283: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:371: storage size of `ac_aggr' isn't known +configure:39286: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| #define HAVE_MEMSET 1 +| #define ARGMATCH_DIE usage (1) +| #define ARGMATCH_DIE_DECL extern void usage () +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_ENDGRENT 1 +| #define HAVE_ENDPWENT 1 +| #define HAVE_FTIME 1 +| #define HAVE_FTRUNCATE 1 +| #define HAVE_GETCWD 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWSPACE 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MKFIFO 1 +| #define HAVE_STRCHR 1 +| #define HAVE_STRERROR 1 +| #define HAVE_STRRCHR 1 +| #define HAVE_WCRTOMB 1 +| #define HAVE_TZSET 1 +| #define HAVE_OBSTACK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_NEXT_DEV 1 +| #define HAVE_FS_STAT_DEV 1 +| #define HAVE_FS_INFO_H 1 +| #define MOUNTED_FS_STAT_DEV 1 +| #define LOCALTIME_CACHE 1 +| #define HAVE_C_LINE 1 +| #define HAVE_DECL_STRSIGNAL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_SYS_SIGLIST 0 +| #define HAVE_DECL__SYS_SIGLIST 0 +| #define HAVE_SQRT 1 +| #define HAVE_FESETROUND 1 +| /* end confdefs.h. */ +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| #if HAVE_SHADOW_H +| # include +| #endif +| +| +| int +| main () +| { +| static struct spwd ac_aggr; +| if (ac_aggr.sp_pwdp) +| return 0; +| ; +| return 0; +| } +configure:39318: gcc -c -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:371: storage size of `ac_aggr' isn't known +configure:39321: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| #define HAVE_MEMSET 1 +| #define ARGMATCH_DIE usage (1) +| #define ARGMATCH_DIE_DECL extern void usage () +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_ENDGRENT 1 +| #define HAVE_ENDPWENT 1 +| #define HAVE_FTIME 1 +| #define HAVE_FTRUNCATE 1 +| #define HAVE_GETCWD 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWSPACE 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MKFIFO 1 +| #define HAVE_STRCHR 1 +| #define HAVE_STRERROR 1 +| #define HAVE_STRRCHR 1 +| #define HAVE_WCRTOMB 1 +| #define HAVE_TZSET 1 +| #define HAVE_OBSTACK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_NEXT_DEV 1 +| #define HAVE_FS_STAT_DEV 1 +| #define HAVE_FS_INFO_H 1 +| #define MOUNTED_FS_STAT_DEV 1 +| #define LOCALTIME_CACHE 1 +| #define HAVE_C_LINE 1 +| #define HAVE_DECL_STRSIGNAL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_SYS_SIGLIST 0 +| #define HAVE_DECL__SYS_SIGLIST 0 +| #define HAVE_SQRT 1 +| #define HAVE_FESETROUND 1 +| /* end confdefs.h. */ +| #include +| #if HAVE_SYS_TYPES_H +| # include +| #endif +| #if HAVE_SYS_STAT_H +| # include +| #endif +| #if STDC_HEADERS +| # include +| # include +| #else +| # if HAVE_STDLIB_H +| # include +| # endif +| #endif +| #if HAVE_STRING_H +| # if !STDC_HEADERS && HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #if HAVE_STRINGS_H +| # include +| #endif +| #if HAVE_INTTYPES_H +| # include +| #else +| # if HAVE_STDINT_H +| # include +| # endif +| #endif +| #if HAVE_UNISTD_H +| # include +| #endif +| #if HAVE_SHADOW_H +| # include +| #endif +| +| +| int +| main () +| { +| static struct spwd ac_aggr; +| if (sizeof ac_aggr.sp_pwdp) +| return 0; +| ; +| return 0; +| } +configure:39340: result: no +configure:39355: checking for getspnam +configure:39404: gcc -o conftest -g -O2 conftest.c >&5 +/tmp/ccFaW5wr.o: In function `main': +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:361: undefined reference to `getspnam' +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:360: undefined reference to `getspnam' +collect2: ld returned 1 exit status +configure:39407: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| #define HAVE_MEMSET 1 +| #define ARGMATCH_DIE usage (1) +| #define ARGMATCH_DIE_DECL extern void usage () +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_ENDGRENT 1 +| #define HAVE_ENDPWENT 1 +| #define HAVE_FTIME 1 +| #define HAVE_FTRUNCATE 1 +| #define HAVE_GETCWD 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWSPACE 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MKFIFO 1 +| #define HAVE_STRCHR 1 +| #define HAVE_STRERROR 1 +| #define HAVE_STRRCHR 1 +| #define HAVE_WCRTOMB 1 +| #define HAVE_TZSET 1 +| #define HAVE_OBSTACK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_NEXT_DEV 1 +| #define HAVE_FS_STAT_DEV 1 +| #define HAVE_FS_INFO_H 1 +| #define MOUNTED_FS_STAT_DEV 1 +| #define LOCALTIME_CACHE 1 +| #define HAVE_C_LINE 1 +| #define HAVE_DECL_STRSIGNAL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_SYS_SIGLIST 0 +| #define HAVE_DECL__SYS_SIGLIST 0 +| #define HAVE_SQRT 1 +| #define HAVE_FESETROUND 1 +| /* end confdefs.h. */ +| /* System header to define __stub macros and hopefully few prototypes, +| which can conflict with char getspnam (); below. +| Prefer to if __STDC__ is defined, since +| exists even on freestanding compilers. */ +| #ifdef __STDC__ +| # include +| #else +| # include +| #endif +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| { +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char getspnam (); +| /* The GNU C library defines this for functions which it implements +| to always fail with ENOSYS. Some functions are actually named +| something starting with __ and the normal name is an alias. */ +| #if defined (__stub_getspnam) || defined (__stub___getspnam) +| choke me +| #else +| char (*f) () = getspnam; +| #endif +| #ifdef __cplusplus +| } +| #endif +| +| int +| main () +| { +| return f != getspnam; +| ; +| return 0; +| } +configure:39424: result: no +configure:39439: checking for library containing crypt +configure:39470: gcc -o conftest -g -O2 conftest.c >&5 +configure:39473: $? = 0 +configure:39476: test -s conftest +configure:39479: $? = 0 +configure:39537: result: none required +configure:39570: checking for msgfmt +configure:39601: result: no +configure:39607: checking for gmsgfmt +configure:39638: result: : +configure:39648: checking for xgettext +configure:39679: result: no +configure:39687: checking for msgmerge +configure:39717: result: no +configure:39764: checking whether NLS is requested +configure:39773: result: yes +configure:39790: checking for GNU gettext in libc +configure:39814: gcc -o conftest -g -O2 conftest.c >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:329: libintl.h: No such file or directory +configure:39817: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| #define HAVE_MEMSET 1 +| #define ARGMATCH_DIE usage (1) +| #define ARGMATCH_DIE_DECL extern void usage () +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_ENDGRENT 1 +| #define HAVE_ENDPWENT 1 +| #define HAVE_FTIME 1 +| #define HAVE_FTRUNCATE 1 +| #define HAVE_GETCWD 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWSPACE 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MKFIFO 1 +| #define HAVE_STRCHR 1 +| #define HAVE_STRERROR 1 +| #define HAVE_STRRCHR 1 +| #define HAVE_WCRTOMB 1 +| #define HAVE_TZSET 1 +| #define HAVE_OBSTACK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_NEXT_DEV 1 +| #define HAVE_FS_STAT_DEV 1 +| #define HAVE_FS_INFO_H 1 +| #define MOUNTED_FS_STAT_DEV 1 +| #define LOCALTIME_CACHE 1 +| #define HAVE_C_LINE 1 +| #define HAVE_DECL_STRSIGNAL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_SYS_SIGLIST 0 +| #define HAVE_DECL__SYS_SIGLIST 0 +| #define HAVE_SQRT 1 +| #define HAVE_FESETROUND 1 +| /* end confdefs.h. */ +| #include +| extern int _nl_msg_cat_cntr; +| extern int *_nl_domain_bindings; +| int +| main () +| { +| bindtextdomain ("", ""); +| return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_domain_bindings +| ; +| return 0; +| } +configure:39834: result: no +configure:39868: checking for iconv +configure:39958: result: no, consider installing GNU libiconv +configure:40359: checking for GNU gettext in libintl +configure:40391: gcc -o conftest -g -O2 conftest.c -lintl >&5 +/boot/home/Development/current/src/apps/bin/coreutils-5.0/conftest.c:329: libintl.h: No such file or directory +configure:40394: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "GNU coreutils" +| #define PACKAGE_TARNAME "coreutils" +| #define PACKAGE_VERSION "5.0" +| #define PACKAGE_STRING "GNU coreutils 5.0" +| #define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +| #define PACKAGE "coreutils" +| #define VERSION "5.0" +| #define _GNU_SOURCE 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UNAME 1 +| #define PROTOTYPES 1 +| #define STDC_HEADERS 1 +| #define HAVE_STRING_H 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_FLOAT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_RESOURCE_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_SYS_TIMEB_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_SYSLOG_H 1 +| #define HAVE_TERMIOS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define TIME_WITH_SYS_TIME 1 +| #define GETGROUPS_T gid_t +| #define RETSIGTYPE void +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define MAJOR_IN_SYSMACROS 1 +| #define restrict __restrict__ +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HOST_OPERATING_SYSTEM "BeOS" +| #define mkdir rpl_mkdir +| #define HAVE_UTIME_H 1 +| #define HAVE_STRUCT_UTIMBUF 1 +| #define D_INO_IN_DIRENT 1 +| #define HAVE_GRP_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_DECL_EUIDACCESS 0 +| #define HAVE_DECL_FREE 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_DECL_GETEUID 1 +| #define HAVE_DECL_GETGRGID 1 +| #define HAVE_DECL_GETLOGIN 1 +| #define HAVE_DECL_GETPWUID 1 +| #define HAVE_DECL_GETUID 1 +| #define HAVE_DECL_GETUTENT 0 +| #define HAVE_DECL_LSEEK 1 +| #define HAVE_DECL_MALLOC 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_DECL_MEMRCHR 0 +| #define HAVE_DECL_NANOSLEEP 0 +| #define HAVE_DECL_REALLOC 1 +| #define HAVE_DECL_STPCPY 1 +| #define HAVE_DECL_STRNDUP 0 +| #define HAVE_DECL_STRNLEN 0 +| #define HAVE_DECL_STRSTR 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_TTYNAME 1 +| #define HAVE_LONG_FILE_NAMES 1 +| #define HAVE_PATHCONF 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETHOSTBYNAME 1 +| #define HAVE_GETHOSTBYADDR 1 +| #define HAVE_INET_NTOA 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_NETDB_H 1 +| #define HAVE_SYS_SOCKET_H 1 +| #define HAVE_NETINET_IN_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STRERROR 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_DECL_STRERROR 1 +| #define HAVE_DECL_STRERROR_R 0 +| #define HAVE_STRERROR_R 1 +| #define STRERROR_R_CHAR_P 1 +| #define STDC_HEADERS 1 +| #define mbstate_t int +| #define HAVE_DECL_GETENV 1 +| #define HAVE_BTOWC 1 +| #define HAVE_MBSRTOWCS 1 +| #define HAVE_WCHAR_H 1 +| #define fnmatch rpl_fnmatch +| #define HAVE_OS_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWCNTRL 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_MBSINIT 1 +| #define HAVE_DECL_WCWIDTH 0 +| #define mbstate_t int +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DECL_GETENV 1 +| #define HAVE_C_BACKSLASH_A 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWPRINT 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_LONG_LONG 1 +| #define HAVE_SYS_SYSMACROS_H 1 +| #define HAVE_SYS_STATVFS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STATVFS 1 +| #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_DECL_MEMCHR 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_DECL_GETENV 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD_NULL 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETCWD 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_DIRFD 1 +| #define HAVE_DECL_DIRFD 0 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_DECL_STPCPY 1 +| #define RMDIR_ERRNO_NOT_EMPTY -2147459066 +| #define chown rpl_chown +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_ALARM 1 +| #define HAVE_LOCALTIME_R 1 +| #define mktime rpl_mktime +| #define HAVE_STDLIB_H 1 +| #define HAVE_REALLOC 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_MALLOC 1 +| #define nanosleep rpl_nanosleep +| #define HAVE_DECL_CLEARERR_UNLOCKED 1 +| #define HAVE_DECL_FEOF_UNLOCKED 1 +| #define HAVE_DECL_FERROR_UNLOCKED 1 +| #define HAVE_DECL_FFLUSH_UNLOCKED 1 +| #define HAVE_DECL_FGETS_UNLOCKED 0 +| #define HAVE_DECL_FPUTC_UNLOCKED 1 +| #define HAVE_DECL_FPUTS_UNLOCKED 0 +| #define HAVE_DECL_FREAD_UNLOCKED 1 +| #define HAVE_DECL_FWRITE_UNLOCKED 1 +| #define HAVE_DECL_GETC_UNLOCKED 1 +| #define HAVE_DECL_GETCHAR_UNLOCKED 1 +| #define HAVE_DECL_PUTC_UNLOCKED 1 +| #define HAVE_DECL_PUTCHAR_UNLOCKED 1 +| #define putenv rpl_putenv +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOULL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOUMAX 1 +| #define HAVE_DECL_STRTOL 1 +| #define HAVE_DECL_STRTOUL 1 +| #define HAVE_DECL_STRTOLL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_STRTOUMAX 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STRTOIMAX 1 +| #define HAVE_LOCALTIME_R 1 +| #define HAVE_STRFTIME 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_TZSET 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMSET 1 +| #define HAVE_STRUCT_TM_TM_ZONE 1 +| #define HAVE_TM_ZONE 1 +| #define HAVE_MBLEN 1 +| #define HAVE_MBRLEN 1 +| #define HAVE_TM_GMTOFF 1 +| #define HAVE_SYS_TIME_H 1 +| #define my_strftime nstrftime +| #define HAVE_DECL___FPENDING 0 +| #define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +| #define HAVE_GETGROUPS 1 +| #define HAVE_VPRINTF 1 +| #define HAVE_FTRUNCATE 1 +| #define RENAME_TRAILING_SLASH_BUG 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_UTIME_NULL 1 +| #define HAVE_UTIME_H 1 +| #define UTILS_OPEN_MAX 122 +| #define HAVE_DECL_GETCWD 1 +| #define getcwd rpl_getcwd +| #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +| #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_STDDEF_H 1 +| #define GNU_PACKAGE "GNU coreutils" +| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +| #define major_t unsigned int +| #define minor_t unsigned int +| #define HAVE_BTOWC 1 +| #define C_GETLOADAVG 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRNCASECMP 1 +| #define HAVE_DUP2 1 +| #define HAVE_GETHOSTNAME 1 +| #define HAVE_STRCSPN 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRSTR 1 +| #define HAVE_STRTOL 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_STRPBRK 1 +| #define HAVE_MEMCMP 1 +| #define HAVE_RMDIR 1 +| #define HAVE_ATEXIT 1 +| #define HAVE_RAISE 1 +| #define HAVE_STRDUP 1 +| #define HAVE_MEMCHR 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MEMMOVE 1 +| #define HAVE_MEMSET 1 +| #define ARGMATCH_DIE usage (1) +| #define ARGMATCH_DIE_DECL extern void usage () +| #define HAVE_GETTIMEOFDAY 1 +| #define HAVE_STRING_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_BCOPY 1 +| #define HAVE_ENDGRENT 1 +| #define HAVE_ENDPWENT 1 +| #define HAVE_FTIME 1 +| #define HAVE_FTRUNCATE 1 +| #define HAVE_GETCWD 1 +| #define HAVE_ISASCII 1 +| #define HAVE_ISWSPACE 1 +| #define HAVE_LOCALECONV 1 +| #define HAVE_MEMCPY 1 +| #define HAVE_MKFIFO 1 +| #define HAVE_STRCHR 1 +| #define HAVE_STRERROR 1 +| #define HAVE_STRRCHR 1 +| #define HAVE_WCRTOMB 1 +| #define HAVE_TZSET 1 +| #define HAVE_OBSTACK 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_NEXT_DEV 1 +| #define HAVE_FS_STAT_DEV 1 +| #define HAVE_FS_INFO_H 1 +| #define MOUNTED_FS_STAT_DEV 1 +| #define LOCALTIME_CACHE 1 +| #define HAVE_C_LINE 1 +| #define HAVE_DECL_STRSIGNAL 1 +| #define HAVE_DECL_STRTOIMAX 1 +| #define HAVE_DECL_SYS_SIGLIST 0 +| #define HAVE_DECL__SYS_SIGLIST 0 +| #define HAVE_SQRT 1 +| #define HAVE_FESETROUND 1 +| /* end confdefs.h. */ +| #include +| extern int _nl_msg_cat_cntr; +| extern +| #ifdef __cplusplus +| "C" +| #endif +| const char *_nl_expand_alias (); +| int +| main () +| { +| bindtextdomain ("", ""); +| return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_expand_alias (0) +| ; +| return 0; +| } +configure:40460: result: no +configure:40658: creating ./config.status + +## ---------------------- ## +## Running config.status. ## +## ---------------------- ## + +This file was extended by GNU coreutils config.status 5.0, which was +generated by GNU Autoconf 2.57. Invocation command line was + + CONFIG_FILES = + CONFIG_HEADERS = + CONFIG_LINKS = + CONFIG_COMMANDS = + $ ./config.status + +on + +config.status:763: creating Makefile +config.status:763: creating doc/Makefile +config.status:763: creating lib/Makefile +config.status:763: creating man/Makefile +config.status:763: creating m4/Makefile +config.status:763: creating po/Makefile.in +config.status:763: creating src/Makefile +config.status:763: creating tests/Makefile +config.status:763: creating tests/basename/Makefile +config.status:763: creating tests/chgrp/Makefile +config.status:763: creating tests/chmod/Makefile +config.status:763: creating tests/chown/Makefile +config.status:763: creating tests/cp/Makefile +config.status:763: creating tests/cut/Makefile +config.status:763: creating tests/date/Makefile +config.status:763: creating tests/dd/Makefile +config.status:763: creating tests/dircolors/Makefile +config.status:763: creating tests/du/Makefile +config.status:763: creating tests/expr/Makefile +config.status:763: creating tests/factor/Makefile +config.status:763: creating tests/fmt/Makefile +config.status:763: creating tests/head/Makefile +config.status:763: creating tests/install/Makefile +config.status:763: creating tests/join/Makefile +config.status:763: creating tests/ln/Makefile +config.status:763: creating tests/ls-2/Makefile +config.status:763: creating tests/ls/Makefile +config.status:763: creating tests/md5sum/Makefile +config.status:763: creating tests/misc/Makefile +config.status:763: creating tests/mkdir/Makefile +config.status:763: creating tests/mv/Makefile +config.status:763: creating tests/od/Makefile +config.status:763: creating tests/pr/Makefile +config.status:763: creating tests/rm/Makefile +config.status:763: creating tests/rmdir/Makefile +config.status:763: creating tests/seq/Makefile +config.status:763: creating tests/sha1sum/Makefile +config.status:763: creating tests/shred/Makefile +config.status:763: creating tests/sort/Makefile +config.status:763: creating tests/stty/Makefile +config.status:763: creating tests/sum/Makefile +config.status:763: creating tests/tac/Makefile +config.status:763: creating tests/tail-2/Makefile +config.status:763: creating tests/tail/Makefile +config.status:763: creating tests/test/Makefile +config.status:763: creating tests/touch/Makefile +config.status:763: creating tests/tr/Makefile +config.status:763: creating tests/tsort/Makefile +config.status:763: creating tests/unexpand/Makefile +config.status:763: creating tests/uniq/Makefile +config.status:763: creating tests/wc/Makefile +config.status:867: creating config.h +config.status:1811: linking ./lib/fnmatch_.h to lib/fnmatch.h +config.status:1811: linking ./lib/ftw_.h to lib/ftw.h +config.status:1811: linking ./lib/search_.h to lib/search.h +config.status:1957: executing depfiles commands +config.status:1957: executing default-1 commands + +## ---------------- ## +## Cache variables. ## +## ---------------- ## + +ac_cv_build=i586-pc-beos +ac_cv_build_alias=i586-pc-beos +ac_cv_c_backslash_a=yes +ac_cv_c_bigendian=no +ac_cv_c_compiler_gnu=yes +ac_cv_c_const=yes +ac_cv_c_inline=inline +ac_cv_c_long_double=no +ac_cv_c_volatile=yes +ac_cv_env_CC_set= +ac_cv_env_CC_value= +ac_cv_env_CFLAGS_set= +ac_cv_env_CFLAGS_value= +ac_cv_env_CPPFLAGS_set= +ac_cv_env_CPPFLAGS_value= +ac_cv_env_CPP_set= +ac_cv_env_CPP_value= +ac_cv_env_LDFLAGS_set= +ac_cv_env_LDFLAGS_value= +ac_cv_env_build_alias_set= +ac_cv_env_build_alias_value= +ac_cv_env_host_alias_set= +ac_cv_env_host_alias_value= +ac_cv_env_target_alias_set= +ac_cv_env_target_alias_value= +ac_cv_exeext= +ac_cv_func___fpending=no +ac_cv_func___secure_getenv=no +ac_cv_func__doprnt=no +ac_cv_func_acl=no +ac_cv_func_alarm=yes +ac_cv_func_alloca_works=yes +ac_cv_func_atexit=yes +ac_cv_func_bcopy=yes +ac_cv_func_btowc=yes +ac_cv_func_canonicalize_file_name=no +ac_cv_func_chroot=no +ac_cv_func_clock_gettime=no +ac_cv_func_clock_settime=no +ac_cv_func_closedir_void=no +ac_cv_func_dirfd=yes +ac_cv_func_doprnt=no +ac_cv_func_dup2=yes +ac_cv_func_endgrent=yes +ac_cv_func_endpwent=yes +ac_cv_func_euidaccess=no +ac_cv_func_fchdir=no +ac_cv_func_fchown=yes +ac_cv_func_fdatasync=no +ac_cv_func_fesetround=yes +ac_cv_func_floor=no +ac_cv_func_fnmatch_gnu=no +ac_cv_func_fs_stat_dev=yes +ac_cv_func_fseeko=no +ac_cv_func_ftime=yes +ac_cv_func_ftruncate=yes +ac_cv_func_ftw_working=no +ac_cv_func_getcwd=yes +ac_cv_func_getcwd_null=yes +ac_cv_func_getgroups=yes +ac_cv_func_getgroups_works=yes +ac_cv_func_gethostbyaddr=yes +ac_cv_func_gethostbyname=yes +ac_cv_func_gethostid=no +ac_cv_func_gethostname=yes +ac_cv_func_gethrtime=no +ac_cv_func_getline=yes +ac_cv_func_getloadavg=no +ac_cv_func_getloadavg_setgid=no +ac_cv_func_getmntent=no +ac_cv_func_getmntinfo=no +ac_cv_func_getpagesize=no +ac_cv_func_getpass=no +ac_cv_func_getspnam=no +ac_cv_func_getsysinfo=no +ac_cv_func_gettimeofday=yes +ac_cv_func_getusershell=no +ac_cv_func_group_member=no +ac_cv_func_hasmntopt=no +ac_cv_func_inet_ntoa=yes +ac_cv_func_initgroups=no +ac_cv_func_isascii=yes +ac_cv_func_iswcntrl=yes +ac_cv_func_iswprint=yes +ac_cv_func_iswspace=yes +ac_cv_func_lchown=no +ac_cv_func_listmntent=no +ac_cv_func_localeconv=yes +ac_cv_func_localtime_r=yes +ac_cv_func_lstat=yes +ac_cv_func_lstat_dereferences_slashed_symlink=yes +ac_cv_func_malloc_0_nonnull=yes +ac_cv_func_mblen=yes +ac_cv_func_mbrlen=yes +ac_cv_func_mbsinit=yes +ac_cv_func_mbsrtowcs=yes +ac_cv_func_memchr=yes +ac_cv_func_memcmp=yes +ac_cv_func_memcmp_working=yes +ac_cv_func_memcpy=yes +ac_cv_func_memmove=yes +ac_cv_func_mempcpy=no +ac_cv_func_memrchr=no +ac_cv_func_memset=yes +ac_cv_func_mkfifo=yes +ac_cv_func_mkstemp=yes +ac_cv_func_modf=no +ac_cv_func_next_dev=yes +ac_cv_func_obstack=yes +ac_cv_func_pathconf=yes +ac_cv_func_pstat_getdynamic=no +ac_cv_func_pstat_getstatic=no +ac_cv_func_raise=yes +ac_cv_func_readlink=yes +ac_cv_func_realloc_0_nonnull=yes +ac_cv_func_realpath=no +ac_cv_func_resolvepath=no +ac_cv_func_rint=no +ac_cv_func_rmdir=yes +ac_cv_func_rpmatch=no +ac_cv_func_sethostname=no +ac_cv_func_setlocale=yes +ac_cv_func_setregid=no +ac_cv_func_setreuid=no +ac_cv_func_setvbuf_reversed=no +ac_cv_func_sig2str=no +ac_cv_func_sqrt=yes +ac_cv_func_statvfs=yes +ac_cv_func_stpcpy=yes +ac_cv_func_strcasecmp=yes +ac_cv_func_strchr=yes +ac_cv_func_strcspn=yes +ac_cv_func_strdup=yes +ac_cv_func_strerror=yes +ac_cv_func_strerror_r=yes +ac_cv_func_strerror_r_char_p=yes +ac_cv_func_strftime=yes +ac_cv_func_strncasecmp=yes +ac_cv_func_strndup=no +ac_cv_func_strnlen_working=yes +ac_cv_func_strpbrk=yes +ac_cv_func_strrchr=yes +ac_cv_func_strstr=yes +ac_cv_func_strtod=yes +ac_cv_func_strtoimax=yes +ac_cv_func_strtol=yes +ac_cv_func_strtoul=yes +ac_cv_func_strtoumax=yes +ac_cv_func_strverscmp=no +ac_cv_func_sysctl=no +ac_cv_func_sysinfo=no +ac_cv_func_syslog=no +ac_cv_func_sysmp=no +ac_cv_func_table=no +ac_cv_func_tdestroy=no +ac_cv_func_tzset=yes +ac_cv_func_uname=yes +ac_cv_func_utime_null=yes +ac_cv_func_utmpname=no +ac_cv_func_utmpxname=no +ac_cv_func_vprintf=yes +ac_cv_func_wcrtomb=yes +ac_cv_func_wcwidth=no +ac_cv_func_wmempcpy=no +ac_cv_func_working_mktime=no +ac_cv_gnu_library_2_1=no +ac_cv_have_decl___fpending=no +ac_cv_have_decl__sys_siglist=no +ac_cv_have_decl_clearerr_unlocked=yes +ac_cv_have_decl_dirfd=no +ac_cv_have_decl_euidaccess=no +ac_cv_have_decl_feof_unlocked=yes +ac_cv_have_decl_ferror_unlocked=yes +ac_cv_have_decl_fflush_unlocked=yes +ac_cv_have_decl_fgets_unlocked=no +ac_cv_have_decl_fputc_unlocked=yes +ac_cv_have_decl_fputs_unlocked=no +ac_cv_have_decl_fread_unlocked=yes +ac_cv_have_decl_free=yes +ac_cv_have_decl_fwrite_unlocked=yes +ac_cv_have_decl_getc_unlocked=yes +ac_cv_have_decl_getchar_unlocked=yes +ac_cv_have_decl_getcwd=yes +ac_cv_have_decl_getenv=yes +ac_cv_have_decl_geteuid=yes +ac_cv_have_decl_getgrgid=yes +ac_cv_have_decl_getlogin=yes +ac_cv_have_decl_getpwuid=yes +ac_cv_have_decl_getuid=yes +ac_cv_have_decl_getutent=no +ac_cv_have_decl_lseek=yes +ac_cv_have_decl_malloc=yes +ac_cv_have_decl_memchr=yes +ac_cv_have_decl_memrchr=no +ac_cv_have_decl_nanosleep=no +ac_cv_have_decl_putc_unlocked=yes +ac_cv_have_decl_putchar_unlocked=yes +ac_cv_have_decl_realloc=yes +ac_cv_have_decl_stpcpy=yes +ac_cv_have_decl_strerror=yes +ac_cv_have_decl_strerror_r=no +ac_cv_have_decl_strndup=no +ac_cv_have_decl_strnlen=no +ac_cv_have_decl_strsignal=yes +ac_cv_have_decl_strstr=yes +ac_cv_have_decl_strtoimax=yes +ac_cv_have_decl_strtol=yes +ac_cv_have_decl_strtoll=yes +ac_cv_have_decl_strtoul=yes +ac_cv_have_decl_strtoull=yes +ac_cv_have_decl_strtoumax=yes +ac_cv_have_decl_sys_siglist=no +ac_cv_have_decl_ttyname=yes +ac_cv_have_decl_wcwidth=no +ac_cv_header_OS_h=yes +ac_cv_header_arpa_inet_h=no +ac_cv_header_bp_sym_h=no +ac_cv_header_dirent_dirent_h=yes +ac_cv_header_errno_h=yes +ac_cv_header_fcntl_h=yes +ac_cv_header_float_h=yes +ac_cv_header_fs_info_h=yes +ac_cv_header_grp_h=yes +ac_cv_header_hurd_h=no +ac_cv_header_inq_stats_cpustats_h=no +ac_cv_header_inttypes_h=yes +ac_cv_header_libintl_h=no +ac_cv_header_limits_h=yes +ac_cv_header_locale_h=yes +ac_cv_header_mach_mach_h=no +ac_cv_header_machine_hal_sysinfo_h=no +ac_cv_header_memory_h=yes +ac_cv_header_minix_config_h=no +ac_cv_header_mntent_h=no +ac_cv_header_mnttab_h=no +ac_cv_header_netdb_h=yes +ac_cv_header_netinet_in_h=yes +ac_cv_header_nlist_h=no +ac_cv_header_paths_h=no +ac_cv_header_pwd_h=yes +ac_cv_header_shadow_h=no +ac_cv_header_stat_broken=no +ac_cv_header_stdbool_h=no +ac_cv_header_stdc=yes +ac_cv_header_stddef_h=yes +ac_cv_header_stdint_h=no +ac_cv_header_stdio_ext_h=no +ac_cv_header_stdlib_h=yes +ac_cv_header_string_h=yes +ac_cv_header_strings_h=yes +ac_cv_header_sys_acl_h=no +ac_cv_header_sys_cpustats_h=no +ac_cv_header_sys_dg_sys_info_h=no +ac_cv_header_sys_filsys_h=no +ac_cv_header_sys_fs_s5param_h=no +ac_cv_header_sys_fs_types_h=no +ac_cv_header_sys_fstyp_h=no +ac_cv_header_sys_ioctl_h=yes +ac_cv_header_sys_mkdev_h=no +ac_cv_header_sys_mntent_h=no +ac_cv_header_sys_mount_h=no +ac_cv_header_sys_param_h=yes +ac_cv_header_sys_pstat_h=no +ac_cv_header_sys_resource_h=yes +ac_cv_header_sys_socket_h=yes +ac_cv_header_sys_stat_h=yes +ac_cv_header_sys_statfs_h=no +ac_cv_header_sys_statvfs_h=yes +ac_cv_header_sys_sysctl_h=no +ac_cv_header_sys_sysinfo_h=no +ac_cv_header_sys_sysmacros_h=yes +ac_cv_header_sys_sysmp_h=no +ac_cv_header_sys_systemcfg_h=no +ac_cv_header_sys_systeminfo_h=no +ac_cv_header_sys_table_h=no +ac_cv_header_sys_time_h=yes +ac_cv_header_sys_timeb_h=yes +ac_cv_header_sys_types_h=yes +ac_cv_header_sys_types_h_makedev=no +ac_cv_header_sys_ucred_h=no +ac_cv_header_sys_vfs_h=no +ac_cv_header_sys_wait_h=yes +ac_cv_header_syslog_h=yes +ac_cv_header_termios_h=yes +ac_cv_header_time=yes +ac_cv_header_unistd_h=yes +ac_cv_header_utime_h=yes +ac_cv_header_utmp_h=no +ac_cv_header_utmpx_h=no +ac_cv_header_values_h=no +ac_cv_header_wchar_h=yes +ac_cv_header_wctype_h=no +ac_cv_host=i586-pc-beos +ac_cv_host_alias=i586-pc-beos +ac_cv_lib_bsd___syslog=no +ac_cv_lib_cposix_strerror=no +ac_cv_lib_elf_elf_begin=no +ac_cv_lib_error_at_line=no +ac_cv_lib_gen_getmntent=no +ac_cv_lib_getloadavg_getloadavg=no +ac_cv_lib_inet___syslog=no +ac_cv_lib_kstat_kstat_open=no +ac_cv_lib_kvm_kvm_open=no +ac_cv_lib_ldgc_main=no +ac_cv_lib_os_initgroups=no +ac_cv_lib_seq_getmntent=no +ac_cv_lib_socket___syslog=no +ac_cv_lib_sun_getmntent=no +ac_cv_lib_util_getloadavg=no +ac_cv_lib_ypsec_main=no +ac_cv_member_struct_fsstat_f_fstypename=no +ac_cv_member_struct_spwd_sp_pwdp=no +ac_cv_member_struct_stat_st_author=no +ac_cv_member_struct_stat_st_blksize=yes +ac_cv_member_struct_stat_st_blocks=no +ac_cv_member_struct_statfs_f_basetype=no +ac_cv_member_struct_statfs_f_fsid___val=no +ac_cv_member_struct_statfs_f_fstypename=no +ac_cv_member_struct_statfs_f_namelen=no +ac_cv_member_struct_statfs_f_namemax=no +ac_cv_member_struct_statfs_f_type=no +ac_cv_member_struct_statvfs_f_basetype=no +ac_cv_member_struct_statvfs_f_fsid___val=no +ac_cv_member_struct_statvfs_f_namelen=no +ac_cv_member_struct_statvfs_f_namemax=yes +ac_cv_member_struct_statvfs_f_type=no +ac_cv_member_struct_tm_tm_gmtoff=yes +ac_cv_member_struct_tm_tm_zone=yes +ac_cv_objext=o +ac_cv_path_GMSGFMT=: +ac_cv_path_MSGFMT=: +ac_cv_path_MSGMERGE=: +ac_cv_path_XGETTEXT=: +ac_cv_path_install='/bin/install -c' +ac_cv_prog_AWK=gawk +ac_cv_prog_CPP='gcc -E' +ac_cv_prog_ac_ct_CC=gcc +ac_cv_prog_ac_ct_RANLIB=ranlib +ac_cv_prog_cc_g=yes +ac_cv_prog_cc_stdc= +ac_cv_prog_egrep='grep -E' +ac_cv_prog_gcc_traditional=no +ac_cv_prog_make_make_set=yes +ac_cv_search_clock_gettime=no +ac_cv_search_crypt='none required' +ac_cv_search_gethostbyname='none required' +ac_cv_search_getspnam=no +ac_cv_search_nanosleep=no +ac_cv_search_opendir='none required' +ac_cv_search_yp_match=no +ac_cv_struct_st_dm_mode=no +ac_cv_struct_st_mtim_nsec=no +ac_cv_struct_tm=time.h +ac_cv_sys_file_offset_bits=no +ac_cv_sys_large_files=no +ac_cv_sys_largefile_CC=no +ac_cv_sys_largefile_source=no +ac_cv_sys_long_file_names=yes +ac_cv_sys_pending_output_n_bytes='fp->_IO_write_ptr - fp->_IO_write_base' +ac_cv_sys_posix_termios=yes +ac_cv_sys_tiocgwinsz_in_termios_h=yes +ac_cv_type_getgroups=gid_t +ac_cv_type_ino_t=yes +ac_cv_type_intmax_t=yes +ac_cv_type_long_long=yes +ac_cv_type_major_t=no +ac_cv_type_mbstate_t=no +ac_cv_type_minor_t=no +ac_cv_type_mode_t=yes +ac_cv_type_off_t=yes +ac_cv_type_pid_t=yes +ac_cv_type_signal=void +ac_cv_type_size_t=yes +ac_cv_type_ssize_t=yes +ac_cv_type_uid_t=yes +ac_cv_type_uintmax_t=yes +ac_cv_type_unsigned_long_long=yes +ac_cv_win_or_dos=no +ac_cv_working_alloca_h=yes +acl_cv_hardcode_direct=no +acl_cv_hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' +acl_cv_hardcode_libdir_separator= +acl_cv_hardcode_minus_L=no +acl_cv_libext=a +acl_cv_path_LD=/boot/develop/tools/gnupro/bin/ld +acl_cv_prog_gnu_ld=yes +acl_cv_rpath=done +acl_cv_shlibext=so +acl_cv_sys_lib_dlsearch_path_spec='/lib /usr/lib' +acl_cv_sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' +acl_cv_wl=-Wl, +acx_cv_c_restrict=__restrict__ +am_cv_CC_dependencies_compiler_type=gcc +am_cv_func_iconv='no, consider installing GNU libiconv' +am_cv_func_working_getline=yes +am_cv_langinfo_codeset=no +am_cv_lib_iconv=no +am_cv_prog_cc_stdc= +fetish_cv_func_rmdir_errno_not_empty=-2147459066 +fu_cv_sys_f_fstypename_in_statfs=no +fu_cv_sys_mounted_cray_listmntent=no +fu_cv_sys_mounted_fread_fstyp=no +fu_cv_sys_mounted_getfsstat=no +fu_cv_sys_mounted_getmnt=no +fu_cv_sys_mounted_getmntinfo=no +fu_cv_sys_mounted_vmount=no +fu_cv_sys_stat_fs_data=no +fu_cv_sys_stat_statfs2_bsize=no +fu_cv_sys_stat_statfs2_fsize=no +fu_cv_sys_stat_statfs3_osf1=no +fu_cv_sys_stat_statfs4=no +fu_cv_sys_stat_statvfs=no +fu_cv_sys_struct_timespec=no +fu_cv_sys_struct_utimbuf=yes +fu_cv_sys_truncating_statfs=no +gl_cv_func_getcwd_vs_path_max=yes +gl_cv_var__system_configuration=no +gnulib_cv_have_boot_time=no +gt_cv_func_gnugettext2_libc=no +gt_cv_func_gnugettext2_libintl=no +gt_cv_inttypes_pri_broken=no +jm_ac_cv_func_link_follows_symlink=no +jm_cv_func_dirfd_macro=no +jm_cv_func_gettimeofday_clobber=no +jm_cv_func_lstat_empty_string_bug=no +jm_cv_func_mbrtowc=no +jm_cv_func_nanosleep_works=no +jm_cv_func_stat_empty_string_bug=no +jm_cv_func_strtoimax_macro=no +jm_cv_func_strtoumax_macro=no +jm_cv_func_svid_putenv=no +jm_cv_func_unlink_busy_text=yes +jm_cv_func_working_chown=no +jm_cv_func_working_re_compile_pattern=no +jm_cv_have_proc_uptime=no +jm_cv_struct_dirent_d_ino=yes +jm_cv_struct_dirent_d_type=no +jm_cv_sys_struct_winsize_needs_sys_ptem_h=no +jm_cv_sys_tiocgwinsz_needs_sys_ioctl_h=no +jm_cv_sys_tiocgwinsz_needs_termios_h=yes +su_cv_func_ut_host_in_utmp=no +su_cv_func_ut_host_in_utmpx=no +su_cv_sys_c_line_in_termios=yes +su_cv_sys_termios_needs_xopen_source=no +utils_cv_func_mkdir_trailing_slash_bug=yes +utils_cv_func_mkstemp_limitations=no +utils_cv_func_nice=no +utils_cv_func_setpriority=no +utils_cv_host_operating_system=BeOS +utils_cv_localtime_cache=yes +utils_cv_sys_open_max=122 +vb_cv_func_rename_trailing_slash_bug=yes + +## ----------------- ## +## Output variables. ## +## ----------------- ## + +ACLOCAL='${SHELL} /boot/home/Development/current/src/apps/bin/coreutils-5.0/config/missing --run aclocal-1.7' +ALLOCA='' +AMDEPBACKSLASH='\' +AMDEP_FALSE='#' +AMDEP_TRUE='' +AMTAR='${SHELL} /boot/home/Development/current/src/apps/bin/coreutils-5.0/config/missing --run tar' +ANSI2KNR='' +AUTOCONF='${SHELL} /boot/home/Development/current/src/apps/bin/coreutils-5.0/config/missing --run autoconf' +AUTOHEADER='${SHELL} /boot/home/Development/current/src/apps/bin/coreutils-5.0/config/missing --run autoheader' +AUTOMAKE='${SHELL} /boot/home/Development/current/src/apps/bin/coreutils-5.0/config/missing --run automake-1.7' +AWK='gawk' +CC='gcc' +CCDEPMODE='depmode=gcc' +CFLAGS='-g -O2' +CPP='gcc -E' +CPPFLAGS='' +CYGPATH_W='echo' +DEFS='-DHAVE_CONFIG_H' +DEPDIR='.deps' +DF_PROG='' +ECHO_C='' +ECHO_N='-n' +ECHO_T='' +EGREP='grep -E' +EXEEXT='' +FESETROUND_LIBM='' +GETLOADAVG_LIBS='' +GLIBC21='no' +GMSGFMT=':' +GNU_PACKAGE='GNU coreutils' +HELP2MAN='${SHELL} /boot/home/Development/current/src/apps/bin/coreutils-5.0/config/missing --run help2man' +INSTALL_DATA='${INSTALL} -m 644' +INSTALL_PROGRAM='${INSTALL}' +INSTALL_SCRIPT='${INSTALL}' +INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s' +INTLLIBS='' +KMEM_GROUP='' +LDFLAGS='' +LIBICONV='' +LIBINTL='' +LIBOBJS=' fileblocks$U.o mkdir$U.o fnmatch$U.o strnlen$U.o ftw$U.o tsearch$U.o lchown$U.o chown$U.o mktime$U.o nanosleep$U.o group-member$U.o putenv$U.o error$U.o __fpending$U.o rename$U.o getcwd$U.o canonicalize$U.o regex$U.o getloadavg$U.o getusershell$U.o sig2str$U.o euidaccess$U.o rpmatch$U.o strndup$U.o strverscmp$U.o getpass$U.o memrchr$U.o fchdir-stub$U.o' +LIBS='' +LIB_CLOCK_GETTIME='' +LIB_CRYPT='' +LIB_NANOSLEEP='' +LN_S='ln -s' +LTLIBICONV='' +LTLIBINTL='' +LTLIBOBJS=' fileblocks$U.lo mkdir$U.lo fnmatch$U.lo strnlen$U.lo ftw$U.lo tsearch$U.lo lchown$U.lo chown$U.lo mktime$U.lo nanosleep$U.lo group-member$U.lo putenv$U.lo error$U.lo __fpending$U.lo rename$U.lo getcwd$U.lo canonicalize$U.lo regex$U.lo getloadavg$U.lo getusershell$U.lo sig2str$U.lo euidaccess$U.lo rpmatch$U.lo strndup$U.lo strverscmp$U.lo getpass$U.lo memrchr$U.lo fchdir-stub$U.lo' +MAKEINFO='${SHELL} /boot/home/Development/current/src/apps/bin/coreutils-5.0/config/missing --run makeinfo' +MAN=' uname.1 stty.1' +MKINSTALLDIRS='config/mkinstalldirs' +MSGFMT=':' +MSGMERGE=':' +NEED_SETGID='false' +OBJEXT='o' +OPTIONAL_BIN_PROGS=' uname$(EXEEXT) stty$(EXEEXT)' +OPTIONAL_BIN_ZCRIPTS='' +PACKAGE='coreutils' +PACKAGE_BUGREPORT='bug-coreutils@gnu.org' +PACKAGE_NAME='GNU coreutils' +PACKAGE_STRING='GNU coreutils 5.0' +PACKAGE_TARNAME='coreutils' +PACKAGE_VERSION='5.0' +PATH_SEPARATOR=':' +PERL='perl' +POSUB='' +POW_LIB='' +RANLIB='ranlib' +SEQ_LIBM='' +SET_MAKE='' +SHELL='/bin/sh' +SQRT_LIBM='' +STRIP='' +U='' +USE_NLS='no' +VERSION='5.0' +XGETTEXT=':' +YACC='bison -y' +ac_ct_CC='gcc' +ac_ct_RANLIB='ranlib' +ac_ct_STRIP='' +am__fastdepCC_FALSE='' +am__fastdepCC_TRUE='#' +am__include='include' +am__leading_dot='.' +am__quote='' +bindir='${exec_prefix}/bin' +build='i586-pc-beos' +build_alias='' +build_cpu='i586' +build_os='beos' +build_vendor='pc' +datadir='${prefix}/share' +exec_prefix='${prefix}' +host='i586-pc-beos' +host_alias='' +host_cpu='i586' +host_os='beos' +host_vendor='pc' +includedir='${prefix}/include' +infodir='${prefix}/info' +install_sh='/boot/home/Development/current/src/apps/bin/coreutils-5.0/config/install-sh' +libdir='${exec_prefix}/lib' +libexecdir='${exec_prefix}/libexec' +localstatedir='${prefix}/var' +mandir='${prefix}/man' +oldincludedir='/usr/include' +prefix='/usr/local' +program_transform_name='s,x,x,' +sbindir='${exec_prefix}/sbin' +sharedstatedir='${prefix}/com' +sysconfdir='${prefix}/etc' +target_alias='' + +## ----------- ## +## confdefs.h. ## +## ----------- ## + +#define ARGMATCH_DIE usage (1) +#define ARGMATCH_DIE_DECL extern void usage () +#define C_GETLOADAVG 1 +#define D_INO_IN_DIRENT 1 +#define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 +#define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 +#define GETGROUPS_T gid_t +#define GNU_PACKAGE "GNU coreutils" +#define HAVE_ALARM 1 +#define HAVE_ALLOCA 1 +#define HAVE_ALLOCA_H 1 +#define HAVE_ATEXIT 1 +#define HAVE_BCOPY 1 +#define HAVE_BCOPY 1 +#define HAVE_BTOWC 1 +#define HAVE_BTOWC 1 +#define HAVE_C_BACKSLASH_A 1 +#define HAVE_C_LINE 1 +#define HAVE_DECL_CLEARERR_UNLOCKED 1 +#define HAVE_DECL_DIRFD 0 +#define HAVE_DECL_EUIDACCESS 0 +#define HAVE_DECL_FEOF_UNLOCKED 1 +#define HAVE_DECL_FERROR_UNLOCKED 1 +#define HAVE_DECL_FFLUSH_UNLOCKED 1 +#define HAVE_DECL_FGETS_UNLOCKED 0 +#define HAVE_DECL_FPUTC_UNLOCKED 1 +#define HAVE_DECL_FPUTS_UNLOCKED 0 +#define HAVE_DECL_FREAD_UNLOCKED 1 +#define HAVE_DECL_FREE 1 +#define HAVE_DECL_FWRITE_UNLOCKED 1 +#define HAVE_DECL_GETCHAR_UNLOCKED 1 +#define HAVE_DECL_GETCWD 1 +#define HAVE_DECL_GETC_UNLOCKED 1 +#define HAVE_DECL_GETENV 1 +#define HAVE_DECL_GETENV 1 +#define HAVE_DECL_GETENV 1 +#define HAVE_DECL_GETENV 1 +#define HAVE_DECL_GETENV 1 +#define HAVE_DECL_GETEUID 1 +#define HAVE_DECL_GETGRGID 1 +#define HAVE_DECL_GETLOGIN 1 +#define HAVE_DECL_GETPWUID 1 +#define HAVE_DECL_GETUID 1 +#define HAVE_DECL_GETUTENT 0 +#define HAVE_DECL_LSEEK 1 +#define HAVE_DECL_MALLOC 1 +#define HAVE_DECL_MEMCHR 1 +#define HAVE_DECL_MEMCHR 1 +#define HAVE_DECL_MEMRCHR 0 +#define HAVE_DECL_NANOSLEEP 0 +#define HAVE_DECL_PUTCHAR_UNLOCKED 1 +#define HAVE_DECL_PUTC_UNLOCKED 1 +#define HAVE_DECL_REALLOC 1 +#define HAVE_DECL_STPCPY 1 +#define HAVE_DECL_STPCPY 1 +#define HAVE_DECL_STRERROR 1 +#define HAVE_DECL_STRERROR_R 0 +#define HAVE_DECL_STRNDUP 0 +#define HAVE_DECL_STRNLEN 0 +#define HAVE_DECL_STRSIGNAL 1 +#define HAVE_DECL_STRSTR 1 +#define HAVE_DECL_STRTOIMAX 1 +#define HAVE_DECL_STRTOIMAX 1 +#define HAVE_DECL_STRTOIMAX 1 +#define HAVE_DECL_STRTOL 1 +#define HAVE_DECL_STRTOL 1 +#define HAVE_DECL_STRTOLL 1 +#define HAVE_DECL_STRTOUL 1 +#define HAVE_DECL_STRTOUL 1 +#define HAVE_DECL_STRTOUL 1 +#define HAVE_DECL_STRTOULL 1 +#define HAVE_DECL_STRTOULL 1 +#define HAVE_DECL_STRTOUMAX 1 +#define HAVE_DECL_STRTOUMAX 1 +#define HAVE_DECL_SYS_SIGLIST 0 +#define HAVE_DECL_TTYNAME 1 +#define HAVE_DECL_WCWIDTH 0 +#define HAVE_DECL__SYS_SIGLIST 0 +#define HAVE_DECL___FPENDING 0 +#define HAVE_DIRENT_H 1 +#define HAVE_DIRENT_H 1 +#define HAVE_DIRFD 1 +#define HAVE_DUP2 1 +#define HAVE_ENDGRENT 1 +#define HAVE_ENDPWENT 1 +#define HAVE_ERRNO_H 1 +#define HAVE_FCNTL_H 1 +#define HAVE_FCNTL_H 1 +#define HAVE_FESETROUND 1 +#define HAVE_FLOAT_H 1 +#define HAVE_FS_INFO_H 1 +#define HAVE_FS_STAT_DEV 1 +#define HAVE_FTIME 1 +#define HAVE_FTRUNCATE 1 +#define HAVE_FTRUNCATE 1 +#define HAVE_GETCWD 1 +#define HAVE_GETCWD 1 +#define HAVE_GETCWD_NULL 1 +#define HAVE_GETGROUPS 1 +#define HAVE_GETHOSTBYADDR 1 +#define HAVE_GETHOSTBYNAME 1 +#define HAVE_GETHOSTNAME 1 +#define HAVE_GETTIMEOFDAY 1 +#define HAVE_GETTIMEOFDAY 1 +#define HAVE_GRP_H 1 +#define HAVE_INET_NTOA 1 +#define HAVE_INTTYPES_H 1 +#define HAVE_INTTYPES_H 1 +#define HAVE_INTTYPES_H 1 +#define HAVE_INTTYPES_H 1 +#define HAVE_ISASCII 1 +#define HAVE_ISASCII 1 +#define HAVE_ISASCII 1 +#define HAVE_ISASCII 1 +#define HAVE_ISWCNTRL 1 +#define HAVE_ISWPRINT 1 +#define HAVE_ISWPRINT 1 +#define HAVE_ISWSPACE 1 +#define HAVE_LIMITS_H 1 +#define HAVE_LIMITS_H 1 +#define HAVE_LIMITS_H 1 +#define HAVE_LIMITS_H 1 +#define HAVE_LIMITS_H 1 +#define HAVE_LIMITS_H 1 +#define HAVE_LIMITS_H 1 +#define HAVE_LIMITS_H 1 +#define HAVE_LIMITS_H 1 +#define HAVE_LIMITS_H 1 +#define HAVE_LIMITS_H 1 +#define HAVE_LOCALECONV 1 +#define HAVE_LOCALECONV 1 +#define HAVE_LOCALE_H 1 +#define HAVE_LOCALE_H 1 +#define HAVE_LOCALTIME_R 1 +#define HAVE_LOCALTIME_R 1 +#define HAVE_LONG_FILE_NAMES 1 +#define HAVE_LONG_LONG 1 +#define HAVE_MALLOC 1 +#define HAVE_MBLEN 1 +#define HAVE_MBRLEN 1 +#define HAVE_MBSINIT 1 +#define HAVE_MBSRTOWCS 1 +#define HAVE_MEMCHR 1 +#define HAVE_MEMCMP 1 +#define HAVE_MEMCPY 1 +#define HAVE_MEMCPY 1 +#define HAVE_MEMCPY 1 +#define HAVE_MEMMOVE 1 +#define HAVE_MEMORY_H 1 +#define HAVE_MEMORY_H 1 +#define HAVE_MEMORY_H 1 +#define HAVE_MEMORY_H 1 +#define HAVE_MEMSET 1 +#define HAVE_MEMSET 1 +#define HAVE_MKFIFO 1 +#define HAVE_MKSTEMP 1 +#define HAVE_NETDB_H 1 +#define HAVE_NETDB_H 1 +#define HAVE_NETINET_IN_H 1 +#define HAVE_NEXT_DEV 1 +#define HAVE_OBSTACK 1 +#define HAVE_OS_H 1 +#define HAVE_PATHCONF 1 +#define HAVE_PWD_H 1 +#define HAVE_RAISE 1 +#define HAVE_REALLOC 1 +#define HAVE_RMDIR 1 +#define HAVE_SETLOCALE 1 +#define HAVE_SETLOCALE 1 +#define HAVE_SQRT 1 +#define HAVE_STATVFS 1 +#define HAVE_STDDEF_H 1 +#define HAVE_STDDEF_H 1 +#define HAVE_STDDEF_H 1 +#define HAVE_STDLIB_H 1 +#define HAVE_STDLIB_H 1 +#define HAVE_STDLIB_H 1 +#define HAVE_STDLIB_H 1 +#define HAVE_STDLIB_H 1 +#define HAVE_STDLIB_H 1 +#define HAVE_STDLIB_H 1 +#define HAVE_STDLIB_H 1 +#define HAVE_STDLIB_H 1 +#define HAVE_STDLIB_H 1 +#define HAVE_STDLIB_H 1 +#define HAVE_STDLIB_H 1 +#define HAVE_STDLIB_H 1 +#define HAVE_STDLIB_H 1 +#define HAVE_STDLIB_H 1 +#define HAVE_STDLIB_H 1 +#define HAVE_STPCPY 1 +#define HAVE_STRCASECMP 1 +#define HAVE_STRCHR 1 +#define HAVE_STRCSPN 1 +#define HAVE_STRDUP 1 +#define HAVE_STRERROR 1 +#define HAVE_STRERROR 1 +#define HAVE_STRERROR_R 1 +#define HAVE_STRFTIME 1 +#define HAVE_STRINGS_H 1 +#define HAVE_STRINGS_H 1 +#define HAVE_STRING_H 1 +#define HAVE_STRING_H 1 +#define HAVE_STRING_H 1 +#define HAVE_STRING_H 1 +#define HAVE_STRING_H 1 +#define HAVE_STRING_H 1 +#define HAVE_STRING_H 1 +#define HAVE_STRING_H 1 +#define HAVE_STRING_H 1 +#define HAVE_STRING_H 1 +#define HAVE_STRING_H 1 +#define HAVE_STRING_H 1 +#define HAVE_STRING_H 1 +#define HAVE_STRING_H 1 +#define HAVE_STRNCASECMP 1 +#define HAVE_STRPBRK 1 +#define HAVE_STRRCHR 1 +#define HAVE_STRSTR 1 +#define HAVE_STRTOIMAX 1 +#define HAVE_STRTOL 1 +#define HAVE_STRTOUL 1 +#define HAVE_STRTOUMAX 1 +#define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +#define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +#define HAVE_STRUCT_TM_TM_ZONE 1 +#define HAVE_STRUCT_TM_TM_ZONE 1 +#define HAVE_STRUCT_UTIMBUF 1 +#define HAVE_SYSLOG_H 1 +#define HAVE_SYS_IOCTL_H 1 +#define HAVE_SYS_PARAM_H 1 +#define HAVE_SYS_PARAM_H 1 +#define HAVE_SYS_PARAM_H 1 +#define HAVE_SYS_PARAM_H 1 +#define HAVE_SYS_PARAM_H 1 +#define HAVE_SYS_PARAM_H 1 +#define HAVE_SYS_PARAM_H 1 +#define HAVE_SYS_PARAM_H 1 +#define HAVE_SYS_RESOURCE_H 1 +#define HAVE_SYS_SOCKET_H 1 +#define HAVE_SYS_SOCKET_H 1 +#define HAVE_SYS_STATVFS_H 1 +#define HAVE_SYS_STATVFS_H 1 +#define HAVE_SYS_STAT_H 1 +#define HAVE_SYS_SYSMACROS_H 1 +#define HAVE_SYS_TIMEB_H 1 +#define HAVE_SYS_TIME_H 1 +#define HAVE_SYS_TIME_H 1 +#define HAVE_SYS_TIME_H 1 +#define HAVE_SYS_TIME_H 1 +#define HAVE_SYS_TIME_H 1 +#define HAVE_SYS_TYPES_H 1 +#define HAVE_SYS_TYPES_H 1 +#define HAVE_SYS_WAIT_H 1 +#define HAVE_TERMIOS_H 1 +#define HAVE_TM_GMTOFF 1 +#define HAVE_TM_ZONE 1 +#define HAVE_TM_ZONE 1 +#define HAVE_TZSET 1 +#define HAVE_TZSET 1 +#define HAVE_UNAME 1 +#define HAVE_UNISTD_H 1 +#define HAVE_UNISTD_H 1 +#define HAVE_UNISTD_H 1 +#define HAVE_UNISTD_H 1 +#define HAVE_UNISTD_H 1 +#define HAVE_UNISTD_H 1 +#define HAVE_UNISTD_H 1 +#define HAVE_UNISTD_H 1 +#define HAVE_UNISTD_H 1 +#define HAVE_UNISTD_H 1 +#define HAVE_UNISTD_H 1 +#define HAVE_UNISTD_H 1 +#define HAVE_UNISTD_H 1 +#define HAVE_UNSIGNED_LONG_LONG 1 +#define HAVE_UTIME_H 1 +#define HAVE_UTIME_H 1 +#define HAVE_UTIME_H 1 +#define HAVE_UTIME_NULL 1 +#define HAVE_VPRINTF 1 +#define HAVE_VPRINTF 1 +#define HAVE_WCHAR_H 1 +#define HAVE_WCHAR_H 1 +#define HAVE_WCHAR_H 1 +#define HAVE_WCHAR_H 1 +#define HAVE_WCRTOMB 1 +#define HOST_OPERATING_SYSTEM "BeOS" +#define LOCALTIME_CACHE 1 +#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +#define MAJOR_IN_SYSMACROS 1 +#define MOUNTED_FS_STAT_DEV 1 +#define PACKAGE "coreutils" +#define PACKAGE_BUGREPORT "bug-coreutils@gnu.org" +#define PACKAGE_NAME "GNU coreutils" +#define PACKAGE_STRING "GNU coreutils 5.0" +#define PACKAGE_TARNAME "coreutils" +#define PACKAGE_VERSION "5.0" +#define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base +#define PROTOTYPES 1 +#define PROTOTYPES 1 +#define RENAME_TRAILING_SLASH_BUG 1 +#define RETSIGTYPE void +#define RMDIR_ERRNO_NOT_EMPTY -2147459066 +#define STDC_HEADERS 1 +#define STDC_HEADERS 1 +#define STDC_HEADERS 1 +#define STRERROR_R_CHAR_P 1 +#define TIME_WITH_SYS_TIME 1 +#define UTILS_OPEN_MAX 122 +#define VERSION "5.0" +#define _GNU_SOURCE 1 +#define __PROTOTYPES 1 +#define chown rpl_chown +#define fnmatch rpl_fnmatch +#define getcwd rpl_getcwd +#define major_t unsigned int +#define mbstate_t int +#define mbstate_t int +#define minor_t unsigned int +#define mkdir rpl_mkdir +#define mktime rpl_mktime +#define my_strftime nstrftime +#define nanosleep rpl_nanosleep +#define putenv rpl_putenv +#define restrict __restrict__ + +configure: exit 0 diff --git a/src/apps/bin/coreutils-5.0/config.status b/src/apps/bin/coreutils-5.0/config.status new file mode 100755 index 0000000000..c21f3c02b4 --- /dev/null +++ b/src/apps/bin/coreutils-5.0/config.status @@ -0,0 +1,2150 @@ +#! /bin/sh +# Generated by configure. +# Run this file to recreate the current configuration. +# Compiler output produced by configure, useful for debugging +# configure, is in config.log if it exists. + +debug=false +ac_cs_recheck=false +ac_cs_silent=false +SHELL=${CONFIG_SHELL-/bin/sh} +## --------------------- ## +## M4sh Initialization. ## +## --------------------- ## + +# Be Bourne compatible +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then + emulate sh + NULLCMD=: + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' +elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then + set -o posix +fi + +# Support unset when possible. +if (FOO=FOO; unset FOO) >/dev/null 2>&1; then + as_unset=unset +else + as_unset=false +fi + + +# Work around bugs in pre-3.0 UWIN ksh. +$as_unset ENV MAIL MAILPATH +PS1='$ ' +PS2='> ' +PS4='+ ' + +# NLS nuisances. +for as_var in \ + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ + LC_TELEPHONE LC_TIME +do + if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then + eval $as_var=C; export $as_var + else + $as_unset $as_var + fi +done + +# Required to use basename. +if expr a : '\(a\)' >/dev/null 2>&1; then + as_expr=expr +else + as_expr=false +fi + +if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then + as_basename=basename +else + as_basename=false +fi + + +# Name of the executable. +as_me=`$as_basename "$0" || +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)$' \| \ + . : '\(.\)' 2>/dev/null || +echo X/"$0" | + sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } + /^X\/\(\/\/\)$/{ s//\1/; q; } + /^X\/\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` + + +# PATH needs CR, and LINENO needs CR and PATH. +# Avoid depending upon Character Ranges. +as_cr_letters='abcdefghijklmnopqrstuvwxyz' +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +as_cr_Letters=$as_cr_letters$as_cr_LETTERS +as_cr_digits='0123456789' +as_cr_alnum=$as_cr_Letters$as_cr_digits + +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi + + + as_lineno_1=$LINENO + as_lineno_2=$LINENO + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` + test "x$as_lineno_1" != "x$as_lineno_2" && + test "x$as_lineno_3" = "x$as_lineno_2" || { + # Find who we are. Look in the path if we contain no path at all + # relative or not. + case $0 in + *[\\/]* ) as_myself=$0 ;; + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break +done + + ;; + esac + # We did not find ourselves, most probably we were run as `sh COMMAND' + # in which case we are not to be found in the path. + if test "x$as_myself" = x; then + as_myself=$0 + fi + if test ! -f "$as_myself"; then + { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 +echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} + { (exit 1); exit 1; }; } + fi + case $CONFIG_SHELL in + '') + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for as_base in sh bash ksh sh5; do + case $as_dir in + /*) + if ("$as_dir/$as_base" -c ' + as_lineno_1=$LINENO + as_lineno_2=$LINENO + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` + test "x$as_lineno_1" != "x$as_lineno_2" && + test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then + $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } + $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } + CONFIG_SHELL=$as_dir/$as_base + export CONFIG_SHELL + exec "$CONFIG_SHELL" "$0" ${1+"$@"} + fi;; + esac + done +done +;; + esac + + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO + # uniformly replaced by the line number. The first 'sed' inserts a + # line-number line before each line; the second 'sed' does the real + # work. The second script uses 'N' to pair each line-number line + # with the numbered line, and appends trailing '-' during + # substitution so that $LINENO is not a special case at line end. + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the + # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) + sed '=' <$as_myself | + sed ' + N + s,$,-, + : loop + s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, + t loop + s,-$,, + s,^['$as_cr_digits']*\n,, + ' >$as_me.lineno && + chmod +x $as_me.lineno || + { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 +echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} + { (exit 1); exit 1; }; } + + # Don't try to exec as it changes $[0], causing all sort of problems + # (the dirname of $[0] is not the place where we might find the + # original and so on. Autoconf is especially sensible to this). + . ./$as_me.lineno + # Exit status is that of the last command. + exit +} + + +case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in + *c*,-n*) ECHO_N= ECHO_C=' +' ECHO_T=' ' ;; + *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; + *) ECHO_N= ECHO_C='\c' ECHO_T= ;; +esac + +if expr a : '\(a\)' >/dev/null 2>&1; then + as_expr=expr +else + as_expr=false +fi + +rm -f conf$$ conf$$.exe conf$$.file +echo >conf$$.file +if ln -s conf$$.file conf$$ 2>/dev/null; then + # We could just check for DJGPP; but this test a) works b) is more generic + # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). + if test -f conf$$.exe; then + # Don't use ln at all; we don't have any links + as_ln_s='cp -p' + else + as_ln_s='ln -s' + fi +elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln +else + as_ln_s='cp -p' +fi +rm -f conf$$ conf$$.exe conf$$.file + +if mkdir -p . 2>/dev/null; then + as_mkdir_p=: +else + as_mkdir_p=false +fi + +as_executable_p="test -f" + +# Sed expression to map a string onto a valid CPP name. +as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" + +# Sed expression to map a string onto a valid variable name. +as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" + + +# IFS +# We need space, tab and new line, in precisely that order. +as_nl=' +' +IFS=" $as_nl" + +# CDPATH. +$as_unset CDPATH + +exec 6>&1 + +# Open the log real soon, to keep \$[0] and so on meaningful, and to +# report actual input values of CONFIG_FILES etc. instead of their +# values after options handling. Logging --version etc. is OK. +exec 5>>config.log +{ + echo + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX +## Running $as_me. ## +_ASBOX +} >&5 +cat >&5 <<_CSEOF + +This file was extended by GNU coreutils $as_me 5.0, which was +generated by GNU Autoconf 2.57. Invocation command line was + + CONFIG_FILES = $CONFIG_FILES + CONFIG_HEADERS = $CONFIG_HEADERS + CONFIG_LINKS = $CONFIG_LINKS + CONFIG_COMMANDS = $CONFIG_COMMANDS + $ $0 $@ + +_CSEOF +echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 +echo >&5 +config_files=" Makefile doc/Makefile lib/Makefile man/Makefile m4/Makefile po/Makefile.in src/Makefile tests/Makefile tests/basename/Makefile tests/chgrp/Makefile tests/chmod/Makefile tests/chown/Makefile tests/cp/Makefile tests/cut/Makefile tests/date/Makefile tests/dd/Makefile tests/dircolors/Makefile tests/du/Makefile tests/expr/Makefile tests/factor/Makefile tests/fmt/Makefile tests/head/Makefile tests/install/Makefile tests/join/Makefile tests/ln/Makefile tests/ls-2/Makefile tests/ls/Makefile tests/md5sum/Makefile tests/misc/Makefile tests/mkdir/Makefile tests/mv/Makefile tests/od/Makefile tests/pr/Makefile tests/rm/Makefile tests/rmdir/Makefile tests/seq/Makefile tests/sha1sum/Makefile tests/shred/Makefile tests/sort/Makefile tests/stty/Makefile tests/sum/Makefile tests/tac/Makefile tests/tail-2/Makefile tests/tail/Makefile tests/test/Makefile tests/touch/Makefile tests/tr/Makefile tests/tsort/Makefile tests/unexpand/Makefile tests/uniq/Makefile tests/wc/Makefile" +config_headers=" config.h:config.hin" +config_links=" lib/fnmatch.h:lib/fnmatch_.h lib/ftw.h:lib/ftw_.h lib/search.h:lib/search_.h" +config_commands=" depfiles default-1" + +ac_cs_usage="\ +\`$as_me' instantiates files from templates according to the +current configuration. + +Usage: $0 [OPTIONS] [FILE]... + + -h, --help print this help, then exit + -V, --version print version number, then exit + -q, --quiet do not print progress messages + -d, --debug don't remove temporary files + --recheck update $as_me by reconfiguring in the same conditions + --file=FILE[:TEMPLATE] + instantiate the configuration file FILE + --header=FILE[:TEMPLATE] + instantiate the configuration header FILE + +Configuration files: +$config_files + +Configuration headers: +$config_headers + +Configuration links: +$config_links + +Configuration commands: +$config_commands + +Report bugs to ." +ac_cs_version="\ +GNU coreutils config.status 5.0 +configured by ./configure, generated by GNU Autoconf 2.57, + with options \"\" + +Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 +Free Software Foundation, Inc. +This config.status script is free software; the Free Software Foundation +gives unlimited permission to copy, distribute and modify it." +srcdir=. +INSTALL="/bin/install -c" +# If no file are specified by the user, then we need to provide default +# value. By we need to know if files were specified by the user. +ac_need_defaults=: +while test $# != 0 +do + case $1 in + --*=*) + ac_option=`expr "x$1" : 'x\([^=]*\)='` + ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` + ac_shift=: + ;; + -*) + ac_option=$1 + ac_optarg=$2 + ac_shift=shift + ;; + *) # This is not an option, so the user has probably given explicit + # arguments. + ac_option=$1 + ac_need_defaults=false;; + esac + + case $ac_option in + # Handling of the options. + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) + ac_cs_recheck=: ;; + --version | --vers* | -V ) + echo "$ac_cs_version"; exit 0 ;; + --he | --h) + # Conflict between --help and --header + { { echo "$as_me:$LINENO: error: ambiguous option: $1 +Try \`$0 --help' for more information." >&5 +echo "$as_me: error: ambiguous option: $1 +Try \`$0 --help' for more information." >&2;} + { (exit 1); exit 1; }; };; + --help | --hel | -h ) + echo "$ac_cs_usage"; exit 0 ;; + --debug | --d* | -d ) + debug=: ;; + --file | --fil | --fi | --f ) + $ac_shift + CONFIG_FILES="$CONFIG_FILES $ac_optarg" + ac_need_defaults=false;; + --header | --heade | --head | --hea ) + $ac_shift + CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" + ac_need_defaults=false;; + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil | --si | --s) + ac_cs_silent=: ;; + + # This is an error. + -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 +Try \`$0 --help' for more information." >&5 +echo "$as_me: error: unrecognized option: $1 +Try \`$0 --help' for more information." >&2;} + { (exit 1); exit 1; }; } ;; + + *) ac_config_targets="$ac_config_targets $1" ;; + + esac + shift +done + +ac_configure_extra_args= + +if $ac_cs_silent; then + exec 6>/dev/null + ac_configure_extra_args="$ac_configure_extra_args --silent" +fi + +if $ac_cs_recheck; then + echo "running /bin/sh ./configure " $ac_configure_extra_args " --no-create --no-recursion" >&6 + exec /bin/sh ./configure $ac_configure_extra_args --no-create --no-recursion +fi + +# +# INIT-COMMANDS section. +# + +AMDEP_TRUE="" ac_aux_dir="config" +# Capture the value of obsolete ALL_LINGUAS because we need it to compute + # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it + # from automake. + eval 'ALL_LINGUAS''=""' + # Capture the value of LINGUAS because we need it to compute CATALOGS. + LINGUAS="%UNSET%" + + +for ac_config_target in $ac_config_targets +do + case "$ac_config_target" in + # Handling of arguments. + "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; + "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; + "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; + "man/Makefile" ) CONFIG_FILES="$CONFIG_FILES man/Makefile" ;; + "m4/Makefile" ) CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;; + "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; + "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; + "tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; + "tests/basename/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/basename/Makefile" ;; + "tests/chgrp/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/chgrp/Makefile" ;; + "tests/chmod/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/chmod/Makefile" ;; + "tests/chown/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/chown/Makefile" ;; + "tests/cp/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/cp/Makefile" ;; + "tests/cut/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/cut/Makefile" ;; + "tests/date/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/date/Makefile" ;; + "tests/dd/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/dd/Makefile" ;; + "tests/dircolors/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/dircolors/Makefile" ;; + "tests/du/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/du/Makefile" ;; + "tests/expr/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/expr/Makefile" ;; + "tests/factor/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/factor/Makefile" ;; + "tests/fmt/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/fmt/Makefile" ;; + "tests/head/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/head/Makefile" ;; + "tests/install/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/install/Makefile" ;; + "tests/join/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/join/Makefile" ;; + "tests/ln/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/ln/Makefile" ;; + "tests/ls-2/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/ls-2/Makefile" ;; + "tests/ls/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/ls/Makefile" ;; + "tests/md5sum/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/md5sum/Makefile" ;; + "tests/misc/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/misc/Makefile" ;; + "tests/mkdir/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/mkdir/Makefile" ;; + "tests/mv/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/mv/Makefile" ;; + "tests/od/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/od/Makefile" ;; + "tests/pr/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/pr/Makefile" ;; + "tests/rm/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/rm/Makefile" ;; + "tests/rmdir/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/rmdir/Makefile" ;; + "tests/seq/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/seq/Makefile" ;; + "tests/sha1sum/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/sha1sum/Makefile" ;; + "tests/shred/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/shred/Makefile" ;; + "tests/sort/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/sort/Makefile" ;; + "tests/stty/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/stty/Makefile" ;; + "tests/sum/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/sum/Makefile" ;; + "tests/tac/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/tac/Makefile" ;; + "tests/tail-2/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/tail-2/Makefile" ;; + "tests/tail/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/tail/Makefile" ;; + "tests/test/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/test/Makefile" ;; + "tests/touch/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/touch/Makefile" ;; + "tests/tr/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/tr/Makefile" ;; + "tests/tsort/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/tsort/Makefile" ;; + "tests/unexpand/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/unexpand/Makefile" ;; + "tests/uniq/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/uniq/Makefile" ;; + "tests/wc/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/wc/Makefile" ;; + "$ac_config_libobj_dir/fnmatch.h" ) CONFIG_LINKS="$CONFIG_LINKS $ac_config_libobj_dir/fnmatch.h:$ac_config_libobj_dir/fnmatch_.h" ;; + "$ac_config_libobj_dir/ftw.h" ) CONFIG_LINKS="$CONFIG_LINKS $ac_config_libobj_dir/ftw.h:$ac_config_libobj_dir/ftw_.h" ;; + "$ac_config_libobj_dir/search.h" ) CONFIG_LINKS="$CONFIG_LINKS $ac_config_libobj_dir/search.h:$ac_config_libobj_dir/search_.h" ;; + "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; + "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; + "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.hin" ;; + *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 +echo "$as_me: error: invalid argument: $ac_config_target" >&2;} + { (exit 1); exit 1; }; };; + esac +done + +# If the user did not use the arguments to specify the items to instantiate, +# then the envvar interface is used. Set only those that are not. +# We use the long form for the default assignment because of an extremely +# bizarre bug on SunOS 4.1.3. +if $ac_need_defaults; then + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files + test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers + test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links + test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands +fi + +# Have a temporary directory for convenience. Make it in the build tree +# simply because there is no reason to put it here, and in addition, +# creating and moving files from /tmp can sometimes cause problems. +# Create a temporary directory, and hook for its removal unless debugging. +$debug || +{ + trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 + trap '{ (exit 1); exit 1; }' 1 2 13 15 +} + +# Create a (secure) tmp directory for tmp files. + +{ + tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && + test -n "$tmp" && test -d "$tmp" +} || +{ + tmp=./confstat$$-$RANDOM + (umask 077 && mkdir $tmp) +} || +{ + echo "$me: cannot create a temporary directory in ." >&2 + { (exit 1); exit 1; } +} + + +# +# CONFIG_FILES section. +# + +# No need to generate the scripts if there are no CONFIG_FILES. +# This happens for instance when ./config.status config.h +if test -n "$CONFIG_FILES"; then + # Protect against being on the right side of a sed subst in config.status. + sed 's/,@/@@/; s/@,/@@/; s/,;t t$/@;t t/; /@;t t$/s/[\\&,]/\\&/g; + s/@@/,@/; s/@@/@,/; s/@;t t$/,;t t/' >$tmp/subs.sed <<\CEOF +s,@SHELL@,/bin/sh,;t t +s,@PATH_SEPARATOR@,:,;t t +s,@PACKAGE_NAME@,GNU coreutils,;t t +s,@PACKAGE_TARNAME@,coreutils,;t t +s,@PACKAGE_VERSION@,5.0,;t t +s,@PACKAGE_STRING@,GNU coreutils 5.0,;t t +s,@PACKAGE_BUGREPORT@,bug-coreutils@gnu.org,;t t +s,@exec_prefix@,${prefix},;t t +s,@prefix@,/usr/local,;t t +s,@program_transform_name@,s,x,x,,;t t +s,@bindir@,${exec_prefix}/bin,;t t +s,@sbindir@,${exec_prefix}/sbin,;t t +s,@libexecdir@,${exec_prefix}/libexec,;t t +s,@datadir@,${prefix}/share,;t t +s,@sysconfdir@,${prefix}/etc,;t t +s,@sharedstatedir@,${prefix}/com,;t t +s,@localstatedir@,${prefix}/var,;t t +s,@libdir@,${exec_prefix}/lib,;t t +s,@includedir@,${prefix}/include,;t t +s,@oldincludedir@,/usr/include,;t t +s,@infodir@,${prefix}/info,;t t +s,@mandir@,${prefix}/man,;t t +s,@build_alias@,,;t t +s,@host_alias@,,;t t +s,@target_alias@,,;t t +s,@DEFS@,-DHAVE_CONFIG_H,;t t +s,@ECHO_C@,,;t t +s,@ECHO_N@,-n,;t t +s,@ECHO_T@,,;t t +s,@LIBS@,,;t t +s,@build@,i586-pc-beos,;t t +s,@build_cpu@,i586,;t t +s,@build_vendor@,pc,;t t +s,@build_os@,beos,;t t +s,@host@,i586-pc-beos,;t t +s,@host_cpu@,i586,;t t +s,@host_vendor@,pc,;t t +s,@host_os@,beos,;t t +s,@INSTALL_PROGRAM@,${INSTALL},;t t +s,@INSTALL_SCRIPT@,${INSTALL},;t t +s,@INSTALL_DATA@,${INSTALL} -m 644,;t t +s,@CYGPATH_W@,echo,;t t +s,@PACKAGE@,coreutils,;t t +s,@VERSION@,5.0,;t t +s,@ACLOCAL@,${SHELL} /boot/home/Development/current/src/apps/bin/coreutils-5.0/config/missing --run aclocal-1.7,;t t +s,@AUTOCONF@,${SHELL} /boot/home/Development/current/src/apps/bin/coreutils-5.0/config/missing --run autoconf,;t t +s,@AUTOMAKE@,${SHELL} /boot/home/Development/current/src/apps/bin/coreutils-5.0/config/missing --run automake-1.7,;t t +s,@AUTOHEADER@,${SHELL} /boot/home/Development/current/src/apps/bin/coreutils-5.0/config/missing --run autoheader,;t t +s,@MAKEINFO@,${SHELL} /boot/home/Development/current/src/apps/bin/coreutils-5.0/config/missing --run makeinfo,;t t +s,@AMTAR@,${SHELL} /boot/home/Development/current/src/apps/bin/coreutils-5.0/config/missing --run tar,;t t +s,@install_sh@,/boot/home/Development/current/src/apps/bin/coreutils-5.0/config/install-sh,;t t +s,@STRIP@,,;t t +s,@ac_ct_STRIP@,,;t t +s,@INSTALL_STRIP_PROGRAM@,${SHELL} $(install_sh) -c -s,;t t +s,@AWK@,gawk,;t t +s,@SET_MAKE@,,;t t +s,@am__leading_dot@,.,;t t +s,@PERL@,perl,;t t +s,@CC@,gcc,;t t +s,@CFLAGS@,-g -O2,;t t +s,@LDFLAGS@,,;t t +s,@CPPFLAGS@,,;t t +s,@ac_ct_CC@,gcc,;t t +s,@EXEEXT@,,;t t +s,@OBJEXT@,o,;t t +s,@DEPDIR@,.deps,;t t +s,@am__include@,include,;t t +s,@am__quote@,,;t t +s,@AMDEP_TRUE@,,;t t +s,@AMDEP_FALSE@,#,;t t +s,@AMDEPBACKSLASH@,\,;t t +s,@CCDEPMODE@,depmode=gcc,;t t +s,@am__fastdepCC_TRUE@,#,;t t +s,@am__fastdepCC_FALSE@,,;t t +s,@CPP@,gcc -E,;t t +s,@EGREP@,grep -E,;t t +s,@RANLIB@,ranlib,;t t +s,@ac_ct_RANLIB@,ranlib,;t t +s,@LN_S@,ln -s,;t t +s,@GNU_PACKAGE@,GNU coreutils,;t t +s,@HELP2MAN@,${SHELL} /boot/home/Development/current/src/apps/bin/coreutils-5.0/config/missing --run help2man,;t t +s,@OPTIONAL_BIN_PROGS@, uname$(EXEEXT) stty$(EXEEXT),;t t +s,@OPTIONAL_BIN_ZCRIPTS@,,;t t +s,@MAN@, uname.1 stty.1,;t t +s,@DF_PROG@,,;t t +s,@U@,,;t t +s,@ANSI2KNR@,,;t t +s,@LIBOBJS@, fileblocks$U.o mkdir$U.o fnmatch$U.o strnlen$U.o ftw$U.o tsearch$U.o lchown$U.o chown$U.o mktime$U.o nanosleep$U.o group-member$U.o putenv$U.o error$U.o __fpending$U.o rename$U.o getcwd$U.o canonicalize$U.o regex$U.o getloadavg$U.o getusershell$U.o sig2str$U.o euidaccess$U.o rpmatch$U.o strndup$U.o strverscmp$U.o getpass$U.o memrchr$U.o fchdir-stub$U.o,;t t +s,@ALLOCA@,,;t t +s,@YACC@,bison -y,;t t +s,@LIB_NANOSLEEP@,,;t t +s,@NEED_SETGID@,false,;t t +s,@KMEM_GROUP@,,;t t +s,@GETLOADAVG_LIBS@,,;t t +s,@LIB_CLOCK_GETTIME@,,;t t +s,@POW_LIB@,,;t t +s,@SEQ_LIBM@,,;t t +s,@GLIBC21@,no,;t t +s,@LIBICONV@,,;t t +s,@LTLIBICONV@,,;t t +s,@SQRT_LIBM@,,;t t +s,@FESETROUND_LIBM@,,;t t +s,@LIB_CRYPT@,,;t t +s,@MKINSTALLDIRS@,config/mkinstalldirs,;t t +s,@MSGFMT@,:,;t t +s,@GMSGFMT@,:,;t t +s,@XGETTEXT@,:,;t t +s,@MSGMERGE@,:,;t t +s,@USE_NLS@,no,;t t +s,@INTLLIBS@,,;t t +s,@LIBINTL@,,;t t +s,@LTLIBINTL@,,;t t +s,@POSUB@,,;t t +s,@LTLIBOBJS@, fileblocks$U.lo mkdir$U.lo fnmatch$U.lo strnlen$U.lo ftw$U.lo tsearch$U.lo lchown$U.lo chown$U.lo mktime$U.lo nanosleep$U.lo group-member$U.lo putenv$U.lo error$U.lo __fpending$U.lo rename$U.lo getcwd$U.lo canonicalize$U.lo regex$U.lo getloadavg$U.lo getusershell$U.lo sig2str$U.lo euidaccess$U.lo rpmatch$U.lo strndup$U.lo strverscmp$U.lo getpass$U.lo memrchr$U.lo fchdir-stub$U.lo,;t t +CEOF + + # Split the substitutions into bite-sized pieces for seds with + # small command number limits, like on Digital OSF/1 and HP-UX. + ac_max_sed_lines=48 + ac_sed_frag=1 # Number of current file. + ac_beg=1 # First line for current file. + ac_end=$ac_max_sed_lines # Line after last line for current file. + ac_more_lines=: + ac_sed_cmds= + while $ac_more_lines; do + if test $ac_beg -gt 1; then + sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag + else + sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag + fi + if test ! -s $tmp/subs.frag; then + ac_more_lines=false + else + # The purpose of the label and of the branching condition is to + # speed up the sed processing (if there are no `@' at all, there + # is no need to browse any of the substitutions). + # These are the two extra sed commands mentioned above. + (echo ':t + /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed + if test -z "$ac_sed_cmds"; then + ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" + else + ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" + fi + ac_sed_frag=`expr $ac_sed_frag + 1` + ac_beg=$ac_end + ac_end=`expr $ac_end + $ac_max_sed_lines` + fi + done + if test -z "$ac_sed_cmds"; then + ac_sed_cmds=cat + fi +fi # test -n "$CONFIG_FILES" + +for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue + # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". + case $ac_file in + - | *:- | *:-:* ) # input from stdin + cat >$tmp/stdin + ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; + *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; + * ) ac_file_in=$ac_file.in ;; + esac + + # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. + ac_dir=`(dirname "$ac_file") 2>/dev/null || +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$ac_file" : 'X\(//\)[^/]' \| \ + X"$ac_file" : 'X\(//\)$' \| \ + X"$ac_file" : 'X\(/\)' \| \ + . : '\(.\)' 2>/dev/null || +echo X"$ac_file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } + /^X\(\/\/\)[^/].*/{ s//\1/; q; } + /^X\(\/\/\)$/{ s//\1/; q; } + /^X\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` + { if $as_mkdir_p; then + mkdir -p "$ac_dir" + else + as_dir="$ac_dir" + as_dirs= + while test ! -d "$as_dir"; do + as_dirs="$as_dir $as_dirs" + as_dir=`(dirname "$as_dir") 2>/dev/null || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| \ + . : '\(.\)' 2>/dev/null || +echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } + /^X\(\/\/\)[^/].*/{ s//\1/; q; } + /^X\(\/\/\)$/{ s//\1/; q; } + /^X\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` + done + test ! -n "$as_dirs" || mkdir $as_dirs + fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 +echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} + { (exit 1); exit 1; }; }; } + + ac_builddir=. + +if test "$ac_dir" != .; then + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` + # A "../" for each directory in $ac_dir_suffix. + ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` +else + ac_dir_suffix= ac_top_builddir= +fi + +case $srcdir in + .) # No --srcdir option. We are building in place. + ac_srcdir=. + if test -z "$ac_top_builddir"; then + ac_top_srcdir=. + else + ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` + fi ;; + [\\/]* | ?:[\\/]* ) # Absolute path. + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir ;; + *) # Relative path. + ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_builddir$srcdir ;; +esac +# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be +# absolute. +ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` +ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` +ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` +ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` + + + case $INSTALL in + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; + *) ac_INSTALL=$ac_top_builddir$INSTALL ;; + esac + + if test x"$ac_file" != x-; then + { echo "$as_me:$LINENO: creating $ac_file" >&5 +echo "$as_me: creating $ac_file" >&6;} + rm -f "$ac_file" + fi + # Let's still pretend it is `configure' which instantiates (i.e., don't + # use $as_me), people would be surprised to read: + # /* config.h. Generated by config.status. */ + if test x"$ac_file" = x-; then + configure_input= + else + configure_input="$ac_file. " + fi + configure_input=$configure_input"Generated from `echo $ac_file_in | + sed 's,.*/,,'` by configure." + + # First look for the input files in the build tree, otherwise in the + # src tree. + ac_file_inputs=`IFS=: + for f in $ac_file_in; do + case $f in + -) echo $tmp/stdin ;; + [\\/$]*) + # Absolute (can't be DOS-style, as IFS=:) + test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 +echo "$as_me: error: cannot find input file: $f" >&2;} + { (exit 1); exit 1; }; } + echo $f;; + *) # Relative + if test -f "$f"; then + # Build tree + echo $f + elif test -f "$srcdir/$f"; then + # Source tree + echo $srcdir/$f + else + # /dev/null tree + { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 +echo "$as_me: error: cannot find input file: $f" >&2;} + { (exit 1); exit 1; }; } + fi;; + esac + done` || { (exit 1); exit 1; } + sed "/^[ ]*VPATH[ ]*=/{ +s/:*\$(srcdir):*/:/; +s/:*\${srcdir}:*/:/; +s/:*@srcdir@:*/:/; +s/^\([^=]*=[ ]*\):*/\1/; +s/:*$//; +s/^[^=]*=[ ]*$//; +} + +:t +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b +s,@configure_input@,$configure_input,;t t +s,@srcdir@,$ac_srcdir,;t t +s,@abs_srcdir@,$ac_abs_srcdir,;t t +s,@top_srcdir@,$ac_top_srcdir,;t t +s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t +s,@builddir@,$ac_builddir,;t t +s,@abs_builddir@,$ac_abs_builddir,;t t +s,@top_builddir@,$ac_top_builddir,;t t +s,@abs_top_builddir@,$ac_abs_top_builddir,;t t +s,@INSTALL@,$ac_INSTALL,;t t +" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out + rm -f $tmp/stdin + if test x"$ac_file" != x-; then + mv $tmp/out $ac_file + else + cat $tmp/out + rm -f $tmp/out + fi + +done + +# +# CONFIG_HEADER section. +# + +# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where +# NAME is the cpp macro being defined and VALUE is the value it is being given. +# +# ac_d sets the value in "#define NAME VALUE" lines. +ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' +ac_dB='[ ].*$,\1#\2' +ac_dC=' ' +ac_dD=',;t' +# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". +ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' +ac_uB='$,\1#\2define\3' +ac_uC=' ' +ac_uD=',;t' + +for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue + # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". + case $ac_file in + - | *:- | *:-:* ) # input from stdin + cat >$tmp/stdin + ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; + *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; + * ) ac_file_in=$ac_file.in ;; + esac + + test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 +echo "$as_me: creating $ac_file" >&6;} + + # First look for the input files in the build tree, otherwise in the + # src tree. + ac_file_inputs=`IFS=: + for f in $ac_file_in; do + case $f in + -) echo $tmp/stdin ;; + [\\/$]*) + # Absolute (can't be DOS-style, as IFS=:) + test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 +echo "$as_me: error: cannot find input file: $f" >&2;} + { (exit 1); exit 1; }; } + echo $f;; + *) # Relative + if test -f "$f"; then + # Build tree + echo $f + elif test -f "$srcdir/$f"; then + # Source tree + echo $srcdir/$f + else + # /dev/null tree + { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 +echo "$as_me: error: cannot find input file: $f" >&2;} + { (exit 1); exit 1; }; } + fi;; + esac + done` || { (exit 1); exit 1; } + # Remove the trailing spaces. + sed 's/[ ]*$//' $ac_file_inputs >$tmp/in + + # Handle all the #define templates only if necessary. + if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then + # If there are no defines, we may have an empty if/fi + : + cat >$tmp/defines.sed <$tmp/out + rm -f $tmp/in + mv $tmp/out $tmp/in + + cat >$tmp/defines.sed <$tmp/out + rm -f $tmp/in + mv $tmp/out $tmp/in + + cat >$tmp/defines.sed <$tmp/out + rm -f $tmp/in + mv $tmp/out $tmp/in + + cat >$tmp/defines.sed <$tmp/out + rm -f $tmp/in + mv $tmp/out $tmp/in + + cat >$tmp/defines.sed <$tmp/out + rm -f $tmp/in + mv $tmp/out $tmp/in + + cat >$tmp/defines.sed <$tmp/out + rm -f $tmp/in + mv $tmp/out $tmp/in + + cat >$tmp/defines.sed <_IO_write_ptr - fp->_IO_write_base${ac_dD} +${ac_dA}HAVE_GETGROUPS${ac_dB}HAVE_GETGROUPS${ac_dC}1${ac_dD} +${ac_dA}HAVE_VPRINTF${ac_dB}HAVE_VPRINTF${ac_dC}1${ac_dD} +${ac_dA}HAVE_FTRUNCATE${ac_dB}HAVE_FTRUNCATE${ac_dC}1${ac_dD} +${ac_dA}RENAME_TRAILING_SLASH_BUG${ac_dB}RENAME_TRAILING_SLASH_BUG${ac_dC}1${ac_dD} +${ac_dA}HAVE_MKSTEMP${ac_dB}HAVE_MKSTEMP${ac_dC}1${ac_dD} +${ac_dA}HAVE_UTIME_NULL${ac_dB}HAVE_UTIME_NULL${ac_dC}1${ac_dD} +${ac_dA}HAVE_UTIME_H${ac_dB}HAVE_UTIME_H${ac_dC}1${ac_dD} +${ac_dA}UTILS_OPEN_MAX${ac_dB}UTILS_OPEN_MAX${ac_dC}122${ac_dD} +${ac_dA}HAVE_DECL_GETCWD${ac_dB}HAVE_DECL_GETCWD${ac_dC}1${ac_dD} +${ac_dA}getcwd${ac_dB}getcwd${ac_dC}rpl_getcwd${ac_dD} +${ac_dA}FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX${ac_dB}FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX${ac_dC}0${ac_dD} +${ac_dA}FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR${ac_dB}FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR${ac_dC}0${ac_dD} +${ac_dA}HAVE_STRING_H${ac_dB}HAVE_STRING_H${ac_dC}1${ac_dD} +${ac_dA}HAVE_SYS_PARAM_H${ac_dB}HAVE_SYS_PARAM_H${ac_dC}1${ac_dD} +${ac_dA}HAVE_STDDEF_H${ac_dB}HAVE_STDDEF_H${ac_dC}1${ac_dD} +${ac_dA}GNU_PACKAGE${ac_dB}GNU_PACKAGE${ac_dC}"GNU coreutils"${ac_dD} +${ac_dA}HAVE_STRUCT_STAT_ST_BLKSIZE${ac_dB}HAVE_STRUCT_STAT_ST_BLKSIZE${ac_dC}1${ac_dD} +CEOF + sed -f $tmp/defines.sed $tmp/in >$tmp/out + rm -f $tmp/in + mv $tmp/out $tmp/in + + cat >$tmp/defines.sed <$tmp/out + rm -f $tmp/in + mv $tmp/out $tmp/in + + cat >$tmp/defines.sed <$tmp/out + rm -f $tmp/in + mv $tmp/out $tmp/in + + fi # grep + + # Handle all the #undef templates + cat >$tmp/undefs.sed <$tmp/out + rm -f $tmp/in + mv $tmp/out $tmp/in + + cat >$tmp/undefs.sed <$tmp/out + rm -f $tmp/in + mv $tmp/out $tmp/in + + cat >$tmp/undefs.sed <$tmp/out + rm -f $tmp/in + mv $tmp/out $tmp/in + + cat >$tmp/undefs.sed <$tmp/out + rm -f $tmp/in + mv $tmp/out $tmp/in + + cat >$tmp/undefs.sed <$tmp/out + rm -f $tmp/in + mv $tmp/out $tmp/in + + cat >$tmp/undefs.sed <$tmp/out + rm -f $tmp/in + mv $tmp/out $tmp/in + + cat >$tmp/undefs.sed <_IO_write_ptr - fp->_IO_write_base${ac_uD} +${ac_uA}HAVE_GETGROUPS${ac_uB}HAVE_GETGROUPS${ac_uC}1${ac_uD} +${ac_uA}HAVE_VPRINTF${ac_uB}HAVE_VPRINTF${ac_uC}1${ac_uD} +${ac_uA}HAVE_FTRUNCATE${ac_uB}HAVE_FTRUNCATE${ac_uC}1${ac_uD} +${ac_uA}RENAME_TRAILING_SLASH_BUG${ac_uB}RENAME_TRAILING_SLASH_BUG${ac_uC}1${ac_uD} +${ac_uA}HAVE_MKSTEMP${ac_uB}HAVE_MKSTEMP${ac_uC}1${ac_uD} +${ac_uA}HAVE_UTIME_NULL${ac_uB}HAVE_UTIME_NULL${ac_uC}1${ac_uD} +${ac_uA}HAVE_UTIME_H${ac_uB}HAVE_UTIME_H${ac_uC}1${ac_uD} +${ac_uA}UTILS_OPEN_MAX${ac_uB}UTILS_OPEN_MAX${ac_uC}122${ac_uD} +${ac_uA}HAVE_DECL_GETCWD${ac_uB}HAVE_DECL_GETCWD${ac_uC}1${ac_uD} +${ac_uA}getcwd${ac_uB}getcwd${ac_uC}rpl_getcwd${ac_uD} +${ac_uA}FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX${ac_uB}FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX${ac_uC}0${ac_uD} +${ac_uA}FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR${ac_uB}FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR${ac_uC}0${ac_uD} +${ac_uA}HAVE_STRING_H${ac_uB}HAVE_STRING_H${ac_uC}1${ac_uD} +${ac_uA}HAVE_SYS_PARAM_H${ac_uB}HAVE_SYS_PARAM_H${ac_uC}1${ac_uD} +${ac_uA}HAVE_STDDEF_H${ac_uB}HAVE_STDDEF_H${ac_uC}1${ac_uD} +${ac_uA}GNU_PACKAGE${ac_uB}GNU_PACKAGE${ac_uC}"GNU coreutils"${ac_uD} +${ac_uA}HAVE_STRUCT_STAT_ST_BLKSIZE${ac_uB}HAVE_STRUCT_STAT_ST_BLKSIZE${ac_uC}1${ac_uD} +CEOF + sed -f $tmp/undefs.sed $tmp/in >$tmp/out + rm -f $tmp/in + mv $tmp/out $tmp/in + + cat >$tmp/undefs.sed <$tmp/out + rm -f $tmp/in + mv $tmp/out $tmp/in + + cat >$tmp/undefs.sed <$tmp/out + rm -f $tmp/in + mv $tmp/out $tmp/in + + # Let's still pretend it is `configure' which instantiates (i.e., don't + # use $as_me), people would be surprised to read: + # /* config.h. Generated by config.status. */ + if test x"$ac_file" = x-; then + echo "/* Generated by configure. */" >$tmp/config.h + else + echo "/* $ac_file. Generated by configure. */" >$tmp/config.h + fi + cat $tmp/in >>$tmp/config.h + rm -f $tmp/in + if test x"$ac_file" != x-; then + if diff $ac_file $tmp/config.h >/dev/null 2>&1; then + { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 +echo "$as_me: $ac_file is unchanged" >&6;} + else + ac_dir=`(dirname "$ac_file") 2>/dev/null || +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$ac_file" : 'X\(//\)[^/]' \| \ + X"$ac_file" : 'X\(//\)$' \| \ + X"$ac_file" : 'X\(/\)' \| \ + . : '\(.\)' 2>/dev/null || +echo X"$ac_file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } + /^X\(\/\/\)[^/].*/{ s//\1/; q; } + /^X\(\/\/\)$/{ s//\1/; q; } + /^X\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` + { if $as_mkdir_p; then + mkdir -p "$ac_dir" + else + as_dir="$ac_dir" + as_dirs= + while test ! -d "$as_dir"; do + as_dirs="$as_dir $as_dirs" + as_dir=`(dirname "$as_dir") 2>/dev/null || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| \ + . : '\(.\)' 2>/dev/null || +echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } + /^X\(\/\/\)[^/].*/{ s//\1/; q; } + /^X\(\/\/\)$/{ s//\1/; q; } + /^X\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` + done + test ! -n "$as_dirs" || mkdir $as_dirs + fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 +echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} + { (exit 1); exit 1; }; }; } + + rm -f $ac_file + mv $tmp/config.h $ac_file + fi + else + cat $tmp/config.h + rm -f $tmp/config.h + fi +# Compute $ac_file's index in $config_headers. +_am_stamp_count=1 +for _am_header in $config_headers :; do + case $_am_header in + $ac_file | $ac_file:* ) + break ;; + * ) + _am_stamp_count=`expr $_am_stamp_count + 1` ;; + esac +done +echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null || +$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X$ac_file : 'X\(//\)[^/]' \| \ + X$ac_file : 'X\(//\)$' \| \ + X$ac_file : 'X\(/\)' \| \ + . : '\(.\)' 2>/dev/null || +echo X$ac_file | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } + /^X\(\/\/\)[^/].*/{ s//\1/; q; } + /^X\(\/\/\)$/{ s//\1/; q; } + /^X\(\/\).*/{ s//\1/; q; } + s/.*/./; q'`/stamp-h$_am_stamp_count +done + +# +# CONFIG_LINKS section. +# + +for ac_file in : $CONFIG_LINKS; do test "x$ac_file" = x: && continue + ac_dest=`echo "$ac_file" | sed 's,:.*,,'` + ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` + + { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5 +echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;} + + if test ! -r $srcdir/$ac_source; then + { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5 +echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;} + { (exit 1); exit 1; }; } + fi + rm -f $ac_dest + + # Make relative symlinks. + ac_dest_dir=`(dirname "$ac_dest") 2>/dev/null || +$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$ac_dest" : 'X\(//\)[^/]' \| \ + X"$ac_dest" : 'X\(//\)$' \| \ + X"$ac_dest" : 'X\(/\)' \| \ + . : '\(.\)' 2>/dev/null || +echo X"$ac_dest" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } + /^X\(\/\/\)[^/].*/{ s//\1/; q; } + /^X\(\/\/\)$/{ s//\1/; q; } + /^X\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` + { if $as_mkdir_p; then + mkdir -p "$ac_dest_dir" + else + as_dir="$ac_dest_dir" + as_dirs= + while test ! -d "$as_dir"; do + as_dirs="$as_dir $as_dirs" + as_dir=`(dirname "$as_dir") 2>/dev/null || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| \ + . : '\(.\)' 2>/dev/null || +echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } + /^X\(\/\/\)[^/].*/{ s//\1/; q; } + /^X\(\/\/\)$/{ s//\1/; q; } + /^X\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` + done + test ! -n "$as_dirs" || mkdir $as_dirs + fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5 +echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;} + { (exit 1); exit 1; }; }; } + + ac_builddir=. + +if test "$ac_dest_dir" != .; then + ac_dir_suffix=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'` + # A "../" for each directory in $ac_dir_suffix. + ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` +else + ac_dir_suffix= ac_top_builddir= +fi + +case $srcdir in + .) # No --srcdir option. We are building in place. + ac_srcdir=. + if test -z "$ac_top_builddir"; then + ac_top_srcdir=. + else + ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` + fi ;; + [\\/]* | ?:[\\/]* ) # Absolute path. + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir ;; + *) # Relative path. + ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_builddir$srcdir ;; +esac +# Don't blindly perform a `cd "$ac_dest_dir"/$ac_foo && pwd` since $ac_foo can be +# absolute. +ac_abs_builddir=`cd "$ac_dest_dir" && cd $ac_builddir && pwd` +ac_abs_top_builddir=`cd "$ac_dest_dir" && cd ${ac_top_builddir}. && pwd` +ac_abs_srcdir=`cd "$ac_dest_dir" && cd $ac_srcdir && pwd` +ac_abs_top_srcdir=`cd "$ac_dest_dir" && cd $ac_top_srcdir && pwd` + + + case $srcdir in + [\\/$]* | ?:[\\/]* ) ac_rel_source=$srcdir/$ac_source ;; + *) ac_rel_source=$ac_top_builddir$srcdir/$ac_source ;; + esac + + # Try a symlink, then a hard link, then a copy. + ln -s $ac_rel_source $ac_dest 2>/dev/null || + ln $srcdir/$ac_source $ac_dest 2>/dev/null || + cp -p $srcdir/$ac_source $ac_dest || + { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5 +echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;} + { (exit 1); exit 1; }; } +done + +# +# CONFIG_COMMANDS section. +# +for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue + ac_dest=`echo "$ac_file" | sed 's,:.*,,'` + ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` + ac_dir=`(dirname "$ac_dest") 2>/dev/null || +$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$ac_dest" : 'X\(//\)[^/]' \| \ + X"$ac_dest" : 'X\(//\)$' \| \ + X"$ac_dest" : 'X\(/\)' \| \ + . : '\(.\)' 2>/dev/null || +echo X"$ac_dest" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } + /^X\(\/\/\)[^/].*/{ s//\1/; q; } + /^X\(\/\/\)$/{ s//\1/; q; } + /^X\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` + ac_builddir=. + +if test "$ac_dir" != .; then + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` + # A "../" for each directory in $ac_dir_suffix. + ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` +else + ac_dir_suffix= ac_top_builddir= +fi + +case $srcdir in + .) # No --srcdir option. We are building in place. + ac_srcdir=. + if test -z "$ac_top_builddir"; then + ac_top_srcdir=. + else + ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` + fi ;; + [\\/]* | ?:[\\/]* ) # Absolute path. + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir ;; + *) # Relative path. + ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_builddir$srcdir ;; +esac +# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be +# absolute. +ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` +ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` +ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` +ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` + + + { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 +echo "$as_me: executing $ac_dest commands" >&6;} + case $ac_dest in + depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do + # Strip MF so we end up with the name of the file. + mf=`echo "$mf" | sed -e 's/:.*$//'` + # Check whether this is an Automake generated Makefile or not. + # We used to match only the files named `Makefile.in', but + # some people rename them; so instead we look at the file content. + # Grep'ing the first line is not enough: some people post-process + # each Makefile.in and add a new line on top of each file to say so. + # So let's grep whole file. + if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then + dirpart=`(dirname "$mf") 2>/dev/null || +$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$mf" : 'X\(//\)[^/]' \| \ + X"$mf" : 'X\(//\)$' \| \ + X"$mf" : 'X\(/\)' \| \ + . : '\(.\)' 2>/dev/null || +echo X"$mf" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } + /^X\(\/\/\)[^/].*/{ s//\1/; q; } + /^X\(\/\/\)$/{ s//\1/; q; } + /^X\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` + else + continue + fi + grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue + # Extract the definition of DEP_FILES from the Makefile without + # running `make'. + DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"` + test -z "$DEPDIR" && continue + # When using ansi2knr, U may be empty or an underscore; expand it + U=`sed -n -e '/^U = / s///p' < "$mf"` + test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" + # We invoke sed twice because it is the simplest approach to + # changing $(DEPDIR) to its actual value in the expansion. + for file in `sed -n -e ' + /^DEP_FILES = .*\\\\$/ { + s/^DEP_FILES = // + :loop + s/\\\\$// + p + n + /\\\\$/ b loop + p + } + /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do + # Make sure the directory exists. + test -f "$dirpart/$file" && continue + fdir=`(dirname "$file") 2>/dev/null || +$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$file" : 'X\(//\)[^/]' \| \ + X"$file" : 'X\(//\)$' \| \ + X"$file" : 'X\(/\)' \| \ + . : '\(.\)' 2>/dev/null || +echo X"$file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } + /^X\(\/\/\)[^/].*/{ s//\1/; q; } + /^X\(\/\/\)$/{ s//\1/; q; } + /^X\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` + { if $as_mkdir_p; then + mkdir -p $dirpart/$fdir + else + as_dir=$dirpart/$fdir + as_dirs= + while test ! -d "$as_dir"; do + as_dirs="$as_dir $as_dirs" + as_dir=`(dirname "$as_dir") 2>/dev/null || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| \ + . : '\(.\)' 2>/dev/null || +echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } + /^X\(\/\/\)[^/].*/{ s//\1/; q; } + /^X\(\/\/\)$/{ s//\1/; q; } + /^X\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` + done + test ! -n "$as_dirs" || mkdir $as_dirs + fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5 +echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;} + { (exit 1); exit 1; }; }; } + + # echo "creating $dirpart/$file" + echo '# dummy' > "$dirpart/$file" + done +done + ;; + default-1 ) + for ac_file in $CONFIG_FILES; do + # Support "outfile[:infile[:infile...]]" + case "$ac_file" in + *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; + esac + # PO directories have a Makefile.in generated from Makefile.in.in. + case "$ac_file" in */Makefile.in) + # Adjust a relative srcdir. + ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` + ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" + ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` + # In autoconf-2.13 it is called $ac_given_srcdir. + # In autoconf-2.50 it is called $srcdir. + test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" + case "$ac_given_srcdir" in + .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; + /*) top_srcdir="$ac_given_srcdir" ;; + *) top_srcdir="$ac_dots$ac_given_srcdir" ;; + esac + if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then + rm -f "$ac_dir/POTFILES" + test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" + cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" + # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend + # on $ac_dir but don't depend on user-specified configuration + # parameters. + if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then + # The LINGUAS file contains the set of available languages. + if test -n "$ALL_LINGUAS"; then + test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" + fi + ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"` + # Hide the ALL_LINGUAS assigment from automake. + eval 'ALL_LINGUAS''=$ALL_LINGUAS_' + fi + case "$ac_given_srcdir" in + .) srcdirpre= ;; + *) srcdirpre='$(srcdir)/' ;; + esac + POFILES= + GMOFILES= + UPDATEPOFILES= + DUMMYPOFILES= + for lang in $ALL_LINGUAS; do + POFILES="$POFILES $srcdirpre$lang.po" + GMOFILES="$GMOFILES $srcdirpre$lang.gmo" + UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" + DUMMYPOFILES="$DUMMYPOFILES $lang.nop" + done + # CATALOGS depends on both $ac_dir and the user's LINGUAS + # environment variable. + INST_LINGUAS= + if test -n "$ALL_LINGUAS"; then + for presentlang in $ALL_LINGUAS; do + useit=no + if test "%UNSET%" != "$LINGUAS"; then + desiredlanguages="$LINGUAS" + else + desiredlanguages="$ALL_LINGUAS" + fi + for desiredlang in $desiredlanguages; do + # Use the presentlang catalog if desiredlang is + # a. equal to presentlang, or + # b. a variant of presentlang (because in this case, + # presentlang can be used as a fallback for messages + # which are not translated in the desiredlang catalog). + case "$desiredlang" in + "$presentlang"*) useit=yes;; + esac + done + if test $useit = yes; then + INST_LINGUAS="$INST_LINGUAS $presentlang" + fi + done + fi + CATALOGS= + if test -n "$INST_LINGUAS"; then + for lang in $INST_LINGUAS; do + CATALOGS="$CATALOGS $lang.gmo" + done + fi + test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" + sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" + for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do + if test -f "$f"; then + case "$f" in + *.orig | *.bak | *~) ;; + *) cat "$f" >> "$ac_dir/Makefile" ;; + esac + fi + done + fi + ;; + esac + done ;; + esac +done + +{ (exit 0); exit 0; } diff --git a/src/apps/bin/coreutils-5.0/configure b/src/apps/bin/coreutils-5.0/configure new file mode 100755 index 0000000000..5cd80ac422 --- /dev/null +++ b/src/apps/bin/coreutils-5.0/configure @@ -0,0 +1,42175 @@ +#! /bin/sh +# Guess values for system-dependent variables and create Makefiles. +# Generated by GNU Autoconf 2.57 for GNU coreutils 5.0. +# +# Report bugs to . +# +# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 +# Free Software Foundation, Inc. +# This configure script is free software; the Free Software Foundation +# gives unlimited permission to copy, distribute and modify it. +## --------------------- ## +## M4sh Initialization. ## +## --------------------- ## + +# Be Bourne compatible +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then + emulate sh + NULLCMD=: + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' +elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then + set -o posix +fi + +# Support unset when possible. +if (FOO=FOO; unset FOO) >/dev/null 2>&1; then + as_unset=unset +else + as_unset=false +fi + + +# Work around bugs in pre-3.0 UWIN ksh. +$as_unset ENV MAIL MAILPATH +PS1='$ ' +PS2='> ' +PS4='+ ' + +# NLS nuisances. +for as_var in \ + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ + LC_TELEPHONE LC_TIME +do + if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then + eval $as_var=C; export $as_var + else + $as_unset $as_var + fi +done + +# Required to use basename. +if expr a : '\(a\)' >/dev/null 2>&1; then + as_expr=expr +else + as_expr=false +fi + +if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then + as_basename=basename +else + as_basename=false +fi + + +# Name of the executable. +as_me=`$as_basename "$0" || +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)$' \| \ + . : '\(.\)' 2>/dev/null || +echo X/"$0" | + sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } + /^X\/\(\/\/\)$/{ s//\1/; q; } + /^X\/\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` + + +# PATH needs CR, and LINENO needs CR and PATH. +# Avoid depending upon Character Ranges. +as_cr_letters='abcdefghijklmnopqrstuvwxyz' +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +as_cr_Letters=$as_cr_letters$as_cr_LETTERS +as_cr_digits='0123456789' +as_cr_alnum=$as_cr_Letters$as_cr_digits + +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi + + + as_lineno_1=$LINENO + as_lineno_2=$LINENO + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` + test "x$as_lineno_1" != "x$as_lineno_2" && + test "x$as_lineno_3" = "x$as_lineno_2" || { + # Find who we are. Look in the path if we contain no path at all + # relative or not. + case $0 in + *[\\/]* ) as_myself=$0 ;; + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break +done + + ;; + esac + # We did not find ourselves, most probably we were run as `sh COMMAND' + # in which case we are not to be found in the path. + if test "x$as_myself" = x; then + as_myself=$0 + fi + if test ! -f "$as_myself"; then + { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 + { (exit 1); exit 1; }; } + fi + case $CONFIG_SHELL in + '') + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for as_base in sh bash ksh sh5; do + case $as_dir in + /*) + if ("$as_dir/$as_base" -c ' + as_lineno_1=$LINENO + as_lineno_2=$LINENO + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` + test "x$as_lineno_1" != "x$as_lineno_2" && + test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then + $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } + $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } + CONFIG_SHELL=$as_dir/$as_base + export CONFIG_SHELL + exec "$CONFIG_SHELL" "$0" ${1+"$@"} + fi;; + esac + done +done +;; + esac + + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO + # uniformly replaced by the line number. The first 'sed' inserts a + # line-number line before each line; the second 'sed' does the real + # work. The second script uses 'N' to pair each line-number line + # with the numbered line, and appends trailing '-' during + # substitution so that $LINENO is not a special case at line end. + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the + # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) + sed '=' <$as_myself | + sed ' + N + s,$,-, + : loop + s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, + t loop + s,-$,, + s,^['$as_cr_digits']*\n,, + ' >$as_me.lineno && + chmod +x $as_me.lineno || + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 + { (exit 1); exit 1; }; } + + # Don't try to exec as it changes $[0], causing all sort of problems + # (the dirname of $[0] is not the place where we might find the + # original and so on. Autoconf is especially sensible to this). + . ./$as_me.lineno + # Exit status is that of the last command. + exit +} + + +case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in + *c*,-n*) ECHO_N= ECHO_C=' +' ECHO_T=' ' ;; + *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; + *) ECHO_N= ECHO_C='\c' ECHO_T= ;; +esac + +if expr a : '\(a\)' >/dev/null 2>&1; then + as_expr=expr +else + as_expr=false +fi + +rm -f conf$$ conf$$.exe conf$$.file +echo >conf$$.file +if ln -s conf$$.file conf$$ 2>/dev/null; then + # We could just check for DJGPP; but this test a) works b) is more generic + # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). + if test -f conf$$.exe; then + # Don't use ln at all; we don't have any links + as_ln_s='cp -p' + else + as_ln_s='ln -s' + fi +elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln +else + as_ln_s='cp -p' +fi +rm -f conf$$ conf$$.exe conf$$.file + +if mkdir -p . 2>/dev/null; then + as_mkdir_p=: +else + as_mkdir_p=false +fi + +as_executable_p="test -f" + +# Sed expression to map a string onto a valid CPP name. +as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" + +# Sed expression to map a string onto a valid variable name. +as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" + + +# IFS +# We need space, tab and new line, in precisely that order. +as_nl=' +' +IFS=" $as_nl" + +# CDPATH. +$as_unset CDPATH + + +# Name of the host. +# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, +# so uname gets run too. +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` + +exec 6>&1 + +# +# Initializations. +# +ac_default_prefix=/usr/local +ac_config_libobj_dir=. +cross_compiling=no +subdirs= +MFLAGS= +MAKEFLAGS= +SHELL=${CONFIG_SHELL-/bin/sh} + +# Maximum number of lines to put in a shell here document. +# This variable seems obsolete. It should probably be removed, and +# only ac_max_sed_lines should be used. +: ${ac_max_here_lines=38} + +# Identity of this package. +PACKAGE_NAME='GNU coreutils' +PACKAGE_TARNAME='coreutils' +PACKAGE_VERSION='5.0' +PACKAGE_STRING='GNU coreutils 5.0' +PACKAGE_BUGREPORT='bug-coreutils@gnu.org' + +ac_unique_file="src/ls.c" +# Factoring default headers for most tests. +ac_includes_default="\ +#include +#if HAVE_SYS_TYPES_H +# include +#endif +#if HAVE_SYS_STAT_H +# include +#endif +#if STDC_HEADERS +# include +# include +#else +# if HAVE_STDLIB_H +# include +# endif +#endif +#if HAVE_STRING_H +# if !STDC_HEADERS && HAVE_MEMORY_H +# include +# endif +# include +#endif +#if HAVE_STRINGS_H +# include +#endif +#if HAVE_INTTYPES_H +# include +#else +# if HAVE_STDINT_H +# include +# endif +#endif +#if HAVE_UNISTD_H +# include +#endif" + +ac_config_libobj_dir=lib +ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot PERL CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP RANLIB ac_ct_RANLIB LN_S GNU_PACKAGE HELP2MAN OPTIONAL_BIN_PROGS OPTIONAL_BIN_ZCRIPTS MAN DF_PROG U ANSI2KNR LIBOBJS ALLOCA YACC LIB_NANOSLEEP NEED_SETGID KMEM_GROUP GETLOADAVG_LIBS LIB_CLOCK_GETTIME POW_LIB SEQ_LIBM GLIBC21 LIBICONV LTLIBICONV SQRT_LIBM FESETROUND_LIBM LIB_CRYPT MKINSTALLDIRS MSGFMT GMSGFMT XGETTEXT MSGMERGE USE_NLS INTLLIBS LIBINTL LTLIBINTL POSUB LTLIBOBJS' +ac_subst_files='' + +# Initialize some variables set by options. +ac_init_help= +ac_init_version=false +# The variables have the same names as the options, with +# dashes changed to underlines. +cache_file=/dev/null +exec_prefix=NONE +no_create= +no_recursion= +prefix=NONE +program_prefix=NONE +program_suffix=NONE +program_transform_name=s,x,x, +silent= +site= +srcdir= +verbose= +x_includes=NONE +x_libraries=NONE + +# Installation directory options. +# These are left unexpanded so users can "make install exec_prefix=/foo" +# and all the variables that are supposed to be based on exec_prefix +# by default will actually change. +# Use braces instead of parens because sh, perl, etc. also accept them. +bindir='${exec_prefix}/bin' +sbindir='${exec_prefix}/sbin' +libexecdir='${exec_prefix}/libexec' +datadir='${prefix}/share' +sysconfdir='${prefix}/etc' +sharedstatedir='${prefix}/com' +localstatedir='${prefix}/var' +libdir='${exec_prefix}/lib' +includedir='${prefix}/include' +oldincludedir='/usr/include' +infodir='${prefix}/info' +mandir='${prefix}/man' + +ac_prev= +for ac_option +do + # If the previous option needs an argument, assign it. + if test -n "$ac_prev"; then + eval "$ac_prev=\$ac_option" + ac_prev= + continue + fi + + ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` + + # Accept the important Cygnus configure options, so we can diagnose typos. + + case $ac_option in + + -bindir | --bindir | --bindi | --bind | --bin | --bi) + ac_prev=bindir ;; + -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) + bindir=$ac_optarg ;; + + -build | --build | --buil | --bui | --bu) + ac_prev=build_alias ;; + -build=* | --build=* | --buil=* | --bui=* | --bu=*) + build_alias=$ac_optarg ;; + + -cache-file | --cache-file | --cache-fil | --cache-fi \ + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) + ac_prev=cache_file ;; + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) + cache_file=$ac_optarg ;; + + --config-cache | -C) + cache_file=config.cache ;; + + -datadir | --datadir | --datadi | --datad | --data | --dat | --da) + ac_prev=datadir ;; + -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ + | --da=*) + datadir=$ac_optarg ;; + + -disable-* | --disable-*) + ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && + { echo "$as_me: error: invalid feature name: $ac_feature" >&2 + { (exit 1); exit 1; }; } + ac_feature=`echo $ac_feature | sed 's/-/_/g'` + eval "enable_$ac_feature=no" ;; + + -enable-* | --enable-*) + ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && + { echo "$as_me: error: invalid feature name: $ac_feature" >&2 + { (exit 1); exit 1; }; } + ac_feature=`echo $ac_feature | sed 's/-/_/g'` + case $ac_option in + *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; + *) ac_optarg=yes ;; + esac + eval "enable_$ac_feature='$ac_optarg'" ;; + + -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ + | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ + | --exec | --exe | --ex) + ac_prev=exec_prefix ;; + -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ + | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ + | --exec=* | --exe=* | --ex=*) + exec_prefix=$ac_optarg ;; + + -gas | --gas | --ga | --g) + # Obsolete; use --with-gas. + with_gas=yes ;; + + -help | --help | --hel | --he | -h) + ac_init_help=long ;; + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) + ac_init_help=recursive ;; + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) + ac_init_help=short ;; + + -host | --host | --hos | --ho) + ac_prev=host_alias ;; + -host=* | --host=* | --hos=* | --ho=*) + host_alias=$ac_optarg ;; + + -includedir | --includedir | --includedi | --included | --include \ + | --includ | --inclu | --incl | --inc) + ac_prev=includedir ;; + -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ + | --includ=* | --inclu=* | --incl=* | --inc=*) + includedir=$ac_optarg ;; + + -infodir | --infodir | --infodi | --infod | --info | --inf) + ac_prev=infodir ;; + -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) + infodir=$ac_optarg ;; + + -libdir | --libdir | --libdi | --libd) + ac_prev=libdir ;; + -libdir=* | --libdir=* | --libdi=* | --libd=*) + libdir=$ac_optarg ;; + + -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ + | --libexe | --libex | --libe) + ac_prev=libexecdir ;; + -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ + | --libexe=* | --libex=* | --libe=*) + libexecdir=$ac_optarg ;; + + -localstatedir | --localstatedir | --localstatedi | --localstated \ + | --localstate | --localstat | --localsta | --localst \ + | --locals | --local | --loca | --loc | --lo) + ac_prev=localstatedir ;; + -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ + | --localstate=* | --localstat=* | --localsta=* | --localst=* \ + | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) + localstatedir=$ac_optarg ;; + + -mandir | --mandir | --mandi | --mand | --man | --ma | --m) + ac_prev=mandir ;; + -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) + mandir=$ac_optarg ;; + + -nfp | --nfp | --nf) + # Obsolete; use --without-fp. + with_fp=no ;; + + -no-create | --no-create | --no-creat | --no-crea | --no-cre \ + | --no-cr | --no-c | -n) + no_create=yes ;; + + -no-recursion | --no-recursion | --no-recursio | --no-recursi \ + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) + no_recursion=yes ;; + + -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ + | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ + | --oldin | --oldi | --old | --ol | --o) + ac_prev=oldincludedir ;; + -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ + | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ + | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) + oldincludedir=$ac_optarg ;; + + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) + ac_prev=prefix ;; + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) + prefix=$ac_optarg ;; + + -program-prefix | --program-prefix | --program-prefi | --program-pref \ + | --program-pre | --program-pr | --program-p) + ac_prev=program_prefix ;; + -program-prefix=* | --program-prefix=* | --program-prefi=* \ + | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) + program_prefix=$ac_optarg ;; + + -program-suffix | --program-suffix | --program-suffi | --program-suff \ + | --program-suf | --program-su | --program-s) + ac_prev=program_suffix ;; + -program-suffix=* | --program-suffix=* | --program-suffi=* \ + | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) + program_suffix=$ac_optarg ;; + + -program-transform-name | --program-transform-name \ + | --program-transform-nam | --program-transform-na \ + | --program-transform-n | --program-transform- \ + | --program-transform | --program-transfor \ + | --program-transfo | --program-transf \ + | --program-trans | --program-tran \ + | --progr-tra | --program-tr | --program-t) + ac_prev=program_transform_name ;; + -program-transform-name=* | --program-transform-name=* \ + | --program-transform-nam=* | --program-transform-na=* \ + | --program-transform-n=* | --program-transform-=* \ + | --program-transform=* | --program-transfor=* \ + | --program-transfo=* | --program-transf=* \ + | --program-trans=* | --program-tran=* \ + | --progr-tra=* | --program-tr=* | --program-t=*) + program_transform_name=$ac_optarg ;; + + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil) + silent=yes ;; + + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) + ac_prev=sbindir ;; + -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ + | --sbi=* | --sb=*) + sbindir=$ac_optarg ;; + + -sharedstatedir | --sharedstatedir | --sharedstatedi \ + | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ + | --sharedst | --shareds | --shared | --share | --shar \ + | --sha | --sh) + ac_prev=sharedstatedir ;; + -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ + | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ + | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ + | --sha=* | --sh=*) + sharedstatedir=$ac_optarg ;; + + -site | --site | --sit) + ac_prev=site ;; + -site=* | --site=* | --sit=*) + site=$ac_optarg ;; + + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) + ac_prev=srcdir ;; + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) + srcdir=$ac_optarg ;; + + -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ + | --syscon | --sysco | --sysc | --sys | --sy) + ac_prev=sysconfdir ;; + -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ + | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) + sysconfdir=$ac_optarg ;; + + -target | --target | --targe | --targ | --tar | --ta | --t) + ac_prev=target_alias ;; + -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) + target_alias=$ac_optarg ;; + + -v | -verbose | --verbose | --verbos | --verbo | --verb) + verbose=yes ;; + + -version | --version | --versio | --versi | --vers | -V) + ac_init_version=: ;; + + -with-* | --with-*) + ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && + { echo "$as_me: error: invalid package name: $ac_package" >&2 + { (exit 1); exit 1; }; } + ac_package=`echo $ac_package| sed 's/-/_/g'` + case $ac_option in + *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; + *) ac_optarg=yes ;; + esac + eval "with_$ac_package='$ac_optarg'" ;; + + -without-* | --without-*) + ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && + { echo "$as_me: error: invalid package name: $ac_package" >&2 + { (exit 1); exit 1; }; } + ac_package=`echo $ac_package | sed 's/-/_/g'` + eval "with_$ac_package=no" ;; + + --x) + # Obsolete; use --with-x. + with_x=yes ;; + + -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ + | --x-incl | --x-inc | --x-in | --x-i) + ac_prev=x_includes ;; + -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ + | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) + x_includes=$ac_optarg ;; + + -x-libraries | --x-libraries | --x-librarie | --x-librari \ + | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) + ac_prev=x_libraries ;; + -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) + x_libraries=$ac_optarg ;; + + -*) { echo "$as_me: error: unrecognized option: $ac_option +Try \`$0 --help' for more information." >&2 + { (exit 1); exit 1; }; } + ;; + + *=*) + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` + # Reject names that are not valid shell variable names. + expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && + { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 + { (exit 1); exit 1; }; } + ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` + eval "$ac_envvar='$ac_optarg'" + export $ac_envvar ;; + + *) + # FIXME: should be removed in autoconf 3.0. + echo "$as_me: WARNING: you should use --build, --host, --target" >&2 + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && + echo "$as_me: WARNING: invalid host type: $ac_option" >&2 + : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} + ;; + + esac +done + +if test -n "$ac_prev"; then + ac_option=--`echo $ac_prev | sed 's/_/-/g'` + { echo "$as_me: error: missing argument to $ac_option" >&2 + { (exit 1); exit 1; }; } +fi + +# Be sure to have absolute paths. +for ac_var in exec_prefix prefix +do + eval ac_val=$`echo $ac_var` + case $ac_val in + [\\/$]* | ?:[\\/]* | NONE | '' ) ;; + *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 + { (exit 1); exit 1; }; };; + esac +done + +# Be sure to have absolute paths. +for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ + localstatedir libdir includedir oldincludedir infodir mandir +do + eval ac_val=$`echo $ac_var` + case $ac_val in + [\\/$]* | ?:[\\/]* ) ;; + *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 + { (exit 1); exit 1; }; };; + esac +done + +# There might be people who depend on the old broken behavior: `$host' +# used to hold the argument of --host etc. +# FIXME: To remove some day. +build=$build_alias +host=$host_alias +target=$target_alias + +# FIXME: To remove some day. +if test "x$host_alias" != x; then + if test "x$build_alias" = x; then + cross_compiling=maybe + echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. + If a cross compiler is detected then cross compile mode will be used." >&2 + elif test "x$build_alias" != "x$host_alias"; then + cross_compiling=yes + fi +fi + +ac_tool_prefix= +test -n "$host_alias" && ac_tool_prefix=$host_alias- + +test "$silent" = yes && exec 6>/dev/null + + +# Find the source files, if location was not specified. +if test -z "$srcdir"; then + ac_srcdir_defaulted=yes + # Try the directory containing this script, then its parent. + ac_confdir=`(dirname "$0") 2>/dev/null || +$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$0" : 'X\(//\)[^/]' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)' \| \ + . : '\(.\)' 2>/dev/null || +echo X"$0" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } + /^X\(\/\/\)[^/].*/{ s//\1/; q; } + /^X\(\/\/\)$/{ s//\1/; q; } + /^X\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` + srcdir=$ac_confdir + if test ! -r $srcdir/$ac_unique_file; then + srcdir=.. + fi +else + ac_srcdir_defaulted=no +fi +if test ! -r $srcdir/$ac_unique_file; then + if test "$ac_srcdir_defaulted" = yes; then + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 + { (exit 1); exit 1; }; } + else + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 + { (exit 1); exit 1; }; } + fi +fi +(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || + { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 + { (exit 1); exit 1; }; } +srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` +ac_env_build_alias_set=${build_alias+set} +ac_env_build_alias_value=$build_alias +ac_cv_env_build_alias_set=${build_alias+set} +ac_cv_env_build_alias_value=$build_alias +ac_env_host_alias_set=${host_alias+set} +ac_env_host_alias_value=$host_alias +ac_cv_env_host_alias_set=${host_alias+set} +ac_cv_env_host_alias_value=$host_alias +ac_env_target_alias_set=${target_alias+set} +ac_env_target_alias_value=$target_alias +ac_cv_env_target_alias_set=${target_alias+set} +ac_cv_env_target_alias_value=$target_alias +ac_env_CC_set=${CC+set} +ac_env_CC_value=$CC +ac_cv_env_CC_set=${CC+set} +ac_cv_env_CC_value=$CC +ac_env_CFLAGS_set=${CFLAGS+set} +ac_env_CFLAGS_value=$CFLAGS +ac_cv_env_CFLAGS_set=${CFLAGS+set} +ac_cv_env_CFLAGS_value=$CFLAGS +ac_env_LDFLAGS_set=${LDFLAGS+set} +ac_env_LDFLAGS_value=$LDFLAGS +ac_cv_env_LDFLAGS_set=${LDFLAGS+set} +ac_cv_env_LDFLAGS_value=$LDFLAGS +ac_env_CPPFLAGS_set=${CPPFLAGS+set} +ac_env_CPPFLAGS_value=$CPPFLAGS +ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} +ac_cv_env_CPPFLAGS_value=$CPPFLAGS +ac_env_CPP_set=${CPP+set} +ac_env_CPP_value=$CPP +ac_cv_env_CPP_set=${CPP+set} +ac_cv_env_CPP_value=$CPP + +# +# Report the --help message. +# +if test "$ac_init_help" = "long"; then + # Omit some internal or obsolete options to make the list less imposing. + # This message is too long to be a string in the A/UX 3.1 sh. + cat <<_ACEOF +\`configure' configures GNU coreutils 5.0 to adapt to many kinds of systems. + +Usage: $0 [OPTION]... [VAR=VALUE]... + +To assign environment variables (e.g., CC, CFLAGS...), specify them as +VAR=VALUE. See below for descriptions of some of the useful variables. + +Defaults for the options are specified in brackets. + +Configuration: + -h, --help display this help and exit + --help=short display options specific to this package + --help=recursive display the short help of all the included packages + -V, --version display version information and exit + -q, --quiet, --silent do not print \`checking...' messages + --cache-file=FILE cache test results in FILE [disabled] + -C, --config-cache alias for \`--cache-file=config.cache' + -n, --no-create do not create output files + --srcdir=DIR find the sources in DIR [configure dir or \`..'] + +_ACEOF + + cat <<_ACEOF +Installation directories: + --prefix=PREFIX install architecture-independent files in PREFIX + [$ac_default_prefix] + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX + [PREFIX] + +By default, \`make install' will install all the files in +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify +an installation prefix other than \`$ac_default_prefix' using \`--prefix', +for instance \`--prefix=\$HOME'. + +For better control, use the options below. + +Fine tuning of the installation directories: + --bindir=DIR user executables [EPREFIX/bin] + --sbindir=DIR system admin executables [EPREFIX/sbin] + --libexecdir=DIR program executables [EPREFIX/libexec] + --datadir=DIR read-only architecture-independent data [PREFIX/share] + --sysconfdir=DIR read-only single-machine data [PREFIX/etc] + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] + --localstatedir=DIR modifiable single-machine data [PREFIX/var] + --libdir=DIR object code libraries [EPREFIX/lib] + --includedir=DIR C header files [PREFIX/include] + --oldincludedir=DIR C header files for non-gcc [/usr/include] + --infodir=DIR info documentation [PREFIX/info] + --mandir=DIR man documentation [PREFIX/man] +_ACEOF + + cat <<\_ACEOF + +Program names: + --program-prefix=PREFIX prepend PREFIX to installed program names + --program-suffix=SUFFIX append SUFFIX to installed program names + --program-transform-name=PROGRAM run sed PROGRAM on installed program names + +System types: + --build=BUILD configure for building on BUILD [guessed] + --host=HOST cross-compile to build programs to run on HOST [BUILD] +_ACEOF +fi + +if test -n "$ac_init_help"; then + case $ac_init_help in + short | recursive ) echo "Configuration of GNU coreutils 5.0:";; + esac + cat <<\_ACEOF + +Optional Features: + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) + --enable-FEATURE[=ARG] include FEATURE [ARG=yes] + --disable-dependency-tracking Speeds up one-time builds + --enable-dependency-tracking Do not reject slow dependency extractors + --disable-largefile omit support for large files + --disable-assert turn off assertions + --disable-rpath do not hardcode runtime library paths + --disable-nls do not use Native Language Support + +Optional Packages: + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --without-included-regex don't compile regex; this is the default on + systems with version 2 of the GNU C library + (use with caution on other system) + --with-gnu-ld assume the C compiler uses GNU ld default=no + --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib + --without-libiconv-prefix don't search for libiconv in includedir and libdir + --with-libintl-prefix=DIR search for libintl in DIR/include and DIR/lib + --without-libintl-prefix don't search for libintl in includedir and libdir + +Some influential environment variables: + CC C compiler command + CFLAGS C compiler flags + LDFLAGS linker flags, e.g. -L if you have libraries in a + nonstandard directory + CPPFLAGS C/C++ preprocessor flags, e.g. -I if you have + headers in a nonstandard directory + CPP C preprocessor + +Use these variables to override the choices made by `configure' or to help +it to find libraries and programs with nonstandard names/locations. + +Report bugs to . +_ACEOF +fi + +if test "$ac_init_help" = "recursive"; then + # If there are subdirs, report their specific --help. + ac_popdir=`pwd` + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue + test -d $ac_dir || continue + ac_builddir=. + +if test "$ac_dir" != .; then + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` + # A "../" for each directory in $ac_dir_suffix. + ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` +else + ac_dir_suffix= ac_top_builddir= +fi + +case $srcdir in + .) # No --srcdir option. We are building in place. + ac_srcdir=. + if test -z "$ac_top_builddir"; then + ac_top_srcdir=. + else + ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` + fi ;; + [\\/]* | ?:[\\/]* ) # Absolute path. + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir ;; + *) # Relative path. + ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_builddir$srcdir ;; +esac +# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be +# absolute. +ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` +ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` +ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` +ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` + + cd $ac_dir + # Check for guested configure; otherwise get Cygnus style configure. + if test -f $ac_srcdir/configure.gnu; then + echo + $SHELL $ac_srcdir/configure.gnu --help=recursive + elif test -f $ac_srcdir/configure; then + echo + $SHELL $ac_srcdir/configure --help=recursive + elif test -f $ac_srcdir/configure.ac || + test -f $ac_srcdir/configure.in; then + echo + $ac_configure --help + else + echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 + fi + cd $ac_popdir + done +fi + +test -n "$ac_init_help" && exit 0 +if $ac_init_version; then + cat <<\_ACEOF +GNU coreutils configure 5.0 +generated by GNU Autoconf 2.57 + +Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 +Free Software Foundation, Inc. +This configure script is free software; the Free Software Foundation +gives unlimited permission to copy, distribute and modify it. +_ACEOF + exit 0 +fi +exec 5>config.log +cat >&5 <<_ACEOF +This file contains any messages produced by compilers while +running configure, to aid debugging if configure makes a mistake. + +It was created by GNU coreutils $as_me 5.0, which was +generated by GNU Autoconf 2.57. Invocation command line was + + $ $0 $@ + +_ACEOF +{ +cat <<_ASUNAME +## --------- ## +## Platform. ## +## --------- ## + +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` +uname -m = `(uname -m) 2>/dev/null || echo unknown` +uname -r = `(uname -r) 2>/dev/null || echo unknown` +uname -s = `(uname -s) 2>/dev/null || echo unknown` +uname -v = `(uname -v) 2>/dev/null || echo unknown` + +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` + +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` +hostinfo = `(hostinfo) 2>/dev/null || echo unknown` +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` + +_ASUNAME + +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + echo "PATH: $as_dir" +done + +} >&5 + +cat >&5 <<_ACEOF + + +## ----------- ## +## Core tests. ## +## ----------- ## + +_ACEOF + + +# Keep a trace of the command line. +# Strip out --no-create and --no-recursion so they do not pile up. +# Strip out --silent because we don't want to record it for future runs. +# Also quote any args containing shell meta-characters. +# Make two passes to allow for proper duplicate-argument suppression. +ac_configure_args= +ac_configure_args0= +ac_configure_args1= +ac_sep= +ac_must_keep_next=false +for ac_pass in 1 2 +do + for ac_arg + do + case $ac_arg in + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil) + continue ;; + *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) + ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + case $ac_pass in + 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; + 2) + ac_configure_args1="$ac_configure_args1 '$ac_arg'" + if test $ac_must_keep_next = true; then + ac_must_keep_next=false # Got value, back to normal. + else + case $ac_arg in + *=* | --config-cache | -C | -disable-* | --disable-* \ + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ + | -with-* | --with-* | -without-* | --without-* | --x) + case "$ac_configure_args0 " in + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; + esac + ;; + -* ) ac_must_keep_next=true ;; + esac + fi + ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" + # Get rid of the leading space. + ac_sep=" " + ;; + esac + done +done +$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } +$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } + +# When interrupted or exit'd, cleanup temporary files, and complete +# config.log. We remove comments because anyway the quotes in there +# would cause problems or look ugly. +# WARNING: Be sure not to use single quotes in there, as some shells, +# such as our DU 5.0 friend, will then `close' the trap. +trap 'exit_status=$? + # Save into config.log some information that might help in debugging. + { + echo + + cat <<\_ASBOX +## ---------------- ## +## Cache variables. ## +## ---------------- ## +_ASBOX + echo + # The following way of writing the cache mishandles newlines in values, +{ + (set) 2>&1 | + case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in + *ac_space=\ *) + sed -n \ + "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" + ;; + *) + sed -n \ + "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" + ;; + esac; +} + echo + + cat <<\_ASBOX +## ----------------- ## +## Output variables. ## +## ----------------- ## +_ASBOX + echo + for ac_var in $ac_subst_vars + do + eval ac_val=$`echo $ac_var` + echo "$ac_var='"'"'$ac_val'"'"'" + done | sort + echo + + if test -n "$ac_subst_files"; then + cat <<\_ASBOX +## ------------- ## +## Output files. ## +## ------------- ## +_ASBOX + echo + for ac_var in $ac_subst_files + do + eval ac_val=$`echo $ac_var` + echo "$ac_var='"'"'$ac_val'"'"'" + done | sort + echo + fi + + if test -s confdefs.h; then + cat <<\_ASBOX +## ----------- ## +## confdefs.h. ## +## ----------- ## +_ASBOX + echo + sed "/^$/d" confdefs.h | sort + echo + fi + test "$ac_signal" != 0 && + echo "$as_me: caught signal $ac_signal" + echo "$as_me: exit $exit_status" + } >&5 + rm -f core core.* *.core && + rm -rf conftest* confdefs* conf$$* $ac_clean_files && + exit $exit_status + ' 0 +for ac_signal in 1 2 13 15; do + trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal +done +ac_signal=0 + +# confdefs.h avoids OS command line length limits that DEFS can exceed. +rm -rf conftest* confdefs.h +# AIX cpp loses on an empty file, so make sure it contains at least a newline. +echo >confdefs.h + +# Predefined preprocessor variables. + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_NAME "$PACKAGE_NAME" +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_TARNAME "$PACKAGE_TARNAME" +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_VERSION "$PACKAGE_VERSION" +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_STRING "$PACKAGE_STRING" +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" +_ACEOF + + +# Let the site file select an alternate cache file if it wants to. +# Prefer explicitly selected file to automatically selected ones. +if test -z "$CONFIG_SITE"; then + if test "x$prefix" != xNONE; then + CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" + else + CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" + fi +fi +for ac_site_file in $CONFIG_SITE; do + if test -r "$ac_site_file"; then + { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 +echo "$as_me: loading site script $ac_site_file" >&6;} + sed 's/^/| /' "$ac_site_file" >&5 + . "$ac_site_file" + fi +done + +if test -r "$cache_file"; then + # Some versions of bash will fail to source /dev/null (special + # files actually), so we avoid doing that. + if test -f "$cache_file"; then + { echo "$as_me:$LINENO: loading cache $cache_file" >&5 +echo "$as_me: loading cache $cache_file" >&6;} + case $cache_file in + [\\/]* | ?:[\\/]* ) . $cache_file;; + *) . ./$cache_file;; + esac + fi +else + { echo "$as_me:$LINENO: creating cache $cache_file" >&5 +echo "$as_me: creating cache $cache_file" >&6;} + >$cache_file +fi + +# Check that the precious variables saved in the cache have kept the same +# value. +ac_cache_corrupted=false +for ac_var in `(set) 2>&1 | + sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do + eval ac_old_set=\$ac_cv_env_${ac_var}_set + eval ac_new_set=\$ac_env_${ac_var}_set + eval ac_old_val="\$ac_cv_env_${ac_var}_value" + eval ac_new_val="\$ac_env_${ac_var}_value" + case $ac_old_set,$ac_new_set in + set,) + { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 +echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} + ac_cache_corrupted=: ;; + ,set) + { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 +echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} + ac_cache_corrupted=: ;; + ,);; + *) + if test "x$ac_old_val" != "x$ac_new_val"; then + { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 +echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} + { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 +echo "$as_me: former value: $ac_old_val" >&2;} + { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 +echo "$as_me: current value: $ac_new_val" >&2;} + ac_cache_corrupted=: + fi;; + esac + # Pass precious variables to config.status. + if test "$ac_new_set" = set; then + case $ac_new_val in + *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) + ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; + *) ac_arg=$ac_var=$ac_new_val ;; + esac + case " $ac_configure_args " in + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. + *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; + esac + fi +done +if $ac_cache_corrupted; then + { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 +echo "$as_me: error: changes in the environment can compromise the build" >&2;} + { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 +echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} + { (exit 1); exit 1; }; } +fi + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +ac_aux_dir= +for ac_dir in config $srcdir/config; do + if test -f $ac_dir/install-sh; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/install-sh -c" + break + elif test -f $ac_dir/install.sh; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/install.sh -c" + break + elif test -f $ac_dir/shtool; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/shtool install -c" + break + fi +done +if test -z "$ac_aux_dir"; then + { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config $srcdir/config" >&5 +echo "$as_me: error: cannot find install-sh or install.sh in config $srcdir/config" >&2;} + { (exit 1); exit 1; }; } +fi +ac_config_guess="$SHELL $ac_aux_dir/config.guess" +ac_config_sub="$SHELL $ac_aux_dir/config.sub" +ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. + + ac_config_headers="$ac_config_headers config.h:config.hin" + +# Make sure we can run config.sub. +$ac_config_sub sun4 >/dev/null 2>&1 || + { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 +echo "$as_me: error: cannot run $ac_config_sub" >&2;} + { (exit 1); exit 1; }; } + +echo "$as_me:$LINENO: checking build system type" >&5 +echo $ECHO_N "checking build system type... $ECHO_C" >&6 +if test "${ac_cv_build+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_cv_build_alias=$build_alias +test -z "$ac_cv_build_alias" && + ac_cv_build_alias=`$ac_config_guess` +test -z "$ac_cv_build_alias" && + { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 +echo "$as_me: error: cannot guess build type; you must specify one" >&2;} + { (exit 1); exit 1; }; } +ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || + { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 +echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} + { (exit 1); exit 1; }; } + +fi +echo "$as_me:$LINENO: result: $ac_cv_build" >&5 +echo "${ECHO_T}$ac_cv_build" >&6 +build=$ac_cv_build +build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` +build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` +build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` + + +echo "$as_me:$LINENO: checking host system type" >&5 +echo $ECHO_N "checking host system type... $ECHO_C" >&6 +if test "${ac_cv_host+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_cv_host_alias=$host_alias +test -z "$ac_cv_host_alias" && + ac_cv_host_alias=$ac_cv_build_alias +ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || + { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 +echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} + { (exit 1); exit 1; }; } + +fi +echo "$as_me:$LINENO: result: $ac_cv_host" >&5 +echo "${ECHO_T}$ac_cv_host" >&6 +host=$ac_cv_host +host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` +host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` +host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` + + + +am__api_version="1.7" +# Find a good install program. We prefer a C program (faster), +# so one script is as good as another. But avoid the broken or +# incompatible versions: +# SysV /etc/install, /usr/sbin/install +# SunOS /usr/etc/install +# IRIX /sbin/install +# AIX /bin/install +# AmigaOS /C/install, which installs bootblocks on floppy discs +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag +# AFS /usr/afsws/bin/install, which mishandles nonexistent args +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" +# ./install, which can be erroneously created by make from ./install.sh. +echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 +if test -z "$INSTALL"; then +if test "${ac_cv_path_install+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + # Account for people who put trailing slashes in PATH elements. +case $as_dir/ in + ./ | .// | /cC/* | \ + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ + /usr/ucb/* ) ;; + *) + # OSF1 and SCO ODT 3.0 have their own names for install. + # Don't use installbsd from OSF since it installs stuff as root + # by default. + for ac_prog in ginstall scoinst install; do + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then + if test $ac_prog = install && + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then + # AIX install. It has an incompatible calling convention. + : + elif test $ac_prog = install && + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then + # program-specific install script used by HP pwplus--don't use. + : + else + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" + break 3 + fi + fi + done + done + ;; +esac +done + + +fi + if test "${ac_cv_path_install+set}" = set; then + INSTALL=$ac_cv_path_install + else + # As a last resort, use the slow shell script. We don't cache a + # path for INSTALL within a source directory, because that will + # break other packages using the cache if that directory is + # removed, or if the path is relative. + INSTALL=$ac_install_sh + fi +fi +echo "$as_me:$LINENO: result: $INSTALL" >&5 +echo "${ECHO_T}$INSTALL" >&6 + +# Use test -z because SunOS4 sh mishandles braces in ${var-val}. +# It thinks the first close brace ends the variable substitution. +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' + +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' + +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' + +echo "$as_me:$LINENO: checking whether build environment is sane" >&5 +echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 +# Just in case +sleep 1 +echo timestamp > conftest.file +# Do `set' in a subshell so we don't clobber the current shell's +# arguments. Must try -L first in case configure is actually a +# symlink; some systems play weird games with the mod time of symlinks +# (eg FreeBSD returns the mod time of the symlink's containing +# directory). +if ( + set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` + if test "$*" = "X"; then + # -L didn't work. + set X `ls -t $srcdir/configure conftest.file` + fi + rm -f conftest.file + if test "$*" != "X $srcdir/configure conftest.file" \ + && test "$*" != "X conftest.file $srcdir/configure"; then + + # If neither matched, then we have a broken ls. This can happen + # if, for instance, CONFIG_SHELL is bash and it inherits a + # broken ls alias from the environment. This has actually + # happened. Such a system could not be considered "sane". + { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken +alias in your environment" >&5 +echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken +alias in your environment" >&2;} + { (exit 1); exit 1; }; } + fi + + test "$2" = conftest.file + ) +then + # Ok. + : +else + { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! +Check your system clock" >&5 +echo "$as_me: error: newly created file is older than distributed files! +Check your system clock" >&2;} + { (exit 1); exit 1; }; } +fi +echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 +test "$program_prefix" != NONE && + program_transform_name="s,^,$program_prefix,;$program_transform_name" +# Use a double $ so make ignores it. +test "$program_suffix" != NONE && + program_transform_name="s,\$,$program_suffix,;$program_transform_name" +# Double any \ or $. echo might interpret backslashes. +# By default was `s,x,x', remove it if useless. +cat <<\_ACEOF >conftest.sed +s/[\\$]/&&/g;s/;s,x,x,$// +_ACEOF +program_transform_name=`echo $program_transform_name | sed -f conftest.sed` +rm conftest.sed + + +# expand $ac_aux_dir to an absolute path +am_aux_dir=`cd $ac_aux_dir && pwd` + +test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" +# Use eval to expand $SHELL +if eval "$MISSING --run true"; then + am_missing_run="$MISSING --run " +else + am_missing_run= + { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 +echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} +fi + +for ac_prog in gawk mawk nawk awk +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_AWK+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$AWK"; then + ac_cv_prog_AWK="$AWK" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_AWK="$ac_prog" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +AWK=$ac_cv_prog_AWK +if test -n "$AWK"; then + echo "$as_me:$LINENO: result: $AWK" >&5 +echo "${ECHO_T}$AWK" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + test -n "$AWK" && break +done + +echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 +echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 +set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` +if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.make <<\_ACEOF +all: + @echo 'ac_maketemp="$(MAKE)"' +_ACEOF +# GNU make sometimes prints "make[1]: Entering...", which would confuse us. +eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` +if test -n "$ac_maketemp"; then + eval ac_cv_prog_make_${ac_make}_set=yes +else + eval ac_cv_prog_make_${ac_make}_set=no +fi +rm -f conftest.make +fi +if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then + echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 + SET_MAKE= +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 + SET_MAKE="MAKE=${MAKE-make}" +fi + +rm -rf .tst 2>/dev/null +mkdir .tst 2>/dev/null +if test -d .tst; then + am__leading_dot=. +else + am__leading_dot=_ +fi +rmdir .tst 2>/dev/null + + # test to see if srcdir already configured +if test "`cd $srcdir && pwd`" != "`pwd`" && + test -f $srcdir/config.status; then + { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 +echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} + { (exit 1); exit 1; }; } +fi + +# test whether we have cygpath +if test -z "$CYGPATH_W"; then + if (cygpath --version) >/dev/null 2>/dev/null; then + CYGPATH_W='cygpath -w' + else + CYGPATH_W=echo + fi +fi + + +# Define the identity of the package. + PACKAGE='coreutils' + VERSION='5.0' + + +cat >>confdefs.h <<_ACEOF +#define PACKAGE "$PACKAGE" +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define VERSION "$VERSION" +_ACEOF + +# Some tools Automake needs. + +ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} + + +AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} + + +AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} + + +AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} + + +MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} + + +AMTAR=${AMTAR-"${am_missing_run}tar"} + +install_sh=${install_sh-"$am_aux_dir/install-sh"} + +# Installed binaries are usually stripped using `strip' when the user +# run `make install-strip'. However `strip' might not be the right +# tool to use in cross-compilation environments, therefore Automake +# will honor the `STRIP' environment variable to overrule this program. +if test "$cross_compiling" != no; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. +set dummy ${ac_tool_prefix}strip; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_STRIP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$STRIP"; then + ac_cv_prog_STRIP="$STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_STRIP="${ac_tool_prefix}strip" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +STRIP=$ac_cv_prog_STRIP +if test -n "$STRIP"; then + echo "$as_me:$LINENO: result: $STRIP" >&5 +echo "${ECHO_T}$STRIP" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + +fi +if test -z "$ac_cv_prog_STRIP"; then + ac_ct_STRIP=$STRIP + # Extract the first word of "strip", so it can be a program name with args. +set dummy strip; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_STRIP"; then + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_STRIP="strip" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + + test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" +fi +fi +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP +if test -n "$ac_ct_STRIP"; then + echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 +echo "${ECHO_T}$ac_ct_STRIP" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + STRIP=$ac_ct_STRIP +else + STRIP="$ac_cv_prog_STRIP" +fi + +fi +INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" + +# We need awk for the "check" target. The system "awk" is bad on +# some platforms. + + + + + +cat >>confdefs.h <<\_ACEOF +#define _GNU_SOURCE 1 +_ACEOF + + + + echo "$as_me:$LINENO: checking for perl5.003 or newer" >&5 +echo $ECHO_N "checking for perl5.003 or newer... $ECHO_C" >&6 + if test "${PERL+set}" = set; then + # `PERL' is set in the user's environment. + candidate_perl_names="$PERL" + perl_specified=yes + else + candidate_perl_names='perl perl5' + perl_specified=no + fi + + found=no + + PERL="$am_missing_run perl" + for perl in $candidate_perl_names; do + # Run test in a subshell; some versions of sh will print an error if + # an executable is not found, even if stderr is redirected. + if ( $perl -e 'require 5.003; use File::Compare' ) > /dev/null 2>&1; then + PERL=$perl + found=yes + break + fi + done + + echo "$as_me:$LINENO: result: $found" >&5 +echo "${ECHO_T}$found" >&6 + test $found = no && { echo "$as_me:$LINENO: WARNING: +WARNING: You don't seem to have perl5.003 or newer installed, or you lack + a usable version of the Perl File::Compare module. As a result, + you may be unable to run a few tests or to regenerate certain + files if you modify the sources from which they are derived. + " >&5 +echo "$as_me: WARNING: +WARNING: You don't seem to have perl5.003 or newer installed, or you lack + a usable version of the Perl File::Compare module. As a result, + you may be unable to run a few tests or to regenerate certain + files if you modify the sources from which they are derived. + " >&2;} + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. +set dummy ${ac_tool_prefix}gcc; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_CC="${ac_tool_prefix}gcc" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + echo "$as_me:$LINENO: result: $CC" >&5 +echo "${ECHO_T}$CC" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + +fi +if test -z "$ac_cv_prog_CC"; then + ac_ct_CC=$CC + # Extract the first word of "gcc", so it can be a program name with args. +set dummy gcc; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_CC="gcc" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 +echo "${ECHO_T}$ac_ct_CC" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + CC=$ac_ct_CC +else + CC="$ac_cv_prog_CC" +fi + +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. +set dummy ${ac_tool_prefix}cc; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_CC="${ac_tool_prefix}cc" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + echo "$as_me:$LINENO: result: $CC" >&5 +echo "${ECHO_T}$CC" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + +fi +if test -z "$ac_cv_prog_CC"; then + ac_ct_CC=$CC + # Extract the first word of "cc", so it can be a program name with args. +set dummy cc; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_CC="cc" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 +echo "${ECHO_T}$ac_ct_CC" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + CC=$ac_ct_CC +else + CC="$ac_cv_prog_CC" +fi + +fi +if test -z "$CC"; then + # Extract the first word of "cc", so it can be a program name with args. +set dummy cc; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else + ac_prog_rejected=no +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then + ac_prog_rejected=yes + continue + fi + ac_cv_prog_CC="cc" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +if test $ac_prog_rejected = yes; then + # We found a bogon in the path, so make sure we never use it. + set dummy $ac_cv_prog_CC + shift + if test $# != 0; then + # We chose a different compiler from the bogus one. + # However, it has the same basename, so the bogon will be chosen + # first if we set CC to just the basename; use the full file name. + shift + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" + fi +fi +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + echo "$as_me:$LINENO: result: $CC" >&5 +echo "${ECHO_T}$CC" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + +fi +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + for ac_prog in cl + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_CC="$ac_tool_prefix$ac_prog" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + echo "$as_me:$LINENO: result: $CC" >&5 +echo "${ECHO_T}$CC" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + test -n "$CC" && break + done +fi +if test -z "$CC"; then + ac_ct_CC=$CC + for ac_prog in cl +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_CC="$ac_prog" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 +echo "${ECHO_T}$ac_ct_CC" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + test -n "$ac_ct_CC" && break +done + + CC=$ac_ct_CC +fi + +fi + + +test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH +See \`config.log' for more details." >&5 +echo "$as_me: error: no acceptable C compiler found in \$PATH +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; } + +# Provide some information about the compiler. +echo "$as_me:$LINENO:" \ + "checking for C compiler version" >&5 +ac_compiler=`set X $ac_compile; echo $2` +{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version &5\"") >&5 + (eval $ac_compiler --version &5) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v &5\"") >&5 + (eval $ac_compiler -v &5) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V &5\"") >&5 + (eval $ac_compiler -V &5) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } + +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +ac_clean_files_save=$ac_clean_files +ac_clean_files="$ac_clean_files a.out a.exe b.out" +# Try to create an executable without -o first, disregard a.out. +# It will help us diagnose broken compilers, and finding out an intuition +# of exeext. +echo "$as_me:$LINENO: checking for C compiler default output" >&5 +echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 +ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` +if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 + (eval $ac_link_default) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + # Find the output, starting from the most likely. This scheme is +# not robust to junk in `.', hence go to wildcards (a.*) only as a last +# resort. + +# Be careful to initialize this variable, since it used to be cached. +# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. +ac_cv_exeext= +# b.out is created by i960 compilers. +for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out +do + test -f "$ac_file" || continue + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) + ;; + conftest.$ac_ext ) + # This is the source file. + ;; + [ab].out ) + # We found the default executable, but exeext='' is most + # certainly right. + break;; + *.* ) + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` + # FIXME: I believe we export ac_cv_exeext for Libtool, + # but it would be cool to find out if it's true. Does anybody + # maintain Libtool? --akim. + export ac_cv_exeext + break;; + * ) + break;; + esac +done +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +{ { echo "$as_me:$LINENO: error: C compiler cannot create executables +See \`config.log' for more details." >&5 +echo "$as_me: error: C compiler cannot create executables +See \`config.log' for more details." >&2;} + { (exit 77); exit 77; }; } +fi + +ac_exeext=$ac_cv_exeext +echo "$as_me:$LINENO: result: $ac_file" >&5 +echo "${ECHO_T}$ac_file" >&6 + +# Check the compiler produces executables we can run. If not, either +# the compiler is broken, or we cross compile. +echo "$as_me:$LINENO: checking whether the C compiler works" >&5 +echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 +# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 +# If not cross compiling, check that we can run a simple program. +if test "$cross_compiling" != yes; then + if { ac_try='./$ac_file' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + cross_compiling=no + else + if test "$cross_compiling" = maybe; then + cross_compiling=yes + else + { { echo "$as_me:$LINENO: error: cannot run C compiled programs. +If you meant to cross compile, use \`--host'. +See \`config.log' for more details." >&5 +echo "$as_me: error: cannot run C compiled programs. +If you meant to cross compile, use \`--host'. +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; } + fi + fi +fi +echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 + +rm -f a.out a.exe conftest$ac_cv_exeext b.out +ac_clean_files=$ac_clean_files_save +# Check the compiler produces executables we can run. If not, either +# the compiler is broken, or we cross compile. +echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 +echo "$as_me:$LINENO: result: $cross_compiling" >&5 +echo "${ECHO_T}$cross_compiling" >&6 + +echo "$as_me:$LINENO: checking for suffix of executables" >&5 +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + # If both `conftest.exe' and `conftest' are `present' (well, observable) +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will +# work properly (i.e., refer to `conftest.exe'), while it won't with +# `rm'. +for ac_file in conftest.exe conftest conftest.*; do + test -f "$ac_file" || continue + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` + export ac_cv_exeext + break;; + * ) break;; + esac +done +else + { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link +See \`config.log' for more details." >&5 +echo "$as_me: error: cannot compute suffix of executables: cannot compile and link +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; } +fi + +rm -f conftest$ac_cv_exeext +echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 +echo "${ECHO_T}$ac_cv_exeext" >&6 + +rm -f conftest.$ac_ext +EXEEXT=$ac_cv_exeext +ac_exeext=$EXEEXT +echo "$as_me:$LINENO: checking for suffix of object files" >&5 +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 +if test "${ac_cv_objext+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.o conftest.obj +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` + break;; + esac +done +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile +See \`config.log' for more details." >&5 +echo "$as_me: error: cannot compute suffix of object files: cannot compile +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; } +fi + +rm -f conftest.$ac_cv_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 +echo "${ECHO_T}$ac_cv_objext" >&6 +OBJEXT=$ac_cv_objext +ac_objext=$OBJEXT +echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 +if test "${ac_cv_c_compiler_gnu+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ +#ifndef __GNUC__ + choke me +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_compiler_gnu=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_compiler_gnu=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +ac_cv_c_compiler_gnu=$ac_compiler_gnu + +fi +echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 +GCC=`test $ac_compiler_gnu = yes && echo yes` +ac_test_CFLAGS=${CFLAGS+set} +ac_save_CFLAGS=$CFLAGS +CFLAGS="-g" +echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 +if test "${ac_cv_prog_cc_g+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_prog_cc_g=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_prog_cc_g=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 +if test "$ac_test_CFLAGS" = set; then + CFLAGS=$ac_save_CFLAGS +elif test $ac_cv_prog_cc_g = yes; then + if test "$GCC" = yes; then + CFLAGS="-g -O2" + else + CFLAGS="-g" + fi +else + if test "$GCC" = yes; then + CFLAGS="-O2" + else + CFLAGS= + fi +fi +echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 +echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 +if test "${ac_cv_prog_cc_stdc+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_cv_prog_cc_stdc=no +ac_save_CC=$CC +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#include +#include +#include +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ +struct buf { int x; }; +FILE * (*rcsopen) (struct buf *, struct stat *, int); +static char *e (p, i) + char **p; + int i; +{ + return p[i]; +} +static char *f (char * (*g) (char **, int), char **p, ...) +{ + char *s; + va_list v; + va_start (v,p); + s = g (p, va_arg (v,int)); + va_end (v); + return s; +} +int test (int i, double x); +struct s1 {int (*f) (int a);}; +struct s2 {int (*f) (double a);}; +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); +int argc; +char **argv; +int +main () +{ +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; + ; + return 0; +} +_ACEOF +# Don't try gcc -ansi; that turns off useful extensions and +# breaks some systems' header files. +# AIX -qlanglvl=ansi +# Ultrix and OSF/1 -std1 +# HP-UX 10.20 and later -Ae +# HP-UX older versions -Aa -D_HPUX_SOURCE +# SVR4 -Xc -D__EXTENSIONS__ +for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" +do + CC="$ac_save_CC $ac_arg" + rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_prog_cc_stdc=$ac_arg +break +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext +done +rm -f conftest.$ac_ext conftest.$ac_objext +CC=$ac_save_CC + +fi + +case "x$ac_cv_prog_cc_stdc" in + x|xno) + echo "$as_me:$LINENO: result: none needed" >&5 +echo "${ECHO_T}none needed" >&6 ;; + *) + echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 +echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 + CC="$CC $ac_cv_prog_cc_stdc" ;; +esac + +# Some people use a C++ compiler to compile C. Since we use `exit', +# in C++ we need to declare it. In case someone uses the same compiler +# for both compiling C and C++ we need to have the C++ compiler decide +# the declaration of exit, since it's the most demanding environment. +cat >conftest.$ac_ext <<_ACEOF +#ifndef __cplusplus + choke me +#endif +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + for ac_declaration in \ + ''\ + '#include ' \ + 'extern "C" void std::exit (int) throw (); using std::exit;' \ + 'extern "C" void std::exit (int); using std::exit;' \ + 'extern "C" void exit (int) throw ();' \ + 'extern "C" void exit (int);' \ + 'void exit (int);' +do + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +$ac_declaration +int +main () +{ +exit (42); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + : +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +continue +fi +rm -f conftest.$ac_objext conftest.$ac_ext + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_declaration +int +main () +{ +exit (42); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + break +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest.$ac_ext +done +rm -f conftest* +if test -n "$ac_declaration"; then + echo '#ifdef __cplusplus' >>confdefs.h + echo $ac_declaration >>confdefs.h + echo '#endif' >>confdefs.h +fi + +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest.$ac_ext +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +DEPDIR="${am__leading_dot}deps" + + ac_config_commands="$ac_config_commands depfiles" + + +am_make=${MAKE-make} +cat > confinc << 'END' +doit: + @echo done +END +# If we don't find an include directive, just comment out the code. +echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 +echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6 +am__include="#" +am__quote= +_am_result=none +# First try GNU make style include. +echo "include confinc" > confmf +# We grep out `Entering directory' and `Leaving directory' +# messages which can occur if `w' ends up in MAKEFLAGS. +# In particular we don't look at `^make:' because GNU make might +# be invoked under some other name (usually "gmake"), in which +# case it prints its new name instead of `make'. +if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then + am__include=include + am__quote= + _am_result=GNU +fi +# Now try BSD make style include. +if test "$am__include" = "#"; then + echo '.include "confinc"' > confmf + if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then + am__include=.include + am__quote="\"" + _am_result=BSD + fi +fi + + +echo "$as_me:$LINENO: result: $_am_result" >&5 +echo "${ECHO_T}$_am_result" >&6 +rm -f confinc confmf + +# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given. +if test "${enable_dependency_tracking+set}" = set; then + enableval="$enable_dependency_tracking" + +fi; +if test "x$enable_dependency_tracking" != xno; then + am_depcomp="$ac_aux_dir/depcomp" + AMDEPBACKSLASH='\' +fi + + +if test "x$enable_dependency_tracking" != xno; then + AMDEP_TRUE= + AMDEP_FALSE='#' +else + AMDEP_TRUE='#' + AMDEP_FALSE= +fi + + + + +depcc="$CC" am_compiler_list= + +echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 +if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then + # We make a subdir and do the tests there. Otherwise we can end up + # making bogus files that we don't know about and never remove. For + # instance it was reported that on HP-UX the gcc test will end up + # making a dummy file named `D' -- because `-MD' means `put the output + # in D'. + mkdir conftest.dir + # Copy depcomp to subdir because otherwise we won't find it if we're + # using a relative directory. + cp "$am_depcomp" conftest.dir + cd conftest.dir + + am_cv_CC_dependencies_compiler_type=none + if test "$am_compiler_list" = ""; then + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` + fi + for depmode in $am_compiler_list; do + # We need to recreate these files for each test, as the compiler may + # overwrite some of them when testing with obscure command lines. + # This happens at least with the AIX C compiler. + echo '#include "conftest.h"' > conftest.c + echo 'int i;' > conftest.h + echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf + + case $depmode in + nosideeffect) + # after this tag, mechanisms are not by side-effect, so they'll + # only be used when explicitly requested + if test "x$enable_dependency_tracking" = xyes; then + continue + else + break + fi + ;; + none) break ;; + esac + # We check with `-c' and `-o' for the sake of the "dashmstdout" + # mode. It turns out that the SunPro C++ compiler does not properly + # handle `-M -o', and we need to detect this. + if depmode=$depmode \ + source=conftest.c object=conftest.o \ + depfile=conftest.Po tmpdepfile=conftest.TPo \ + $SHELL ./depcomp $depcc -c -o conftest.o conftest.c \ + >/dev/null 2>conftest.err && + grep conftest.h conftest.Po > /dev/null 2>&1 && + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then + # icc doesn't choke on unknown options, it will just issue warnings + # (even with -Werror). So we grep stderr for any message + # that says an option was ignored. + if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else + am_cv_CC_dependencies_compiler_type=$depmode + break + fi + fi + done + + cd .. + rm -rf conftest.dir +else + am_cv_CC_dependencies_compiler_type=none +fi + +fi +echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 +echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type + + + +if + test "x$enable_dependency_tracking" != xno \ + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then + am__fastdepCC_TRUE= + am__fastdepCC_FALSE='#' +else + am__fastdepCC_TRUE='#' + am__fastdepCC_FALSE= +fi + + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 +# On Suns, sometimes $CPP names a directory. +if test -n "$CPP" && test -d "$CPP"; then + CPP= +fi +if test -z "$CPP"; then + if test "${ac_cv_prog_CPP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + # Double quotes because CPP needs to be expanded + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" + do + ac_preproc_ok=false +for ac_c_preproc_warn_flag in '' yes +do + # Use a header file that comes with gcc, so configuring glibc + # with a fresh cross-compiler works. + # Prefer to if __STDC__ is defined, since + # exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#ifdef __STDC__ +# include +#else +# include +#endif + Syntax error +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + : +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + # Broken: fails on valid input. +continue +fi +rm -f conftest.err conftest.$ac_ext + + # OK, works on sane cases. Now check whether non-existent headers + # can be detected and how. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + # Broken: success on invalid input. +continue +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + # Passes both tests. +ac_preproc_ok=: +break +fi +rm -f conftest.err conftest.$ac_ext + +done +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +rm -f conftest.err conftest.$ac_ext +if $ac_preproc_ok; then + break +fi + + done + ac_cv_prog_CPP=$CPP + +fi + CPP=$ac_cv_prog_CPP +else + ac_cv_prog_CPP=$CPP +fi +echo "$as_me:$LINENO: result: $CPP" >&5 +echo "${ECHO_T}$CPP" >&6 +ac_preproc_ok=false +for ac_c_preproc_warn_flag in '' yes +do + # Use a header file that comes with gcc, so configuring glibc + # with a fresh cross-compiler works. + # Prefer to if __STDC__ is defined, since + # exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#ifdef __STDC__ +# include +#else +# include +#endif + Syntax error +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + : +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + # Broken: fails on valid input. +continue +fi +rm -f conftest.err conftest.$ac_ext + + # OK, works on sane cases. Now check whether non-existent headers + # can be detected and how. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + # Broken: success on invalid input. +continue +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + # Passes both tests. +ac_preproc_ok=: +break +fi +rm -f conftest.err conftest.$ac_ext + +done +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +rm -f conftest.err conftest.$ac_ext +if $ac_preproc_ok; then + : +else + { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check +See \`config.log' for more details." >&5 +echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; } +fi + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + + +echo "$as_me:$LINENO: checking for egrep" >&5 +echo $ECHO_N "checking for egrep... $ECHO_C" >&6 +if test "${ac_cv_prog_egrep+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if echo a | (grep -E '(a|b)') >/dev/null 2>&1 + then ac_cv_prog_egrep='grep -E' + else ac_cv_prog_egrep='egrep' + fi +fi +echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 +echo "${ECHO_T}$ac_cv_prog_egrep" >&6 + EGREP=$ac_cv_prog_egrep + + +if test $ac_cv_c_compiler_gnu = yes; then + echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5 +echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6 +if test "${ac_cv_prog_gcc_traditional+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_pattern="Autoconf.*'x'" + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +Autoconf TIOCGETP +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "$ac_pattern" >/dev/null 2>&1; then + ac_cv_prog_gcc_traditional=yes +else + ac_cv_prog_gcc_traditional=no +fi +rm -f conftest* + + + if test $ac_cv_prog_gcc_traditional = no; then + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +Autoconf TCGETA +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "$ac_pattern" >/dev/null 2>&1; then + ac_cv_prog_gcc_traditional=yes +fi +rm -f conftest* + + fi +fi +echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5 +echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6 + if test $ac_cv_prog_gcc_traditional = yes; then + CC="$CC -traditional" + fi +fi + +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. +set dummy ${ac_tool_prefix}ranlib; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_RANLIB+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$RANLIB"; then + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +RANLIB=$ac_cv_prog_RANLIB +if test -n "$RANLIB"; then + echo "$as_me:$LINENO: result: $RANLIB" >&5 +echo "${ECHO_T}$RANLIB" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + +fi +if test -z "$ac_cv_prog_RANLIB"; then + ac_ct_RANLIB=$RANLIB + # Extract the first word of "ranlib", so it can be a program name with args. +set dummy ranlib; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_RANLIB"; then + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_RANLIB="ranlib" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + + test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" +fi +fi +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB +if test -n "$ac_ct_RANLIB"; then + echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 +echo "${ECHO_T}$ac_ct_RANLIB" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + RANLIB=$ac_ct_RANLIB +else + RANLIB="$ac_cv_prog_RANLIB" +fi + +echo "$as_me:$LINENO: checking whether ln -s works" >&5 +echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 +LN_S=$as_ln_s +if test "$LN_S" = "ln -s"; then + echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 +else + echo "$as_me:$LINENO: result: no, using $LN_S" >&5 +echo "${ECHO_T}no, using $LN_S" >&6 +fi + + +echo "$as_me:$LINENO: checking for AIX" >&5 +echo $ECHO_N "checking for AIX... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#ifdef _AIX + yes +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "yes" >/dev/null 2>&1; then + echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 +cat >>confdefs.h <<\_ACEOF +#define _ALL_SOURCE 1 +_ACEOF + +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi +rm -f conftest* + + +echo "$as_me:$LINENO: checking for ANSI C header files" >&5 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 +if test "${ac_cv_header_stdc+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#include +#include +#include + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_header_stdc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_header_stdc=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext + +if test $ac_cv_header_stdc = yes; then + # SunOS 4.x string.h does not declare mem*, contrary to ANSI. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "memchr" >/dev/null 2>&1; then + : +else + ac_cv_header_stdc=no +fi +rm -f conftest* + +fi + +if test $ac_cv_header_stdc = yes; then + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "free" >/dev/null 2>&1; then + : +else + ac_cv_header_stdc=no +fi +rm -f conftest* + +fi + +if test $ac_cv_header_stdc = yes; then + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. + if test "$cross_compiling" = yes; then + : +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#if ((' ' & 0x0FF) == 0x020) +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) +#else +# define ISLOWER(c) \ + (('a' <= (c) && (c) <= 'i') \ + || ('j' <= (c) && (c) <= 'r') \ + || ('s' <= (c) && (c) <= 'z')) +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) +#endif + +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) +int +main () +{ + int i; + for (i = 0; i < 256; i++) + if (XOR (islower (i), ISLOWER (i)) + || toupper (i) != TOUPPER (i)) + exit(2); + exit (0); +} +_ACEOF +rm -f conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + : +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +( exit $ac_status ) +ac_cv_header_stdc=no +fi +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi +fi +fi +echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 +echo "${ECHO_T}$ac_cv_header_stdc" >&6 +if test $ac_cv_header_stdc = yes; then + +cat >>confdefs.h <<\_ACEOF +#define STDC_HEADERS 1 +_ACEOF + +fi + +# On IRIX 5.3, sys/types and inttypes.h are conflicting. + + + + + + + + + +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ + inttypes.h stdint.h unistd.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default + +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_Header=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_Header=no" +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + +if test "${ac_cv_header_minix_config_h+set}" = set; then + echo "$as_me:$LINENO: checking for minix/config.h" >&5 +echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6 +if test "${ac_cv_header_minix_config_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 +echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking minix/config.h usability" >&5 +echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking minix/config.h presence" >&5 +echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6 + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc in + yes:no ) + { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; + no:yes ) + { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5 +echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for minix/config.h" >&5 +echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6 +if test "${ac_cv_header_minix_config_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_cv_header_minix_config_h=$ac_header_preproc +fi +echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 +echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6 + +fi +if test $ac_cv_header_minix_config_h = yes; then + MINIX=yes +else + MINIX= +fi + + +if test "$MINIX" = yes; then + +cat >>confdefs.h <<\_ACEOF +#define _POSIX_SOURCE 1 +_ACEOF + + +cat >>confdefs.h <<\_ACEOF +#define _POSIX_1_SOURCE 2 +_ACEOF + + +cat >>confdefs.h <<\_ACEOF +#define _MINIX 1 +_ACEOF + +fi + + + +for ac_func in uname +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + OPTIONAL_BIN_PROGS="$OPTIONAL_BIN_PROGS uname\$(EXEEXT)" + MAN="$MAN uname.1" +fi +done + + +for ac_func in chroot +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + OPTIONAL_BIN_PROGS="$OPTIONAL_BIN_PROGS chroot\$(EXEEXT)" + MAN="$MAN chroot.1" +fi +done + + +for ac_func in gethostid +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + OPTIONAL_BIN_PROGS="$OPTIONAL_BIN_PROGS hostid\$(EXEEXT)" + MAN="$MAN hostid.1" +fi +done + + + + echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5 +echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6 +if test "${ac_cv_lib_cposix_strerror+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lcposix $LIBS" +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char strerror (); +int +main () +{ +strerror (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_lib_cposix_strerror=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_cposix_strerror=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5 +echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6 +if test $ac_cv_lib_cposix_strerror = yes; then + LIBS="$LIBS -lcposix" +fi + + + +# Check whether --enable-largefile or --disable-largefile was given. +if test "${enable_largefile+set}" = set; then + enableval="$enable_largefile" + +fi; +if test "$enable_largefile" != no; then + + echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5 +echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6 +if test "${ac_cv_sys_largefile_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_cv_sys_largefile_CC=no + if test "$GCC" != yes; then + ac_save_CC=$CC + while :; do + # IRIX 6.2 and later do not support large files by default, + # so use the C compiler's -n32 option if that helps. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include + /* Check that off_t can represent 2**63 - 1 correctly. + We can't simply define LARGE_OFF_T to be 9223372036854775807, + since some C++ compilers masquerading as C compilers + incorrectly reject 9223372036854775807. */ +#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 + && LARGE_OFF_T % 2147483647 == 1) + ? 1 : -1]; +int +main () +{ + + ; + return 0; +} +_ACEOF + rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + break +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext + CC="$CC -n32" + rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_sys_largefile_CC=' -n32'; break +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext + break + done + CC=$ac_save_CC + rm -f conftest.$ac_ext + fi +fi +echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5 +echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6 + if test "$ac_cv_sys_largefile_CC" != no; then + CC=$CC$ac_cv_sys_largefile_CC + fi + + echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5 +echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6 +if test "${ac_cv_sys_file_offset_bits+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + while :; do + ac_cv_sys_file_offset_bits=no + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include + /* Check that off_t can represent 2**63 - 1 correctly. + We can't simply define LARGE_OFF_T to be 9223372036854775807, + since some C++ compilers masquerading as C compilers + incorrectly reject 9223372036854775807. */ +#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 + && LARGE_OFF_T % 2147483647 == 1) + ? 1 : -1]; +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + break +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest.$ac_ext + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#define _FILE_OFFSET_BITS 64 +#include + /* Check that off_t can represent 2**63 - 1 correctly. + We can't simply define LARGE_OFF_T to be 9223372036854775807, + since some C++ compilers masquerading as C compilers + incorrectly reject 9223372036854775807. */ +#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 + && LARGE_OFF_T % 2147483647 == 1) + ? 1 : -1]; +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_sys_file_offset_bits=64; break +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest.$ac_ext + break +done +fi +echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5 +echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6 +if test "$ac_cv_sys_file_offset_bits" != no; then + +cat >>confdefs.h <<_ACEOF +#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits +_ACEOF + +fi +rm -f conftest* + echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5 +echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6 +if test "${ac_cv_sys_large_files+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + while :; do + ac_cv_sys_large_files=no + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include + /* Check that off_t can represent 2**63 - 1 correctly. + We can't simply define LARGE_OFF_T to be 9223372036854775807, + since some C++ compilers masquerading as C compilers + incorrectly reject 9223372036854775807. */ +#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 + && LARGE_OFF_T % 2147483647 == 1) + ? 1 : -1]; +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + break +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest.$ac_ext + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#define _LARGE_FILES 1 +#include + /* Check that off_t can represent 2**63 - 1 correctly. + We can't simply define LARGE_OFF_T to be 9223372036854775807, + since some C++ compilers masquerading as C compilers + incorrectly reject 9223372036854775807. */ +#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 + && LARGE_OFF_T % 2147483647 == 1) + ? 1 : -1]; +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_sys_large_files=1; break +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest.$ac_ext + break +done +fi +echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5 +echo "${ECHO_T}$ac_cv_sys_large_files" >&6 +if test "$ac_cv_sys_large_files" != no; then + +cat >>confdefs.h <<_ACEOF +#define _LARGE_FILES $ac_cv_sys_large_files +_ACEOF + +fi +rm -f conftest* +fi + + + + +echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5 +echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6 +if test "${am_cv_prog_cc_stdc+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + am_cv_prog_cc_stdc=no +ac_save_CC="$CC" +# Don't try gcc -ansi; that turns off useful extensions and +# breaks some systems' header files. +# AIX -qlanglvl=ansi +# Ultrix and OSF/1 -std1 +# HP-UX 10.20 and later -Ae +# HP-UX older versions -Aa -D_HPUX_SOURCE +# SVR4 -Xc -D__EXTENSIONS__ +for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" +do + CC="$ac_save_CC $ac_arg" + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#include +#include +#include +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ +struct buf { int x; }; +FILE * (*rcsopen) (struct buf *, struct stat *, int); +static char *e (p, i) + char **p; + int i; +{ + return p[i]; +} +static char *f (char * (*g) (char **, int), char **p, ...) +{ + char *s; + va_list v; + va_start (v,p); + s = g (p, va_arg (v,int)); + va_end (v); + return s; +} +int test (int i, double x); +struct s1 {int (*f) (int a);}; +struct s2 {int (*f) (double a);}; +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); +int argc; +char **argv; + +int +main () +{ + +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + am_cv_prog_cc_stdc="$ac_arg"; break +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest.$ac_ext +done +CC="$ac_save_CC" + +fi + +if test -z "$am_cv_prog_cc_stdc"; then + echo "$as_me:$LINENO: result: none needed" >&5 +echo "${ECHO_T}none needed" >&6 +else + echo "$as_me:$LINENO: result: $am_cv_prog_cc_stdc" >&5 +echo "${ECHO_T}$am_cv_prog_cc_stdc" >&6 +fi +case "x$am_cv_prog_cc_stdc" in + x|xno) ;; + *) CC="$CC $am_cv_prog_cc_stdc" ;; +esac + + + +echo "$as_me:$LINENO: checking for function prototypes" >&5 +echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6 +if test "$am_cv_prog_cc_stdc" != no; then + echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 + +cat >>confdefs.h <<\_ACEOF +#define PROTOTYPES 1 +_ACEOF + + U= ANSI2KNR= +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 + U=_ ANSI2KNR=./ansi2knr +fi +# Ensure some checks needed by ansi2knr itself. +echo "$as_me:$LINENO: checking for ANSI C header files" >&5 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 +if test "${ac_cv_header_stdc+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#include +#include +#include + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_header_stdc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_header_stdc=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext + +if test $ac_cv_header_stdc = yes; then + # SunOS 4.x string.h does not declare mem*, contrary to ANSI. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "memchr" >/dev/null 2>&1; then + : +else + ac_cv_header_stdc=no +fi +rm -f conftest* + +fi + +if test $ac_cv_header_stdc = yes; then + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "free" >/dev/null 2>&1; then + : +else + ac_cv_header_stdc=no +fi +rm -f conftest* + +fi + +if test $ac_cv_header_stdc = yes; then + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. + if test "$cross_compiling" = yes; then + : +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#if ((' ' & 0x0FF) == 0x020) +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) +#else +# define ISLOWER(c) \ + (('a' <= (c) && (c) <= 'i') \ + || ('j' <= (c) && (c) <= 'r') \ + || ('s' <= (c) && (c) <= 'z')) +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) +#endif + +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) +int +main () +{ + int i; + for (i = 0; i < 256; i++) + if (XOR (islower (i), ISLOWER (i)) + || toupper (i) != TOUPPER (i)) + exit(2); + exit (0); +} +_ACEOF +rm -f conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + : +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +( exit $ac_status ) +ac_cv_header_stdc=no +fi +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi +fi +fi +echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 +echo "${ECHO_T}$ac_cv_header_stdc" >&6 +if test $ac_cv_header_stdc = yes; then + +cat >>confdefs.h <<\_ACEOF +#define STDC_HEADERS 1 +_ACEOF + +fi + + +for ac_header in string.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6 + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc in + yes:no ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; + no:yes ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + eval "$as_ac_Header=$ac_header_preproc" +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 + +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + +echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 +echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6 +if test "${ac_cv_c_bigendian+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + # See if sys/param.h defines the BYTE_ORDER macro. +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#include + +int +main () +{ +#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN + bogus endian macros +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + # It does; now see whether it defined to BIG_ENDIAN or not. +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#include + +int +main () +{ +#if BYTE_ORDER != BIG_ENDIAN + not big endian +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_c_bigendian=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_c_bigendian=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +# It does not; compile a test program. +if test "$cross_compiling" = yes; then + # try to guess the endianness by grepping values into an object file + ac_cv_c_bigendian=unknown + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; +short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; +void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } +short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; +short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; +void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } +int +main () +{ + _ascii (); _ebcdic (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then + ac_cv_c_bigendian=yes +fi +if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then + if test "$ac_cv_c_bigendian" = unknown; then + ac_cv_c_bigendian=no + else + # finding both strings is unlikely to happen, but who knows? + ac_cv_c_bigendian=unknown + fi +fi +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest.$ac_ext +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +int +main () +{ + /* Are we little or big endian? From Harbison&Steele. */ + union + { + long l; + char c[sizeof (long)]; + } u; + u.l = 1; + exit (u.c[sizeof (long) - 1] == 1); +} +_ACEOF +rm -f conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_c_bigendian=no +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +( exit $ac_status ) +ac_cv_c_bigendian=yes +fi +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 +echo "${ECHO_T}$ac_cv_c_bigendian" >&6 +case $ac_cv_c_bigendian in + yes) + +cat >>confdefs.h <<\_ACEOF +#define WORDS_BIGENDIAN 1 +_ACEOF + ;; + no) + ;; + *) + { { echo "$as_me:$LINENO: error: unknown endianness +presetting ac_cv_c_bigendian=no (or yes) will help" >&5 +echo "$as_me: error: unknown endianness +presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} + { (exit 1); exit 1; }; } ;; +esac + +echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 +echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 +if test "${ac_cv_c_const+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ +/* FIXME: Include the comments suggested by Paul. */ +#ifndef __cplusplus + /* Ultrix mips cc rejects this. */ + typedef int charset[2]; + const charset x; + /* SunOS 4.1.1 cc rejects this. */ + char const *const *ccp; + char **p; + /* NEC SVR4.0.2 mips cc rejects this. */ + struct point {int x, y;}; + static struct point const zero = {0,0}; + /* AIX XL C 1.02.0.0 rejects this. + It does not let you subtract one const X* pointer from another in + an arm of an if-expression whose if-part is not a constant + expression */ + const char *g = "string"; + ccp = &g + (g ? g-g : 0); + /* HPUX 7.0 cc rejects these. */ + ++ccp; + p = (char**) ccp; + ccp = (char const *const *) p; + { /* SCO 3.2v4 cc rejects this. */ + char *t; + char const *s = 0 ? (char *) 0 : (char const *) 0; + + *t++ = 0; + } + { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ + int x[] = {25, 17}; + const int *foo = &x[0]; + ++foo; + } + { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ + typedef const int *iptr; + iptr p = 0; + ++p; + } + { /* AIX XL C 1.02.0.0 rejects this saying + "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ + struct s { int j; const int *ap[3]; }; + struct s *b; b->j = 5; + } + { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ + const int foo = 10; + } +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_c_const=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_c_const=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 +echo "${ECHO_T}$ac_cv_c_const" >&6 +if test $ac_cv_c_const = no; then + +cat >>confdefs.h <<\_ACEOF +#define const +_ACEOF + +fi + +echo "$as_me:$LINENO: checking for working volatile" >&5 +echo $ECHO_N "checking for working volatile... $ECHO_C" >&6 +if test "${ac_cv_c_volatile+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ + +volatile int x; +int * volatile y; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_c_volatile=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_c_volatile=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5 +echo "${ECHO_T}$ac_cv_c_volatile" >&6 +if test $ac_cv_c_volatile = no; then + +cat >>confdefs.h <<\_ACEOF +#define volatile +_ACEOF + +fi + +echo "$as_me:$LINENO: checking for inline" >&5 +echo $ECHO_N "checking for inline... $ECHO_C" >&6 +if test "${ac_cv_c_inline+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_cv_c_inline=no +for ac_kw in inline __inline__ __inline; do + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#ifndef __cplusplus +typedef int foo_t; +static $ac_kw foo_t static_foo () {return 0; } +$ac_kw foo_t foo () {return 0; } +#endif + +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_c_inline=$ac_kw; break +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest.$ac_ext +done + +fi +echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 +echo "${ECHO_T}$ac_cv_c_inline" >&6 +case $ac_cv_c_inline in + inline | yes) ;; + no) +cat >>confdefs.h <<\_ACEOF +#define inline +_ACEOF + ;; + *) cat >>confdefs.h <<_ACEOF +#define inline $ac_cv_c_inline +_ACEOF + ;; +esac + +echo "$as_me:$LINENO: checking for working long double with more range or precision than double" >&5 +echo $ECHO_N "checking for working long double with more range or precision than double... $ECHO_C" >&6 +if test "${ac_cv_c_long_double+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include + long double foo = 0.0; +int +main () +{ +static int test_array [1 - 2 * !(/* Using '|' rather than '||' catches a GCC 2.95.2 x86 bug. */ + (DBL_MAX < LDBL_MAX) | (LDBL_EPSILON < DBL_EPSILON) + | (DBL_MAX_EXP < LDBL_MAX_EXP) | (DBL_MANT_DIG < LDBL_MANT_DIG))]; +test_array [0] = 0 + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_c_long_double=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_c_long_double=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_c_long_double" >&5 +echo "${ECHO_T}$ac_cv_c_long_double" >&6 +if test $ac_cv_c_long_double = yes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_LONG_DOUBLE 1 +_ACEOF + +fi + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +for ac_header in \ + errno.h \ + fcntl.h \ + float.h \ + hurd.h \ + limits.h \ + memory.h \ + mntent.h \ + mnttab.h \ + netdb.h \ + paths.h \ + stdlib.h \ + stddef.h \ + stdint.h \ + string.h \ + sys/filsys.h \ + sys/fs/s5param.h \ + sys/fs_types.h \ + sys/fstyp.h \ + sys/ioctl.h \ + sys/mntent.h \ + sys/mount.h \ + sys/param.h \ + sys/resource.h \ + sys/socket.h \ + sys/statfs.h \ + sys/statvfs.h \ + sys/sysctl.h \ + sys/systeminfo.h \ + sys/time.h \ + sys/timeb.h \ + sys/vfs.h \ + sys/wait.h \ + syslog.h \ + termios.h \ + unistd.h \ + utime.h \ + values.h \ + +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6 + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc in + yes:no ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; + no:yes ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + eval "$as_ac_Header=$ac_header_preproc" +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 + +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + + + + + + +ac_header_dirent=no +for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do + as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5 +echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#include <$ac_hdr> + +int +main () +{ +if ((DIR *) 0) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_Header=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_Header=no" +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 +_ACEOF + +ac_header_dirent=$ac_hdr; break +fi + +done +# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. +if test $ac_header_dirent = dirent.h; then + + echo "$as_me:$LINENO: checking for library containing opendir" >&5 +echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 +if test "${ac_cv_search_opendir+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + + ac_func_search_save_LIBS=$LIBS + ac_cv_search_opendir=no + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char opendir (); +int +main () +{ +opendir (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_search_opendir='none required' +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext + if test "$ac_cv_search_opendir" = no; then + for ac_lib in dir; do + LIBS="-l$ac_lib $ac_func_search_save_LIBS" + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char opendir (); +int +main () +{ +opendir (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_search_opendir="-l$ac_lib"; break +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext + done + fi + LIBS=$ac_func_search_save_LIBS + +fi +echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 +echo "${ECHO_T}$ac_cv_search_opendir" >&6 + + if test "$ac_cv_search_opendir" = no; then : + + else + if test "$ac_cv_search_opendir" = 'none required'; then : + + else + LIBS="$ac_cv_search_opendir $LIBS" + + fi + fi + +else + + echo "$as_me:$LINENO: checking for library containing opendir" >&5 +echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 +if test "${ac_cv_search_opendir+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + + ac_func_search_save_LIBS=$LIBS + ac_cv_search_opendir=no + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char opendir (); +int +main () +{ +opendir (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_search_opendir='none required' +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext + if test "$ac_cv_search_opendir" = no; then + for ac_lib in x; do + LIBS="-l$ac_lib $ac_func_search_save_LIBS" + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char opendir (); +int +main () +{ +opendir (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_search_opendir="-l$ac_lib"; break +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext + done + fi + LIBS=$ac_func_search_save_LIBS + +fi +echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 +echo "${ECHO_T}$ac_cv_search_opendir" >&6 + + if test "$ac_cv_search_opendir" = no; then : + + else + if test "$ac_cv_search_opendir" = 'none required'; then : + + else + LIBS="$ac_cv_search_opendir $LIBS" + + fi + fi + +fi + +echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5 +echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6 +if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +static struct stat ac_aggr; +if (ac_aggr.st_blocks) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_member_struct_stat_st_blocks=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +static struct stat ac_aggr; +if (sizeof ac_aggr.st_blocks) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_member_struct_stat_st_blocks=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_member_struct_stat_st_blocks=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5 +echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6 +if test $ac_cv_member_struct_stat_st_blocks = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_STRUCT_STAT_ST_BLOCKS 1 +_ACEOF + + +cat >>confdefs.h <<\_ACEOF +#define HAVE_ST_BLOCKS 1 +_ACEOF + +else + LIBOBJS="$LIBOBJS fileblocks.$ac_objext" +fi + + +echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 +echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 +if test "${ac_cv_struct_tm+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#include + +int +main () +{ +struct tm *tp; tp->tm_sec; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_struct_tm=time.h +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_struct_tm=sys/time.h +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 +echo "${ECHO_T}$ac_cv_struct_tm" >&6 +if test $ac_cv_struct_tm = sys/time.h; then + +cat >>confdefs.h <<\_ACEOF +#define TM_IN_SYS_TIME 1 +_ACEOF + +fi + +echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5 +echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6 +if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#include <$ac_cv_struct_tm> + + +int +main () +{ +static struct tm ac_aggr; +if (ac_aggr.tm_zone) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_member_struct_tm_tm_zone=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#include <$ac_cv_struct_tm> + + +int +main () +{ +static struct tm ac_aggr; +if (sizeof ac_aggr.tm_zone) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_member_struct_tm_tm_zone=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_member_struct_tm_tm_zone=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5 +echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6 +if test $ac_cv_member_struct_tm_tm_zone = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_STRUCT_TM_TM_ZONE 1 +_ACEOF + + +fi + +if test "$ac_cv_member_struct_tm_tm_zone" = yes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_TM_ZONE 1 +_ACEOF + +else + echo "$as_me:$LINENO: checking for tzname" >&5 +echo $ECHO_N "checking for tzname... $ECHO_C" >&6 +if test "${ac_cv_var_tzname+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#ifndef tzname /* For SGI. */ +extern char *tzname[]; /* RS6000 and others reject char **tzname. */ +#endif + +int +main () +{ +atoi(*tzname); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_var_tzname=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_var_tzname=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5 +echo "${ECHO_T}$ac_cv_var_tzname" >&6 + if test $ac_cv_var_tzname = yes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_TZNAME 1 +_ACEOF + + fi +fi + +echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5 +echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6 +if test "${ac_cv_header_stat_broken+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#include + +#if defined(S_ISBLK) && defined(S_IFDIR) +# if S_ISBLK (S_IFDIR) +You lose. +# endif +#endif + +#if defined(S_ISBLK) && defined(S_IFCHR) +# if S_ISBLK (S_IFCHR) +You lose. +# endif +#endif + +#if defined(S_ISLNK) && defined(S_IFREG) +# if S_ISLNK (S_IFREG) +You lose. +# endif +#endif + +#if defined(S_ISSOCK) && defined(S_IFREG) +# if S_ISSOCK (S_IFREG) +You lose. +# endif +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "You lose" >/dev/null 2>&1; then + ac_cv_header_stat_broken=yes +else + ac_cv_header_stat_broken=no +fi +rm -f conftest* + +fi +echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5 +echo "${ECHO_T}$ac_cv_header_stat_broken" >&6 +if test $ac_cv_header_stat_broken = yes; then + +cat >>confdefs.h <<\_ACEOF +#define STAT_MACROS_BROKEN 1 +_ACEOF + +fi + +echo "$as_me:$LINENO: checking for nanoseconds member of struct stat.st_mtim" >&5 +echo $ECHO_N "checking for nanoseconds member of struct stat.st_mtim... $ECHO_C" >&6 +if test "${ac_cv_struct_st_mtim_nsec+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_save_CPPFLAGS="$CPPFLAGS" + ac_cv_struct_st_mtim_nsec=no + # tv_nsec -- the usual case + # _tv_nsec -- Solaris 2.6, if + # (defined _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED == 1 + # && !defined __EXTENSIONS__) + # st__tim.tv_nsec -- UnixWare 2.1.2 + for ac_val in tv_nsec _tv_nsec st__tim.tv_nsec; do + CPPFLAGS="$ac_save_CPPFLAGS -DST_MTIM_NSEC=$ac_val" + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#include +int +main () +{ +struct stat s; s.st_mtim.ST_MTIM_NSEC; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_struct_st_mtim_nsec=$ac_val; break +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest.$ac_ext + done + CPPFLAGS="$ac_save_CPPFLAGS" +fi +echo "$as_me:$LINENO: result: $ac_cv_struct_st_mtim_nsec" >&5 +echo "${ECHO_T}$ac_cv_struct_st_mtim_nsec" >&6 + + if test $ac_cv_struct_st_mtim_nsec != no; then + +cat >>confdefs.h <<_ACEOF +#define ST_MTIM_NSEC $ac_cv_struct_st_mtim_nsec +_ACEOF + + fi + + +echo "$as_me:$LINENO: checking for st_dm_mode in struct stat" >&5 +echo $ECHO_N "checking for st_dm_mode in struct stat... $ECHO_C" >&6 +if test "${ac_cv_struct_st_dm_mode+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#include +int +main () +{ +struct stat s; s.st_dm_mode; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_struct_st_dm_mode=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_struct_st_dm_mode=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_struct_st_dm_mode" >&5 +echo "${ECHO_T}$ac_cv_struct_st_dm_mode" >&6 + + if test $ac_cv_struct_st_dm_mode = yes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_ST_DM_MODE 1 +_ACEOF + + fi + + +echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 +echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 +if test "${ac_cv_header_time+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#include +#include + +int +main () +{ +if ((struct tm *) 0) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_header_time=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_header_time=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 +echo "${ECHO_T}$ac_cv_header_time" >&6 +if test $ac_cv_header_time = yes; then + +cat >>confdefs.h <<\_ACEOF +#define TIME_WITH_SYS_TIME 1 +_ACEOF + +fi + + + + echo "$as_me:$LINENO: checking for struct timespec" >&5 +echo $ECHO_N "checking for struct timespec... $ECHO_C" >&6 +if test "${fu_cv_sys_struct_timespec+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +# if TIME_WITH_SYS_TIME +# include +# include +# else +# if HAVE_SYS_TIME_H +# include +# else +# include +# endif +# endif + +int +main () +{ +static struct timespec x; x.tv_sec = x.tv_nsec; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + fu_cv_sys_struct_timespec=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fu_cv_sys_struct_timespec=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext + +fi +echo "$as_me:$LINENO: result: $fu_cv_sys_struct_timespec" >&5 +echo "${ECHO_T}$fu_cv_sys_struct_timespec" >&6 + + if test $fu_cv_sys_struct_timespec = yes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_STRUCT_TIMESPEC 1 +_ACEOF + + fi + +echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5 +echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6 +if test "${ac_cv_type_uid_t+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "uid_t" >/dev/null 2>&1; then + ac_cv_type_uid_t=yes +else + ac_cv_type_uid_t=no +fi +rm -f conftest* + +fi +echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5 +echo "${ECHO_T}$ac_cv_type_uid_t" >&6 +if test $ac_cv_type_uid_t = no; then + +cat >>confdefs.h <<\_ACEOF +#define uid_t int +_ACEOF + + +cat >>confdefs.h <<\_ACEOF +#define gid_t int +_ACEOF + +fi + +echo "$as_me:$LINENO: checking type of array argument to getgroups" >&5 +echo $ECHO_N "checking type of array argument to getgroups... $ECHO_C" >&6 +if test "${ac_cv_type_getgroups+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "$cross_compiling" = yes; then + ac_cv_type_getgroups=cross +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* Thanks to Mike Rendell for this test. */ +#include +#define NGID 256 +#undef MAX +#define MAX(x, y) ((x) > (y) ? (x) : (y)) + +int +main () +{ + gid_t gidset[NGID]; + int i, n; + union { gid_t gval; long lval; } val; + + val.lval = -1; + for (i = 0; i < NGID; i++) + gidset[i] = val.gval; + n = getgroups (sizeof (gidset) / MAX (sizeof (int), sizeof (gid_t)) - 1, + gidset); + /* Exit non-zero if getgroups seems to require an array of ints. This + happens when gid_t is short but getgroups modifies an array of ints. */ + exit ((n > 0 && gidset[n] != val.gval) ? 1 : 0); +} +_ACEOF +rm -f conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_type_getgroups=gid_t +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +( exit $ac_status ) +ac_cv_type_getgroups=int +fi +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi +if test $ac_cv_type_getgroups = cross; then + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "getgroups.*int.*gid_t" >/dev/null 2>&1; then + ac_cv_type_getgroups=gid_t +else + ac_cv_type_getgroups=int +fi +rm -f conftest* + +fi +fi +echo "$as_me:$LINENO: result: $ac_cv_type_getgroups" >&5 +echo "${ECHO_T}$ac_cv_type_getgroups" >&6 + +cat >>confdefs.h <<_ACEOF +#define GETGROUPS_T $ac_cv_type_getgroups +_ACEOF + + +echo "$as_me:$LINENO: checking for mode_t" >&5 +echo $ECHO_N "checking for mode_t... $ECHO_C" >&6 +if test "${ac_cv_type_mode_t+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +if ((mode_t *) 0) + return 0; +if (sizeof (mode_t)) + return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_type_mode_t=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_type_mode_t=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5 +echo "${ECHO_T}$ac_cv_type_mode_t" >&6 +if test $ac_cv_type_mode_t = yes; then + : +else + +cat >>confdefs.h <<_ACEOF +#define mode_t int +_ACEOF + +fi + +echo "$as_me:$LINENO: checking for off_t" >&5 +echo $ECHO_N "checking for off_t... $ECHO_C" >&6 +if test "${ac_cv_type_off_t+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +if ((off_t *) 0) + return 0; +if (sizeof (off_t)) + return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_type_off_t=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_type_off_t=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5 +echo "${ECHO_T}$ac_cv_type_off_t" >&6 +if test $ac_cv_type_off_t = yes; then + : +else + +cat >>confdefs.h <<_ACEOF +#define off_t long +_ACEOF + +fi + +echo "$as_me:$LINENO: checking for pid_t" >&5 +echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 +if test "${ac_cv_type_pid_t+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +if ((pid_t *) 0) + return 0; +if (sizeof (pid_t)) + return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_type_pid_t=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_type_pid_t=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5 +echo "${ECHO_T}$ac_cv_type_pid_t" >&6 +if test $ac_cv_type_pid_t = yes; then + : +else + +cat >>confdefs.h <<_ACEOF +#define pid_t int +_ACEOF + +fi + +echo "$as_me:$LINENO: checking return type of signal handlers" >&5 +echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 +if test "${ac_cv_type_signal+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#include +#ifdef signal +# undef signal +#endif +#ifdef __cplusplus +extern "C" void (*signal (int, void (*)(int)))(int); +#else +void (*signal ()) (); +#endif + +int +main () +{ +int i; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_type_signal=void +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_type_signal=int +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 +echo "${ECHO_T}$ac_cv_type_signal" >&6 + +cat >>confdefs.h <<_ACEOF +#define RETSIGTYPE $ac_cv_type_signal +_ACEOF + + +echo "$as_me:$LINENO: checking for size_t" >&5 +echo $ECHO_N "checking for size_t... $ECHO_C" >&6 +if test "${ac_cv_type_size_t+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +if ((size_t *) 0) + return 0; +if (sizeof (size_t)) + return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_type_size_t=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_type_size_t=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 +echo "${ECHO_T}$ac_cv_type_size_t" >&6 +if test $ac_cv_type_size_t = yes; then + : +else + +cat >>confdefs.h <<_ACEOF +#define size_t unsigned +_ACEOF + +fi + + + echo "$as_me:$LINENO: checking for unsigned long long" >&5 +echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6 +if test "${ac_cv_type_unsigned_long_long+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +unsigned long long ull = 1; int i = 63; +int +main () +{ +unsigned long long ullmax = (unsigned long long) -1; + return ull << i | ull >> i | ullmax / ull | ullmax % ull; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_type_unsigned_long_long=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_type_unsigned_long_long=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5 +echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6 + if test $ac_cv_type_unsigned_long_long = yes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_UNSIGNED_LONG_LONG 1 +_ACEOF + + fi + + + + echo "$as_me:$LINENO: checking for uintmax_t" >&5 +echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6 +if test "${ac_cv_type_uintmax_t+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +if ((uintmax_t *) 0) + return 0; +if (sizeof (uintmax_t)) + return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_type_uintmax_t=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_type_uintmax_t=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5 +echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6 +if test $ac_cv_type_uintmax_t = yes; then + : +else + test $ac_cv_type_unsigned_long_long = yes \ + && ac_type='unsigned long long' \ + || ac_type='unsigned long' + +cat >>confdefs.h <<_ACEOF +#define uintmax_t $ac_type +_ACEOF + +fi + + +echo "$as_me:$LINENO: checking whether sys/types.h defines makedev" >&5 +echo $ECHO_N "checking whether sys/types.h defines makedev... $ECHO_C" >&6 +if test "${ac_cv_header_sys_types_h_makedev+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +int +main () +{ +return makedev(0, 0); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_header_sys_types_h_makedev=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_header_sys_types_h_makedev=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext + +fi +echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h_makedev" >&5 +echo "${ECHO_T}$ac_cv_header_sys_types_h_makedev" >&6 + +if test $ac_cv_header_sys_types_h_makedev = no; then +if test "${ac_cv_header_sys_mkdev_h+set}" = set; then + echo "$as_me:$LINENO: checking for sys/mkdev.h" >&5 +echo $ECHO_N "checking for sys/mkdev.h... $ECHO_C" >&6 +if test "${ac_cv_header_sys_mkdev_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: $ac_cv_header_sys_mkdev_h" >&5 +echo "${ECHO_T}$ac_cv_header_sys_mkdev_h" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking sys/mkdev.h usability" >&5 +echo $ECHO_N "checking sys/mkdev.h usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking sys/mkdev.h presence" >&5 +echo $ECHO_N "checking sys/mkdev.h presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6 + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc in + yes:no ) + { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: sys/mkdev.h: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: sys/mkdev.h: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; + no:yes ) + { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: present but cannot be compiled" >&5 +echo "$as_me: WARNING: sys/mkdev.h: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: sys/mkdev.h: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: sys/mkdev.h: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for sys/mkdev.h" >&5 +echo $ECHO_N "checking for sys/mkdev.h... $ECHO_C" >&6 +if test "${ac_cv_header_sys_mkdev_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_cv_header_sys_mkdev_h=$ac_header_preproc +fi +echo "$as_me:$LINENO: result: $ac_cv_header_sys_mkdev_h" >&5 +echo "${ECHO_T}$ac_cv_header_sys_mkdev_h" >&6 + +fi +if test $ac_cv_header_sys_mkdev_h = yes; then + +cat >>confdefs.h <<\_ACEOF +#define MAJOR_IN_MKDEV 1 +_ACEOF + +fi + + + + if test $ac_cv_header_sys_mkdev_h = no; then + if test "${ac_cv_header_sys_sysmacros_h+set}" = set; then + echo "$as_me:$LINENO: checking for sys/sysmacros.h" >&5 +echo $ECHO_N "checking for sys/sysmacros.h... $ECHO_C" >&6 +if test "${ac_cv_header_sys_sysmacros_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: $ac_cv_header_sys_sysmacros_h" >&5 +echo "${ECHO_T}$ac_cv_header_sys_sysmacros_h" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking sys/sysmacros.h usability" >&5 +echo $ECHO_N "checking sys/sysmacros.h usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking sys/sysmacros.h presence" >&5 +echo $ECHO_N "checking sys/sysmacros.h presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6 + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc in + yes:no ) + { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: sys/sysmacros.h: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: sys/sysmacros.h: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; + no:yes ) + { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: present but cannot be compiled" >&5 +echo "$as_me: WARNING: sys/sysmacros.h: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: sys/sysmacros.h: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: sys/sysmacros.h: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for sys/sysmacros.h" >&5 +echo $ECHO_N "checking for sys/sysmacros.h... $ECHO_C" >&6 +if test "${ac_cv_header_sys_sysmacros_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_cv_header_sys_sysmacros_h=$ac_header_preproc +fi +echo "$as_me:$LINENO: result: $ac_cv_header_sys_sysmacros_h" >&5 +echo "${ECHO_T}$ac_cv_header_sys_sysmacros_h" >&6 + +fi +if test $ac_cv_header_sys_sysmacros_h = yes; then + +cat >>confdefs.h <<\_ACEOF +#define MAJOR_IN_SYSMACROS 1 +_ACEOF + +fi + + + fi +fi + +echo "$as_me:$LINENO: checking for C/C++ restrict keyword" >&5 +echo $ECHO_N "checking for C/C++ restrict keyword... $ECHO_C" >&6 +if test "${acx_cv_c_restrict+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + acx_cv_c_restrict=no + # Try the official restrict keyword, then gcc's __restrict__. + for acx_kw in restrict __restrict__; do + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +float * $acx_kw x; +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + acx_cv_c_restrict=$acx_kw; break +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest.$ac_ext + done + +fi +echo "$as_me:$LINENO: result: $acx_cv_c_restrict" >&5 +echo "${ECHO_T}$acx_cv_c_restrict" >&6 + case $acx_cv_c_restrict in + restrict) ;; + no) +cat >>confdefs.h <<\_ACEOF +#define restrict +_ACEOF + ;; + *) cat >>confdefs.h <<_ACEOF +#define restrict $acx_cv_c_restrict +_ACEOF + ;; + esac + +# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works +# for constant arguments. Useless! +echo "$as_me:$LINENO: checking for working alloca.h" >&5 +echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 +if test "${ac_cv_working_alloca_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +int +main () +{ +char *p = (char *) alloca (2 * sizeof (int)); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_working_alloca_h=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_working_alloca_h=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 +echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 +if test $ac_cv_working_alloca_h = yes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_ALLOCA_H 1 +_ACEOF + +fi + +echo "$as_me:$LINENO: checking for alloca" >&5 +echo $ECHO_N "checking for alloca... $ECHO_C" >&6 +if test "${ac_cv_func_alloca_works+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#ifdef __GNUC__ +# define alloca __builtin_alloca +#else +# ifdef _MSC_VER +# include +# define alloca _alloca +# else +# if HAVE_ALLOCA_H +# include +# else +# ifdef _AIX + #pragma alloca +# else +# ifndef alloca /* predefined by HP cc +Olibcalls */ +char *alloca (); +# endif +# endif +# endif +# endif +#endif + +int +main () +{ +char *p = (char *) alloca (1); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_func_alloca_works=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_func_alloca_works=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 +echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 + +if test $ac_cv_func_alloca_works = yes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_ALLOCA 1 +_ACEOF + +else + # The SVR3 libPW and SVR4 libucb both contain incompatible functions +# that cause trouble. Some versions do not even contain alloca or +# contain a buggy version. If you still want to use their alloca, +# use ar to extract alloca.o from them instead of compiling alloca.c. + +ALLOCA=alloca.$ac_objext + +cat >>confdefs.h <<\_ACEOF +#define C_ALLOCA 1 +_ACEOF + + +echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 +echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 +if test "${ac_cv_os_cray+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#if defined(CRAY) && ! defined(CRAY2) +webecray +#else +wenotbecray +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "webecray" >/dev/null 2>&1; then + ac_cv_os_cray=yes +else + ac_cv_os_cray=no +fi +rm -f conftest* + +fi +echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 +echo "${ECHO_T}$ac_cv_os_cray" >&6 +if test $ac_cv_os_cray = yes; then + for ac_func in _getb67 GETB67 getb67; do + as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + +cat >>confdefs.h <<_ACEOF +#define CRAY_STACKSEG_END $ac_func +_ACEOF + + break +fi + + done +fi + +echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 +echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 +if test "${ac_cv_c_stack_direction+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "$cross_compiling" = yes; then + ac_cv_c_stack_direction=0 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +int +find_stack_direction () +{ + static char *addr = 0; + auto char dummy; + if (addr == 0) + { + addr = &dummy; + return find_stack_direction (); + } + else + return (&dummy > addr) ? 1 : -1; +} + +int +main () +{ + exit (find_stack_direction () < 0); +} +_ACEOF +rm -f conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_c_stack_direction=1 +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +( exit $ac_status ) +ac_cv_c_stack_direction=-1 +fi +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi +fi +echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 +echo "${ECHO_T}$ac_cv_c_stack_direction" >&6 + +cat >>confdefs.h <<_ACEOF +#define STACK_DIRECTION $ac_cv_c_stack_direction +_ACEOF + + +fi + + + +for ac_header in limits.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6 + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc in + yes:no ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; + no:yes ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + eval "$as_ac_Header=$ac_header_preproc" +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 + +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + + + +for ac_header in string.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6 + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc in + yes:no ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; + no:yes ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + eval "$as_ac_Header=$ac_header_preproc" +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 + +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + + + +for ac_header in wchar.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6 + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc in + yes:no ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; + no:yes ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + eval "$as_ac_Header=$ac_header_preproc" +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 + +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + + + +for ac_header in wctype.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6 + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc in + yes:no ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; + no:yes ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + eval "$as_ac_Header=$ac_header_preproc" +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 + +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + + + +for ac_func in isascii +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + + + +for ac_func in mempcpy +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + + + echo "$as_me:$LINENO: checking host operating system" >&5 +echo $ECHO_N "checking host operating system... $ECHO_C" >&6 +if test "${utils_cv_host_operating_system+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $host_os in + + # These operating system names do not use the default heuristic below. + # They are in reverse order, so that more-specific prefixes come first. + winnt*) os='Windows NT';; + vos*) os='VOS';; + sysv*) os='Unix System V';; + superux*) os='SUPER-UX';; + sunos*) os='SunOS';; + stop*) os='STOP';; + sco*) os='SCO Unix';; + riscos*) os='RISC OS';; + riscix*) os='RISCiX';; + qnx*) os='QNX';; + pw32*) os='PW32';; + ptx*) os='ptx';; + plan9*) os='Plan 9';; + osf*) os='Tru64';; + os2*) os='OS/2';; + openbsd*) os='OpenBSD';; + nsk*) os='NonStop Kernel';; + nonstopux*) os='NonStop-UX';; + netbsd*) os='NetBSD';; + msdosdjgpp*) os='DJGPP';; + mpeix*) os='MPE/iX';; + mint*) os='MiNT';; + mingw*) os='MinGW';; + lynxos*) os='LynxOS';; + linux*) os='GNU/Linux';; + hpux*) os='HP-UX';; + hiux*) os='HI-UX';; + gnu*) os='GNU';; + freebsd*-gnu*) os='GNU/FreeBSD';; + freebsd*) os='FreeBSD';; + dgux*) os='DG/UX';; + bsdi*) os='BSD/OS';; + bsd*) os='BSD';; + beos*) os='BeOS';; + aux*) os='A/UX';; + atheos*) os='AtheOS';; + amigaos*) os='Amiga OS';; + aix*) os='AIX';; + + # The default heuristic takes the initial alphabetic string + # from $host_os, but capitalizes its first letter. + [A-Za-z]*) + os=` + expr "X$host_os" : 'X\([A-Za-z]\)' | tr '[a-z]' '[A-Z]' + `` + expr "X$host_os" : 'X.\([A-Za-z]*\)' + ` + ;; + + # If $host_os does not start with an alphabetic string, use it unchanged. + *) + os=$host_os;; + esac + utils_cv_host_operating_system=$os +fi +echo "$as_me:$LINENO: result: $utils_cv_host_operating_system" >&5 +echo "${ECHO_T}$utils_cv_host_operating_system" >&6 + +cat >>confdefs.h <<_ACEOF +#define HOST_OPERATING_SYSTEM "$utils_cv_host_operating_system" +_ACEOF + + + echo "$as_me:$LINENO: checking whether mkdir fails due to a trailing slash" >&5 +echo $ECHO_N "checking whether mkdir fails due to a trailing slash... $ECHO_C" >&6 +if test "${utils_cv_func_mkdir_trailing_slash_bug+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + + # Arrange for deletion of the temporary directory this test might create. + ac_clean_files="$ac_clean_files confdir-slash" + if test "$cross_compiling" = yes; then + utils_cv_func_mkdir_trailing_slash_bug=yes + +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +# include +# include +# include + int main () + { + rmdir ("confdir-slash"); + exit (mkdir ("confdir-slash/", 0700)); + } + +_ACEOF +rm -f conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + utils_cv_func_mkdir_trailing_slash_bug=no +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +( exit $ac_status ) +utils_cv_func_mkdir_trailing_slash_bug=yes +fi +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi + + +fi +echo "$as_me:$LINENO: result: $utils_cv_func_mkdir_trailing_slash_bug" >&5 +echo "${ECHO_T}$utils_cv_func_mkdir_trailing_slash_bug" >&6 + + if test $utils_cv_func_mkdir_trailing_slash_bug = yes; then + LIBOBJS="$LIBOBJS mkdir.$ac_objext" + +cat >>confdefs.h <<\_ACEOF +#define mkdir rpl_mkdir +_ACEOF + + fi + + + # getdate.y works with bison only. + : ${YACC='bison -y'} + + + + echo "$as_me:$LINENO: checking whether to enable assertions" >&5 +echo $ECHO_N "checking whether to enable assertions... $ECHO_C" >&6 + # Check whether --enable-assert or --disable-assert was given. +if test "${enable_assert+set}" = set; then + enableval="$enable_assert" + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 + +cat >>confdefs.h <<\_ACEOF +#define NDEBUG 1 +_ACEOF + +else + echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 + +fi; + + + +for ac_header in utime.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6 + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc in + yes:no ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; + no:yes ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + eval "$as_ac_Header=$ac_header_preproc" +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 + +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + + echo "$as_me:$LINENO: checking for struct utimbuf" >&5 +echo $ECHO_N "checking for struct utimbuf... $ECHO_C" >&6 +if test "${fu_cv_sys_struct_utimbuf+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +#ifdef TIME_WITH_SYS_TIME +# include +# include +#else +# ifdef HAVE_SYS_TIME_H +# include +# else +# include +# endif +#endif +#ifdef HAVE_UTIME_H +# include +#endif + +int +main () +{ +static struct utimbuf x; x.actime = x.modtime; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + fu_cv_sys_struct_utimbuf=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fu_cv_sys_struct_utimbuf=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext + +fi +echo "$as_me:$LINENO: result: $fu_cv_sys_struct_utimbuf" >&5 +echo "${ECHO_T}$fu_cv_sys_struct_utimbuf" >&6 + + if test $fu_cv_sys_struct_utimbuf = yes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_STRUCT_UTIMBUF 1 +_ACEOF + + fi + + echo "$as_me:$LINENO: checking for d_type member in directory struct" >&5 +echo $ECHO_N "checking for d_type member in directory struct... $ECHO_C" >&6 +if test "${jm_cv_struct_dirent_d_type+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +#include +#ifdef HAVE_DIRENT_H +# include +#else /* not HAVE_DIRENT_H */ +# define dirent direct +# ifdef HAVE_SYS_NDIR_H +# include +# endif /* HAVE_SYS_NDIR_H */ +# ifdef HAVE_SYS_DIR_H +# include +# endif /* HAVE_SYS_DIR_H */ +# ifdef HAVE_NDIR_H +# include +# endif /* HAVE_NDIR_H */ +#endif /* HAVE_DIRENT_H */ + +int +main () +{ +struct dirent dp; dp.d_type = 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + jm_cv_struct_dirent_d_type=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +jm_cv_struct_dirent_d_type=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext + + +fi +echo "$as_me:$LINENO: result: $jm_cv_struct_dirent_d_type" >&5 +echo "${ECHO_T}$jm_cv_struct_dirent_d_type" >&6 + if test $jm_cv_struct_dirent_d_type = yes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_STRUCT_DIRENT_D_TYPE 1 +_ACEOF + + fi + + + echo "$as_me:$LINENO: checking for d_ino member in directory struct" >&5 +echo $ECHO_N "checking for d_ino member in directory struct... $ECHO_C" >&6 +if test "${jm_cv_struct_dirent_d_ino+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +#include +#ifdef HAVE_DIRENT_H +# include +#else /* not HAVE_DIRENT_H */ +# define dirent direct +# ifdef HAVE_SYS_NDIR_H +# include +# endif /* HAVE_SYS_NDIR_H */ +# ifdef HAVE_SYS_DIR_H +# include +# endif /* HAVE_SYS_DIR_H */ +# ifdef HAVE_NDIR_H +# include +# endif /* HAVE_NDIR_H */ +#endif /* HAVE_DIRENT_H */ + +int +main () +{ +struct dirent dp; dp.d_ino = 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + jm_cv_struct_dirent_d_ino=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +jm_cv_struct_dirent_d_ino=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext + + +fi +echo "$as_me:$LINENO: result: $jm_cv_struct_dirent_d_ino" >&5 +echo "${ECHO_T}$jm_cv_struct_dirent_d_ino" >&6 + if test $jm_cv_struct_dirent_d_ino = yes; then + +cat >>confdefs.h <<\_ACEOF +#define D_INO_IN_DIRENT 1 +_ACEOF + + fi + + + + + + + + + + + + + + +for ac_header in grp.h memory.h pwd.h string.h strings.h stdlib.h \ + unistd.h sys/time.h utmp.h utmpx.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6 + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc in + yes:no ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; + no:yes ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + eval "$as_ac_Header=$ac_header_preproc" +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 + +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + + + + + headers=' +#include +#if HAVE_STRING_H +# if !STDC_HEADERS && HAVE_MEMORY_H +# include +# endif +# include +#else +# if HAVE_STRINGS_H +# include +# endif +#endif +#if HAVE_STDLIB_H +# include +#endif +#if HAVE_UNISTD_H +# include +#endif + +#include +#if TIME_WITH_SYS_TIME +# include +# include +#else +# if HAVE_SYS_TIME_H +# include +# else +# include +# endif +#endif + +#if HAVE_UTMP_H +# include +#endif + +#if HAVE_GRP_H +# include +#endif + +#if HAVE_PWD_H +# include +#endif +' + + echo "$as_me:$LINENO: checking whether euidaccess is declared" >&5 +echo $ECHO_N "checking whether euidaccess is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_euidaccess+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$headers + +int +main () +{ +#ifndef euidaccess + char *p = (char *) euidaccess; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_have_decl_euidaccess=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_have_decl_euidaccess=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_euidaccess" >&5 +echo "${ECHO_T}$ac_cv_have_decl_euidaccess" >&6 +if test $ac_cv_have_decl_euidaccess = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_EUIDACCESS 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_EUIDACCESS 0 +_ACEOF + + +fi +echo "$as_me:$LINENO: checking whether free is declared" >&5 +echo $ECHO_N "checking whether free is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_free+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$headers + +int +main () +{ +#ifndef free + char *p = (char *) free; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_have_decl_free=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_have_decl_free=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_free" >&5 +echo "${ECHO_T}$ac_cv_have_decl_free" >&6 +if test $ac_cv_have_decl_free = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_FREE 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_FREE 0 +_ACEOF + + +fi +echo "$as_me:$LINENO: checking whether getenv is declared" >&5 +echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_getenv+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$headers + +int +main () +{ +#ifndef getenv + char *p = (char *) getenv; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_have_decl_getenv=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_have_decl_getenv=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5 +echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6 +if test $ac_cv_have_decl_getenv = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_GETENV 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_GETENV 0 +_ACEOF + + +fi +echo "$as_me:$LINENO: checking whether geteuid is declared" >&5 +echo $ECHO_N "checking whether geteuid is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_geteuid+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$headers + +int +main () +{ +#ifndef geteuid + char *p = (char *) geteuid; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_have_decl_geteuid=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_have_decl_geteuid=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_geteuid" >&5 +echo "${ECHO_T}$ac_cv_have_decl_geteuid" >&6 +if test $ac_cv_have_decl_geteuid = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_GETEUID 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_GETEUID 0 +_ACEOF + + +fi +echo "$as_me:$LINENO: checking whether getgrgid is declared" >&5 +echo $ECHO_N "checking whether getgrgid is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_getgrgid+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$headers + +int +main () +{ +#ifndef getgrgid + char *p = (char *) getgrgid; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_have_decl_getgrgid=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_have_decl_getgrgid=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_getgrgid" >&5 +echo "${ECHO_T}$ac_cv_have_decl_getgrgid" >&6 +if test $ac_cv_have_decl_getgrgid = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_GETGRGID 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_GETGRGID 0 +_ACEOF + + +fi +echo "$as_me:$LINENO: checking whether getlogin is declared" >&5 +echo $ECHO_N "checking whether getlogin is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_getlogin+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$headers + +int +main () +{ +#ifndef getlogin + char *p = (char *) getlogin; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_have_decl_getlogin=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_have_decl_getlogin=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_getlogin" >&5 +echo "${ECHO_T}$ac_cv_have_decl_getlogin" >&6 +if test $ac_cv_have_decl_getlogin = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_GETLOGIN 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_GETLOGIN 0 +_ACEOF + + +fi +echo "$as_me:$LINENO: checking whether getpwuid is declared" >&5 +echo $ECHO_N "checking whether getpwuid is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_getpwuid+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$headers + +int +main () +{ +#ifndef getpwuid + char *p = (char *) getpwuid; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_have_decl_getpwuid=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_have_decl_getpwuid=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_getpwuid" >&5 +echo "${ECHO_T}$ac_cv_have_decl_getpwuid" >&6 +if test $ac_cv_have_decl_getpwuid = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_GETPWUID 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_GETPWUID 0 +_ACEOF + + +fi +echo "$as_me:$LINENO: checking whether getuid is declared" >&5 +echo $ECHO_N "checking whether getuid is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_getuid+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$headers + +int +main () +{ +#ifndef getuid + char *p = (char *) getuid; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_have_decl_getuid=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_have_decl_getuid=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_getuid" >&5 +echo "${ECHO_T}$ac_cv_have_decl_getuid" >&6 +if test $ac_cv_have_decl_getuid = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_GETUID 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_GETUID 0 +_ACEOF + + +fi +echo "$as_me:$LINENO: checking whether getutent is declared" >&5 +echo $ECHO_N "checking whether getutent is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_getutent+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$headers + +int +main () +{ +#ifndef getutent + char *p = (char *) getutent; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_have_decl_getutent=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_have_decl_getutent=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_getutent" >&5 +echo "${ECHO_T}$ac_cv_have_decl_getutent" >&6 +if test $ac_cv_have_decl_getutent = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_GETUTENT 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_GETUTENT 0 +_ACEOF + + +fi +echo "$as_me:$LINENO: checking whether lseek is declared" >&5 +echo $ECHO_N "checking whether lseek is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_lseek+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$headers + +int +main () +{ +#ifndef lseek + char *p = (char *) lseek; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_have_decl_lseek=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_have_decl_lseek=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_lseek" >&5 +echo "${ECHO_T}$ac_cv_have_decl_lseek" >&6 +if test $ac_cv_have_decl_lseek = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_LSEEK 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_LSEEK 0 +_ACEOF + + +fi +echo "$as_me:$LINENO: checking whether malloc is declared" >&5 +echo $ECHO_N "checking whether malloc is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_malloc+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$headers + +int +main () +{ +#ifndef malloc + char *p = (char *) malloc; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_have_decl_malloc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_have_decl_malloc=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_malloc" >&5 +echo "${ECHO_T}$ac_cv_have_decl_malloc" >&6 +if test $ac_cv_have_decl_malloc = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_MALLOC 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_MALLOC 0 +_ACEOF + + +fi +echo "$as_me:$LINENO: checking whether memchr is declared" >&5 +echo $ECHO_N "checking whether memchr is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_memchr+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$headers + +int +main () +{ +#ifndef memchr + char *p = (char *) memchr; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_have_decl_memchr=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_have_decl_memchr=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_memchr" >&5 +echo "${ECHO_T}$ac_cv_have_decl_memchr" >&6 +if test $ac_cv_have_decl_memchr = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_MEMCHR 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_MEMCHR 0 +_ACEOF + + +fi +echo "$as_me:$LINENO: checking whether memrchr is declared" >&5 +echo $ECHO_N "checking whether memrchr is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_memrchr+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$headers + +int +main () +{ +#ifndef memrchr + char *p = (char *) memrchr; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_have_decl_memrchr=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_have_decl_memrchr=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_memrchr" >&5 +echo "${ECHO_T}$ac_cv_have_decl_memrchr" >&6 +if test $ac_cv_have_decl_memrchr = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_MEMRCHR 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_MEMRCHR 0 +_ACEOF + + +fi +echo "$as_me:$LINENO: checking whether nanosleep is declared" >&5 +echo $ECHO_N "checking whether nanosleep is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_nanosleep+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$headers + +int +main () +{ +#ifndef nanosleep + char *p = (char *) nanosleep; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_have_decl_nanosleep=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_have_decl_nanosleep=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_nanosleep" >&5 +echo "${ECHO_T}$ac_cv_have_decl_nanosleep" >&6 +if test $ac_cv_have_decl_nanosleep = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_NANOSLEEP 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_NANOSLEEP 0 +_ACEOF + + +fi +echo "$as_me:$LINENO: checking whether realloc is declared" >&5 +echo $ECHO_N "checking whether realloc is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_realloc+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$headers + +int +main () +{ +#ifndef realloc + char *p = (char *) realloc; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_have_decl_realloc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_have_decl_realloc=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_realloc" >&5 +echo "${ECHO_T}$ac_cv_have_decl_realloc" >&6 +if test $ac_cv_have_decl_realloc = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_REALLOC 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_REALLOC 0 +_ACEOF + + +fi +echo "$as_me:$LINENO: checking whether stpcpy is declared" >&5 +echo $ECHO_N "checking whether stpcpy is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_stpcpy+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$headers + +int +main () +{ +#ifndef stpcpy + char *p = (char *) stpcpy; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_have_decl_stpcpy=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_have_decl_stpcpy=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_stpcpy" >&5 +echo "${ECHO_T}$ac_cv_have_decl_stpcpy" >&6 +if test $ac_cv_have_decl_stpcpy = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_STPCPY 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_STPCPY 0 +_ACEOF + + +fi +echo "$as_me:$LINENO: checking whether strndup is declared" >&5 +echo $ECHO_N "checking whether strndup is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_strndup+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$headers + +int +main () +{ +#ifndef strndup + char *p = (char *) strndup; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_have_decl_strndup=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_have_decl_strndup=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_strndup" >&5 +echo "${ECHO_T}$ac_cv_have_decl_strndup" >&6 +if test $ac_cv_have_decl_strndup = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_STRNDUP 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_STRNDUP 0 +_ACEOF + + +fi +echo "$as_me:$LINENO: checking whether strnlen is declared" >&5 +echo $ECHO_N "checking whether strnlen is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_strnlen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$headers + +int +main () +{ +#ifndef strnlen + char *p = (char *) strnlen; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_have_decl_strnlen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_have_decl_strnlen=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_strnlen" >&5 +echo "${ECHO_T}$ac_cv_have_decl_strnlen" >&6 +if test $ac_cv_have_decl_strnlen = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_STRNLEN 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_STRNLEN 0 +_ACEOF + + +fi +echo "$as_me:$LINENO: checking whether strstr is declared" >&5 +echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_strstr+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$headers + +int +main () +{ +#ifndef strstr + char *p = (char *) strstr; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_have_decl_strstr=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_have_decl_strstr=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_strstr" >&5 +echo "${ECHO_T}$ac_cv_have_decl_strstr" >&6 +if test $ac_cv_have_decl_strstr = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_STRSTR 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_STRSTR 0 +_ACEOF + + +fi +echo "$as_me:$LINENO: checking whether strtoul is declared" >&5 +echo $ECHO_N "checking whether strtoul is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_strtoul+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$headers + +int +main () +{ +#ifndef strtoul + char *p = (char *) strtoul; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_have_decl_strtoul=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_have_decl_strtoul=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_strtoul" >&5 +echo "${ECHO_T}$ac_cv_have_decl_strtoul" >&6 +if test $ac_cv_have_decl_strtoul = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_STRTOUL 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_STRTOUL 0 +_ACEOF + + +fi +echo "$as_me:$LINENO: checking whether strtoull is declared" >&5 +echo $ECHO_N "checking whether strtoull is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_strtoull+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$headers + +int +main () +{ +#ifndef strtoull + char *p = (char *) strtoull; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_have_decl_strtoull=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_have_decl_strtoull=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_strtoull" >&5 +echo "${ECHO_T}$ac_cv_have_decl_strtoull" >&6 +if test $ac_cv_have_decl_strtoull = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_STRTOULL 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_STRTOULL 0 +_ACEOF + + +fi +echo "$as_me:$LINENO: checking whether ttyname is declared" >&5 +echo $ECHO_N "checking whether ttyname is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_ttyname+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$headers + +int +main () +{ +#ifndef ttyname + char *p = (char *) ttyname; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_have_decl_ttyname=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_have_decl_ttyname=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_ttyname" >&5 +echo "${ECHO_T}$ac_cv_have_decl_ttyname" >&6 +if test $ac_cv_have_decl_ttyname = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_TTYNAME 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_TTYNAME 0 +_ACEOF + + +fi + + + +echo "$as_me:$LINENO: checking for long file names" >&5 +echo $ECHO_N "checking for long file names... $ECHO_C" >&6 +if test "${ac_cv_sys_long_file_names+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_cv_sys_long_file_names=yes +# Test for long file names in all the places we know might matter: +# . the current directory, where building will happen +# $prefix/lib where we will be installing things +# $exec_prefix/lib likewise +# eval it to expand exec_prefix. +# $TMPDIR if set, where it might want to write temporary files +# if $TMPDIR is not set: +# /tmp where it might want to write temporary files +# /var/tmp likewise +# /usr/tmp likewise +if test -n "$TMPDIR" && test -d "$TMPDIR" && test -w "$TMPDIR"; then + ac_tmpdirs=$TMPDIR +else + ac_tmpdirs='/tmp /var/tmp /usr/tmp' +fi +for ac_dir in . $ac_tmpdirs `eval echo $prefix/lib $exec_prefix/lib` ; do + test -d $ac_dir || continue + test -w $ac_dir || continue # It is less confusing to not echo anything here. + ac_xdir=$ac_dir/cf$$ + (umask 077 && mkdir $ac_xdir 2>/dev/null) || continue + ac_tf1=$ac_xdir/conftest9012345 + ac_tf2=$ac_xdir/conftest9012346 + (echo 1 >$ac_tf1) 2>/dev/null + (echo 2 >$ac_tf2) 2>/dev/null + ac_val=`cat $ac_tf1 2>/dev/null` + if test ! -f $ac_tf1 || test "$ac_val" != 1; then + ac_cv_sys_long_file_names=no + rm -rf $ac_xdir 2>/dev/null + break + fi + rm -rf $ac_xdir 2>/dev/null +done +fi +echo "$as_me:$LINENO: result: $ac_cv_sys_long_file_names" >&5 +echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6 +if test $ac_cv_sys_long_file_names = yes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_LONG_FILE_NAMES 1 +_ACEOF + +fi + + + + +for ac_func in pathconf +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + + + +for ac_header in limits.h string.h unistd.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6 + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc in + yes:no ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; + no:yes ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + eval "$as_ac_Header=$ac_header_preproc" +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 + +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + + + + echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5 +echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6 +if test "${ac_cv_search_gethostbyname+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + + ac_func_search_save_LIBS=$LIBS + ac_cv_search_gethostbyname=no + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char gethostbyname (); +int +main () +{ +gethostbyname (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_search_gethostbyname='none required' +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext + if test "$ac_cv_search_gethostbyname" = no; then + for ac_lib in inet nsl; do + LIBS="-l$ac_lib $ac_func_search_save_LIBS" + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char gethostbyname (); +int +main () +{ +gethostbyname (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_search_gethostbyname="-l$ac_lib"; break +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext + done + fi + LIBS=$ac_func_search_save_LIBS + +fi +echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5 +echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6 + + if test "$ac_cv_search_gethostbyname" = no; then : + + else + if test "$ac_cv_search_gethostbyname" = 'none required'; then : + + else + LIBS="$ac_cv_search_gethostbyname $LIBS" + + fi + fi + + + + + +for ac_func in gethostbyname gethostbyaddr inet_ntoa +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + + + + + + + +for ac_header in unistd.h string.h netdb.h sys/socket.h \ + netinet/in.h arpa/inet.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6 + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc in + yes:no ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; + no:yes ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + eval "$as_ac_Header=$ac_header_preproc" +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 + +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + + + + +for ac_header in string.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6 + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc in + yes:no ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; + no:yes ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + eval "$as_ac_Header=$ac_header_preproc" +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 + +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + + + + + +for ac_func in strerror vprintf doprnt +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + echo "$as_me:$LINENO: checking whether strerror is declared" >&5 +echo $ECHO_N "checking whether strerror is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_strerror+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +#ifndef strerror + char *p = (char *) strerror; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_have_decl_strerror=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_have_decl_strerror=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_strerror" >&5 +echo "${ECHO_T}$ac_cv_have_decl_strerror" >&6 +if test $ac_cv_have_decl_strerror = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_STRERROR 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_STRERROR 0 +_ACEOF + + +fi + + + +for ac_header in libintl.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6 + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc in + yes:no ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; + no:yes ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + eval "$as_ac_Header=$ac_header_preproc" +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 + +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + echo "$as_me:$LINENO: checking whether strerror_r is declared" >&5 +echo $ECHO_N "checking whether strerror_r is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_strerror_r+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +#ifndef strerror_r + char *p = (char *) strerror_r; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_have_decl_strerror_r=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_have_decl_strerror_r=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_strerror_r" >&5 +echo "${ECHO_T}$ac_cv_have_decl_strerror_r" >&6 +if test $ac_cv_have_decl_strerror_r = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_STRERROR_R 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_STRERROR_R 0 +_ACEOF + + +fi + + + +for ac_func in strerror_r +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + +echo "$as_me:$LINENO: checking whether strerror_r returns char *" >&5 +echo $ECHO_N "checking whether strerror_r returns char *... $ECHO_C" >&6 +if test "${ac_cv_func_strerror_r_char_p+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + + ac_cv_func_strerror_r_char_p=no + if test $ac_cv_have_decl_strerror_r = yes; then + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ + + char buf[100]; + char x = *strerror_r (0, buf, sizeof buf); + char *p = strerror_r (0, buf, sizeof buf); + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_func_strerror_r_char_p=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest.$ac_ext + else + # strerror_r is not declared. Choose between + # systems that have relatively inaccessible declarations for the + # function. BeOS and DEC UNIX 4.0 fall in this category, but the + # former has a strerror_r that returns char*, while the latter + # has a strerror_r that returns `int'. + # This test should segfault on the DEC system. + if test "$cross_compiling" = yes; then + : +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default + extern char *strerror_r (); +int +main () +{ +char buf[100]; + char x = *strerror_r (0, buf, sizeof buf); + exit (!isalpha (x)); + ; + return 0; +} +_ACEOF +rm -f conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_func_strerror_r_char_p=yes +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi + fi + +fi +echo "$as_me:$LINENO: result: $ac_cv_func_strerror_r_char_p" >&5 +echo "${ECHO_T}$ac_cv_func_strerror_r_char_p" >&6 +if test $ac_cv_func_strerror_r_char_p = yes; then + +cat >>confdefs.h <<\_ACEOF +#define STRERROR_R_CHAR_P 1 +_ACEOF + +fi + + echo "$as_me:$LINENO: checking for ANSI C header files" >&5 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 +if test "${ac_cv_header_stdc+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#include +#include +#include + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_header_stdc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_header_stdc=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext + +if test $ac_cv_header_stdc = yes; then + # SunOS 4.x string.h does not declare mem*, contrary to ANSI. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "memchr" >/dev/null 2>&1; then + : +else + ac_cv_header_stdc=no +fi +rm -f conftest* + +fi + +if test $ac_cv_header_stdc = yes; then + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "free" >/dev/null 2>&1; then + : +else + ac_cv_header_stdc=no +fi +rm -f conftest* + +fi + +if test $ac_cv_header_stdc = yes; then + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. + if test "$cross_compiling" = yes; then + : +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#if ((' ' & 0x0FF) == 0x020) +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) +#else +# define ISLOWER(c) \ + (('a' <= (c) && (c) <= 'i') \ + || ('j' <= (c) && (c) <= 'r') \ + || ('s' <= (c) && (c) <= 'z')) +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) +#endif + +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) +int +main () +{ + int i; + for (i = 0; i < 256; i++) + if (XOR (islower (i), ISLOWER (i)) + || toupper (i) != TOUPPER (i)) + exit(2); + exit (0); +} +_ACEOF +rm -f conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + : +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +( exit $ac_status ) +ac_cv_header_stdc=no +fi +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi +fi +fi +echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 +echo "${ECHO_T}$ac_cv_header_stdc" >&6 +if test $ac_cv_header_stdc = yes; then + +cat >>confdefs.h <<\_ACEOF +#define STDC_HEADERS 1 +_ACEOF + +fi + + +echo "$as_me:$LINENO: checking for mbstate_t" >&5 +echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6 +if test "${ac_cv_type_mbstate_t+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +# include +int +main () +{ +mbstate_t x; return sizeof x; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_type_mbstate_t=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_type_mbstate_t=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5 +echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6 + if test $ac_cv_type_mbstate_t = yes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_MBSTATE_T 1 +_ACEOF + + else + +cat >>confdefs.h <<\_ACEOF +#define mbstate_t int +_ACEOF + + fi + +echo "$as_me:$LINENO: checking for working GNU fnmatch" >&5 +echo $ECHO_N "checking for working GNU fnmatch... $ECHO_C" >&6 +if test "${ac_cv_func_fnmatch_gnu+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + # Some versions of Solaris, SCO, and the GNU C Library + # have a broken or incompatible fnmatch. + # So we run a test program. If we are cross-compiling, take no chance. + # Thanks to John Oleynick, Franc,ois Pinard, and Paul Eggert for this test. + if test "$cross_compiling" = yes; then + ac_cv_func_fnmatch_gnu=cross +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +# define y(a, b, c) (fnmatch (a, b, c) == 0) +# define n(a, b, c) (fnmatch (a, b, c) == FNM_NOMATCH) + +int +main () +{ +exit + (!(y ("a*", "abc", 0) + && n ("d*/*1", "d/s/1", FNM_PATHNAME) + && y ("a\\\\bc", "abc", 0) + && n ("a\\\\bc", "abc", FNM_NOESCAPE) + && y ("*x", ".x", 0) + && n ("*x", ".x", FNM_PERIOD) + && y ("xxXX", "xXxX", FNM_CASEFOLD) + && y ("a++(x|yy)b", "a+xyyyyxb", FNM_EXTMATCH) + && n ("d*/*1", "d/s/1", FNM_FILE_NAME) + && y ("*", "x", FNM_FILE_NAME | FNM_LEADING_DIR) + && y ("x*", "x/y/z", FNM_FILE_NAME | FNM_LEADING_DIR) + && y ("*c*", "c/x", FNM_FILE_NAME | FNM_LEADING_DIR))); + ; + return 0; +} +_ACEOF +rm -f conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_func_fnmatch_gnu=yes +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +( exit $ac_status ) +ac_cv_func_fnmatch_gnu=no +fi +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi +fi +echo "$as_me:$LINENO: result: $ac_cv_func_fnmatch_gnu" >&5 +echo "${ECHO_T}$ac_cv_func_fnmatch_gnu" >&6 +if test $ac_cv_func_fnmatch_gnu = yes; then + rm -f $ac_config_libobj_dir/fnmatch.h +else + echo "$as_me:$LINENO: checking whether getenv is declared" >&5 +echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_getenv+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +#ifndef getenv + char *p = (char *) getenv; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_have_decl_getenv=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_have_decl_getenv=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5 +echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6 +if test $ac_cv_have_decl_getenv = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_GETENV 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_GETENV 0 +_ACEOF + + +fi + + + + + + +for ac_func in btowc mbsrtowcs mempcpy wmempcpy +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + + +for ac_header in wchar.h wctype.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6 + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc in + yes:no ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; + no:yes ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + eval "$as_ac_Header=$ac_header_preproc" +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 + +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + +LIBOBJS="$LIBOBJS fnmatch.$ac_objext" + ac_config_links="$ac_config_links $ac_config_libobj_dir/fnmatch.h:$ac_config_libobj_dir/fnmatch_.h" + + +cat >>confdefs.h <<\_ACEOF +#define fnmatch rpl_fnmatch +_ACEOF + + +fi + + + +echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5 +echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6 +if test "${ac_cv_header_stdbool_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + + #include + #ifndef bool + "error: bool is not defined" + #endif + #ifndef false + "error: false is not defined" + #endif + #if false + "error: false is not 0" + #endif + #ifndef true + "error: false is not defined" + #endif + #if true != 1 + "error: true is not 1" + #endif + #ifndef __bool_true_false_are_defined + "error: __bool_true_false_are_defined is not defined" + #endif + + struct s { _Bool s: 1; _Bool t; } s; + + char a[true == 1 ? 1 : -1]; + char b[false == 0 ? 1 : -1]; + char c[__bool_true_false_are_defined == 1 ? 1 : -1]; + char d[(bool) -0.5 == true ? 1 : -1]; + bool e = &s; + char f[(_Bool) -0.0 == false ? 1 : -1]; + char g[true]; + char h[sizeof (_Bool)]; + char i[sizeof s.t]; + +int +main () +{ + return !a + !b + !c + !d + !e + !f + !g + !h + !i; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_header_stdbool_h=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_header_stdbool_h=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5 +echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6 + if test $ac_cv_header_stdbool_h = yes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_STDBOOL_H 1 +_ACEOF + + fi + + + + + + +for ac_func in getpagesize +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + + +for ac_header in OS.h unistd.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6 + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc in + yes:no ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; + no:yes ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + eval "$as_ac_Header=$ac_header_preproc" +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 + +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + + + + + +for ac_header in locale.h stdlib.h string.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6 + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc in + yes:no ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; + no:yes ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + eval "$as_ac_Header=$ac_header_preproc" +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 + +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + +for ac_func in setlocale +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + + + + +for ac_header in stdlib.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6 + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc in + yes:no ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; + no:yes ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + eval "$as_ac_Header=$ac_header_preproc" +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 + +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + + + + + +for ac_header in locale.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6 + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc in + yes:no ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; + no:yes ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + eval "$as_ac_Header=$ac_header_preproc" +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 + +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + echo "$as_me:$LINENO: checking whether getenv is declared" >&5 +echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_getenv+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +#ifndef getenv + char *p = (char *) getenv; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_have_decl_getenv=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_have_decl_getenv=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5 +echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6 +if test $ac_cv_have_decl_getenv = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_GETENV 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_GETENV 0 +_ACEOF + + +fi + + + +for ac_func in localeconv +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + + + + + + + + + + +for ac_header in limits.h stdlib.h string.h wchar.h wctype.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6 + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc in + yes:no ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; + no:yes ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + eval "$as_ac_Header=$ac_header_preproc" +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 + +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + + + + + +for ac_func in isascii iswcntrl iswprint mbsinit wcwidth +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + + echo "$as_me:$LINENO: checking whether mbrtowc and mbstate_t are properly declared" >&5 +echo $ECHO_N "checking whether mbrtowc and mbstate_t are properly declared... $ECHO_C" >&6 +if test "${jm_cv_func_mbrtowc+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +int +main () +{ +mbstate_t state; return ! (sizeof state && mbrtowc); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + jm_cv_func_mbrtowc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +jm_cv_func_mbrtowc=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $jm_cv_func_mbrtowc" >&5 +echo "${ECHO_T}$jm_cv_func_mbrtowc" >&6 + if test $jm_cv_func_mbrtowc = yes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_MBRTOWC 1 +_ACEOF + + fi + + + echo "$as_me:$LINENO: checking whether wcwidth is declared" >&5 +echo $ECHO_N "checking whether wcwidth is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_wcwidth+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* AIX 3.2.5 declares wcwidth in . */ +#if HAVE_STRING_H +# include +#endif +#if HAVE_WCHAR_H +# include +#endif + +int +main () +{ + +#ifndef wcwidth + char *p = (char *) wcwidth; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_have_decl_wcwidth=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_have_decl_wcwidth=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_wcwidth" >&5 +echo "${ECHO_T}$ac_cv_have_decl_wcwidth" >&6 + if test $ac_cv_have_decl_wcwidth = yes; then + ac_val=1 + else + ac_val=0 + fi + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_WCWIDTH $ac_val +_ACEOF + + + echo "$as_me:$LINENO: checking for mbstate_t" >&5 +echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6 +if test "${ac_cv_type_mbstate_t+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +# include +int +main () +{ +mbstate_t x; return sizeof x; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_type_mbstate_t=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_type_mbstate_t=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5 +echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6 + if test $ac_cv_type_mbstate_t = yes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_MBSTATE_T 1 +_ACEOF + + else + +cat >>confdefs.h <<\_ACEOF +#define mbstate_t int +_ACEOF + + fi + + + + + +for ac_header in limits.h stdlib.h bp-sym.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6 + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc in + yes:no ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; + no:yes ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + eval "$as_ac_Header=$ac_header_preproc" +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 + +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + +echo "$as_me:$LINENO: checking for external symbol _system_configuration" >&5 +echo $ECHO_N "checking for external symbol _system_configuration... $ECHO_C" >&6 +if test "${gl_cv_var__system_configuration+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include + +int +main () +{ +double x = _system_configuration.physmem; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + gl_cv_var__system_configuration=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +gl_cv_var__system_configuration=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $gl_cv_var__system_configuration" >&5 +echo "${ECHO_T}$gl_cv_var__system_configuration" >&6 + + if test $gl_cv_var__system_configuration = yes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE__SYSTEM_CONFIGURATION 1 +_ACEOF + + fi + + + + + + + + + + + + +for ac_header in unistd.h sys/pstat.h sys/sysmp.h sys/sysinfo.h \ + machine/hal_sysinfo.h sys/table.h sys/param.h sys/sysctl.h \ + sys/systemcfg.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6 + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc in + yes:no ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; + no:yes ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + eval "$as_ac_Header=$ac_header_preproc" +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 + +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + + + + + + +for ac_func in pstat_getstatic pstat_getdynamic sysmp getsysinfo sysctl table +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + + + + + +for ac_header in unistd.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6 + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc in + yes:no ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; + no:yes ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + eval "$as_ac_Header=$ac_header_preproc" +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 + +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + echo "$as_me:$LINENO: checking whether getenv is declared" >&5 +echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_getenv+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +#ifndef getenv + char *p = (char *) getenv; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_have_decl_getenv=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_have_decl_getenv=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5 +echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6 +if test $ac_cv_have_decl_getenv = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_GETENV 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_GETENV 0 +_ACEOF + + +fi + + + +echo "$as_me:$LINENO: checking for working memcmp" >&5 +echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6 +if test "${ac_cv_func_memcmp_working+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "$cross_compiling" = yes; then + ac_cv_func_memcmp_working=no +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ + + /* Some versions of memcmp are not 8-bit clean. */ + char c0 = 0x40, c1 = 0x80, c2 = 0x81; + if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0) + exit (1); + + /* The Next x86 OpenStep bug shows up only when comparing 16 bytes + or more and with at least one buffer not starting on a 4-byte boundary. + William Lewis provided this test program. */ + { + char foo[21]; + char bar[21]; + int i; + for (i = 0; i < 4; i++) + { + char *a = foo + i; + char *b = bar + i; + strcpy (a, "--------01111111"); + strcpy (b, "--------10000000"); + if (memcmp (a, b, 16) >= 0) + exit (1); + } + exit (0); + } + + ; + return 0; +} +_ACEOF +rm -f conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_func_memcmp_working=yes +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +( exit $ac_status ) +ac_cv_func_memcmp_working=no +fi +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi +fi +echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5 +echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6 +test $ac_cv_func_memcmp_working = no && LIBOBJS="$LIBOBJS memcmp.$ac_objext" + + if test $ac_cv_func_memcmp_working = no; then + +cat >>confdefs.h <<\_ACEOF +#define memcmp rpl_memcmp +_ACEOF + + fi + + + echo "$as_me:$LINENO: checking whether backslash-a works in strings" >&5 +echo $ECHO_N "checking whether backslash-a works in strings... $ECHO_C" >&6 +if test "${ac_cv_c_backslash_a+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ + +#if '\a' == 'a' + syntax error; +#endif + char buf['\a' == 'a' ? -1 : 1]; + buf[0] = '\a'; + return buf[0] != "\a"[0]; + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_c_backslash_a=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_c_backslash_a=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_c_backslash_a" >&5 +echo "${ECHO_T}$ac_cv_c_backslash_a" >&6 + if test $ac_cv_c_backslash_a = yes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_C_BACKSLASH_A 1 +_ACEOF + + fi + + + + +for ac_func in isascii iswprint +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + + + + + + + + +for ac_header in limits.h stddef.h stdlib.h string.h wchar.h wctype.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6 + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc in + yes:no ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; + no:yes ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + eval "$as_ac_Header=$ac_header_preproc" +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 + +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + + + + + + + + + + + +for ac_header in string.h utmp.h utmpx.h sys/param.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6 + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc in + yes:no ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; + no:yes ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + eval "$as_ac_Header=$ac_header_preproc" +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 + +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + +for ac_func in utmpname +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + +for ac_func in utmpxname +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + + + if test $ac_cv_header_utmp_h = yes || test $ac_cv_header_utmpx_h = yes; then + utmp_includes="\ +$ac_includes_default +#ifdef HAVE_UTMPX_H +# include +#endif +#ifdef HAVE_UTMP_H +# include +#endif +" + echo "$as_me:$LINENO: checking for struct utmpx.ut_user" >&5 +echo $ECHO_N "checking for struct utmpx.ut_user... $ECHO_C" >&6 +if test "${ac_cv_member_struct_utmpx_ut_user+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$utmp_includes + +int +main () +{ +static struct utmpx ac_aggr; +if (ac_aggr.ut_user) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_member_struct_utmpx_ut_user=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$utmp_includes + +int +main () +{ +static struct utmpx ac_aggr; +if (sizeof ac_aggr.ut_user) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_member_struct_utmpx_ut_user=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_member_struct_utmpx_ut_user=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmpx_ut_user" >&5 +echo "${ECHO_T}$ac_cv_member_struct_utmpx_ut_user" >&6 +if test $ac_cv_member_struct_utmpx_ut_user = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_STRUCT_UTMPX_UT_USER 1 +_ACEOF + + +fi + + echo "$as_me:$LINENO: checking for struct utmp.ut_user" >&5 +echo $ECHO_N "checking for struct utmp.ut_user... $ECHO_C" >&6 +if test "${ac_cv_member_struct_utmp_ut_user+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$utmp_includes + +int +main () +{ +static struct utmp ac_aggr; +if (ac_aggr.ut_user) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_member_struct_utmp_ut_user=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$utmp_includes + +int +main () +{ +static struct utmp ac_aggr; +if (sizeof ac_aggr.ut_user) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_member_struct_utmp_ut_user=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_member_struct_utmp_ut_user=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmp_ut_user" >&5 +echo "${ECHO_T}$ac_cv_member_struct_utmp_ut_user" >&6 +if test $ac_cv_member_struct_utmp_ut_user = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_STRUCT_UTMP_UT_USER 1 +_ACEOF + + +fi + + echo "$as_me:$LINENO: checking for struct utmpx.ut_name" >&5 +echo $ECHO_N "checking for struct utmpx.ut_name... $ECHO_C" >&6 +if test "${ac_cv_member_struct_utmpx_ut_name+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$utmp_includes + +int +main () +{ +static struct utmpx ac_aggr; +if (ac_aggr.ut_name) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_member_struct_utmpx_ut_name=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$utmp_includes + +int +main () +{ +static struct utmpx ac_aggr; +if (sizeof ac_aggr.ut_name) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_member_struct_utmpx_ut_name=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_member_struct_utmpx_ut_name=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmpx_ut_name" >&5 +echo "${ECHO_T}$ac_cv_member_struct_utmpx_ut_name" >&6 +if test $ac_cv_member_struct_utmpx_ut_name = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_STRUCT_UTMPX_UT_NAME 1 +_ACEOF + + +fi + + echo "$as_me:$LINENO: checking for struct utmp.ut_name" >&5 +echo $ECHO_N "checking for struct utmp.ut_name... $ECHO_C" >&6 +if test "${ac_cv_member_struct_utmp_ut_name+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$utmp_includes + +int +main () +{ +static struct utmp ac_aggr; +if (ac_aggr.ut_name) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_member_struct_utmp_ut_name=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$utmp_includes + +int +main () +{ +static struct utmp ac_aggr; +if (sizeof ac_aggr.ut_name) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_member_struct_utmp_ut_name=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_member_struct_utmp_ut_name=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmp_ut_name" >&5 +echo "${ECHO_T}$ac_cv_member_struct_utmp_ut_name" >&6 +if test $ac_cv_member_struct_utmp_ut_name = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_STRUCT_UTMP_UT_NAME 1 +_ACEOF + + +fi + + echo "$as_me:$LINENO: checking for struct utmpx.ut_type" >&5 +echo $ECHO_N "checking for struct utmpx.ut_type... $ECHO_C" >&6 +if test "${ac_cv_member_struct_utmpx_ut_type+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$utmp_includes + +int +main () +{ +static struct utmpx ac_aggr; +if (ac_aggr.ut_type) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_member_struct_utmpx_ut_type=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$utmp_includes + +int +main () +{ +static struct utmpx ac_aggr; +if (sizeof ac_aggr.ut_type) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_member_struct_utmpx_ut_type=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_member_struct_utmpx_ut_type=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmpx_ut_type" >&5 +echo "${ECHO_T}$ac_cv_member_struct_utmpx_ut_type" >&6 +if test $ac_cv_member_struct_utmpx_ut_type = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_STRUCT_UTMPX_UT_TYPE 1 +_ACEOF + + +fi + + echo "$as_me:$LINENO: checking for struct utmp.ut_type" >&5 +echo $ECHO_N "checking for struct utmp.ut_type... $ECHO_C" >&6 +if test "${ac_cv_member_struct_utmp_ut_type+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$utmp_includes + +int +main () +{ +static struct utmp ac_aggr; +if (ac_aggr.ut_type) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_member_struct_utmp_ut_type=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$utmp_includes + +int +main () +{ +static struct utmp ac_aggr; +if (sizeof ac_aggr.ut_type) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_member_struct_utmp_ut_type=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_member_struct_utmp_ut_type=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmp_ut_type" >&5 +echo "${ECHO_T}$ac_cv_member_struct_utmp_ut_type" >&6 +if test $ac_cv_member_struct_utmp_ut_type = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_STRUCT_UTMP_UT_TYPE 1 +_ACEOF + + +fi + + echo "$as_me:$LINENO: checking for struct utmpx.ut_pid" >&5 +echo $ECHO_N "checking for struct utmpx.ut_pid... $ECHO_C" >&6 +if test "${ac_cv_member_struct_utmpx_ut_pid+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$utmp_includes + +int +main () +{ +static struct utmpx ac_aggr; +if (ac_aggr.ut_pid) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_member_struct_utmpx_ut_pid=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$utmp_includes + +int +main () +{ +static struct utmpx ac_aggr; +if (sizeof ac_aggr.ut_pid) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_member_struct_utmpx_ut_pid=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_member_struct_utmpx_ut_pid=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmpx_ut_pid" >&5 +echo "${ECHO_T}$ac_cv_member_struct_utmpx_ut_pid" >&6 +if test $ac_cv_member_struct_utmpx_ut_pid = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_STRUCT_UTMPX_UT_PID 1 +_ACEOF + + +fi + + echo "$as_me:$LINENO: checking for struct utmp.ut_pid" >&5 +echo $ECHO_N "checking for struct utmp.ut_pid... $ECHO_C" >&6 +if test "${ac_cv_member_struct_utmp_ut_pid+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$utmp_includes + +int +main () +{ +static struct utmp ac_aggr; +if (ac_aggr.ut_pid) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_member_struct_utmp_ut_pid=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$utmp_includes + +int +main () +{ +static struct utmp ac_aggr; +if (sizeof ac_aggr.ut_pid) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_member_struct_utmp_ut_pid=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_member_struct_utmp_ut_pid=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmp_ut_pid" >&5 +echo "${ECHO_T}$ac_cv_member_struct_utmp_ut_pid" >&6 +if test $ac_cv_member_struct_utmp_ut_pid = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_STRUCT_UTMP_UT_PID 1 +_ACEOF + + +fi + + echo "$as_me:$LINENO: checking for struct utmpx.ut_id" >&5 +echo $ECHO_N "checking for struct utmpx.ut_id... $ECHO_C" >&6 +if test "${ac_cv_member_struct_utmpx_ut_id+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$utmp_includes + +int +main () +{ +static struct utmpx ac_aggr; +if (ac_aggr.ut_id) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_member_struct_utmpx_ut_id=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$utmp_includes + +int +main () +{ +static struct utmpx ac_aggr; +if (sizeof ac_aggr.ut_id) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_member_struct_utmpx_ut_id=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_member_struct_utmpx_ut_id=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmpx_ut_id" >&5 +echo "${ECHO_T}$ac_cv_member_struct_utmpx_ut_id" >&6 +if test $ac_cv_member_struct_utmpx_ut_id = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_STRUCT_UTMPX_UT_ID 1 +_ACEOF + + +fi + + echo "$as_me:$LINENO: checking for struct utmp.ut_id" >&5 +echo $ECHO_N "checking for struct utmp.ut_id... $ECHO_C" >&6 +if test "${ac_cv_member_struct_utmp_ut_id+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$utmp_includes + +int +main () +{ +static struct utmp ac_aggr; +if (ac_aggr.ut_id) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_member_struct_utmp_ut_id=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$utmp_includes + +int +main () +{ +static struct utmp ac_aggr; +if (sizeof ac_aggr.ut_id) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_member_struct_utmp_ut_id=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_member_struct_utmp_ut_id=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmp_ut_id" >&5 +echo "${ECHO_T}$ac_cv_member_struct_utmp_ut_id" >&6 +if test $ac_cv_member_struct_utmp_ut_id = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_STRUCT_UTMP_UT_ID 1 +_ACEOF + + +fi + + + echo "$as_me:$LINENO: checking for struct utmpx.ut_exit.ut_exit" >&5 +echo $ECHO_N "checking for struct utmpx.ut_exit.ut_exit... $ECHO_C" >&6 +if test "${ac_cv_member_struct_utmpx_ut_exit_ut_exit+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$utmp_includes + +int +main () +{ +static struct utmpx ac_aggr; +if (ac_aggr.ut_exit.ut_exit) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_member_struct_utmpx_ut_exit_ut_exit=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$utmp_includes + +int +main () +{ +static struct utmpx ac_aggr; +if (sizeof ac_aggr.ut_exit.ut_exit) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_member_struct_utmpx_ut_exit_ut_exit=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_member_struct_utmpx_ut_exit_ut_exit=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmpx_ut_exit_ut_exit" >&5 +echo "${ECHO_T}$ac_cv_member_struct_utmpx_ut_exit_ut_exit" >&6 +if test $ac_cv_member_struct_utmpx_ut_exit_ut_exit = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_STRUCT_UTMPX_UT_EXIT_UT_EXIT 1 +_ACEOF + + +fi + + echo "$as_me:$LINENO: checking for struct utmp.ut_exit.ut_exit" >&5 +echo $ECHO_N "checking for struct utmp.ut_exit.ut_exit... $ECHO_C" >&6 +if test "${ac_cv_member_struct_utmp_ut_exit_ut_exit+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$utmp_includes + +int +main () +{ +static struct utmp ac_aggr; +if (ac_aggr.ut_exit.ut_exit) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_member_struct_utmp_ut_exit_ut_exit=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$utmp_includes + +int +main () +{ +static struct utmp ac_aggr; +if (sizeof ac_aggr.ut_exit.ut_exit) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_member_struct_utmp_ut_exit_ut_exit=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_member_struct_utmp_ut_exit_ut_exit=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmp_ut_exit_ut_exit" >&5 +echo "${ECHO_T}$ac_cv_member_struct_utmp_ut_exit_ut_exit" >&6 +if test $ac_cv_member_struct_utmp_ut_exit_ut_exit = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_STRUCT_UTMP_UT_EXIT_UT_EXIT 1 +_ACEOF + + +fi + + echo "$as_me:$LINENO: checking for struct utmpx.ut_exit.e_exit" >&5 +echo $ECHO_N "checking for struct utmpx.ut_exit.e_exit... $ECHO_C" >&6 +if test "${ac_cv_member_struct_utmpx_ut_exit_e_exit+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$utmp_includes + +int +main () +{ +static struct utmpx ac_aggr; +if (ac_aggr.ut_exit.e_exit) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_member_struct_utmpx_ut_exit_e_exit=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$utmp_includes + +int +main () +{ +static struct utmpx ac_aggr; +if (sizeof ac_aggr.ut_exit.e_exit) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_member_struct_utmpx_ut_exit_e_exit=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_member_struct_utmpx_ut_exit_e_exit=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmpx_ut_exit_e_exit" >&5 +echo "${ECHO_T}$ac_cv_member_struct_utmpx_ut_exit_e_exit" >&6 +if test $ac_cv_member_struct_utmpx_ut_exit_e_exit = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_STRUCT_UTMPX_UT_EXIT_E_EXIT 1 +_ACEOF + + +fi + + echo "$as_me:$LINENO: checking for struct utmp.ut_exit.e_exit" >&5 +echo $ECHO_N "checking for struct utmp.ut_exit.e_exit... $ECHO_C" >&6 +if test "${ac_cv_member_struct_utmp_ut_exit_e_exit+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$utmp_includes + +int +main () +{ +static struct utmp ac_aggr; +if (ac_aggr.ut_exit.e_exit) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_member_struct_utmp_ut_exit_e_exit=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$utmp_includes + +int +main () +{ +static struct utmp ac_aggr; +if (sizeof ac_aggr.ut_exit.e_exit) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_member_struct_utmp_ut_exit_e_exit=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_member_struct_utmp_ut_exit_e_exit=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmp_ut_exit_e_exit" >&5 +echo "${ECHO_T}$ac_cv_member_struct_utmp_ut_exit_e_exit" >&6 +if test $ac_cv_member_struct_utmp_ut_exit_e_exit = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_STRUCT_UTMP_UT_EXIT_E_EXIT 1 +_ACEOF + + +fi + + + echo "$as_me:$LINENO: checking for struct utmpx.ut_exit.ut_termination" >&5 +echo $ECHO_N "checking for struct utmpx.ut_exit.ut_termination... $ECHO_C" >&6 +if test "${ac_cv_member_struct_utmpx_ut_exit_ut_termination+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$utmp_includes + +int +main () +{ +static struct utmpx ac_aggr; +if (ac_aggr.ut_exit.ut_termination) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_member_struct_utmpx_ut_exit_ut_termination=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$utmp_includes + +int +main () +{ +static struct utmpx ac_aggr; +if (sizeof ac_aggr.ut_exit.ut_termination) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_member_struct_utmpx_ut_exit_ut_termination=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_member_struct_utmpx_ut_exit_ut_termination=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmpx_ut_exit_ut_termination" >&5 +echo "${ECHO_T}$ac_cv_member_struct_utmpx_ut_exit_ut_termination" >&6 +if test $ac_cv_member_struct_utmpx_ut_exit_ut_termination = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_STRUCT_UTMPX_UT_EXIT_UT_TERMINATION 1 +_ACEOF + + +fi + + echo "$as_me:$LINENO: checking for struct utmp.ut_exit.ut_termination" >&5 +echo $ECHO_N "checking for struct utmp.ut_exit.ut_termination... $ECHO_C" >&6 +if test "${ac_cv_member_struct_utmp_ut_exit_ut_termination+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$utmp_includes + +int +main () +{ +static struct utmp ac_aggr; +if (ac_aggr.ut_exit.ut_termination) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_member_struct_utmp_ut_exit_ut_termination=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$utmp_includes + +int +main () +{ +static struct utmp ac_aggr; +if (sizeof ac_aggr.ut_exit.ut_termination) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_member_struct_utmp_ut_exit_ut_termination=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_member_struct_utmp_ut_exit_ut_termination=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmp_ut_exit_ut_termination" >&5 +echo "${ECHO_T}$ac_cv_member_struct_utmp_ut_exit_ut_termination" >&6 +if test $ac_cv_member_struct_utmp_ut_exit_ut_termination = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_STRUCT_UTMP_UT_EXIT_UT_TERMINATION 1 +_ACEOF + + +fi + + echo "$as_me:$LINENO: checking for struct utmpx.ut_exit.e_termination" >&5 +echo $ECHO_N "checking for struct utmpx.ut_exit.e_termination... $ECHO_C" >&6 +if test "${ac_cv_member_struct_utmpx_ut_exit_e_termination+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$utmp_includes + +int +main () +{ +static struct utmpx ac_aggr; +if (ac_aggr.ut_exit.e_termination) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_member_struct_utmpx_ut_exit_e_termination=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$utmp_includes + +int +main () +{ +static struct utmpx ac_aggr; +if (sizeof ac_aggr.ut_exit.e_termination) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_member_struct_utmpx_ut_exit_e_termination=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_member_struct_utmpx_ut_exit_e_termination=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmpx_ut_exit_e_termination" >&5 +echo "${ECHO_T}$ac_cv_member_struct_utmpx_ut_exit_e_termination" >&6 +if test $ac_cv_member_struct_utmpx_ut_exit_e_termination = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_STRUCT_UTMPX_UT_EXIT_E_TERMINATION 1 +_ACEOF + + +fi + + echo "$as_me:$LINENO: checking for struct utmp.ut_exit.e_termination" >&5 +echo $ECHO_N "checking for struct utmp.ut_exit.e_termination... $ECHO_C" >&6 +if test "${ac_cv_member_struct_utmp_ut_exit_e_termination+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$utmp_includes + +int +main () +{ +static struct utmp ac_aggr; +if (ac_aggr.ut_exit.e_termination) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_member_struct_utmp_ut_exit_e_termination=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$utmp_includes + +int +main () +{ +static struct utmp ac_aggr; +if (sizeof ac_aggr.ut_exit.e_termination) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_member_struct_utmp_ut_exit_e_termination=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_member_struct_utmp_ut_exit_e_termination=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmp_ut_exit_e_termination" >&5 +echo "${ECHO_T}$ac_cv_member_struct_utmp_ut_exit_e_termination" >&6 +if test $ac_cv_member_struct_utmp_ut_exit_e_termination = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_STRUCT_UTMP_UT_EXIT_E_TERMINATION 1 +_ACEOF + + +fi + + LIBOBJS="$LIBOBJS readutmp.$ac_objext" + fi + + + echo "$as_me:$LINENO: checking for long long" >&5 +echo $ECHO_N "checking for long long... $ECHO_C" >&6 +if test "${ac_cv_type_long_long+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +long long ll = 1; int i = 63; +int +main () +{ +long long llmax = (long long) -1; + return ll << i | ll >> i | llmax / ll | llmax % ll; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_type_long_long=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_type_long_long=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5 +echo "${ECHO_T}$ac_cv_type_long_long" >&6 + if test $ac_cv_type_long_long = yes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_LONG_LONG 1 +_ACEOF + + fi + + + + + + +for ac_header in sys/sysmacros.h sys/statvfs.h sys/vfs.h inttypes.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6 + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc in + yes:no ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; + no:yes ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + eval "$as_ac_Header=$ac_header_preproc" +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 + +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + + +for ac_header in sys/param.h sys/mount.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6 + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc in + yes:no ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; + no:yes ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + eval "$as_ac_Header=$ac_header_preproc" +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 + +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + +for ac_func in statvfs +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + + + statxfs_includes="\ +$ac_includes_default +#if HAVE_SYS_STATVFS_H +# include +#endif +#if HAVE_SYS_VFS_H +# include +#endif +#if ( ! HAVE_SYS_STATVFS_H && ! HAVE_SYS_VFS_H && HAVE_SYS_MOUNT_H && HAVE_SYS_PARAM_H ) +/* NetBSD 1.5.2 needs these, for the declaration of struct statfs. */ +# include +# include +#endif +" + echo "$as_me:$LINENO: checking for struct statfs.f_basetype" >&5 +echo $ECHO_N "checking for struct statfs.f_basetype... $ECHO_C" >&6 +if test "${ac_cv_member_struct_statfs_f_basetype+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$statxfs_includes + +int +main () +{ +static struct statfs ac_aggr; +if (ac_aggr.f_basetype) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_member_struct_statfs_f_basetype=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$statxfs_includes + +int +main () +{ +static struct statfs ac_aggr; +if (sizeof ac_aggr.f_basetype) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_member_struct_statfs_f_basetype=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_member_struct_statfs_f_basetype=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_basetype" >&5 +echo "${ECHO_T}$ac_cv_member_struct_statfs_f_basetype" >&6 +if test $ac_cv_member_struct_statfs_f_basetype = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_STRUCT_STATFS_F_BASETYPE 1 +_ACEOF + + +fi + + echo "$as_me:$LINENO: checking for struct statvfs.f_basetype" >&5 +echo $ECHO_N "checking for struct statvfs.f_basetype... $ECHO_C" >&6 +if test "${ac_cv_member_struct_statvfs_f_basetype+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$statxfs_includes + +int +main () +{ +static struct statvfs ac_aggr; +if (ac_aggr.f_basetype) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_member_struct_statvfs_f_basetype=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$statxfs_includes + +int +main () +{ +static struct statvfs ac_aggr; +if (sizeof ac_aggr.f_basetype) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_member_struct_statvfs_f_basetype=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_member_struct_statvfs_f_basetype=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_basetype" >&5 +echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_basetype" >&6 +if test $ac_cv_member_struct_statvfs_f_basetype = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_STRUCT_STATVFS_F_BASETYPE 1 +_ACEOF + + +fi + + echo "$as_me:$LINENO: checking for struct statfs.f_fstypename" >&5 +echo $ECHO_N "checking for struct statfs.f_fstypename... $ECHO_C" >&6 +if test "${ac_cv_member_struct_statfs_f_fstypename+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$statxfs_includes + +int +main () +{ +static struct statfs ac_aggr; +if (ac_aggr.f_fstypename) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_member_struct_statfs_f_fstypename=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$statxfs_includes + +int +main () +{ +static struct statfs ac_aggr; +if (sizeof ac_aggr.f_fstypename) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_member_struct_statfs_f_fstypename=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_member_struct_statfs_f_fstypename=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_fstypename" >&5 +echo "${ECHO_T}$ac_cv_member_struct_statfs_f_fstypename" >&6 +if test $ac_cv_member_struct_statfs_f_fstypename = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_STRUCT_STATFS_F_FSTYPENAME 1 +_ACEOF + + +fi + + echo "$as_me:$LINENO: checking for struct statfs.f_type" >&5 +echo $ECHO_N "checking for struct statfs.f_type... $ECHO_C" >&6 +if test "${ac_cv_member_struct_statfs_f_type+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$statxfs_includes + +int +main () +{ +static struct statfs ac_aggr; +if (ac_aggr.f_type) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_member_struct_statfs_f_type=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$statxfs_includes + +int +main () +{ +static struct statfs ac_aggr; +if (sizeof ac_aggr.f_type) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_member_struct_statfs_f_type=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_member_struct_statfs_f_type=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_type" >&5 +echo "${ECHO_T}$ac_cv_member_struct_statfs_f_type" >&6 +if test $ac_cv_member_struct_statfs_f_type = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_STRUCT_STATFS_F_TYPE 1 +_ACEOF + + +fi + + echo "$as_me:$LINENO: checking for struct statvfs.f_type" >&5 +echo $ECHO_N "checking for struct statvfs.f_type... $ECHO_C" >&6 +if test "${ac_cv_member_struct_statvfs_f_type+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$statxfs_includes + +int +main () +{ +static struct statvfs ac_aggr; +if (ac_aggr.f_type) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_member_struct_statvfs_f_type=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$statxfs_includes + +int +main () +{ +static struct statvfs ac_aggr; +if (sizeof ac_aggr.f_type) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_member_struct_statvfs_f_type=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_member_struct_statvfs_f_type=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_type" >&5 +echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_type" >&6 +if test $ac_cv_member_struct_statvfs_f_type = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_STRUCT_STATVFS_F_TYPE 1 +_ACEOF + + +fi + + echo "$as_me:$LINENO: checking for struct statfs.f_fsid.__val" >&5 +echo $ECHO_N "checking for struct statfs.f_fsid.__val... $ECHO_C" >&6 +if test "${ac_cv_member_struct_statfs_f_fsid___val+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$statxfs_includes + +int +main () +{ +static struct statfs ac_aggr; +if (ac_aggr.f_fsid.__val) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_member_struct_statfs_f_fsid___val=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$statxfs_includes + +int +main () +{ +static struct statfs ac_aggr; +if (sizeof ac_aggr.f_fsid.__val) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_member_struct_statfs_f_fsid___val=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_member_struct_statfs_f_fsid___val=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_fsid___val" >&5 +echo "${ECHO_T}$ac_cv_member_struct_statfs_f_fsid___val" >&6 +if test $ac_cv_member_struct_statfs_f_fsid___val = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_STRUCT_STATFS_F_FSID___VAL 1 +_ACEOF + + +fi + + echo "$as_me:$LINENO: checking for struct statvfs.f_fsid.__val" >&5 +echo $ECHO_N "checking for struct statvfs.f_fsid.__val... $ECHO_C" >&6 +if test "${ac_cv_member_struct_statvfs_f_fsid___val+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$statxfs_includes + +int +main () +{ +static struct statvfs ac_aggr; +if (ac_aggr.f_fsid.__val) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_member_struct_statvfs_f_fsid___val=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$statxfs_includes + +int +main () +{ +static struct statvfs ac_aggr; +if (sizeof ac_aggr.f_fsid.__val) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_member_struct_statvfs_f_fsid___val=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_member_struct_statvfs_f_fsid___val=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_fsid___val" >&5 +echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_fsid___val" >&6 +if test $ac_cv_member_struct_statvfs_f_fsid___val = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_STRUCT_STATVFS_F_FSID___VAL 1 +_ACEOF + + +fi + + echo "$as_me:$LINENO: checking for struct statfs.f_namemax" >&5 +echo $ECHO_N "checking for struct statfs.f_namemax... $ECHO_C" >&6 +if test "${ac_cv_member_struct_statfs_f_namemax+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$statxfs_includes + +int +main () +{ +static struct statfs ac_aggr; +if (ac_aggr.f_namemax) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_member_struct_statfs_f_namemax=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$statxfs_includes + +int +main () +{ +static struct statfs ac_aggr; +if (sizeof ac_aggr.f_namemax) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_member_struct_statfs_f_namemax=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_member_struct_statfs_f_namemax=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namemax" >&5 +echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namemax" >&6 +if test $ac_cv_member_struct_statfs_f_namemax = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_STRUCT_STATFS_F_NAMEMAX 1 +_ACEOF + + +fi + + echo "$as_me:$LINENO: checking for struct statvfs.f_namemax" >&5 +echo $ECHO_N "checking for struct statvfs.f_namemax... $ECHO_C" >&6 +if test "${ac_cv_member_struct_statvfs_f_namemax+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$statxfs_includes + +int +main () +{ +static struct statvfs ac_aggr; +if (ac_aggr.f_namemax) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_member_struct_statvfs_f_namemax=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$statxfs_includes + +int +main () +{ +static struct statvfs ac_aggr; +if (sizeof ac_aggr.f_namemax) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_member_struct_statvfs_f_namemax=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_member_struct_statvfs_f_namemax=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_namemax" >&5 +echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_namemax" >&6 +if test $ac_cv_member_struct_statvfs_f_namemax = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 +_ACEOF + + +fi + + echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5 +echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6 +if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$statxfs_includes + +int +main () +{ +static struct statfs ac_aggr; +if (ac_aggr.f_namelen) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_member_struct_statfs_f_namelen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$statxfs_includes + +int +main () +{ +static struct statfs ac_aggr; +if (sizeof ac_aggr.f_namelen) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_member_struct_statfs_f_namelen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_member_struct_statfs_f_namelen=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5 +echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6 +if test $ac_cv_member_struct_statfs_f_namelen = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_STRUCT_STATFS_F_NAMELEN 1 +_ACEOF + + +fi + + echo "$as_me:$LINENO: checking for struct statvfs.f_namelen" >&5 +echo $ECHO_N "checking for struct statvfs.f_namelen... $ECHO_C" >&6 +if test "${ac_cv_member_struct_statvfs_f_namelen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$statxfs_includes + +int +main () +{ +static struct statvfs ac_aggr; +if (ac_aggr.f_namelen) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_member_struct_statvfs_f_namelen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$statxfs_includes + +int +main () +{ +static struct statvfs ac_aggr; +if (sizeof ac_aggr.f_namelen) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_member_struct_statvfs_f_namelen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_member_struct_statvfs_f_namelen=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_namelen" >&5 +echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_namelen" >&6 +if test $ac_cv_member_struct_statvfs_f_namelen = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_STRUCT_STATVFS_F_NAMELEN 1 +_ACEOF + + +fi + + +echo "$as_me:$LINENO: checking for working strnlen" >&5 +echo $ECHO_N "checking for working strnlen... $ECHO_C" >&6 +if test "${ac_cv_func_strnlen_working+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "$cross_compiling" = yes; then + ac_cv_func_strnlen_working=no +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ + +#define S "foobar" +#define S_LEN (sizeof S - 1) + + /* At least one implementation is buggy: that of AIX 4.3 would + give strnlen (S, 1) == 3. */ + + int i; + for (i = 0; i < S_LEN + 1; ++i) + { + int expected = i <= S_LEN ? i : S_LEN; + if (strnlen (S, i) != expected) + exit (1); + } + exit (0); + + ; + return 0; +} +_ACEOF +rm -f conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_func_strnlen_working=yes +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +( exit $ac_status ) +ac_cv_func_strnlen_working=no +fi +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi +fi +echo "$as_me:$LINENO: result: $ac_cv_func_strnlen_working" >&5 +echo "${ECHO_T}$ac_cv_func_strnlen_working" >&6 +test $ac_cv_func_strnlen_working = no && LIBOBJS="$LIBOBJS strnlen.$ac_objext" + + + + + +for ac_header in memory.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6 + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc in + yes:no ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; + no:yes ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + eval "$as_ac_Header=$ac_header_preproc" +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 + +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + echo "$as_me:$LINENO: checking whether memchr is declared" >&5 +echo $ECHO_N "checking whether memchr is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_memchr+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +#ifndef memchr + char *p = (char *) memchr; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_have_decl_memchr=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_have_decl_memchr=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_memchr" >&5 +echo "${ECHO_T}$ac_cv_have_decl_memchr" >&6 +if test $ac_cv_have_decl_memchr = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_MEMCHR 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_MEMCHR 0 +_ACEOF + + +fi + + + + # This is necessary because automake-1.6.1 doesn't understand + # that the above use of AC_FUNC_STRNLEN means we may have to use + # lib/strnlen.c. + test $ac_cv_func_strnlen_working = yes \ + && LIBOBJS="$LIBOBJS strnlen.$ac_objext" + + + + + + + + +for ac_header in fcntl.h sys/time.h stdint.h unistd.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6 + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc in + yes:no ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; + no:yes ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + eval "$as_ac_Header=$ac_header_preproc" +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 + +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + + +for ac_func in __secure_getenv gettimeofday +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + echo "$as_me:$LINENO: checking whether getenv is declared" >&5 +echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_getenv+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +#ifndef getenv + char *p = (char *) getenv; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_have_decl_getenv=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_have_decl_getenv=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5 +echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6 +if test $ac_cv_have_decl_getenv = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_GETENV 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_GETENV 0 +_ACEOF + + +fi + + + + +echo "$as_me:$LINENO: checking for function prototypes" >&5 +echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6 +if test "$ac_cv_prog_cc_stdc" != no; then + echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 + +cat >>confdefs.h <<\_ACEOF +#define PROTOTYPES 1 +_ACEOF + + +cat >>confdefs.h <<\_ACEOF +#define __PROTOTYPES 1 +_ACEOF + +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + + +for ac_header in stdlib.h unistd.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6 + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc in + yes:no ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; + no:yes ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + eval "$as_ac_Header=$ac_header_preproc" +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 + +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + echo "$as_me:$LINENO: checking whether getcwd (NULL, 0) allocates memory for result" >&5 +echo $ECHO_N "checking whether getcwd (NULL, 0) allocates memory for result... $ECHO_C" >&6 +if test "${ac_cv_func_getcwd_null+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "$cross_compiling" = yes; then + ac_cv_func_getcwd_null=no +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +# ifdef HAVE_STDLIB_H +# include +# endif +# ifdef HAVE_UNISTD_H +# include +# endif +# ifndef getcwd + char *getcwd (); +# endif + int + main () + { + if (chdir ("/") != 0) + exit (1); + else + { + char *f = getcwd (NULL, 0); + exit (! (f && f[0] == '/' && !f[1])); + } + } +_ACEOF +rm -f conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_func_getcwd_null=yes +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +( exit $ac_status ) +ac_cv_func_getcwd_null=no +fi +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi +fi +echo "$as_me:$LINENO: result: $ac_cv_func_getcwd_null" >&5 +echo "${ECHO_T}$ac_cv_func_getcwd_null" >&6 + if test $ac_cv_func_getcwd_null = yes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_GETCWD_NULL 1 +_ACEOF + + fi + + + + + + +for ac_header in limits.h stdlib.h sys/param.h unistd.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6 + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc in + yes:no ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; + no:yes ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + eval "$as_ac_Header=$ac_header_preproc" +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 + +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + +for ac_func in getcwd +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + + + + + + + + +for ac_header in limits.h stdlib.h sys/types.h unistd.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6 + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc in + yes:no ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; + no:yes ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + eval "$as_ac_Header=$ac_header_preproc" +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 + +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + + + + + # We don't yet use c-stack.c. + # AC_REQUIRE([jm_PREREQ_C_STACK]) + + + + + + + + + + + + + + + + + + # called by mkstemp + + + + + + + + + + + + +ac_header_dirent=no +for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do + as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5 +echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#include <$ac_hdr> + +int +main () +{ +if ((DIR *) 0) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_Header=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_Header=no" +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 +_ACEOF + +ac_header_dirent=$ac_hdr; break +fi + +done +# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. +if test $ac_header_dirent = dirent.h; then + + echo "$as_me:$LINENO: checking for library containing opendir" >&5 +echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 +if test "${ac_cv_search_opendir+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + + ac_func_search_save_LIBS=$LIBS + ac_cv_search_opendir=no + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char opendir (); +int +main () +{ +opendir (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_search_opendir='none required' +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext + if test "$ac_cv_search_opendir" = no; then + for ac_lib in dir; do + LIBS="-l$ac_lib $ac_func_search_save_LIBS" + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char opendir (); +int +main () +{ +opendir (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_search_opendir="-l$ac_lib"; break +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext + done + fi + LIBS=$ac_func_search_save_LIBS + +fi +echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 +echo "${ECHO_T}$ac_cv_search_opendir" >&6 + + if test "$ac_cv_search_opendir" = no; then : + + else + if test "$ac_cv_search_opendir" = 'none required'; then : + + else + LIBS="$ac_cv_search_opendir $LIBS" + + fi + fi + +else + + echo "$as_me:$LINENO: checking for library containing opendir" >&5 +echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 +if test "${ac_cv_search_opendir+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + + ac_func_search_save_LIBS=$LIBS + ac_cv_search_opendir=no + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char opendir (); +int +main () +{ +opendir (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_search_opendir='none required' +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext + if test "$ac_cv_search_opendir" = no; then + for ac_lib in x; do + LIBS="-l$ac_lib $ac_func_search_save_LIBS" + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char opendir (); +int +main () +{ +opendir (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_search_opendir="-l$ac_lib"; break +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext + done + fi + LIBS=$ac_func_search_save_LIBS + +fi +echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 +echo "${ECHO_T}$ac_cv_search_opendir" >&6 + + if test "$ac_cv_search_opendir" = no; then : + + else + if test "$ac_cv_search_opendir" = 'none required'; then : + + else + LIBS="$ac_cv_search_opendir $LIBS" + + fi + fi + +fi + + dirfd_headers=' +#if HAVE_DIRENT_H +# include +#else /* not HAVE_DIRENT_H */ +# define dirent direct +# if HAVE_SYS_NDIR_H +# include +# endif /* HAVE_SYS_NDIR_H */ +# if HAVE_SYS_DIR_H +# include +# endif /* HAVE_SYS_DIR_H */ +# if HAVE_NDIR_H +# include +# endif /* HAVE_NDIR_H */ +#endif /* HAVE_DIRENT_H */ +' + +for ac_func in dirfd +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + echo "$as_me:$LINENO: checking whether dirfd is declared" >&5 +echo $ECHO_N "checking whether dirfd is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_dirfd+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$dirfd_headers + +int +main () +{ +#ifndef dirfd + char *p = (char *) dirfd; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_have_decl_dirfd=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_have_decl_dirfd=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_dirfd" >&5 +echo "${ECHO_T}$ac_cv_have_decl_dirfd" >&6 +if test $ac_cv_have_decl_dirfd = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_DIRFD 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_DIRFD 0 +_ACEOF + + +fi + + + + echo "$as_me:$LINENO: checking whether dirfd is a macro" >&5 +echo $ECHO_N "checking whether dirfd is a macro... $ECHO_C" >&6 +if test "${jm_cv_func_dirfd_macro+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$dirfd_headers +#ifdef dirfd + dirent_header_defines_dirfd +#endif +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "dirent_header_defines_dirfd" >/dev/null 2>&1; then + jm_cv_func_dirfd_macro=yes +else + jm_cv_func_dirfd_macro=no +fi +rm -f conftest* + +fi +echo "$as_me:$LINENO: result: $jm_cv_func_dirfd_macro" >&5 +echo "${ECHO_T}$jm_cv_func_dirfd_macro" >&6 + + # Use the replacement only if we have no function, macro, + # or declaration with that name. + if test $ac_cv_func_dirfd,$ac_cv_have_decl_dirfd,$jm_cv_func_dirfd_macro \ + = no,no,no; then + +for ac_func in dirfd +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +else + LIBOBJS="$LIBOBJS $ac_func.$ac_objext" +fi +done + + + echo "$as_me:$LINENO: checking how to get the file descriptor associated with an open DIR*" >&5 +echo $ECHO_N "checking how to get the file descriptor associated with an open DIR*... $ECHO_C" >&6 +if test "${gl_cv_sys_dir_fd_member_name+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + + dirfd_save_CFLAGS=$CFLAGS + for ac_expr in d_fd dd_fd; do + + CFLAGS="$CFLAGS -DDIR_FD_MEMBER_NAME=$ac_expr" + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$dirfd_headers + +int +main () +{ +DIR *dir_p = opendir("."); (void) dir_p->DIR_FD_MEMBER_NAME; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + dir_fd_found=yes + +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest.$ac_ext + CFLAGS=$dirfd_save_CFLAGS + test "$dir_fd_found" = yes && break + done + test "$dir_fd_found" = yes || ac_expr=no_such_member + + gl_cv_sys_dir_fd_member_name=$ac_expr + + +fi +echo "$as_me:$LINENO: result: $gl_cv_sys_dir_fd_member_name" >&5 +echo "${ECHO_T}$gl_cv_sys_dir_fd_member_name" >&6 + if test $gl_cv_sys_dir_fd_member_name != no_such_member; then + +cat >>confdefs.h <<_ACEOF +#define DIR_FD_MEMBER_NAME $gl_cv_sys_dir_fd_member_name +_ACEOF + + fi + + + fi + + +for ac_header in sys/acl.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6 + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc in + yes:no ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; + no:yes ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + eval "$as_ac_Header=$ac_header_preproc" +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 + +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + +for ac_func in acl +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + +echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5 +echo $ECHO_N "checking whether lstat dereferences a symlink specified with a trailing slash... $ECHO_C" >&6 +if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + rm -f conftest.sym conftest.file +echo >conftest.file +if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then + if test "$cross_compiling" = yes; then + ac_cv_func_lstat_dereferences_slashed_symlink=no +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +struct stat sbuf; + /* Linux will dereference the symlink and fail. + That is better in the sense that it means we will not + have to compile and use the lstat wrapper. */ + exit (lstat ("conftest.sym/", &sbuf) ? 0 : 1); + ; + return 0; +} +_ACEOF +rm -f conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_func_lstat_dereferences_slashed_symlink=yes +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +( exit $ac_status ) +ac_cv_func_lstat_dereferences_slashed_symlink=no +fi +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi +else + # If the `ln -s' command failed, then we probably don't even + # have an lstat function. + ac_cv_func_lstat_dereferences_slashed_symlink=no +fi +rm -f conftest.sym conftest.file + +fi +echo "$as_me:$LINENO: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5 +echo "${ECHO_T}$ac_cv_func_lstat_dereferences_slashed_symlink" >&6 + +test $ac_cv_func_lstat_dereferences_slashed_symlink = yes && + +cat >>confdefs.h <<_ACEOF +#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +_ACEOF + + +if test $ac_cv_func_lstat_dereferences_slashed_symlink = no; then + LIBOBJS="$LIBOBJS lstat.$ac_objext" +fi + + + + echo "$as_me:$LINENO: checking whether lstat accepts an empty string" >&5 +echo $ECHO_N "checking whether lstat accepts an empty string... $ECHO_C" >&6 +if test "${jm_cv_func_lstat_empty_string_bug+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "$cross_compiling" = yes; then + jm_cv_func_lstat_empty_string_bug=yes +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +# include +# include + + int + main () + { + struct stat sbuf; + exit (lstat ("", &sbuf) ? 1 : 0); + } + +_ACEOF +rm -f conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + jm_cv_func_lstat_empty_string_bug=yes +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +( exit $ac_status ) +jm_cv_func_lstat_empty_string_bug=no +fi +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi + +fi +echo "$as_me:$LINENO: result: $jm_cv_func_lstat_empty_string_bug" >&5 +echo "${ECHO_T}$jm_cv_func_lstat_empty_string_bug" >&6 + if test $jm_cv_func_lstat_empty_string_bug = yes; then + LIBOBJS="$LIBOBJS lstat.$ac_objext" + +cat >>confdefs.h <<\_ACEOF +#define HAVE_LSTAT_EMPTY_STRING_BUG 1 +_ACEOF + + fi + + + # prerequisites + + + + +for ac_header in sys/param.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6 + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc in + yes:no ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; + no:yes ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + eval "$as_ac_Header=$ac_header_preproc" +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 + +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + echo "$as_me:$LINENO: checking whether stpcpy is declared" >&5 +echo $ECHO_N "checking whether stpcpy is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_stpcpy+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +#ifndef stpcpy + char *p = (char *) stpcpy; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_have_decl_stpcpy=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_have_decl_stpcpy=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_stpcpy" >&5 +echo "${ECHO_T}$ac_cv_have_decl_stpcpy" >&6 +if test $ac_cv_have_decl_stpcpy = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_STPCPY 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_STPCPY 0 +_ACEOF + + +fi + + + + # In the event that we have to use the replacement ftw.c, + # see if we'll also need the replacement tsearch.c. + echo "$as_me:$LINENO: checking for tdestroy" >&5 +echo $ECHO_N "checking for tdestroy... $ECHO_C" >&6 +if test "${ac_cv_func_tdestroy+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char tdestroy (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char tdestroy (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_tdestroy) || defined (__stub___tdestroy) +choke me +#else +char (*f) () = tdestroy; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != tdestroy; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_func_tdestroy=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_func_tdestroy=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_func_tdestroy" >&5 +echo "${ECHO_T}$ac_cv_func_tdestroy" >&6 +if test $ac_cv_func_tdestroy = yes; then + : +else + need_tdestroy=1 +fi + + + echo "$as_me:$LINENO: checking for ftw/FTW_CHDIR that informs callback of failed chdir" >&5 +echo $ECHO_N "checking for ftw/FTW_CHDIR that informs callback of failed chdir... $ECHO_C" >&6 +if test "${ac_cv_func_ftw_working+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + + # The following test would fail prior to glibc-2.3.2, because `depth' + # would be 2 rather than 4. Of course, now that we require FTW_DCH + # and FTW_DCHP, this test fails even with GNU libc's fixed ftw. + mkdir -p conftest.dir/a/b/c + if test "$cross_compiling" = yes; then + ac_cv_func_ftw_working=no +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +#include +#include +#include + +static char *_f[] = { "conftest.dir", "conftest.dir/a", + "conftest.dir/a/b", "conftest.dir/a/b/c" }; +static char **p = _f; +static int depth; + +static int +cb (const char *file, const struct stat *sb, int file_type, struct FTW *info) +{ + if (strcmp (file, *p++) != 0) + exit (1); + ++depth; + return 0; +} + +int +main () +{ + /* Require these symbols, too. */ + int d1 = FTW_DCH; + int d2 = FTW_DCHP; + + int err = nftw ("conftest.dir", cb, 30, FTW_PHYS | FTW_MOUNT | FTW_CHDIR); + exit ((err == 0 && depth == 4) ? 0 : 1); +} + +_ACEOF +rm -f conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_func_ftw_working=yes +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +( exit $ac_status ) +ac_cv_func_ftw_working=no +fi +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi +fi +echo "$as_me:$LINENO: result: $ac_cv_func_ftw_working" >&5 +echo "${ECHO_T}$ac_cv_func_ftw_working" >&6 + rm -rf conftest.dir + if test $ac_cv_func_ftw_working = no; then + LIBOBJS="$LIBOBJS ftw.$ac_objext" + ac_config_links="$ac_config_links $ac_config_libobj_dir/ftw.h:$ac_config_libobj_dir/ftw_.h" + + # Add tsearch.o IFF we have to use the replacement ftw.c. + if test -n "$need_tdestroy"; then + LIBOBJS="$LIBOBJS tsearch.$ac_objext" + # Link search.h to search_.h if we use the replacement tsearch.c. + ac_config_links="$ac_config_links $ac_config_libobj_dir/search.h:$ac_config_libobj_dir/search_.h" + + fi + fi + + + + +for ac_func in lchown +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +else + LIBOBJS="$LIBOBJS $ac_func.$ac_objext" +fi +done + + + + echo "$as_me:$LINENO: checking for rmdir-not-empty errno value" >&5 +echo $ECHO_N "checking for rmdir-not-empty errno value... $ECHO_C" >&6 +if test "${fetish_cv_func_rmdir_errno_not_empty+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + + # Arrange for deletion of the temporary directory this test creates. + ac_clean_files="$ac_clean_files confdir2" + mkdir confdir2; : > confdir2/file + if test "$cross_compiling" = yes; then + fetish_cv_func_rmdir_errno_not_empty=ENOTEMPTY + +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +#include +#include +#ifndef errno +extern int errno; +#endif + int main () + { + FILE *s; + int val; + rmdir ("confdir2"); + val = errno; + s = fopen ("confdir2/errno", "w"); + fprintf (s, "%d\n", val); + exit (0); + } + +_ACEOF +rm -f conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + fetish_cv_func_rmdir_errno_not_empty=`cat confdir2/errno` +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +( exit $ac_status ) +fetish_cv_func_rmdir_errno_not_empty='configure error in rmdir-errno.m4' +fi +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi + + +fi +echo "$as_me:$LINENO: result: $fetish_cv_func_rmdir_errno_not_empty" >&5 +echo "${ECHO_T}$fetish_cv_func_rmdir_errno_not_empty" >&6 + + +cat >>confdefs.h <<_ACEOF +#define RMDIR_ERRNO_NOT_EMPTY $fetish_cv_func_rmdir_errno_not_empty +_ACEOF + + + test -z "$ac_cv_header_unistd_h" \ + && +for ac_header in unistd.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6 + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc in + yes:no ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; + no:yes ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + eval "$as_ac_Header=$ac_header_preproc" +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 + +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + echo "$as_me:$LINENO: checking for working chown" >&5 +echo $ECHO_N "checking for working chown... $ECHO_C" >&6 +if test "${jm_cv_func_working_chown+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "$cross_compiling" = yes; then + jm_cv_func_working_chown=no +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +# include +# include +# include +# ifdef HAVE_UNISTD_H +# include +# endif + + int + main () + { + char *f = "conftest.chown"; + struct stat before, after; + + if (creat (f, 0600) < 0) + exit (1); + if (stat (f, &before) < 0) + exit (1); + if (chown (f, (uid_t) -1, (gid_t) -1) == -1) + exit (1); + if (stat (f, &after) < 0) + exit (1); + exit ((before.st_uid == after.st_uid + && before.st_gid == after.st_gid) ? 0 : 1); + } + +_ACEOF +rm -f conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + jm_cv_func_working_chown=yes +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +( exit $ac_status ) +jm_cv_func_working_chown=no +fi +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi + +fi +echo "$as_me:$LINENO: result: $jm_cv_func_working_chown" >&5 +echo "${ECHO_T}$jm_cv_func_working_chown" >&6 + if test $jm_cv_func_working_chown = no; then + LIBOBJS="$LIBOBJS chown.$ac_objext" + +cat >>confdefs.h <<\_ACEOF +#define chown rpl_chown +_ACEOF + + fi + + + +for ac_header in sys/time.h unistd.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6 + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc in + yes:no ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; + no:yes ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + eval "$as_ac_Header=$ac_header_preproc" +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 + +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + +for ac_func in alarm +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + +echo "$as_me:$LINENO: checking for working mktime" >&5 +echo $ECHO_N "checking for working mktime... $ECHO_C" >&6 +if test "${ac_cv_func_working_mktime+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "$cross_compiling" = yes; then + ac_cv_func_working_mktime=no +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* Test program from Paul Eggert and Tony Leneis. */ +#if TIME_WITH_SYS_TIME +# include +# include +#else +# if HAVE_SYS_TIME_H +# include +# else +# include +# endif +#endif + +#if HAVE_UNISTD_H +# include +#endif + +#if !HAVE_ALARM +# define alarm(X) /* empty */ +#endif + +/* Work around redefinition to rpl_putenv by other config tests. */ +#undef putenv + +static time_t time_t_max; + +/* Values we'll use to set the TZ environment variable. */ +static const char *const tz_strings[] = { + (const char *) 0, "TZ=GMT0", "TZ=JST-9", + "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00" +}; +#define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0])) + +/* Fail if mktime fails to convert a date in the spring-forward gap. + Based on a problem report from Andreas Jaeger. */ +static void +spring_forward_gap () +{ + /* glibc (up to about 1998-10-07) failed this test. */ + struct tm tm; + + /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0" + instead of "TZ=America/Vancouver" in order to detect the bug even + on systems that don't support the Olson extension, or don't have the + full zoneinfo tables installed. */ + putenv ("TZ=PST8PDT,M4.1.0,M10.5.0"); + + tm.tm_year = 98; + tm.tm_mon = 3; + tm.tm_mday = 5; + tm.tm_hour = 2; + tm.tm_min = 0; + tm.tm_sec = 0; + tm.tm_isdst = -1; + if (mktime (&tm) == (time_t)-1) + exit (1); +} + +static void +mktime_test (now) + time_t now; +{ + struct tm *lt; + if ((lt = localtime (&now)) && mktime (lt) != now) + exit (1); + now = time_t_max - now; + if ((lt = localtime (&now)) && mktime (lt) != now) + exit (1); +} + +static void +irix_6_4_bug () +{ + /* Based on code from Ariel Faigon. */ + struct tm tm; + tm.tm_year = 96; + tm.tm_mon = 3; + tm.tm_mday = 0; + tm.tm_hour = 0; + tm.tm_min = 0; + tm.tm_sec = 0; + tm.tm_isdst = -1; + mktime (&tm); + if (tm.tm_mon != 2 || tm.tm_mday != 31) + exit (1); +} + +static void +bigtime_test (j) + int j; +{ + struct tm tm; + time_t now; + tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j; + now = mktime (&tm); + if (now != (time_t) -1) + { + struct tm *lt = localtime (&now); + if (! (lt + && lt->tm_year == tm.tm_year + && lt->tm_mon == tm.tm_mon + && lt->tm_mday == tm.tm_mday + && lt->tm_hour == tm.tm_hour + && lt->tm_min == tm.tm_min + && lt->tm_sec == tm.tm_sec + && lt->tm_yday == tm.tm_yday + && lt->tm_wday == tm.tm_wday + && ((lt->tm_isdst < 0 ? -1 : 0 < lt->tm_isdst) + == (tm.tm_isdst < 0 ? -1 : 0 < tm.tm_isdst)))) + exit (1); + } +} + +int +main () +{ + time_t t, delta; + int i, j; + + /* This test makes some buggy mktime implementations loop. + Give up after 60 seconds; a mktime slower than that + isn't worth using anyway. */ + alarm (60); + + for (time_t_max = 1; 0 < time_t_max; time_t_max *= 2) + continue; + time_t_max--; + delta = time_t_max / 997; /* a suitable prime number */ + for (i = 0; i < N_STRINGS; i++) + { + if (tz_strings[i]) + putenv (tz_strings[i]); + + for (t = 0; t <= time_t_max - delta; t += delta) + mktime_test (t); + mktime_test ((time_t) 60 * 60); + mktime_test ((time_t) 60 * 60 * 24); + + for (j = 1; 0 < j; j *= 2) + bigtime_test (j); + bigtime_test (j - 1); + } + irix_6_4_bug (); + spring_forward_gap (); + exit (0); +} +_ACEOF +rm -f conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_func_working_mktime=yes +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +( exit $ac_status ) +ac_cv_func_working_mktime=no +fi +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi +fi +echo "$as_me:$LINENO: result: $ac_cv_func_working_mktime" >&5 +echo "${ECHO_T}$ac_cv_func_working_mktime" >&6 +if test $ac_cv_func_working_mktime = no; then + LIBOBJS="$LIBOBJS mktime.$ac_objext" +fi + + + +for ac_func in localtime_r +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + + if test $ac_cv_func_working_mktime = no; then + +cat >>confdefs.h <<\_ACEOF +#define mktime rpl_mktime +_ACEOF + + fi + + + + echo "$as_me:$LINENO: checking whether stat accepts an empty string" >&5 +echo $ECHO_N "checking whether stat accepts an empty string... $ECHO_C" >&6 +if test "${jm_cv_func_stat_empty_string_bug+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "$cross_compiling" = yes; then + jm_cv_func_stat_empty_string_bug=yes +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +# include +# include + + int + main () + { + struct stat sbuf; + exit (stat ("", &sbuf) ? 1 : 0); + } + +_ACEOF +rm -f conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + jm_cv_func_stat_empty_string_bug=yes +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +( exit $ac_status ) +jm_cv_func_stat_empty_string_bug=no +fi +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi + +fi +echo "$as_me:$LINENO: result: $jm_cv_func_stat_empty_string_bug" >&5 +echo "${ECHO_T}$jm_cv_func_stat_empty_string_bug" >&6 + if test $jm_cv_func_stat_empty_string_bug = yes; then + LIBOBJS="$LIBOBJS stat.$ac_objext" + +cat >>confdefs.h <<\_ACEOF +#define HAVE_STAT_EMPTY_STRING_BUG 1 +_ACEOF + + fi + + +for ac_header in stdlib.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6 + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc in + yes:no ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; + no:yes ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + eval "$as_ac_Header=$ac_header_preproc" +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 + +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + +echo "$as_me:$LINENO: checking for GNU libc compatible realloc" >&5 +echo $ECHO_N "checking for GNU libc compatible realloc... $ECHO_C" >&6 +if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "$cross_compiling" = yes; then + ac_cv_func_realloc_0_nonnull=no +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#if STDC_HEADERS || HAVE_STDLIB_H +# include +#else +char *realloc (); +#endif + +int +main () +{ +exit (realloc (0, 0) ? 0 : 1); + ; + return 0; +} +_ACEOF +rm -f conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_func_realloc_0_nonnull=yes +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +( exit $ac_status ) +ac_cv_func_realloc_0_nonnull=no +fi +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi +fi +echo "$as_me:$LINENO: result: $ac_cv_func_realloc_0_nonnull" >&5 +echo "${ECHO_T}$ac_cv_func_realloc_0_nonnull" >&6 +if test $ac_cv_func_realloc_0_nonnull = yes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_REALLOC 1 +_ACEOF + +else + cat >>confdefs.h <<\_ACEOF +#define HAVE_REALLOC 0 +_ACEOF + + LIBOBJS="$LIBOBJS realloc.$ac_objext" + +cat >>confdefs.h <<\_ACEOF +#define realloc rpl_realloc +_ACEOF + +fi + + + + +for ac_header in stdlib.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6 + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc in + yes:no ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; + no:yes ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + eval "$as_ac_Header=$ac_header_preproc" +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 + +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + +echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5 +echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6 +if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "$cross_compiling" = yes; then + ac_cv_func_malloc_0_nonnull=no +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#if STDC_HEADERS || HAVE_STDLIB_H +# include +#else +char *malloc (); +#endif + +int +main () +{ +exit (malloc (0) ? 0 : 1); + ; + return 0; +} +_ACEOF +rm -f conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_func_malloc_0_nonnull=yes +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +( exit $ac_status ) +ac_cv_func_malloc_0_nonnull=no +fi +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi +fi +echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5 +echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6 +if test $ac_cv_func_malloc_0_nonnull = yes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_MALLOC 1 +_ACEOF + +else + cat >>confdefs.h <<\_ACEOF +#define HAVE_MALLOC 0 +_ACEOF + + LIBOBJS="$LIBOBJS malloc.$ac_objext" + +cat >>confdefs.h <<\_ACEOF +#define malloc rpl_malloc +_ACEOF + +fi + + + + + nanosleep_save_libs=$LIBS + + # Solaris 2.5.1 needs -lposix4 to get the nanosleep function. + # Solaris 7 prefers the library name -lrt to the obsolescent name -lposix4. + + echo "$as_me:$LINENO: checking for library containing nanosleep" >&5 +echo $ECHO_N "checking for library containing nanosleep... $ECHO_C" >&6 +if test "${ac_cv_search_nanosleep+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + + ac_func_search_save_LIBS=$LIBS + ac_cv_search_nanosleep=no + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char nanosleep (); +int +main () +{ +nanosleep (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_search_nanosleep='none required' +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext + if test "$ac_cv_search_nanosleep" = no; then + for ac_lib in rt posix4; do + LIBS="-l$ac_lib $ac_func_search_save_LIBS" + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char nanosleep (); +int +main () +{ +nanosleep (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_search_nanosleep="-l$ac_lib"; break +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext + done + fi + LIBS=$ac_func_search_save_LIBS + +fi +echo "$as_me:$LINENO: result: $ac_cv_search_nanosleep" >&5 +echo "${ECHO_T}$ac_cv_search_nanosleep" >&6 + + if test "$ac_cv_search_nanosleep" = no; then : + + else + if test "$ac_cv_search_nanosleep" = 'none required'; then : + + else + LIBS="$ac_cv_search_nanosleep $LIBS" + LIB_NANOSLEEP=$ac_cv_search_nanosleep + fi + fi + + + + echo "$as_me:$LINENO: checking whether nanosleep works" >&5 +echo $ECHO_N "checking whether nanosleep works... $ECHO_C" >&6 +if test "${jm_cv_func_nanosleep_works+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + + + if test "$cross_compiling" = yes; then + jm_cv_func_nanosleep_works=no +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +# if TIME_WITH_SYS_TIME +# include +# include +# else +# if HAVE_SYS_TIME_H +# include +# else +# include +# endif +# endif + + int + main () + { + struct timespec ts_sleep, ts_remaining; + ts_sleep.tv_sec = 0; + ts_sleep.tv_nsec = 1; + exit (nanosleep (&ts_sleep, &ts_remaining) == 0 ? 0 : 1); + } + +_ACEOF +rm -f conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + jm_cv_func_nanosleep_works=yes +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +( exit $ac_status ) +jm_cv_func_nanosleep_works=no +fi +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi + +fi +echo "$as_me:$LINENO: result: $jm_cv_func_nanosleep_works" >&5 +echo "${ECHO_T}$jm_cv_func_nanosleep_works" >&6 + if test $jm_cv_func_nanosleep_works = no; then + LIBOBJS="$LIBOBJS nanosleep.$ac_objext" + +cat >>confdefs.h <<\_ACEOF +#define nanosleep rpl_nanosleep +_ACEOF + + fi + + LIBS=$nanosleep_save_libs + +echo "$as_me:$LINENO: checking whether clearerr_unlocked is declared" >&5 +echo $ECHO_N "checking whether clearerr_unlocked is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_clearerr_unlocked+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +#ifndef clearerr_unlocked + char *p = (char *) clearerr_unlocked; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_have_decl_clearerr_unlocked=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_have_decl_clearerr_unlocked=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_clearerr_unlocked" >&5 +echo "${ECHO_T}$ac_cv_have_decl_clearerr_unlocked" >&6 +if test $ac_cv_have_decl_clearerr_unlocked = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_CLEARERR_UNLOCKED 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_CLEARERR_UNLOCKED 0 +_ACEOF + + +fi +echo "$as_me:$LINENO: checking whether feof_unlocked is declared" >&5 +echo $ECHO_N "checking whether feof_unlocked is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_feof_unlocked+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +#ifndef feof_unlocked + char *p = (char *) feof_unlocked; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_have_decl_feof_unlocked=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_have_decl_feof_unlocked=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_feof_unlocked" >&5 +echo "${ECHO_T}$ac_cv_have_decl_feof_unlocked" >&6 +if test $ac_cv_have_decl_feof_unlocked = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_FEOF_UNLOCKED 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_FEOF_UNLOCKED 0 +_ACEOF + + +fi +echo "$as_me:$LINENO: checking whether ferror_unlocked is declared" >&5 +echo $ECHO_N "checking whether ferror_unlocked is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_ferror_unlocked+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +#ifndef ferror_unlocked + char *p = (char *) ferror_unlocked; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_have_decl_ferror_unlocked=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_have_decl_ferror_unlocked=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_ferror_unlocked" >&5 +echo "${ECHO_T}$ac_cv_have_decl_ferror_unlocked" >&6 +if test $ac_cv_have_decl_ferror_unlocked = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_FERROR_UNLOCKED 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_FERROR_UNLOCKED 0 +_ACEOF + + +fi +echo "$as_me:$LINENO: checking whether fflush_unlocked is declared" >&5 +echo $ECHO_N "checking whether fflush_unlocked is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_fflush_unlocked+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +#ifndef fflush_unlocked + char *p = (char *) fflush_unlocked; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_have_decl_fflush_unlocked=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_have_decl_fflush_unlocked=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_fflush_unlocked" >&5 +echo "${ECHO_T}$ac_cv_have_decl_fflush_unlocked" >&6 +if test $ac_cv_have_decl_fflush_unlocked = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_FFLUSH_UNLOCKED 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_FFLUSH_UNLOCKED 0 +_ACEOF + + +fi +echo "$as_me:$LINENO: checking whether fgets_unlocked is declared" >&5 +echo $ECHO_N "checking whether fgets_unlocked is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_fgets_unlocked+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +#ifndef fgets_unlocked + char *p = (char *) fgets_unlocked; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_have_decl_fgets_unlocked=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_have_decl_fgets_unlocked=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_fgets_unlocked" >&5 +echo "${ECHO_T}$ac_cv_have_decl_fgets_unlocked" >&6 +if test $ac_cv_have_decl_fgets_unlocked = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_FGETS_UNLOCKED 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_FGETS_UNLOCKED 0 +_ACEOF + + +fi +echo "$as_me:$LINENO: checking whether fputc_unlocked is declared" >&5 +echo $ECHO_N "checking whether fputc_unlocked is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_fputc_unlocked+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +#ifndef fputc_unlocked + char *p = (char *) fputc_unlocked; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_have_decl_fputc_unlocked=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_have_decl_fputc_unlocked=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_fputc_unlocked" >&5 +echo "${ECHO_T}$ac_cv_have_decl_fputc_unlocked" >&6 +if test $ac_cv_have_decl_fputc_unlocked = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_FPUTC_UNLOCKED 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_FPUTC_UNLOCKED 0 +_ACEOF + + +fi +echo "$as_me:$LINENO: checking whether fputs_unlocked is declared" >&5 +echo $ECHO_N "checking whether fputs_unlocked is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_fputs_unlocked+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +#ifndef fputs_unlocked + char *p = (char *) fputs_unlocked; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_have_decl_fputs_unlocked=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_have_decl_fputs_unlocked=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_fputs_unlocked" >&5 +echo "${ECHO_T}$ac_cv_have_decl_fputs_unlocked" >&6 +if test $ac_cv_have_decl_fputs_unlocked = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_FPUTS_UNLOCKED 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_FPUTS_UNLOCKED 0 +_ACEOF + + +fi +echo "$as_me:$LINENO: checking whether fread_unlocked is declared" >&5 +echo $ECHO_N "checking whether fread_unlocked is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_fread_unlocked+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +#ifndef fread_unlocked + char *p = (char *) fread_unlocked; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_have_decl_fread_unlocked=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_have_decl_fread_unlocked=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_fread_unlocked" >&5 +echo "${ECHO_T}$ac_cv_have_decl_fread_unlocked" >&6 +if test $ac_cv_have_decl_fread_unlocked = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_FREAD_UNLOCKED 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_FREAD_UNLOCKED 0 +_ACEOF + + +fi +echo "$as_me:$LINENO: checking whether fwrite_unlocked is declared" >&5 +echo $ECHO_N "checking whether fwrite_unlocked is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_fwrite_unlocked+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +#ifndef fwrite_unlocked + char *p = (char *) fwrite_unlocked; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_have_decl_fwrite_unlocked=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_have_decl_fwrite_unlocked=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_fwrite_unlocked" >&5 +echo "${ECHO_T}$ac_cv_have_decl_fwrite_unlocked" >&6 +if test $ac_cv_have_decl_fwrite_unlocked = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_FWRITE_UNLOCKED 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_FWRITE_UNLOCKED 0 +_ACEOF + + +fi +echo "$as_me:$LINENO: checking whether getc_unlocked is declared" >&5 +echo $ECHO_N "checking whether getc_unlocked is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_getc_unlocked+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +#ifndef getc_unlocked + char *p = (char *) getc_unlocked; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_have_decl_getc_unlocked=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_have_decl_getc_unlocked=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_getc_unlocked" >&5 +echo "${ECHO_T}$ac_cv_have_decl_getc_unlocked" >&6 +if test $ac_cv_have_decl_getc_unlocked = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_GETC_UNLOCKED 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_GETC_UNLOCKED 0 +_ACEOF + + +fi +echo "$as_me:$LINENO: checking whether getchar_unlocked is declared" >&5 +echo $ECHO_N "checking whether getchar_unlocked is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_getchar_unlocked+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +#ifndef getchar_unlocked + char *p = (char *) getchar_unlocked; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_have_decl_getchar_unlocked=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_have_decl_getchar_unlocked=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_getchar_unlocked" >&5 +echo "${ECHO_T}$ac_cv_have_decl_getchar_unlocked" >&6 +if test $ac_cv_have_decl_getchar_unlocked = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_GETCHAR_UNLOCKED 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_GETCHAR_UNLOCKED 0 +_ACEOF + + +fi +echo "$as_me:$LINENO: checking whether putc_unlocked is declared" >&5 +echo $ECHO_N "checking whether putc_unlocked is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_putc_unlocked+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +#ifndef putc_unlocked + char *p = (char *) putc_unlocked; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_have_decl_putc_unlocked=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_have_decl_putc_unlocked=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_putc_unlocked" >&5 +echo "${ECHO_T}$ac_cv_have_decl_putc_unlocked" >&6 +if test $ac_cv_have_decl_putc_unlocked = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_PUTC_UNLOCKED 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_PUTC_UNLOCKED 0 +_ACEOF + + +fi +echo "$as_me:$LINENO: checking whether putchar_unlocked is declared" >&5 +echo $ECHO_N "checking whether putchar_unlocked is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_putchar_unlocked+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +#ifndef putchar_unlocked + char *p = (char *) putchar_unlocked; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_have_decl_putchar_unlocked=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_have_decl_putchar_unlocked=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_putchar_unlocked" >&5 +echo "${ECHO_T}$ac_cv_have_decl_putchar_unlocked" >&6 +if test $ac_cv_have_decl_putchar_unlocked = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_PUTCHAR_UNLOCKED 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_PUTCHAR_UNLOCKED 0 +_ACEOF + + +fi + + + + echo "$as_me:$LINENO: checking for group_member" >&5 +echo $ECHO_N "checking for group_member... $ECHO_C" >&6 +if test "${ac_cv_func_group_member+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char group_member (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char group_member (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_group_member) || defined (__stub___group_member) +choke me +#else +char (*f) () = group_member; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != group_member; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_func_group_member=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_func_group_member=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_func_group_member" >&5 +echo "${ECHO_T}$ac_cv_func_group_member" >&6 +if test $ac_cv_func_group_member = yes; then + : +else + LIBOBJS="$LIBOBJS group-member.$ac_objext" +fi + + + +echo "$as_me:$LINENO: checking for SVID conformant putenv" >&5 +echo $ECHO_N "checking for SVID conformant putenv... $ECHO_C" >&6 +if test "${jm_cv_func_svid_putenv+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "$cross_compiling" = yes; then + jm_cv_func_svid_putenv=no +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + + int + main () + { + /* Put it in env. */ + if (putenv ("CONFTEST_putenv=val")) + exit (1); + + /* Try to remove it. */ + if (putenv ("CONFTEST_putenv")) + exit (1); + + /* Make sure it was deleted. */ + if (getenv ("CONFTEST_putenv") != 0) + exit (1); + + exit (0); + } + +_ACEOF +rm -f conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + jm_cv_func_svid_putenv=yes +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +( exit $ac_status ) +jm_cv_func_svid_putenv=no +fi +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi + +fi +echo "$as_me:$LINENO: result: $jm_cv_func_svid_putenv" >&5 +echo "${ECHO_T}$jm_cv_func_svid_putenv" >&6 + if test $jm_cv_func_svid_putenv = no; then + LIBOBJS="$LIBOBJS putenv.$ac_objext" + +cat >>confdefs.h <<\_ACEOF +#define putenv rpl_putenv +_ACEOF + + fi + + + echo "$as_me:$LINENO: checking for AFS" >&5 +echo $ECHO_N "checking for AFS... $ECHO_C" >&6 + if test -d /afs; then + +cat >>confdefs.h <<\_ACEOF +#define AFS 1 +_ACEOF + + ac_result=yes + else + ac_result=no + fi + echo "$as_me:$LINENO: result: $ac_result" >&5 +echo "${ECHO_T}$ac_result" >&6 + + + + echo "$as_me:$LINENO: checking for intmax_t" >&5 +echo $ECHO_N "checking for intmax_t... $ECHO_C" >&6 +if test "${ac_cv_type_intmax_t+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +if ((intmax_t *) 0) + return 0; +if (sizeof (intmax_t)) + return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_type_intmax_t=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_type_intmax_t=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_type_intmax_t" >&5 +echo "${ECHO_T}$ac_cv_type_intmax_t" >&6 +if test $ac_cv_type_intmax_t = yes; then + : +else + test $ac_cv_type_long_long = yes \ + && ac_type='long long' \ + || ac_type='long' + +cat >>confdefs.h <<_ACEOF +#define intmax_t $ac_type +_ACEOF + +fi + + + + + + + + echo "$as_me:$LINENO: checking whether strtol is declared" >&5 +echo $ECHO_N "checking whether strtol is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_strtol+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +#ifndef strtol + char *p = (char *) strtol; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_have_decl_strtol=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_have_decl_strtol=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_strtol" >&5 +echo "${ECHO_T}$ac_cv_have_decl_strtol" >&6 +if test $ac_cv_have_decl_strtol = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_STRTOL 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_STRTOL 0 +_ACEOF + + +fi +echo "$as_me:$LINENO: checking whether strtoul is declared" >&5 +echo $ECHO_N "checking whether strtoul is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_strtoul+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +#ifndef strtoul + char *p = (char *) strtoul; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_have_decl_strtoul=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_have_decl_strtoul=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_strtoul" >&5 +echo "${ECHO_T}$ac_cv_have_decl_strtoul" >&6 +if test $ac_cv_have_decl_strtoul = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_STRTOUL 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_STRTOUL 0 +_ACEOF + + +fi +echo "$as_me:$LINENO: checking whether strtoull is declared" >&5 +echo $ECHO_N "checking whether strtoull is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_strtoull+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +#ifndef strtoull + char *p = (char *) strtoull; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_have_decl_strtoull=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_have_decl_strtoull=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_strtoull" >&5 +echo "${ECHO_T}$ac_cv_have_decl_strtoull" >&6 +if test $ac_cv_have_decl_strtoull = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_STRTOULL 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_STRTOULL 0 +_ACEOF + + +fi +echo "$as_me:$LINENO: checking whether strtoimax is declared" >&5 +echo $ECHO_N "checking whether strtoimax is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_strtoimax+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +#ifndef strtoimax + char *p = (char *) strtoimax; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_have_decl_strtoimax=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_have_decl_strtoimax=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_strtoimax" >&5 +echo "${ECHO_T}$ac_cv_have_decl_strtoimax" >&6 +if test $ac_cv_have_decl_strtoimax = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_STRTOIMAX 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_STRTOIMAX 0 +_ACEOF + + +fi +echo "$as_me:$LINENO: checking whether strtoumax is declared" >&5 +echo $ECHO_N "checking whether strtoumax is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_strtoumax+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +#ifndef strtoumax + char *p = (char *) strtoumax; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_have_decl_strtoumax=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_have_decl_strtoumax=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_strtoumax" >&5 +echo "${ECHO_T}$ac_cv_have_decl_strtoumax" >&6 +if test $ac_cv_have_decl_strtoumax = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_STRTOUMAX 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_STRTOUMAX 0 +_ACEOF + + +fi + + + + + +for ac_header in limits.h stdlib.h inttypes.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6 + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc in + yes:no ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; + no:yes ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + eval "$as_ac_Header=$ac_header_preproc" +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 + +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + + echo "$as_me:$LINENO: checking whether defines strtoumax as a macro" >&5 +echo $ECHO_N "checking whether defines strtoumax as a macro... $ECHO_C" >&6 +if test "${jm_cv_func_strtoumax_macro+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#ifdef strtoumax + inttypes_h_defines_strtoumax +#endif +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "inttypes_h_defines_strtoumax" >/dev/null 2>&1; then + jm_cv_func_strtoumax_macro=yes +else + jm_cv_func_strtoumax_macro=no +fi +rm -f conftest* + +fi +echo "$as_me:$LINENO: result: $jm_cv_func_strtoumax_macro" >&5 +echo "${ECHO_T}$jm_cv_func_strtoumax_macro" >&6 + + if test "$jm_cv_func_strtoumax_macro" != yes; then + +for ac_func in strtoumax +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +else + LIBOBJS="$LIBOBJS $ac_func.$ac_objext" +fi +done + + + fi + + case "$jm_cv_func_strtoumax_macro,$ac_cv_func_strtoumax" in + no,no) + +for ac_func in strtoul +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +else + LIBOBJS="$LIBOBJS $ac_func.$ac_objext" +fi +done + + + + if test "$ac_cv_type_unsigned_long_long" = yes; then + +for ac_func in strtoull +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +else + LIBOBJS="$LIBOBJS $ac_func.$ac_objext" +fi +done + + + fi + ;; + esac + + + + + + + echo "$as_me:$LINENO: checking whether strtol is declared" >&5 +echo $ECHO_N "checking whether strtol is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_strtol+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +#ifndef strtol + char *p = (char *) strtol; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_have_decl_strtol=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_have_decl_strtol=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_strtol" >&5 +echo "${ECHO_T}$ac_cv_have_decl_strtol" >&6 +if test $ac_cv_have_decl_strtol = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_STRTOL 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_STRTOL 0 +_ACEOF + + +fi +echo "$as_me:$LINENO: checking whether strtoul is declared" >&5 +echo $ECHO_N "checking whether strtoul is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_strtoul+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +#ifndef strtoul + char *p = (char *) strtoul; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_have_decl_strtoul=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_have_decl_strtoul=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_strtoul" >&5 +echo "${ECHO_T}$ac_cv_have_decl_strtoul" >&6 +if test $ac_cv_have_decl_strtoul = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_STRTOUL 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_STRTOUL 0 +_ACEOF + + +fi +echo "$as_me:$LINENO: checking whether strtoll is declared" >&5 +echo $ECHO_N "checking whether strtoll is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_strtoll+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +#ifndef strtoll + char *p = (char *) strtoll; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_have_decl_strtoll=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_have_decl_strtoll=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_strtoll" >&5 +echo "${ECHO_T}$ac_cv_have_decl_strtoll" >&6 +if test $ac_cv_have_decl_strtoll = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_STRTOLL 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_STRTOLL 0 +_ACEOF + + +fi +echo "$as_me:$LINENO: checking whether strtoimax is declared" >&5 +echo $ECHO_N "checking whether strtoimax is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_strtoimax+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +#ifndef strtoimax + char *p = (char *) strtoimax; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_have_decl_strtoimax=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_have_decl_strtoimax=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_strtoimax" >&5 +echo "${ECHO_T}$ac_cv_have_decl_strtoimax" >&6 +if test $ac_cv_have_decl_strtoimax = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_STRTOIMAX 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_STRTOIMAX 0 +_ACEOF + + +fi +echo "$as_me:$LINENO: checking whether strtoumax is declared" >&5 +echo $ECHO_N "checking whether strtoumax is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_strtoumax+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +#ifndef strtoumax + char *p = (char *) strtoumax; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_have_decl_strtoumax=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_have_decl_strtoumax=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_strtoumax" >&5 +echo "${ECHO_T}$ac_cv_have_decl_strtoumax" >&6 +if test $ac_cv_have_decl_strtoumax = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_STRTOUMAX 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_STRTOUMAX 0 +_ACEOF + + +fi + + + + + +for ac_header in limits.h stdlib.h inttypes.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6 + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc in + yes:no ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; + no:yes ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + eval "$as_ac_Header=$ac_header_preproc" +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 + +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + + echo "$as_me:$LINENO: checking whether defines strtoimax as a macro" >&5 +echo $ECHO_N "checking whether defines strtoimax as a macro... $ECHO_C" >&6 +if test "${jm_cv_func_strtoimax_macro+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#ifdef strtoimax + inttypes_h_defines_strtoimax +#endif +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "inttypes_h_defines_strtoimax" >/dev/null 2>&1; then + jm_cv_func_strtoimax_macro=yes +else + jm_cv_func_strtoimax_macro=no +fi +rm -f conftest* + +fi +echo "$as_me:$LINENO: result: $jm_cv_func_strtoimax_macro" >&5 +echo "${ECHO_T}$jm_cv_func_strtoimax_macro" >&6 + + if test "$jm_cv_func_strtoimax_macro" != yes; then + +for ac_func in strtoimax +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +else + LIBOBJS="$LIBOBJS $ac_func.$ac_objext" +fi +done + + + fi + + case "$jm_cv_func_strtoimax_macro,$ac_cv_func_strtoimax" in + no,no) + +for ac_func in strtol +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +else + LIBOBJS="$LIBOBJS $ac_func.$ac_objext" +fi +done + + + + if test "$ac_cv_type_long_long" = yes; then + +for ac_func in strtoll +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +else + LIBOBJS="$LIBOBJS $ac_func.$ac_objext" +fi +done + + + fi + ;; + esac + + echo "$as_me:$LINENO: checking whether link(2) dereferences a symlink specified with a trailing slash" >&5 +echo $ECHO_N "checking whether link(2) dereferences a symlink specified with a trailing slash... $ECHO_C" >&6 +if test "${jm_ac_cv_func_link_follows_symlink+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + + test -z "$ac_cv_header_unistd_h" \ + && +for ac_header in unistd.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6 + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc in + yes:no ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; + no:yes ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + eval "$as_ac_Header=$ac_header_preproc" +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 + +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + + # Create a regular file. + echo > conftest.file + if test "$cross_compiling" = yes; then + jm_ac_cv_func_link_follows_symlink=yes +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +# include +# include +# ifdef HAVE_UNISTD_H +# include +# endif + +# define SAME_INODE(Stat_buf_1, Stat_buf_2) \ + ((Stat_buf_1).st_ino == (Stat_buf_2).st_ino \ + && (Stat_buf_1).st_dev == (Stat_buf_2).st_dev) + + int + main () + { + const char *file = "conftest.file"; + const char *sym = "conftest.sym"; + const char *hard = "conftest.hard"; + struct stat sb_file, sb_hard; + + /* Create a symlink to the regular file. */ + if (symlink (file, sym)) + abort (); + + /* Create a hard link to that symlink. */ + if (link (sym, hard)) + abort (); + + if (lstat (hard, &sb_hard)) + abort (); + if (lstat (file, &sb_file)) + abort (); + + /* If the dev/inode of hard and file are the same, then + the link call followed the symlink. */ + return SAME_INODE (sb_hard, sb_file) ? 0 : 1; + } + +_ACEOF +rm -f conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + jm_ac_cv_func_link_follows_symlink=yes +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +( exit $ac_status ) +jm_ac_cv_func_link_follows_symlink=no +fi +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi + +fi +echo "$as_me:$LINENO: result: $jm_ac_cv_func_link_follows_symlink" >&5 +echo "${ECHO_T}$jm_ac_cv_func_link_follows_symlink" >&6 + if test $jm_ac_cv_func_link_follows_symlink = yes; then + +cat >>confdefs.h <<\_ACEOF +#define LINK_FOLLOWS_SYMLINKS 1 +_ACEOF + + fi + +echo "$as_me:$LINENO: checking for error_at_line" >&5 +echo $ECHO_N "checking for error_at_line... $ECHO_C" >&6 +if test "${ac_cv_lib_error_at_line+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ +error_at_line (0, 0, "", 0, ""); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_lib_error_at_line=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_error_at_line=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_error_at_line" >&5 +echo "${ECHO_T}$ac_cv_lib_error_at_line" >&6 +if test $ac_cv_lib_error_at_line = no; then + LIBOBJS="$LIBOBJS error.$ac_objext" +fi + + + + + +for ac_func in localtime_r strftime +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + + +for ac_header in limits.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6 + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc in + yes:no ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; + no:yes ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + eval "$as_ac_Header=$ac_header_preproc" +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 + +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + + + + + +for ac_func in bcopy tzset mempcpy memcpy memset +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + + # This defines (or not) HAVE_TZNAME and HAVE_TM_ZONE. + echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5 +echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6 +if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#include <$ac_cv_struct_tm> + + +int +main () +{ +static struct tm ac_aggr; +if (ac_aggr.tm_zone) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_member_struct_tm_tm_zone=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#include <$ac_cv_struct_tm> + + +int +main () +{ +static struct tm ac_aggr; +if (sizeof ac_aggr.tm_zone) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_member_struct_tm_tm_zone=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_member_struct_tm_tm_zone=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5 +echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6 +if test $ac_cv_member_struct_tm_tm_zone = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_STRUCT_TM_TM_ZONE 1 +_ACEOF + + +fi + +if test "$ac_cv_member_struct_tm_tm_zone" = yes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_TM_ZONE 1 +_ACEOF + +else + echo "$as_me:$LINENO: checking for tzname" >&5 +echo $ECHO_N "checking for tzname... $ECHO_C" >&6 +if test "${ac_cv_var_tzname+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#ifndef tzname /* For SGI. */ +extern char *tzname[]; /* RS6000 and others reject char **tzname. */ +#endif + +int +main () +{ +atoi(*tzname); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_var_tzname=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_var_tzname=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5 +echo "${ECHO_T}$ac_cv_var_tzname" >&6 + if test $ac_cv_var_tzname = yes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_TZNAME 1 +_ACEOF + + fi +fi + + + + +for ac_func in mblen mbrlen +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + + echo "$as_me:$LINENO: checking for struct tm.tm_gmtoff" >&5 +echo $ECHO_N "checking for struct tm.tm_gmtoff... $ECHO_C" >&6 +if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include + +int +main () +{ +static struct tm ac_aggr; +if (ac_aggr.tm_gmtoff) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_member_struct_tm_tm_gmtoff=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include + +int +main () +{ +static struct tm ac_aggr; +if (sizeof ac_aggr.tm_gmtoff) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_member_struct_tm_tm_gmtoff=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_member_struct_tm_tm_gmtoff=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5 +echo "${ECHO_T}$ac_cv_member_struct_tm_tm_gmtoff" >&6 +if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_TM_GMTOFF 1 +_ACEOF + +fi + + + + +for ac_header in sys/time.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6 + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc in + yes:no ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; + no:yes ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + eval "$as_ac_Header=$ac_header_preproc" +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 + +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + +cat >>confdefs.h <<\_ACEOF +#define my_strftime nstrftime +_ACEOF + + + + +for ac_header in stdio_ext.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6 + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc in + yes:no ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; + no:yes ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + eval "$as_ac_Header=$ac_header_preproc" +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 + +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + +for ac_func in __fpending +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +else + LIBOBJS="$LIBOBJS $ac_func.$ac_objext" +fi +done + + + fp_headers=' +# if HAVE_STDIO_EXT_H +# include +# endif +' + echo "$as_me:$LINENO: checking whether __fpending is declared" >&5 +echo $ECHO_N "checking whether __fpending is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl___fpending+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$fp_headers + +int +main () +{ +#ifndef __fpending + char *p = (char *) __fpending; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_have_decl___fpending=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_have_decl___fpending=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl___fpending" >&5 +echo "${ECHO_T}$ac_cv_have_decl___fpending" >&6 +if test $ac_cv_have_decl___fpending = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL___FPENDING 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL___FPENDING 0 +_ACEOF + + +fi + + + if test $ac_cv_func___fpending = no; then + echo "$as_me:$LINENO: checking how to determine the number of pending output bytes on a stream" >&5 +echo $ECHO_N "checking how to determine the number of pending output bytes on a stream... $ECHO_C" >&6 +if test "${ac_cv_sys_pending_output_n_bytes+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + + for ac_expr in \ + \ + '# glibc2' \ + 'fp->_IO_write_ptr - fp->_IO_write_base' \ + \ + '# traditional Unix' \ + 'fp->_ptr - fp->_base' \ + \ + '# BSD' \ + 'fp->_p - fp->_bf._base' \ + \ + '# SCO, Unixware' \ + 'fp->__ptr - fp->__base' \ + \ + '# old glibc?' \ + 'fp->__bufp - fp->__buffer' \ + \ + '# old glibc iostream?' \ + 'fp->_pptr - fp->_pbase' \ + \ + '# VMS' \ + '(*fp)->_ptr - (*fp)->_base' \ + \ + '# e.g., DGUX R4.11; the info is not available' \ + 1 \ + ; do + + # Skip each embedded comment. + case "$ac_expr" in '#'*) continue;; esac + + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include + +int +main () +{ +FILE *fp = stdin; (void) ($ac_expr); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + fp_done=yes + +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest.$ac_ext + test "$fp_done" = yes && break + done + + ac_cv_sys_pending_output_n_bytes=$ac_expr + + +fi +echo "$as_me:$LINENO: result: $ac_cv_sys_pending_output_n_bytes" >&5 +echo "${ECHO_T}$ac_cv_sys_pending_output_n_bytes" >&6 + +cat >>confdefs.h <<_ACEOF +#define PENDING_OUTPUT_N_BYTES $ac_cv_sys_pending_output_n_bytes +_ACEOF + + fi + + + # autoconf-2.52 has a proper check for inttypes.h. + + + if test $ac_cv_header_inttypes_h = yes; then + echo "$as_me:$LINENO: checking whether the inttypes.h PRIxNN macros are broken" >&5 +echo $ECHO_N "checking whether the inttypes.h PRIxNN macros are broken... $ECHO_C" >&6 +if test "${gt_cv_inttypes_pri_broken+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#ifdef PRId32 +char *p = PRId32; +#endif + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + gt_cv_inttypes_pri_broken=no +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +gt_cv_inttypes_pri_broken=yes +fi +rm -f conftest.$ac_objext conftest.$ac_ext + +fi +echo "$as_me:$LINENO: result: $gt_cv_inttypes_pri_broken" >&5 +echo "${ECHO_T}$gt_cv_inttypes_pri_broken" >&6 + fi + if test "$gt_cv_inttypes_pri_broken" = yes; then + +cat >>confdefs.h <<_ACEOF +#define PRI_MACROS_BROKEN 1 +_ACEOF + + fi + +echo "$as_me:$LINENO: checking for getgroups" >&5 +echo $ECHO_N "checking for getgroups... $ECHO_C" >&6 +if test "${ac_cv_func_getgroups+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char getgroups (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char getgroups (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_getgroups) || defined (__stub___getgroups) +choke me +#else +char (*f) () = getgroups; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != getgroups; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_func_getgroups=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_func_getgroups=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_func_getgroups" >&5 +echo "${ECHO_T}$ac_cv_func_getgroups" >&6 + + +# If we don't yet have getgroups, see if it's in -lbsd. +# This is reported to be necessary on an ITOS 3000WS running SEIUX 3.1. +ac_save_LIBS=$LIBS +if test $ac_cv_func_getgroups = no; then + echo "$as_me:$LINENO: checking for getgroups in -lbsd" >&5 +echo $ECHO_N "checking for getgroups in -lbsd... $ECHO_C" >&6 +if test "${ac_cv_lib_bsd_getgroups+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lbsd $LIBS" +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char getgroups (); +int +main () +{ +getgroups (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_lib_bsd_getgroups=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_bsd_getgroups=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_getgroups" >&5 +echo "${ECHO_T}$ac_cv_lib_bsd_getgroups" >&6 +if test $ac_cv_lib_bsd_getgroups = yes; then + GETGROUPS_LIB=-lbsd +fi + +fi + +# Run the program to test the functionality of the system-supplied +# getgroups function only if there is such a function. +if test $ac_cv_func_getgroups = yes; then + echo "$as_me:$LINENO: checking for working getgroups" >&5 +echo $ECHO_N "checking for working getgroups... $ECHO_C" >&6 +if test "${ac_cv_func_getgroups_works+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "$cross_compiling" = yes; then + ac_cv_func_getgroups_works=no +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ +/* On Ultrix 4.3, getgroups (0, 0) always fails. */ + exit (getgroups (0, 0) == -1 ? 1 : 0); + ; + return 0; +} +_ACEOF +rm -f conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_func_getgroups_works=yes +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +( exit $ac_status ) +ac_cv_func_getgroups_works=no +fi +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi + +fi +echo "$as_me:$LINENO: result: $ac_cv_func_getgroups_works" >&5 +echo "${ECHO_T}$ac_cv_func_getgroups_works" >&6 + if test $ac_cv_func_getgroups_works = yes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_GETGROUPS 1 +_ACEOF + + fi +fi +LIBS=$ac_save_LIBS + + if test $ac_cv_func_getgroups_works = no; then + LIBOBJS="$LIBOBJS getgroups.$ac_objext" + +cat >>confdefs.h <<\_ACEOF +#define getgroups rpl_getgroups +_ACEOF + + fi + test -n "$GETGROUPS_LIB" && LIBS="$GETGROUPS_LIB $LIBS" + +echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5 +echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6 +if test "${ac_cv_sys_largefile_source+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + while :; do + ac_cv_sys_largefile_source=no + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +int +main () +{ +return !fseeko; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + break +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest.$ac_ext + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#define _LARGEFILE_SOURCE 1 +#include +int +main () +{ +return !fseeko; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_sys_largefile_source=1; break +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest.$ac_ext + break +done +fi +echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5 +echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6 +if test "$ac_cv_sys_largefile_source" != no; then + +cat >>confdefs.h <<_ACEOF +#define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source +_ACEOF + +fi +rm -f conftest* + +# We used to try defining _XOPEN_SOURCE=500 too, to work around a bug +# in glibc 2.1.3, but that breaks too many other things. +# If you want fseeko and ftello with glibc, upgrade to a fixed glibc. +echo "$as_me:$LINENO: checking for fseeko" >&5 +echo $ECHO_N "checking for fseeko... $ECHO_C" >&6 +if test "${ac_cv_func_fseeko+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +int +main () +{ +return fseeko && fseeko (stdin, 0, 0); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_func_fseeko=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_func_fseeko=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5 +echo "${ECHO_T}$ac_cv_func_fseeko" >&6 +if test $ac_cv_func_fseeko = yes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_FSEEKO 1 +_ACEOF + +fi + + +for ac_func in vprintf +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +echo "$as_me:$LINENO: checking for _doprnt" >&5 +echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6 +if test "${ac_cv_func__doprnt+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char _doprnt (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char _doprnt (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub__doprnt) || defined (__stub____doprnt) +choke me +#else +char (*f) () = _doprnt; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != _doprnt; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_func__doprnt=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_func__doprnt=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5 +echo "${ECHO_T}$ac_cv_func__doprnt" >&6 +if test $ac_cv_func__doprnt = yes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_DOPRNT 1 +_ACEOF + +fi + +fi +done + + + + echo "$as_me:$LINENO: checking for /proc/uptime" >&5 +echo $ECHO_N "checking for /proc/uptime... $ECHO_C" >&6 +if test "${jm_cv_have_proc_uptime+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + jm_cv_have_proc_uptime=no + test -f /proc/uptime \ + && test "$cross_compiling" = no \ + && cat < /proc/uptime >/dev/null 2>/dev/null \ + && jm_cv_have_proc_uptime=yes +fi +echo "$as_me:$LINENO: result: $jm_cv_have_proc_uptime" >&5 +echo "${ECHO_T}$jm_cv_have_proc_uptime" >&6 + if test $jm_cv_have_proc_uptime = yes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_PROC_UPTIME 1 +_ACEOF + + fi + + + +for ac_func in ftruncate +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +else + ftruncate_missing=yes +fi +done + + + if test "$ftruncate_missing" = yes; then + +for ac_header in unistd.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6 + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc in + yes:no ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; + no:yes ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + eval "$as_ac_Header=$ac_header_preproc" +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 + +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + +for ac_func in chsize +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + LIBOBJS="$LIBOBJS ftruncate.$ac_objext" + fi + + + echo "$as_me:$LINENO: checking whether rename is broken" >&5 +echo $ECHO_N "checking whether rename is broken... $ECHO_C" >&6 +if test "${vb_cv_func_rename_trailing_slash_bug+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + + rm -rf conftest.d1 conftest.d2 + mkdir conftest.d1 || + { { echo "$as_me:$LINENO: error: cannot create temporary directory" >&5 +echo "$as_me: error: cannot create temporary directory" >&2;} + { (exit 1); exit 1; }; } + if test "$cross_compiling" = yes; then + vb_cv_func_rename_trailing_slash_bug=yes +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +# include + int + main () + { + exit (rename ("conftest.d1/", "conftest.d2") ? 1 : 0); + } + +_ACEOF +rm -f conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + vb_cv_func_rename_trailing_slash_bug=no +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +( exit $ac_status ) +vb_cv_func_rename_trailing_slash_bug=yes +fi +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi + + rm -rf conftest.d1 conftest.d2 + +fi +echo "$as_me:$LINENO: result: $vb_cv_func_rename_trailing_slash_bug" >&5 +echo "${ECHO_T}$vb_cv_func_rename_trailing_slash_bug" >&6 + if test $vb_cv_func_rename_trailing_slash_bug = yes; then + LIBOBJS="$LIBOBJS rename.$ac_objext" + +cat >>confdefs.h <<\_ACEOF +#define RENAME_TRAILING_SLASH_BUG 1 +_ACEOF + + fi + + +for ac_func in mkstemp +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +else + LIBOBJS="$LIBOBJS $ac_func.$ac_objext" +fi +done + + + if test $ac_cv_func_mkstemp = no; then + utils_cv_func_mkstemp_limitations=yes + else + echo "$as_me:$LINENO: checking for mkstemp limitations" >&5 +echo $ECHO_N "checking for mkstemp limitations... $ECHO_C" >&6 +if test "${utils_cv_func_mkstemp_limitations+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + + if test "$cross_compiling" = yes; then + utils_cv_func_mkstemp_limitations=yes + +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +# include + int main () + { + int i; + for (i = 0; i < 30; i++) + { + char template[] = "conftestXXXXXX"; + int fd = mkstemp (template); + if (fd == -1) + exit (1); + close (fd); + } + exit (0); + } + +_ACEOF +rm -f conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + utils_cv_func_mkstemp_limitations=no +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +( exit $ac_status ) +utils_cv_func_mkstemp_limitations=yes +fi +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi + + +fi +echo "$as_me:$LINENO: result: $utils_cv_func_mkstemp_limitations" >&5 +echo "${ECHO_T}$utils_cv_func_mkstemp_limitations" >&6 + fi + + if test $utils_cv_func_mkstemp_limitations = yes; then + LIBOBJS="$LIBOBJS mkstemp.$ac_objext" + LIBOBJS="$LIBOBJS tempname.$ac_objext" + +cat >>confdefs.h <<\_ACEOF +#define mkstemp rpl_mkstemp +_ACEOF + + fi + +echo "$as_me:$LINENO: checking whether closedir returns void" >&5 +echo $ECHO_N "checking whether closedir returns void... $ECHO_C" >&6 +if test "${ac_cv_func_closedir_void+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "$cross_compiling" = yes; then + ac_cv_func_closedir_void=yes +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header_dirent> +#ifndef __cplusplus +int closedir (); +#endif + +int +main () +{ +exit (closedir (opendir (".")) != 0); + ; + return 0; +} +_ACEOF +rm -f conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_func_closedir_void=no +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +( exit $ac_status ) +ac_cv_func_closedir_void=yes +fi +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi +fi +echo "$as_me:$LINENO: result: $ac_cv_func_closedir_void" >&5 +echo "${ECHO_T}$ac_cv_func_closedir_void" >&6 +if test $ac_cv_func_closedir_void = yes; then + +cat >>confdefs.h <<\_ACEOF +#define CLOSEDIR_VOID 1 +_ACEOF + +fi + +echo "$as_me:$LINENO: checking whether utime accepts a null argument" >&5 +echo $ECHO_N "checking whether utime accepts a null argument... $ECHO_C" >&6 +if test "${ac_cv_func_utime_null+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + rm -f conftest.data; >conftest.data +# Sequent interprets utime(file, 0) to mean use start of epoch. Wrong. +if test "$cross_compiling" = yes; then + ac_cv_func_utime_null=no +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +struct stat s, t; + exit (!(stat ("conftest.data", &s) == 0 + && utime ("conftest.data", (long *)0) == 0 + && stat ("conftest.data", &t) == 0 + && t.st_mtime >= s.st_mtime + && t.st_mtime - s.st_mtime < 120)); + ; + return 0; +} +_ACEOF +rm -f conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_func_utime_null=yes +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +( exit $ac_status ) +ac_cv_func_utime_null=no +fi +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi +rm -f core core.* *.core +fi +echo "$as_me:$LINENO: result: $ac_cv_func_utime_null" >&5 +echo "${ECHO_T}$ac_cv_func_utime_null" >&6 +if test $ac_cv_func_utime_null = yes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_UTIME_NULL 1 +_ACEOF + +fi +rm -f conftest.data + + + +for ac_header in utime.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6 + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc in + yes:no ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; + no:yes ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + eval "$as_ac_Header=$ac_header_preproc" +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 + +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + + + + if test $ac_cv_func_utime_null = no; then + echo "$as_me:$LINENO: checking whether utimes accepts a null argument" >&5 +echo $ECHO_N "checking whether utimes accepts a null argument... $ECHO_C" >&6 +if test "${ac_cv_func_utimes_null+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + rm -f conftest.data; > conftest.data +if test "$cross_compiling" = yes; then + ac_cv_func_utimes_null=no +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* In case stat has been defined to rpl_stat, undef it here. */ +#undef stat +#include +#include +main() { +struct stat s, t; +exit(!(stat ("conftest.data", &s) == 0 + && utimes("conftest.data", (long *)0) == 0 + && stat("conftest.data", &t) == 0 + && t.st_mtime >= s.st_mtime + && t.st_mtime - s.st_mtime < 120)); +} +_ACEOF +rm -f conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_func_utimes_null=yes +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +( exit $ac_status ) +ac_cv_func_utimes_null=no +fi +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi +rm -f core core.* *.core +fi +echo "$as_me:$LINENO: result: $ac_cv_func_utimes_null" >&5 +echo "${ECHO_T}$ac_cv_func_utimes_null" >&6 + + if test $ac_cv_func_utimes_null = yes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_UTIMES_NULL 1 +_ACEOF + + fi + + + +for ac_func in utime +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +else + LIBOBJS="$LIBOBJS $ac_func.$ac_objext" +fi +done + + + fi + + + echo "$as_me:$LINENO: checking determine how many files may be open simultaneously" >&5 +echo $ECHO_N "checking determine how many files may be open simultaneously... $ECHO_C" >&6 +if test "${utils_cv_sys_open_max+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + + if test "$cross_compiling" = yes; then + utils_cv_sys_open_max='cross compiling run-test in open-max.m4' +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +#include +#include +#include + int + main () + { + FILE *result = fopen ("conftest.omax", "w"); + int i = 1; + /* Impose an arbitrary limit, in case some system has no + effective limit on the number of simultaneously open files. */ + while (i < 30000) + { + FILE *s = fopen ("conftest.op", "w"); + if (!s) + break; + ++i; + } + fprintf (result, "%d\n", i); + exit (fclose (result) == EOF); + } + +_ACEOF +rm -f conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + utils_cv_sys_open_max=`cat conftest.omax` +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +( exit $ac_status ) +utils_cv_sys_open_max='internal error in open-max.m4' +fi +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi +fi +echo "$as_me:$LINENO: result: $utils_cv_sys_open_max" >&5 +echo "${ECHO_T}$utils_cv_sys_open_max" >&6 + + +cat >>confdefs.h <<_ACEOF +#define UTILS_OPEN_MAX $utils_cv_sys_open_max +_ACEOF + + + + echo "$as_me:$LINENO: checking whether getcwd properly handles paths longer than PATH_MAX" >&5 +echo $ECHO_N "checking whether getcwd properly handles paths longer than PATH_MAX... $ECHO_C" >&6 +if test "${gl_cv_func_getcwd_vs_path_max+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + + echo "$as_me:$LINENO: checking whether getcwd is declared" >&5 +echo $ECHO_N "checking whether getcwd is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_getcwd+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +#ifndef getcwd + char *p = (char *) getcwd; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_have_decl_getcwd=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_have_decl_getcwd=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_getcwd" >&5 +echo "${ECHO_T}$ac_cv_have_decl_getcwd" >&6 +if test $ac_cv_have_decl_getcwd = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_GETCWD 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_GETCWD 0 +_ACEOF + + +fi + + + # Arrange for deletion of the temporary directory this test creates. + ac_clean_files="$ac_clean_files confdir3" + if test "$cross_compiling" = yes; then + gl_cv_func_getcwd_vs_path_max=no +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +#include +#include +#include +#include +#include +#include + +/* Don't get link errors because mkdir is redefined to rpl_mkdir. */ +#undef mkdir + +#ifndef CHAR_BIT +# define CHAR_BIT 8 +#endif + +/* The extra casts work around common compiler bugs. */ +#define TYPE_SIGNED(t) (! ((t) 0 < (t) -1)) +/* The outer cast is needed to work around a bug in Cray C 5.0.3.0. + It is necessary at least when t == time_t. */ +#define TYPE_MINIMUM(t) ((t) (TYPE_SIGNED (t) \ + ? ~ (t) 0 << (sizeof (t) * CHAR_BIT - 1) : (t) 0)) +#define TYPE_MAXIMUM(t) ((t) (~ (t) 0 - TYPE_MINIMUM (t))) + +#ifndef INT_MAX +# define INT_MAX TYPE_MAXIMUM (int) +#endif + +#ifndef PATH_MAX +/* There might be a better way to handle this case, but note: + - the value shouldn't be anywhere near INT_MAX, and + - the value shouldn't be so big that the local declaration, below, + blows the stack. */ +# define PATH_MAX 40000 +#endif + +/* The length of this name must be 8. */ +#define DIR_NAME "confdir3" + +int +main () +{ + /* The '9' comes from strlen (DIR_NAME) + 1. */ +#if INT_MAX - 9 <= PATH_MAX + /* FIXME: Assuming there's a system for which this is true -- Hurd?, + this should be done in a compile test. */ + exit (0); +#else + char buf[PATH_MAX + 20]; + char *cwd = getcwd (buf, PATH_MAX); + size_t cwd_len; + int fail = 0; + size_t n_chdirs = 0; + + if (cwd == NULL) + exit (1); + + cwd_len = strlen (cwd); + + while (1) + { + char *c; + size_t len; + + cwd_len += 1 + strlen (DIR_NAME); + /* If mkdir or chdir fails, be pessimistic and consider that + as a failure, too. */ + if (mkdir (DIR_NAME, 0700) < 0 || chdir (DIR_NAME) < 0) + { + fail = 1; + break; + } + if ((c = getcwd (buf, PATH_MAX)) == NULL) + { + /* This allows any failure to indicate there is no bug. + FIXME: check errno? */ + break; + } + if ((len = strlen (c)) != cwd_len) + { + fail = 1; + break; + } + ++n_chdirs; + if (PATH_MAX < len) + break; + } + + /* Leaving behind such a deep directory is not polite. + So clean up here, right away, even though the driving + shell script would also clean up. */ + { + size_t i; + + /* Unlink first, in case the chdir failed. */ + unlink (DIR_NAME); + for (i = 0; i <= n_chdirs; i++) + { + if (chdir ("..") < 0) + break; + rmdir (DIR_NAME); + } + } + + exit (fail); +#endif +} + +_ACEOF +rm -f conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + gl_cv_func_getcwd_vs_path_max=yes +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +( exit $ac_status ) +gl_cv_func_getcwd_vs_path_max=no +fi +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi +fi +echo "$as_me:$LINENO: result: $gl_cv_func_getcwd_vs_path_max" >&5 +echo "${ECHO_T}$gl_cv_func_getcwd_vs_path_max" >&6 + + if test $gl_cv_func_getcwd_vs_path_max = yes; then + LIBOBJS="$LIBOBJS getcwd.$ac_objext" + +cat >>confdefs.h <<\_ACEOF +#define getcwd rpl_getcwd +_ACEOF + + fi + + + if test "X$prefix" = "XNONE"; then + acl_final_prefix="$ac_default_prefix" + else + acl_final_prefix="$prefix" + fi + if test "X$exec_prefix" = "XNONE"; then + acl_final_exec_prefix='${prefix}' + else + acl_final_exec_prefix="$exec_prefix" + fi + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" + prefix="$acl_save_prefix" + + +# Check whether --with-gnu-ld or --without-gnu-ld was given. +if test "${with_gnu_ld+set}" = set; then + withval="$with_gnu_ld" + test "$withval" = no || with_gnu_ld=yes +else + with_gnu_ld=no +fi; +ac_prog=ld +if test "$GCC" = yes; then + # Check if gcc -print-prog-name=ld gives a path. + echo "$as_me:$LINENO: checking for ld used by GCC" >&5 +echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6 + case $host in + *-*-mingw*) + # gcc leaves a trailing carriage return which upsets mingw + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; + *) + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; + esac + case $ac_prog in + # Accept absolute paths. + [\\/]* | [A-Za-z]:[\\/]*) + re_direlt='/[^/][^/]*/\.\./' + # Canonicalize the path of ld + ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` + while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do + ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` + done + test -z "$LD" && LD="$ac_prog" + ;; + "") + # If it fails, then pretend we aren't using GCC. + ac_prog=ld + ;; + *) + # If it is relative, then search for the first ld in PATH. + with_gnu_ld=unknown + ;; + esac +elif test "$with_gnu_ld" = yes; then + echo "$as_me:$LINENO: checking for GNU ld" >&5 +echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6 +else + echo "$as_me:$LINENO: checking for non-GNU ld" >&5 +echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6 +fi +if test "${acl_cv_path_LD+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -z "$LD"; then + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" + for ac_dir in $PATH; do + test -z "$ac_dir" && ac_dir=. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then + acl_cv_path_LD="$ac_dir/$ac_prog" + # Check to see if the program is GNU ld. I'd rather use --version, + # but apparently some GNU ld's only accept -v. + # Break only if it was the GNU/non-GNU ld that we prefer. + if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then + test "$with_gnu_ld" != no && break + else + test "$with_gnu_ld" != yes && break + fi + fi + done + IFS="$ac_save_ifs" +else + acl_cv_path_LD="$LD" # Let the user override the test with a path. +fi +fi + +LD="$acl_cv_path_LD" +if test -n "$LD"; then + echo "$as_me:$LINENO: result: $LD" >&5 +echo "${ECHO_T}$LD" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi +test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 +echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} + { (exit 1); exit 1; }; } +echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 +echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6 +if test "${acl_cv_prog_gnu_ld+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + # I'd rather use --version here, but apparently some GNU ld's only accept -v. +if $LD -v 2>&1 &5; then + acl_cv_prog_gnu_ld=yes +else + acl_cv_prog_gnu_ld=no +fi +fi +echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5 +echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6 +with_gnu_ld=$acl_cv_prog_gnu_ld + + + + echo "$as_me:$LINENO: checking for shared library run path origin" >&5 +echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6 +if test "${acl_cv_rpath+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + + CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ + ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh + . ./conftest.sh + rm -f ./conftest.sh + acl_cv_rpath=done + +fi +echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5 +echo "${ECHO_T}$acl_cv_rpath" >&6 + wl="$acl_cv_wl" + libext="$acl_cv_libext" + shlibext="$acl_cv_shlibext" + hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" + hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" + hardcode_direct="$acl_cv_hardcode_direct" + hardcode_minus_L="$acl_cv_hardcode_minus_L" + sys_lib_search_path_spec="$acl_cv_sys_lib_search_path_spec" + sys_lib_dlsearch_path_spec="$acl_cv_sys_lib_dlsearch_path_spec" + # Check whether --enable-rpath or --disable-rpath was given. +if test "${enable_rpath+set}" = set; then + enableval="$enable_rpath" + : +else + enable_rpath=yes +fi; + + + + + + + + use_additional=yes + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" + + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + +# Check whether --with-libiconv-prefix or --without-libiconv-prefix was given. +if test "${with_libiconv_prefix+set}" = set; then + withval="$with_libiconv_prefix" + + if test "X$withval" = "Xno"; then + use_additional=no + else + if test "X$withval" = "X"; then + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" + + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + else + additional_includedir="$withval/include" + additional_libdir="$withval/lib" + fi + fi + +fi; + LIBICONV= + LTLIBICONV= + INCICONV= + rpathdirs= + ltrpathdirs= + names_already_handled= + names_next_round='iconv ' + while test -n "$names_next_round"; do + names_this_round="$names_next_round" + names_next_round= + for name in $names_this_round; do + already_handled= + for n in $names_already_handled; do + if test "$n" = "$name"; then + already_handled=yes + break + fi + done + if test -z "$already_handled"; then + names_already_handled="$names_already_handled $name" + uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` + eval value=\"\$HAVE_LIB$uppername\" + if test -n "$value"; then + if test "$value" = yes; then + eval value=\"\$LIB$uppername\" + test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" + eval value=\"\$LTLIB$uppername\" + test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value" + else + : + fi + else + found_dir= + found_la= + found_so= + found_a= + if test $use_additional = yes; then + if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then + found_dir="$additional_libdir" + found_so="$additional_libdir/lib$name.$shlibext" + if test -f "$additional_libdir/lib$name.la"; then + found_la="$additional_libdir/lib$name.la" + fi + else + if test -f "$additional_libdir/lib$name.$libext"; then + found_dir="$additional_libdir" + found_a="$additional_libdir/lib$name.$libext" + if test -f "$additional_libdir/lib$name.la"; then + found_la="$additional_libdir/lib$name.la" + fi + fi + fi + fi + if test "X$found_dir" = "X"; then + for x in $LDFLAGS $LTLIBICONV; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + case "$x" in + -L*) + dir=`echo "X$x" | sed -e 's/^X-L//'` + if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then + found_dir="$dir" + found_so="$dir/lib$name.$shlibext" + if test -f "$dir/lib$name.la"; then + found_la="$dir/lib$name.la" + fi + else + if test -f "$dir/lib$name.$libext"; then + found_dir="$dir" + found_a="$dir/lib$name.$libext" + if test -f "$dir/lib$name.la"; then + found_la="$dir/lib$name.la" + fi + fi + fi + ;; + esac + if test "X$found_dir" != "X"; then + break + fi + done + fi + if test "X$found_dir" != "X"; then + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" + if test "X$found_so" != "X"; then + if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" + else + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $found_dir" + fi + if test "$hardcode_direct" = yes; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" + else + if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $found_dir" + fi + else + haveit= + for x in $LDFLAGS $LIBICONV; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-L$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" + fi + if test "$hardcode_minus_L" != no; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" + else + LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" + fi + fi + fi + fi + else + if test "X$found_a" != "X"; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" + else + LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name" + fi + fi + additional_includedir= + case "$found_dir" in + */lib | */lib/) + basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'` + additional_includedir="$basedir/include" + ;; + esac + if test "X$additional_includedir" != "X"; then + if test "X$additional_includedir" != "X/usr/include"; then + haveit= + if test "X$additional_includedir" = "X/usr/local/include"; then + if test -n "$GCC"; then + case $host_os in + linux*) haveit=yes;; + esac + fi + fi + if test -z "$haveit"; then + for x in $CPPFLAGS $INCICONV; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-I$additional_includedir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_includedir"; then + INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir" + fi + fi + fi + fi + fi + if test -n "$found_la"; then + save_libdir="$libdir" + case "$found_la" in + */* | *\\*) . "$found_la" ;; + *) . "./$found_la" ;; + esac + libdir="$save_libdir" + for dep in $dependency_libs; do + case "$dep" in + -L*) + additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` + if test "X$additional_libdir" != "X/usr/lib"; then + haveit= + if test "X$additional_libdir" = "X/usr/local/lib"; then + if test -n "$GCC"; then + case $host_os in + linux*) haveit=yes;; + esac + fi + fi + if test -z "$haveit"; then + haveit= + for x in $LDFLAGS $LIBICONV; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-L$additional_libdir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_libdir"; then + LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir" + fi + fi + haveit= + for x in $LDFLAGS $LTLIBICONV; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-L$additional_libdir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_libdir"; then + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir" + fi + fi + fi + fi + ;; + -R*) + dir=`echo "X$dep" | sed -e 's/^X-R//'` + if test "$enable_rpath" != no; then + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $dir" + fi + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $dir" + fi + fi + ;; + -l*) + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` + ;; + *.la) + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` + ;; + *) + LIBICONV="${LIBICONV}${LIBICONV:+ }$dep" + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep" + ;; + esac + done + fi + else + LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" + fi + fi + fi + done + done + if test "X$rpathdirs" != "X"; then + if test -n "$hardcode_libdir_separator"; then + alldirs= + for found_dir in $rpathdirs; do + alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir" + done + acl_save_libdir="$libdir" + libdir="$alldirs" + eval flag=\"$hardcode_libdir_flag_spec\" + libdir="$acl_save_libdir" + LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" + else + for found_dir in $rpathdirs; do + acl_save_libdir="$libdir" + libdir="$found_dir" + eval flag=\"$hardcode_libdir_flag_spec\" + libdir="$acl_save_libdir" + LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" + done + fi + fi + if test "X$ltrpathdirs" != "X"; then + for found_dir in $ltrpathdirs; do + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" + done + fi + + + + echo "$as_me:$LINENO: checking whether system is Windows or MSDOS" >&5 +echo $ECHO_N "checking whether system is Windows or MSDOS... $ECHO_C" >&6 +if test "${ac_cv_win_or_dos+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ +#if !defined _WIN32 && !defined __WIN32__ && !defined __MSDOS__ +neither MSDOS nor Windows +#endif + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_win_or_dos=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_win_or_dos=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext + +fi +echo "$as_me:$LINENO: result: $ac_cv_win_or_dos" >&5 +echo "${ECHO_T}$ac_cv_win_or_dos" >&6 + + if test x"$ac_cv_win_or_dos" = xyes; then + ac_fs_accepts_drive_letter_prefix=1 + ac_fs_backslash_is_file_name_separator=1 + else + ac_fs_accepts_drive_letter_prefix=0 + ac_fs_backslash_is_file_name_separator=0 + fi + + + + + +cat >>confdefs.h <<_ACEOF +#define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX $ac_fs_accepts_drive_letter_prefix +_ACEOF + + + + + + +cat >>confdefs.h <<_ACEOF +#define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR $ac_fs_backslash_is_file_name_separator +_ACEOF + + + + + + + +for ac_header in string.h sys/param.h stddef.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6 + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc in + yes:no ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; + no:yes ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + eval "$as_ac_Header=$ac_header_preproc" +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 + +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + +for ac_func in resolvepath +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + + + # This would simply be AC_REPLACE_FUNC([canonicalize_file_name]) + # if the function name weren't so long. Besides, I would rather + # not have underscores in file names. + echo "$as_me:$LINENO: checking for canonicalize_file_name" >&5 +echo $ECHO_N "checking for canonicalize_file_name... $ECHO_C" >&6 +if test "${ac_cv_func_canonicalize_file_name+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char canonicalize_file_name (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char canonicalize_file_name (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_canonicalize_file_name) || defined (__stub___canonicalize_file_name) +choke me +#else +char (*f) () = canonicalize_file_name; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != canonicalize_file_name; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_func_canonicalize_file_name=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_func_canonicalize_file_name=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_func_canonicalize_file_name" >&5 +echo "${ECHO_T}$ac_cv_func_canonicalize_file_name" >&6 +if test $ac_cv_func_canonicalize_file_name = yes; then + : +else + LIBOBJS="$LIBOBJS canonicalize.$ac_objext" +fi + + + + + + GNU_PACKAGE="GNU $PACKAGE" + +cat >>confdefs.h <<_ACEOF +#define GNU_PACKAGE "$GNU_PACKAGE" +_ACEOF + + + + +HELP2MAN=${HELP2MAN-"${am_missing_run}help2man"} + + + + + + + + + + + + + + + + + + + + + + echo "$as_me:$LINENO: checking for struct stat.st_author" >&5 +echo $ECHO_N "checking for struct stat.st_author... $ECHO_C" >&6 +if test "${ac_cv_member_struct_stat_st_author+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include + + +int +main () +{ +static struct stat ac_aggr; +if (ac_aggr.st_author) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_member_struct_stat_st_author=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include + + +int +main () +{ +static struct stat ac_aggr; +if (sizeof ac_aggr.st_author) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_member_struct_stat_st_author=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_member_struct_stat_st_author=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_author" >&5 +echo "${ECHO_T}$ac_cv_member_struct_stat_st_author" >&6 +if test $ac_cv_member_struct_stat_st_author = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_STRUCT_STAT_ST_AUTHOR 1 +_ACEOF + + +fi +echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5 +echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6 +if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include + + +int +main () +{ +static struct stat ac_aggr; +if (ac_aggr.st_blksize) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_member_struct_stat_st_blksize=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include + + +int +main () +{ +static struct stat ac_aggr; +if (sizeof ac_aggr.st_blksize) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_member_struct_stat_st_blksize=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_member_struct_stat_st_blksize=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5 +echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6 +if test $ac_cv_member_struct_stat_st_blksize = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +_ACEOF + + +fi + + + + + + + + + + + + + + + + + + echo "$as_me:$LINENO: checking for ino_t" >&5 +echo $ECHO_N "checking for ino_t... $ECHO_C" >&6 +if test "${ac_cv_type_ino_t+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +if ((ino_t *) 0) + return 0; +if (sizeof (ino_t)) + return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_type_ino_t=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_type_ino_t=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_type_ino_t" >&5 +echo "${ECHO_T}$ac_cv_type_ino_t" >&6 +if test $ac_cv_type_ino_t = yes; then + : +else + +cat >>confdefs.h <<_ACEOF +#define ino_t unsigned long +_ACEOF + +fi + + + echo "$as_me:$LINENO: checking for ssize_t" >&5 +echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6 +if test "${ac_cv_type_ssize_t+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +if ((ssize_t *) 0) + return 0; +if (sizeof (ssize_t)) + return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_type_ssize_t=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_type_ssize_t=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5 +echo "${ECHO_T}$ac_cv_type_ssize_t" >&6 +if test $ac_cv_type_ssize_t = yes; then + : +else + +cat >>confdefs.h <<_ACEOF +#define ssize_t int +_ACEOF + +fi + + echo "$as_me:$LINENO: checking for major_t" >&5 +echo $ECHO_N "checking for major_t... $ECHO_C" >&6 +if test "${ac_cv_type_major_t+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +if ((major_t *) 0) + return 0; +if (sizeof (major_t)) + return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_type_major_t=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_type_major_t=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_type_major_t" >&5 +echo "${ECHO_T}$ac_cv_type_major_t" >&6 +if test $ac_cv_type_major_t = yes; then + : +else + +cat >>confdefs.h <<_ACEOF +#define major_t unsigned int +_ACEOF + +fi + + echo "$as_me:$LINENO: checking for minor_t" >&5 +echo $ECHO_N "checking for minor_t... $ECHO_C" >&6 +if test "${ac_cv_type_minor_t+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +if ((minor_t *) 0) + return 0; +if (sizeof (minor_t)) + return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_type_minor_t=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_type_minor_t=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_type_minor_t" >&5 +echo "${ECHO_T}$ac_cv_type_minor_t" >&6 +if test $ac_cv_type_minor_t = yes; then + : +else + +cat >>confdefs.h <<_ACEOF +#define minor_t unsigned int +_ACEOF + +fi + + + + + + + + + + + + # Assume we'll default to using the included regex.c. + ac_use_included_regex=yes + + # However, if the system regex support is good enough that it passes the + # the following run test, then default to *not* using the included regex.c. + # If cross compiling, assume the test would fail and use the included + # regex.c. The first failing regular expression is from `Spencer ere + # test #75' in grep-2.3. + echo "$as_me:$LINENO: checking for working re_compile_pattern" >&5 +echo $ECHO_N "checking for working re_compile_pattern... $ECHO_C" >&6 +if test "${jm_cv_func_working_re_compile_pattern+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "$cross_compiling" = yes; then + jm_cv_func_working_re_compile_pattern=no +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#include +#include + int + main () + { + static struct re_pattern_buffer regex; + const char *s; + struct re_registers regs; + re_set_syntax (RE_SYNTAX_POSIX_EGREP); + memset (®ex, 0, sizeof (regex)); + s = re_compile_pattern ("a[[:]:]]b\n", 9, ®ex); + /* This should fail with _Invalid character class name_ error. */ + if (!s) + exit (1); + + /* This should succeed, but doesn't for e.g. glibc-2.1.3. */ + memset (®ex, 0, sizeof (regex)); + s = re_compile_pattern ("{1", 2, ®ex); + + if (s) + exit (1); + + /* The following example is derived from a problem report + against gawk from Jorge Stolfi . */ + memset (®ex, 0, sizeof (regex)); + s = re_compile_pattern ("[anù]*n", 7, ®ex); + if (s) + exit (1); + + /* This should match, but doesn't for e.g. glibc-2.2.1. */ + if (re_match (®ex, "an", 2, 0, ®s) != 2) + exit (1); + + memset (®ex, 0, sizeof (regex)); + s = re_compile_pattern ("x", 1, ®ex); + if (s) + exit (1); + + /* The version of regex.c in e.g. GNU libc-2.2.93 didn't + work with a negative RANGE argument. */ + if (re_search (®ex, "wxy", 3, 2, -2, ®s) != 1) + exit (1); + + exit (0); + } + +_ACEOF +rm -f conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + jm_cv_func_working_re_compile_pattern=yes +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +( exit $ac_status ) +jm_cv_func_working_re_compile_pattern=no +fi +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi +fi +echo "$as_me:$LINENO: result: $jm_cv_func_working_re_compile_pattern" >&5 +echo "${ECHO_T}$jm_cv_func_working_re_compile_pattern" >&6 + if test $jm_cv_func_working_re_compile_pattern = yes; then + ac_use_included_regex=no + fi + + test -n "lib/regex.c" || { { echo "$as_me:$LINENO: error: missing argument" >&5 +echo "$as_me: error: missing argument" >&2;} + { (exit 1); exit 1; }; } + + + +# Check whether --with-included-regex or --without-included-regex was given. +if test "${with_included_regex+set}" = set; then + withval="$with_included_regex" + jm_with_regex=$withval +else + jm_with_regex=$ac_use_included_regex +fi; + if test "$jm_with_regex" = yes; then + LIBOBJS="$LIBOBJS regex.$ac_objext" + + + + + + + + + : + + + + + + + + + + + + + + + + : + + + + + + + + + +for ac_func in btowc +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + + fi + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + # This is for od and stat, and any other program that + # uses the PRI.MAX macros from inttypes.h. + + + + + + + + + + ac_have_func=no # yes means we've found a way to get the load average. + +# Make sure getloadavg.c is where it belongs, at configure-time. +test -f "$srcdir/$ac_config_libobj_dir/getloadavg.c" || + { { echo "$as_me:$LINENO: error: $srcdir/$ac_config_libobj_dir/getloadavg.c is missing" >&5 +echo "$as_me: error: $srcdir/$ac_config_libobj_dir/getloadavg.c is missing" >&2;} + { (exit 1); exit 1; }; } + +ac_save_LIBS=$LIBS + +# Check for getloadavg, but be sure not to touch the cache variable. +(echo "$as_me:$LINENO: checking for getloadavg" >&5 +echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6 +if test "${ac_cv_func_getloadavg+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char getloadavg (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char getloadavg (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_getloadavg) || defined (__stub___getloadavg) +choke me +#else +char (*f) () = getloadavg; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != getloadavg; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_func_getloadavg=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_func_getloadavg=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg" >&5 +echo "${ECHO_T}$ac_cv_func_getloadavg" >&6 +if test $ac_cv_func_getloadavg = yes; then + exit 0 +else + exit 1 +fi +) && ac_have_func=yes + +# On HPUX9, an unprivileged user can get load averages through this function. + +for ac_func in pstat_getdynamic +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + +# Solaris has libkstat which does not require root. + +echo "$as_me:$LINENO: checking for kstat_open in -lkstat" >&5 +echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6 +if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lkstat $LIBS" +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char kstat_open (); +int +main () +{ +kstat_open (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_lib_kstat_kstat_open=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_kstat_kstat_open=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_kstat_kstat_open" >&5 +echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6 +if test $ac_cv_lib_kstat_kstat_open = yes; then + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBKSTAT 1 +_ACEOF + + LIBS="-lkstat $LIBS" + +fi + +test $ac_cv_lib_kstat_kstat_open = yes && ac_have_func=yes + +# Some systems with -lutil have (and need) -lkvm as well, some do not. +# On Solaris, -lkvm requires nlist from -lelf, so check that first +# to get the right answer into the cache. +# For kstat on solaris, we need libelf to force the definition of SVR4 below. +if test $ac_have_func = no; then + echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5 +echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6 +if test "${ac_cv_lib_elf_elf_begin+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lelf $LIBS" +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char elf_begin (); +int +main () +{ +elf_begin (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_lib_elf_elf_begin=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_elf_elf_begin=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5 +echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6 +if test $ac_cv_lib_elf_elf_begin = yes; then + LIBS="-lelf $LIBS" +fi + +fi +if test $ac_have_func = no; then + echo "$as_me:$LINENO: checking for kvm_open in -lkvm" >&5 +echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6 +if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lkvm $LIBS" +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char kvm_open (); +int +main () +{ +kvm_open (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_lib_kvm_kvm_open=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_kvm_kvm_open=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_kvm_kvm_open" >&5 +echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6 +if test $ac_cv_lib_kvm_kvm_open = yes; then + LIBS="-lkvm $LIBS" +fi + + # Check for the 4.4BSD definition of getloadavg. + echo "$as_me:$LINENO: checking for getloadavg in -lutil" >&5 +echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6 +if test "${ac_cv_lib_util_getloadavg+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lutil $LIBS" +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char getloadavg (); +int +main () +{ +getloadavg (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_lib_util_getloadavg=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_util_getloadavg=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_util_getloadavg" >&5 +echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6 +if test $ac_cv_lib_util_getloadavg = yes; then + LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes +fi + +fi + +if test $ac_have_func = no; then + # There is a commonly available library for RS/6000 AIX. + # Since it is not a standard part of AIX, it might be installed locally. + ac_getloadavg_LIBS=$LIBS + LIBS="-L/usr/local/lib $LIBS" + echo "$as_me:$LINENO: checking for getloadavg in -lgetloadavg" >&5 +echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6 +if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lgetloadavg $LIBS" +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char getloadavg (); +int +main () +{ +getloadavg (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_lib_getloadavg_getloadavg=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_getloadavg_getloadavg=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_getloadavg_getloadavg" >&5 +echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6 +if test $ac_cv_lib_getloadavg_getloadavg = yes; then + LIBS="-lgetloadavg $LIBS" +else + LIBS=$ac_getloadavg_LIBS +fi + +fi + +# Make sure it is really in the library, if we think we found it, +# otherwise set up the replacement function. + +for ac_func in getloadavg +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +else + LIBOBJS="$LIBOBJS getloadavg.$ac_objext" + +cat >>confdefs.h <<\_ACEOF +#define C_GETLOADAVG 1 +_ACEOF + +# Figure out what our getloadavg.c needs. +ac_have_func=no +if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then + echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5 +echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6 +if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5 +echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking sys/dg_sys_info.h usability" >&5 +echo $ECHO_N "checking sys/dg_sys_info.h usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking sys/dg_sys_info.h presence" >&5 +echo $ECHO_N "checking sys/dg_sys_info.h presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6 + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc in + yes:no ) + { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; + no:yes ) + { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&5 +echo "$as_me: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5 +echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6 +if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_cv_header_sys_dg_sys_info_h=$ac_header_preproc +fi +echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5 +echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6 + +fi +if test $ac_cv_header_sys_dg_sys_info_h = yes; then + ac_have_func=yes + +cat >>confdefs.h <<\_ACEOF +#define DGUX 1 +_ACEOF + + +echo "$as_me:$LINENO: checking for dg_sys_info in -ldgc" >&5 +echo $ECHO_N "checking for dg_sys_info in -ldgc... $ECHO_C" >&6 +if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldgc $LIBS" +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char dg_sys_info (); +int +main () +{ +dg_sys_info (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_lib_dgc_dg_sys_info=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_dgc_dg_sys_info=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_dgc_dg_sys_info" >&5 +echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6 +if test $ac_cv_lib_dgc_dg_sys_info = yes; then + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBDGC 1 +_ACEOF + + LIBS="-ldgc $LIBS" + +fi + +fi + + + +if test "${ac_cv_header_locale_h+set}" = set; then + echo "$as_me:$LINENO: checking for locale.h" >&5 +echo $ECHO_N "checking for locale.h... $ECHO_C" >&6 +if test "${ac_cv_header_locale_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5 +echo "${ECHO_T}$ac_cv_header_locale_h" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking locale.h usability" >&5 +echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking locale.h presence" >&5 +echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6 + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc in + yes:no ) + { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; + no:yes ) + { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5 +echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for locale.h" >&5 +echo $ECHO_N "checking for locale.h... $ECHO_C" >&6 +if test "${ac_cv_header_locale_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_cv_header_locale_h=$ac_header_preproc +fi +echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5 +echo "${ECHO_T}$ac_cv_header_locale_h" >&6 + +fi + + + +for ac_func in setlocale +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + +# We cannot check for , because Solaris 2 does not use dwarf (it +# uses stabs), but it is still SVR4. We cannot check for because +# Irix 4.0.5F has the header but not the library. +if test $ac_have_func = no && test "$ac_cv_lib_elf_elf_begin" = yes; then + ac_have_func=yes + +cat >>confdefs.h <<\_ACEOF +#define SVR4 1 +_ACEOF + +fi + +if test $ac_have_func = no; then + if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then + echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5 +echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6 +if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5 +echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking inq_stats/cpustats.h usability" >&5 +echo $ECHO_N "checking inq_stats/cpustats.h usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking inq_stats/cpustats.h presence" >&5 +echo $ECHO_N "checking inq_stats/cpustats.h presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6 + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc in + yes:no ) + { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: inq_stats/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; + no:yes ) + { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: present but cannot be compiled" >&5 +echo "$as_me: WARNING: inq_stats/cpustats.h: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: inq_stats/cpustats.h: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5 +echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6 +if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_cv_header_inq_stats_cpustats_h=$ac_header_preproc +fi +echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5 +echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6 + +fi +if test $ac_cv_header_inq_stats_cpustats_h = yes; then + ac_have_func=yes + +cat >>confdefs.h <<\_ACEOF +#define UMAX 1 +_ACEOF + + +cat >>confdefs.h <<\_ACEOF +#define UMAX4_3 1 +_ACEOF + +fi + + +fi + +if test $ac_have_func = no; then + if test "${ac_cv_header_sys_cpustats_h+set}" = set; then + echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5 +echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6 +if test "${ac_cv_header_sys_cpustats_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5 +echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking sys/cpustats.h usability" >&5 +echo $ECHO_N "checking sys/cpustats.h usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking sys/cpustats.h presence" >&5 +echo $ECHO_N "checking sys/cpustats.h presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6 + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc in + yes:no ) + { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: sys/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; + no:yes ) + { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: present but cannot be compiled" >&5 +echo "$as_me: WARNING: sys/cpustats.h: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: sys/cpustats.h: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5 +echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6 +if test "${ac_cv_header_sys_cpustats_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_cv_header_sys_cpustats_h=$ac_header_preproc +fi +echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5 +echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6 + +fi +if test $ac_cv_header_sys_cpustats_h = yes; then + ac_have_func=yes; cat >>confdefs.h <<\_ACEOF +#define UMAX 1 +_ACEOF + +fi + + +fi + +if test $ac_have_func = no; then + +for ac_header in mach/mach.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6 + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc in + yes:no ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; + no:yes ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + eval "$as_ac_Header=$ac_header_preproc" +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 + +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + +fi + + +for ac_header in nlist.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6 + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc in + yes:no ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; + no:yes ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + eval "$as_ac_Header=$ac_header_preproc" +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 + +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + echo "$as_me:$LINENO: checking for struct nlist.n_un.n_name" >&5 +echo $ECHO_N "checking for struct nlist.n_un.n_name... $ECHO_C" >&6 +if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include + +int +main () +{ +static struct nlist ac_aggr; +if (ac_aggr.n_un.n_name) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_member_struct_nlist_n_un_n_name=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include + +int +main () +{ +static struct nlist ac_aggr; +if (sizeof ac_aggr.n_un.n_name) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_member_struct_nlist_n_un_n_name=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_member_struct_nlist_n_un_n_name=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5 +echo "${ECHO_T}$ac_cv_member_struct_nlist_n_un_n_name" >&6 +if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_STRUCT_NLIST_N_UN_N_NAME 1 +_ACEOF + + +cat >>confdefs.h <<\_ACEOF +#define NLIST_NAME_UNION 1 +_ACEOF + +fi + + +fi + +done + +fi +done + + +# Some definitions of getloadavg require that the program be installed setgid. +echo "$as_me:$LINENO: checking whether getloadavg requires setgid" >&5 +echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6 +if test "${ac_cv_func_getloadavg_setgid+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include "$srcdir/$ac_config_libobj_dir/getloadavg.c" +#ifdef LDAV_PRIVILEGED +Yowza Am I SETGID yet +#endif +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "Yowza Am I SETGID yet" >/dev/null 2>&1; then + ac_cv_func_getloadavg_setgid=yes +else + ac_cv_func_getloadavg_setgid=no +fi +rm -f conftest* + +fi +echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg_setgid" >&5 +echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6 +if test $ac_cv_func_getloadavg_setgid = yes; then + NEED_SETGID=true + +cat >>confdefs.h <<\_ACEOF +#define GETLOADAVG_PRIVILEGED 1 +_ACEOF + +else + NEED_SETGID=false +fi + +if test $ac_cv_func_getloadavg_setgid = yes; then + echo "$as_me:$LINENO: checking group of /dev/kmem" >&5 +echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6 +if test "${ac_cv_group_kmem+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + # On Solaris, /dev/kmem is a symlink. Get info on the real file. + ac_ls_output=`ls -lgL /dev/kmem 2>/dev/null` + # If we got an error (system does not support symlinks), try without -L. + test -z "$ac_ls_output" && ac_ls_output=`ls -lg /dev/kmem` + ac_cv_group_kmem=`echo $ac_ls_output \ + | sed -ne 's/[ ][ ]*/ /g; + s/^.[sSrwx-]* *[0-9]* *\([^0-9]*\) *.*/\1/; + / /s/.* //;p;'` + +fi +echo "$as_me:$LINENO: result: $ac_cv_group_kmem" >&5 +echo "${ECHO_T}$ac_cv_group_kmem" >&6 + KMEM_GROUP=$ac_cv_group_kmem +fi +if test "x$ac_save_LIBS" = x; then + GETLOADAVG_LIBS=$LIBS +else + GETLOADAVG_LIBS=`echo "$LIBS" | sed "s!$ac_save_LIBS!!"` +fi +LIBS=$ac_save_LIBS + + + + + + + + + +for ac_func in strcasecmp strncasecmp +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +else + LIBOBJS="$LIBOBJS $ac_func.$ac_objext" +fi +done + + + +for ac_func in dup2 +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +else + LIBOBJS="$LIBOBJS $ac_func.$ac_objext" +fi +done + + + + +for ac_func in gethostname getusershell +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +else + LIBOBJS="$LIBOBJS $ac_func.$ac_objext" +fi +done + + + +for ac_func in sig2str +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +else + LIBOBJS="$LIBOBJS $ac_func.$ac_objext" +fi +done + + + + + + + +for ac_func in strcspn stpcpy strstr strtol strtoul +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +else + LIBOBJS="$LIBOBJS $ac_func.$ac_objext" +fi +done + + + +for ac_func in strpbrk +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +else + LIBOBJS="$LIBOBJS $ac_func.$ac_objext" +fi +done + + + + + + + + +for ac_func in euidaccess memcmp rmdir rpmatch strndup strverscmp +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +else + LIBOBJS="$LIBOBJS $ac_func.$ac_objext" +fi +done + + + +for ac_func in atexit +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +else + LIBOBJS="$LIBOBJS $ac_func.$ac_objext" +fi +done + + + +for ac_func in getpass +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +else + LIBOBJS="$LIBOBJS $ac_func.$ac_objext" +fi +done + + + + # raise is used by at least sort and ls. + +for ac_func in raise +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +else + LIBOBJS="$LIBOBJS $ac_func.$ac_objext" +fi +done + + + + +for ac_func in strdup +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +else + LIBOBJS="$LIBOBJS $ac_func.$ac_objext" +fi +done + + + + + + + + +for ac_func in memchr memcpy memmove memrchr memset +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +else + LIBOBJS="$LIBOBJS $ac_func.$ac_objext" +fi +done + + + +for ac_func in getpagesize +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + + + + # By default, argmatch should fail calling usage (1). + +cat >>confdefs.h <<\_ACEOF +#define ARGMATCH_DIE usage (1) +_ACEOF + + +cat >>confdefs.h <<\_ACEOF +#define ARGMATCH_DIE_DECL extern void usage () +_ACEOF + + + echo "$as_me:$LINENO: checking whether setvbuf arguments are reversed" >&5 +echo $ECHO_N "checking whether setvbuf arguments are reversed... $ECHO_C" >&6 +if test "${ac_cv_func_setvbuf_reversed+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_cv_func_setvbuf_reversed=no + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +# if PROTOTYPES + int (setvbuf) (FILE *, int, char *, size_t); +# endif +int +main () +{ +char buf; return setvbuf (stdout, _IOLBF, &buf, 1); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +# if PROTOTYPES + int (setvbuf) (FILE *, int, char *, size_t); +# endif +int +main () +{ +char buf; return setvbuf (stdout, &buf, _IOLBF, 1); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + # It compiles and links either way, so it must not be declared + # with a prototype and most likely this is a K&R C compiler. + # Try running it. + if test "$cross_compiling" = yes; then + : # Assume setvbuf is not reversed when cross-compiling. +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +int +main () +{ +/* This call has the arguments reversed. + A reversed system may check and see that the address of buf + is not _IOLBF, _IONBF, or _IOFBF, and return nonzero. */ + char buf; + if (setvbuf (stdout, _IOLBF, &buf, 1) != 0) + exit (1); + putchar ('\r'); + exit (0); /* Non-reversed systems SEGV here. */ + ; + return 0; +} +_ACEOF +rm -f conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_func_setvbuf_reversed=yes +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +( exit $ac_status ) +rm -f core core.* *.core +fi +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi + ac_cv_func_setvbuf_reversed=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_func_setvbuf_reversed" >&5 +echo "${ECHO_T}$ac_cv_func_setvbuf_reversed" >&6 +if test $ac_cv_func_setvbuf_reversed = yes; then + +cat >>confdefs.h <<\_ACEOF +#define SETVBUF_REVERSED 1 +_ACEOF + +fi + + + # used by sleep and shred + # Solaris 2.5.1 needs -lposix4 to get the clock_gettime function. + # Solaris 7 prefers the library name -lrt to the obsolescent name -lposix4. + + # Save and restore LIBS so e.g., -lrt, isn't added to it. Otherwise, *all* + # programs in the package would end up linked with that potentially-shared + # library, inducing unnecessary run-time overhead. + fetish_saved_libs=$LIBS + + echo "$as_me:$LINENO: checking for library containing clock_gettime" >&5 +echo $ECHO_N "checking for library containing clock_gettime... $ECHO_C" >&6 +if test "${ac_cv_search_clock_gettime+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + + ac_func_search_save_LIBS=$LIBS + ac_cv_search_clock_gettime=no + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char clock_gettime (); +int +main () +{ +clock_gettime (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_search_clock_gettime='none required' +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext + if test "$ac_cv_search_clock_gettime" = no; then + for ac_lib in rt posix4; do + LIBS="-l$ac_lib $ac_func_search_save_LIBS" + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char clock_gettime (); +int +main () +{ +clock_gettime (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_search_clock_gettime="-l$ac_lib"; break +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext + done + fi + LIBS=$ac_func_search_save_LIBS + +fi +echo "$as_me:$LINENO: result: $ac_cv_search_clock_gettime" >&5 +echo "${ECHO_T}$ac_cv_search_clock_gettime" >&6 + + if test "$ac_cv_search_clock_gettime" = no; then : + + else + if test "$ac_cv_search_clock_gettime" = 'none required'; then : + + else + LIBS="$ac_cv_search_clock_gettime $LIBS" + LIB_CLOCK_GETTIME=$ac_cv_search_clock_gettime + fi + fi + + + + +for ac_func in clock_gettime clock_settime +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + LIBS=$fetish_saved_libs + +for ac_func in gettimeofday +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + + + + +for ac_header in string.h stdlib.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6 + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc in + yes:no ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; + no:yes ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + eval "$as_ac_Header=$ac_header_preproc" +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 + +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + echo "$as_me:$LINENO: checking whether gettimeofday clobbers localtime buffer" >&5 +echo $ECHO_N "checking whether gettimeofday clobbers localtime buffer... $ECHO_C" >&6 +if test "${jm_cv_func_gettimeofday_clobber+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "$cross_compiling" = yes; then + jm_cv_func_gettimeofday_clobber=yes +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +#include +#if HAVE_STRING_H +# include +#endif + +#if TIME_WITH_SYS_TIME +# include +# include +#else +# if HAVE_SYS_TIME_H +# include +# else +# include +# endif +#endif + +#if HAVE_STDLIB_H +# include +#endif + +int +main () +{ + time_t t = 0; + struct tm *lt; + struct tm saved_lt; + struct timeval tv; + lt = localtime (&t); + saved_lt = *lt; + gettimeofday (&tv, NULL); + if (memcmp (lt, &saved_lt, sizeof (struct tm)) != 0) + exit (1); + + exit (0); +} + +_ACEOF +rm -f conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + jm_cv_func_gettimeofday_clobber=no +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +( exit $ac_status ) +jm_cv_func_gettimeofday_clobber=yes +fi +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi + +fi +echo "$as_me:$LINENO: result: $jm_cv_func_gettimeofday_clobber" >&5 +echo "${ECHO_T}$jm_cv_func_gettimeofday_clobber" >&6 + if test $jm_cv_func_gettimeofday_clobber = yes; then + LIBOBJS="$LIBOBJS gettimeofday.$ac_objext" + +cat >>confdefs.h <<\_ACEOF +#define localtime rpl_localtime +_ACEOF + + +cat >>confdefs.h <<\_ACEOF +#define gettimeofday rpl_gettimeofday +_ACEOF + + +cat >>confdefs.h <<\_ACEOF +#define GETTIMEOFDAY_CLOBBERS_LOCALTIME_BUFFER 1 +_ACEOF + + fi + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +for ac_func in \ + bcopy \ + endgrent \ + endpwent \ + fchdir \ + fdatasync \ + ftime \ + ftruncate \ + getcwd \ + gethrtime \ + getmntinfo \ + hasmntopt \ + isascii \ + iswspace \ + lchown \ + listmntent \ + localeconv \ + memcpy \ + mempcpy \ + mkfifo \ + realpath \ + sethostname \ + strchr \ + strerror \ + strrchr \ + sysctl \ + sysinfo \ + wcrtomb \ + tzset \ + +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + + # for test.c + + +for ac_func in setreuid setregid +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + + am_getline_needs_run_time_check=no + echo "$as_me:$LINENO: checking for getline" >&5 +echo $ECHO_N "checking for getline... $ECHO_C" >&6 +if test "${ac_cv_func_getline+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char getline (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char getline (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_getline) || defined (__stub___getline) +choke me +#else +char (*f) () = getline; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != getline; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_func_getline=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_func_getline=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_func_getline" >&5 +echo "${ECHO_T}$ac_cv_func_getline" >&6 +if test $ac_cv_func_getline = yes; then + am_getline_needs_run_time_check=yes +else + am_cv_func_working_getline=no +fi + + if test $am_getline_needs_run_time_check = yes; then + echo "$as_me:$LINENO: checking for working getline function" >&5 +echo $ECHO_N "checking for working getline function... $ECHO_C" >&6 +if test "${am_cv_func_working_getline+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + echo fooN |tr -d '\012'|tr N '\012' > conftest.data + if test "$cross_compiling" = yes; then + am_cv_func_working_getline=no +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +# include +# include +# include + int main () + { /* Based on a test program from Karl Heuer. */ + char *line = NULL; + size_t siz = 0; + int len; + FILE *in = fopen ("./conftest.data", "r"); + if (!in) + return 1; + len = getline (&line, &siz, in); + exit ((len == 4 && line && strcmp (line, "foo\n") == 0) ? 0 : 1); + } + +_ACEOF +rm -f conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + am_cv_func_working_getline=yes +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +( exit $ac_status ) +am_cv_func_working_getline=no +fi +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi +fi +echo "$as_me:$LINENO: result: $am_cv_func_working_getline" >&5 +echo "${ECHO_T}$am_cv_func_working_getline" >&6 + fi + + if test $am_cv_func_working_getline = no; then + LIBOBJS="$LIBOBJS getline.$ac_objext" + fi + + if test $am_cv_func_working_getline != yes; then + +for ac_func in getdelim +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + fi + echo "$as_me:$LINENO: checking for obstacks" >&5 +echo $ECHO_N "checking for obstacks... $ECHO_C" >&6 +if test "${ac_cv_func_obstack+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include "obstack.h" +int +main () +{ +struct obstack *mem; obstack_free(mem,(char *) 0) + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_func_obstack=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_func_obstack=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_func_obstack" >&5 +echo "${ECHO_T}$ac_cv_func_obstack" >&6 +if test $ac_cv_func_obstack = yes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_OBSTACK 1 +_ACEOF + +else + LIBOBJS="$LIBOBJS obstack.$ac_objext" +fi + + + echo "$as_me:$LINENO: checking for working strtod" >&5 +echo $ECHO_N "checking for working strtod... $ECHO_C" >&6 +if test "${ac_cv_func_strtod+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "$cross_compiling" = yes; then + ac_cv_func_strtod=no +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +double strtod (); +int +main() +{ + { + /* Some versions of Linux strtod mis-parse strings with leading '+'. */ + char *string = " +69"; + char *term; + double value; + value = strtod (string, &term); + if (value != 69 || term != (string + 4)) + exit (1); + } + + { + /* Under Solaris 2.4, strtod returns the wrong value for the + terminating character under some conditions. */ + char *string = "NaN"; + char *term; + strtod (string, &term); + if (term != string && *(term - 1) == 0) + exit (1); + } + exit (0); +} + +_ACEOF +rm -f conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_func_strtod=yes +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +( exit $ac_status ) +ac_cv_func_strtod=no +fi +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi +fi +echo "$as_me:$LINENO: result: $ac_cv_func_strtod" >&5 +echo "${ECHO_T}$ac_cv_func_strtod" >&6 +if test $ac_cv_func_strtod = no; then + LIBOBJS="$LIBOBJS strtod.$ac_objext" +echo "$as_me:$LINENO: checking for pow" >&5 +echo $ECHO_N "checking for pow... $ECHO_C" >&6 +if test "${ac_cv_func_pow+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char pow (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char pow (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_pow) || defined (__stub___pow) +choke me +#else +char (*f) () = pow; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != pow; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_func_pow=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_func_pow=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_func_pow" >&5 +echo "${ECHO_T}$ac_cv_func_pow" >&6 + +if test $ac_cv_func_pow = no; then + echo "$as_me:$LINENO: checking for pow in -lm" >&5 +echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6 +if test "${ac_cv_lib_m_pow+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lm $LIBS" +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char pow (); +int +main () +{ +pow (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_lib_m_pow=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_m_pow=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5 +echo "${ECHO_T}$ac_cv_lib_m_pow" >&6 +if test $ac_cv_lib_m_pow = yes; then + POW_LIB=-lm +else + { echo "$as_me:$LINENO: WARNING: cannot find library containing definition of pow" >&5 +echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;} +fi + +fi + +fi + + + + + # See if linking `seq' requires -lm. + # It does on nearly every system. The single exception (so far) is + # BeOS which has all the math functions in the normal runtime library + # and doesn't have a separate math library. + + + ac_seq_body=' + static double x, y; + x = floor (x); + x = rint (x); + x = modf (x, &y);' + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +int +main () +{ +$ac_seq_body + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + : +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_seq_save_LIBS="$LIBS" + LIBS="$LIBS -lm" + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +int +main () +{ +$ac_seq_body + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + SEQ_LIBM=-lm +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext + LIBS="$ac_seq_save_LIBS" + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext + + + echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5 +echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6 +if test "${am_cv_langinfo_codeset+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +int +main () +{ +char* cs = nl_langinfo(CODESET); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + am_cv_langinfo_codeset=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +am_cv_langinfo_codeset=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext + +fi +echo "$as_me:$LINENO: result: $am_cv_langinfo_codeset" >&5 +echo "${ECHO_T}$am_cv_langinfo_codeset" >&6 + if test $am_cv_langinfo_codeset = yes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_LANGINFO_CODESET 1 +_ACEOF + + fi + + + echo "$as_me:$LINENO: checking whether we are using the GNU C Library 2.1 or newer" >&5 +echo $ECHO_N "checking whether we are using the GNU C Library 2.1 or newer... $ECHO_C" >&6 +if test "${ac_cv_gnu_library_2_1+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +#include +#ifdef __GNU_LIBRARY__ + #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2) + Lucky GNU user + #endif +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "Lucky GNU user" >/dev/null 2>&1; then + ac_cv_gnu_library_2_1=yes +else + ac_cv_gnu_library_2_1=no +fi +rm -f conftest* + + + +fi +echo "$as_me:$LINENO: result: $ac_cv_gnu_library_2_1" >&5 +echo "${ECHO_T}$ac_cv_gnu_library_2_1" >&6 + + GLIBC21="$ac_cv_gnu_library_2_1" + + + + + + + + am_save_CPPFLAGS="$CPPFLAGS" + + for element in $INCICONV; do + haveit= + for x in $CPPFLAGS; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X$element"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" + fi + done + + + echo "$as_me:$LINENO: checking for iconv" >&5 +echo $ECHO_N "checking for iconv... $ECHO_C" >&6 +if test "${am_cv_func_iconv+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + + am_cv_func_iconv="no, consider installing GNU libiconv" + am_cv_lib_iconv=no + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#include +int +main () +{ +iconv_t cd = iconv_open("",""); + iconv(cd,NULL,NULL,NULL,NULL); + iconv_close(cd); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + am_cv_func_iconv=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext + if test "$am_cv_func_iconv" != yes; then + am_save_LIBS="$LIBS" + LIBS="$LIBS $LIBICONV" + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#include +int +main () +{ +iconv_t cd = iconv_open("",""); + iconv(cd,NULL,NULL,NULL,NULL); + iconv_close(cd); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + am_cv_lib_iconv=yes + am_cv_func_iconv=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext + LIBS="$am_save_LIBS" + fi + +fi +echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5 +echo "${ECHO_T}$am_cv_func_iconv" >&6 + if test "$am_cv_func_iconv" = yes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_ICONV 1 +_ACEOF + + fi + if test "$am_cv_lib_iconv" = yes; then + echo "$as_me:$LINENO: checking how to link with libiconv" >&5 +echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6 + echo "$as_me:$LINENO: result: $LIBICONV" >&5 +echo "${ECHO_T}$LIBICONV" >&6 + else + CPPFLAGS="$am_save_CPPFLAGS" + LIBICONV= + LTLIBICONV= + fi + + + + if test "$am_cv_func_iconv" = yes; then + echo "$as_me:$LINENO: checking for iconv declaration" >&5 +echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6 + if test "${am_cv_proto_iconv+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +#include +#include +extern +#ifdef __cplusplus +"C" +#endif +#if defined(__STDC__) || defined(__cplusplus) +size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); +#else +size_t iconv(); +#endif + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + am_cv_proto_iconv_arg1="" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +am_cv_proto_iconv_arg1="const" +fi +rm -f conftest.$ac_objext conftest.$ac_ext + am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);" +fi + + am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'` + echo "$as_me:$LINENO: result: ${ac_t:- + }$am_cv_proto_iconv" >&5 +echo "${ECHO_T}${ac_t:- + }$am_cv_proto_iconv" >&6 + +cat >>confdefs.h <<_ACEOF +#define ICONV_CONST $am_cv_proto_iconv_arg1 +_ACEOF + + fi + + echo "$as_me:$LINENO: checking whether a running program can be unlinked" >&5 +echo $ECHO_N "checking whether a running program can be unlinked... $ECHO_C" >&6 +if test "${jm_cv_func_unlink_busy_text+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + + if test "$cross_compiling" = yes; then + jm_cv_func_unlink_busy_text=no + +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + + main (argc, argv) + int argc; + char **argv; + { + if (!argc) + exit (-1); + exit (unlink (argv[0])); + } + +_ACEOF +rm -f conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + jm_cv_func_unlink_busy_text=yes +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +( exit $ac_status ) +jm_cv_func_unlink_busy_text=no +fi +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi + + +fi +echo "$as_me:$LINENO: result: $jm_cv_func_unlink_busy_text" >&5 +echo "${ECHO_T}$jm_cv_func_unlink_busy_text" >&6 + + if test $jm_cv_func_unlink_busy_text = no; then + INSTALL=$ac_install_sh + fi + + + # These tests are for df. + + + +for ac_func in listmntent getmntinfo +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + + + + + +for ac_header in mntent.h sys/param.h sys/ucred.h sys/mount.h sys/fs_types.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6 + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc in + yes:no ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; + no:yes ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + eval "$as_ac_Header=$ac_header_preproc" +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 + +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + getfsstat_includes="\ +$ac_includes_default +#if HAVE_SYS_PARAM_H +# include /* needed by powerpc-apple-darwin1.3.7 */ +#endif +#if HAVE_SYS_UCRED_H +# include /* needed by powerpc-apple-darwin1.3.7 */ +#endif +#if HAVE_SYS_MOUNT_H +# include +#endif +#if HAVE_SYS_FS_TYPES_H +# include /* needed by powerpc-apple-darwin1.3.7 */ +#endif +" +echo "$as_me:$LINENO: checking for struct fsstat.f_fstypename" >&5 +echo $ECHO_N "checking for struct fsstat.f_fstypename... $ECHO_C" >&6 +if test "${ac_cv_member_struct_fsstat_f_fstypename+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$getfsstat_includes + +int +main () +{ +static struct fsstat ac_aggr; +if (ac_aggr.f_fstypename) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_member_struct_fsstat_f_fstypename=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$getfsstat_includes + +int +main () +{ +static struct fsstat ac_aggr; +if (sizeof ac_aggr.f_fstypename) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_member_struct_fsstat_f_fstypename=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_member_struct_fsstat_f_fstypename=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_member_struct_fsstat_f_fstypename" >&5 +echo "${ECHO_T}$ac_cv_member_struct_fsstat_f_fstypename" >&6 +if test $ac_cv_member_struct_fsstat_f_fstypename = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_STRUCT_FSSTAT_F_FSTYPENAME 1 +_ACEOF + + +fi + + +# Determine how to get the list of mounted filesystems. +ac_list_mounted_fs= + +# If the getmntent function is available but not in the standard library, +# make sure LIBS contains -lsun (on Irix4) or -lseq (on PTX). +# getmntent is in -lsun on Irix 4, -lseq on Dynix/PTX, -lgen on Unixware. +echo "$as_me:$LINENO: checking for getmntent in -lsun" >&5 +echo $ECHO_N "checking for getmntent in -lsun... $ECHO_C" >&6 +if test "${ac_cv_lib_sun_getmntent+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lsun $LIBS" +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char getmntent (); +int +main () +{ +getmntent (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_lib_sun_getmntent=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_sun_getmntent=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_sun_getmntent" >&5 +echo "${ECHO_T}$ac_cv_lib_sun_getmntent" >&6 +if test $ac_cv_lib_sun_getmntent = yes; then + LIBS="-lsun $LIBS" +else + echo "$as_me:$LINENO: checking for getmntent in -lseq" >&5 +echo $ECHO_N "checking for getmntent in -lseq... $ECHO_C" >&6 +if test "${ac_cv_lib_seq_getmntent+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lseq $LIBS" +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char getmntent (); +int +main () +{ +getmntent (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_lib_seq_getmntent=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_seq_getmntent=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_seq_getmntent" >&5 +echo "${ECHO_T}$ac_cv_lib_seq_getmntent" >&6 +if test $ac_cv_lib_seq_getmntent = yes; then + LIBS="-lseq $LIBS" +else + echo "$as_me:$LINENO: checking for getmntent in -lgen" >&5 +echo $ECHO_N "checking for getmntent in -lgen... $ECHO_C" >&6 +if test "${ac_cv_lib_gen_getmntent+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lgen $LIBS" +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char getmntent (); +int +main () +{ +getmntent (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_lib_gen_getmntent=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_gen_getmntent=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_gen_getmntent" >&5 +echo "${ECHO_T}$ac_cv_lib_gen_getmntent" >&6 +if test $ac_cv_lib_gen_getmntent = yes; then + LIBS="-lgen $LIBS" +fi + +fi + +fi + + +for ac_func in getmntent +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + + +# This test must precede the ones for getmntent because Unicos-9 is +# reported to have the getmntent function, but its support is incompatible +# with other getmntent implementations. + +# NOTE: Normally, I wouldn't use a check for system type as I've done for +# `CRAY' below since that goes against the whole autoconf philosophy. But +# I think there is too great a chance that some non-Cray system has a +# function named listmntent to risk the false positive. + +if test -z "$ac_list_mounted_fs"; then + # Cray UNICOS 9 + echo "$as_me:$LINENO: checking for listmntent of Cray/Unicos-9" >&5 +echo $ECHO_N "checking for listmntent of Cray/Unicos-9... $ECHO_C" >&6 + if test "${fu_cv_sys_mounted_cray_listmntent+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + fu_cv_sys_mounted_cray_listmntent=no + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#ifdef _CRAY +yes +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "yes" >/dev/null 2>&1; then + test $ac_cv_func_listmntent = yes \ + && fu_cv_sys_mounted_cray_listmntent=yes + +fi +rm -f conftest* + + + +fi + + echo "$as_me:$LINENO: result: $fu_cv_sys_mounted_cray_listmntent" >&5 +echo "${ECHO_T}$fu_cv_sys_mounted_cray_listmntent" >&6 + if test $fu_cv_sys_mounted_cray_listmntent = yes; then + ac_list_mounted_fs=found + +cat >>confdefs.h <<\_ACEOF +#define MOUNTED_LISTMNTENT 1 +_ACEOF + + fi +fi + +if test -z "$ac_list_mounted_fs"; then + # AIX. + echo "$as_me:$LINENO: checking for mntctl function and struct vmount" >&5 +echo $ECHO_N "checking for mntctl function and struct vmount... $ECHO_C" >&6 + if test "${fu_cv_sys_mounted_vmount+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + fu_cv_sys_mounted_vmount=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + fu_cv_sys_mounted_vmount=no +fi +rm -f conftest.err conftest.$ac_ext +fi + + echo "$as_me:$LINENO: result: $fu_cv_sys_mounted_vmount" >&5 +echo "${ECHO_T}$fu_cv_sys_mounted_vmount" >&6 + if test $fu_cv_sys_mounted_vmount = yes; then + ac_list_mounted_fs=found + +cat >>confdefs.h <<\_ACEOF +#define MOUNTED_VMOUNT 1 +_ACEOF + + fi +fi + +if test $ac_cv_func_getmntent = yes; then + + # This system has the getmntent function. + # Determine whether it's the one-argument variant or the two-argument one. + + if test -z "$ac_list_mounted_fs"; then + # 4.3BSD, SunOS, HP-UX, Dynix, Irix + echo "$as_me:$LINENO: checking for one-argument getmntent function" >&5 +echo $ECHO_N "checking for one-argument getmntent function... $ECHO_C" >&6 + if test "${fu_cv_sys_mounted_getmntent1+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* SunOS 4.1.x /usr/include/mntent.h needs this for FILE */ +#include + +#include +#if !defined MOUNTED +# if defined _PATH_MOUNTED /* GNU libc */ +# define MOUNTED _PATH_MOUNTED +# endif +# if defined MNT_MNTTAB /* HP-UX. */ +# define MOUNTED MNT_MNTTAB +# endif +# if defined MNTTABNAME /* Dynix. */ +# define MOUNTED MNTTABNAME +# endif +#endif + +int +main () +{ + struct mntent *mnt = 0; char *table = MOUNTED; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + fu_cv_sys_mounted_getmntent1=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fu_cv_sys_mounted_getmntent1=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi + + echo "$as_me:$LINENO: result: $fu_cv_sys_mounted_getmntent1" >&5 +echo "${ECHO_T}$fu_cv_sys_mounted_getmntent1" >&6 + if test $fu_cv_sys_mounted_getmntent1 = yes; then + ac_list_mounted_fs=found + +cat >>confdefs.h <<\_ACEOF +#define MOUNTED_GETMNTENT1 1 +_ACEOF + + fi + fi + + if test -z "$ac_list_mounted_fs"; then + # SVR4 + echo "$as_me:$LINENO: checking for two-argument getmntent function" >&5 +echo $ECHO_N "checking for two-argument getmntent function... $ECHO_C" >&6 + if test "${fu_cv_sys_mounted_getmntent2+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "getmntent" >/dev/null 2>&1; then + fu_cv_sys_mounted_getmntent2=yes +else + fu_cv_sys_mounted_getmntent2=no +fi +rm -f conftest* + +fi + + echo "$as_me:$LINENO: result: $fu_cv_sys_mounted_getmntent2" >&5 +echo "${ECHO_T}$fu_cv_sys_mounted_getmntent2" >&6 + if test $fu_cv_sys_mounted_getmntent2 = yes; then + ac_list_mounted_fs=found + +cat >>confdefs.h <<\_ACEOF +#define MOUNTED_GETMNTENT2 1 +_ACEOF + + fi + fi + +fi + +if test -z "$ac_list_mounted_fs"; then + # DEC Alpha running OSF/1, and Apple Darwin 1.3. + # powerpc-apple-darwin1.3.7 needs sys/param.h sys/ucred.h sys/fs_types.h + + echo "$as_me:$LINENO: checking for getfsstat function" >&5 +echo $ECHO_N "checking for getfsstat function... $ECHO_C" >&6 + if test "${fu_cv_sys_mounted_getfsstat+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +#include +#if HAVE_STRUCT_FSSTAT_F_FSTYPENAME +# define FS_TYPE(Ent) ((Ent).f_fstypename) +#else +# define FS_TYPE(Ent) mnt_names[(Ent).f_type] +#endif +$getfsstat_includes + +int +main () +{ +struct statfs *stats; + int numsys = getfsstat ((struct statfs *)0, 0L, MNT_WAIT); + char *t = FS_TYPE (*stats); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + fu_cv_sys_mounted_getfsstat=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fu_cv_sys_mounted_getfsstat=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi + + echo "$as_me:$LINENO: result: $fu_cv_sys_mounted_getfsstat" >&5 +echo "${ECHO_T}$fu_cv_sys_mounted_getfsstat" >&6 + if test $fu_cv_sys_mounted_getfsstat = yes; then + ac_list_mounted_fs=found + +cat >>confdefs.h <<\_ACEOF +#define MOUNTED_GETFSSTAT 1 +_ACEOF + + fi +fi + +if test -z "$ac_list_mounted_fs"; then + # SVR3 + echo "$as_me:$LINENO: checking for FIXME existence of three headers" >&5 +echo $ECHO_N "checking for FIXME existence of three headers... $ECHO_C" >&6 + if test "${fu_cv_sys_mounted_fread_fstyp+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +#include +#include +#include +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + fu_cv_sys_mounted_fread_fstyp=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + fu_cv_sys_mounted_fread_fstyp=no +fi +rm -f conftest.err conftest.$ac_ext +fi + + echo "$as_me:$LINENO: result: $fu_cv_sys_mounted_fread_fstyp" >&5 +echo "${ECHO_T}$fu_cv_sys_mounted_fread_fstyp" >&6 + if test $fu_cv_sys_mounted_fread_fstyp = yes; then + ac_list_mounted_fs=found + +cat >>confdefs.h <<\_ACEOF +#define MOUNTED_FREAD_FSTYP 1 +_ACEOF + + fi +fi + +if test -z "$ac_list_mounted_fs"; then + # 4.4BSD and DEC OSF/1. + echo "$as_me:$LINENO: checking for getmntinfo function" >&5 +echo $ECHO_N "checking for getmntinfo function... $ECHO_C" >&6 + if test "${fu_cv_sys_mounted_getmntinfo+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + + test "$ac_cv_func_getmntinfo" = yes \ + && fu_cv_sys_mounted_getmntinfo=yes \ + || fu_cv_sys_mounted_getmntinfo=no + +fi + + echo "$as_me:$LINENO: result: $fu_cv_sys_mounted_getmntinfo" >&5 +echo "${ECHO_T}$fu_cv_sys_mounted_getmntinfo" >&6 + if test $fu_cv_sys_mounted_getmntinfo = yes; then + ac_list_mounted_fs=found + +cat >>confdefs.h <<\_ACEOF +#define MOUNTED_GETMNTINFO 1 +_ACEOF + + fi +fi + +if test -z "$ac_list_mounted_fs"; then + # Ultrix + echo "$as_me:$LINENO: checking for getmnt function" >&5 +echo $ECHO_N "checking for getmnt function... $ECHO_C" >&6 + if test "${fu_cv_sys_mounted_getmnt+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +#include +#include +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + fu_cv_sys_mounted_getmnt=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + fu_cv_sys_mounted_getmnt=no +fi +rm -f conftest.err conftest.$ac_ext +fi + + echo "$as_me:$LINENO: result: $fu_cv_sys_mounted_getmnt" >&5 +echo "${ECHO_T}$fu_cv_sys_mounted_getmnt" >&6 + if test $fu_cv_sys_mounted_getmnt = yes; then + ac_list_mounted_fs=found + +cat >>confdefs.h <<\_ACEOF +#define MOUNTED_GETMNT 1 +_ACEOF + + fi +fi + +if test -z "$ac_list_mounted_fs"; then + # BeOS + + +for ac_func in next_dev fs_stat_dev +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + +for ac_header in fs_info.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6 + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc in + yes:no ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; + no:yes ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + eval "$as_ac_Header=$ac_header_preproc" +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 + +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + echo "$as_me:$LINENO: checking for BEOS mounted file system support functions" >&5 +echo $ECHO_N "checking for BEOS mounted file system support functions... $ECHO_C" >&6 + if test $ac_cv_header_fs_info_h = yes \ + && test $ac_cv_func_next_dev = yes \ + && test $ac_cv_func_fs_stat_dev = yes; then + fu_result=yes + else + fu_result=no + fi + echo "$as_me:$LINENO: result: $fu_result" >&5 +echo "${ECHO_T}$fu_result" >&6 + if test $fu_result = yes; then + ac_list_mounted_fs=found + +cat >>confdefs.h <<\_ACEOF +#define MOUNTED_FS_STAT_DEV 1 +_ACEOF + + fi +fi + +if test -z "$ac_list_mounted_fs"; then + # SVR2 + echo "$as_me:$LINENO: checking whether it is possible to resort to fread on /etc/mnttab" >&5 +echo $ECHO_N "checking whether it is possible to resort to fread on /etc/mnttab... $ECHO_C" >&6 + if test "${fu_cv_sys_mounted_fread+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + fu_cv_sys_mounted_fread=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + fu_cv_sys_mounted_fread=no +fi +rm -f conftest.err conftest.$ac_ext +fi + + echo "$as_me:$LINENO: result: $fu_cv_sys_mounted_fread" >&5 +echo "${ECHO_T}$fu_cv_sys_mounted_fread" >&6 + if test $fu_cv_sys_mounted_fread = yes; then + ac_list_mounted_fs=found + +cat >>confdefs.h <<\_ACEOF +#define MOUNTED_FREAD 1 +_ACEOF + + fi +fi + +if test -z "$ac_list_mounted_fs"; then + { { echo "$as_me:$LINENO: error: could not determine how to read list of mounted filesystems" >&5 +echo "$as_me: error: could not determine how to read list of mounted filesystems" >&2;} + { (exit 1); exit 1; }; } + # FIXME -- no need to abort building the whole package + # Can't build mountlist.c or anything that needs its functions +fi + +if test $ac_list_mounted_fs = found; then + list_mounted_fs=yes +else + list_mounted_fs=no +fi + + + + + echo "$as_me:$LINENO: checking for f_fstypename in struct statfs" >&5 +echo $ECHO_N "checking for f_fstypename in struct statfs... $ECHO_C" >&6 +if test "${fu_cv_sys_f_fstypename_in_statfs+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +#include +#include +#include + +int +main () +{ +struct statfs s; int i = sizeof s.f_fstypename; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + fu_cv_sys_f_fstypename_in_statfs=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fu_cv_sys_f_fstypename_in_statfs=no + +fi +rm -f conftest.$ac_objext conftest.$ac_ext + + +fi +echo "$as_me:$LINENO: result: $fu_cv_sys_f_fstypename_in_statfs" >&5 +echo "${ECHO_T}$fu_cv_sys_f_fstypename_in_statfs" >&6 + + if test $fu_cv_sys_f_fstypename_in_statfs = yes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_F_FSTYPENAME_IN_STATFS 1 +_ACEOF + + fi + + + + +echo "checking how to get filesystem space usage..." +ac_fsusage_space=no + +# Perform only the link test since it seems there are no variants of the +# statvfs function. This check is more than just AC_CHECK_FUNCS(statvfs) +# because that got a false positive on SCO OSR5. Adding the declaration +# of a `struct statvfs' causes this test to fail (as it should) on such +# systems. That system is reported to work fine with STAT_STATFS4 which +# is what it gets when this test fails. +if test $ac_fsusage_space = no; then + # SVR4 + echo "$as_me:$LINENO: checking for statvfs function (SVR4)" >&5 +echo $ECHO_N "checking for statvfs function (SVR4)... $ECHO_C" >&6 +if test "${fu_cv_sys_stat_statvfs+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#ifdef __GLIBC__ +Do not use statvfs on systems with GNU libc, because that function stats +all preceding entries in /proc/mounts, and that makes df hang if even +one of the corresponding file systems is hard-mounted, but not available. +#endif +#include +int +main () +{ +struct statvfs fsd; statvfs (0, &fsd); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + fu_cv_sys_stat_statvfs=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fu_cv_sys_stat_statvfs=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $fu_cv_sys_stat_statvfs" >&5 +echo "${ECHO_T}$fu_cv_sys_stat_statvfs" >&6 + if test $fu_cv_sys_stat_statvfs = yes; then + ac_fsusage_space=yes + +cat >>confdefs.h <<\_ACEOF +#define STAT_STATVFS 1 +_ACEOF + + fi +fi + +if test $ac_fsusage_space = no; then + # DEC Alpha running OSF/1 + echo "$as_me:$LINENO: checking for 3-argument statfs function (DEC OSF/1)" >&5 +echo $ECHO_N "checking for 3-argument statfs function (DEC OSF/1)... $ECHO_C" >&6 + if test "${fu_cv_sys_stat_statfs3_osf1+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "$cross_compiling" = yes; then + fu_cv_sys_stat_statfs3_osf1=no +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +#include +#include +#include + main () + { + struct statfs fsd; + fsd.f_fsize = 0; + exit (statfs (".", &fsd, sizeof (struct statfs))); + } +_ACEOF +rm -f conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + fu_cv_sys_stat_statfs3_osf1=yes +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +( exit $ac_status ) +fu_cv_sys_stat_statfs3_osf1=no +fi +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi +fi + + echo "$as_me:$LINENO: result: $fu_cv_sys_stat_statfs3_osf1" >&5 +echo "${ECHO_T}$fu_cv_sys_stat_statfs3_osf1" >&6 + if test $fu_cv_sys_stat_statfs3_osf1 = yes; then + ac_fsusage_space=yes + +cat >>confdefs.h <<\_ACEOF +#define STAT_STATFS3_OSF1 1 +_ACEOF + + fi +fi + +if test $ac_fsusage_space = no; then +# AIX + echo "$as_me:$LINENO: checking for two-argument statfs with statfs.bsize member (AIX, 4.3BSD)" >&5 +echo $ECHO_N "checking for two-argument statfs with statfs.bsize member (AIX, 4.3BSD)... $ECHO_C" >&6 + if test "${fu_cv_sys_stat_statfs2_bsize+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "$cross_compiling" = yes; then + fu_cv_sys_stat_statfs2_bsize=no +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +#ifdef HAVE_SYS_PARAM_H +#include +#endif +#ifdef HAVE_SYS_MOUNT_H +#include +#endif +#ifdef HAVE_SYS_VFS_H +#include +#endif + main () + { + struct statfs fsd; + fsd.f_bsize = 0; + exit (statfs (".", &fsd)); + } +_ACEOF +rm -f conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + fu_cv_sys_stat_statfs2_bsize=yes +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +( exit $ac_status ) +fu_cv_sys_stat_statfs2_bsize=no +fi +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi +fi + + echo "$as_me:$LINENO: result: $fu_cv_sys_stat_statfs2_bsize" >&5 +echo "${ECHO_T}$fu_cv_sys_stat_statfs2_bsize" >&6 + if test $fu_cv_sys_stat_statfs2_bsize = yes; then + ac_fsusage_space=yes + +cat >>confdefs.h <<\_ACEOF +#define STAT_STATFS2_BSIZE 1 +_ACEOF + + fi +fi + +if test $ac_fsusage_space = no; then +# SVR3 + echo "$as_me:$LINENO: checking for four-argument statfs (AIX-3.2.5, SVR3)" >&5 +echo $ECHO_N "checking for four-argument statfs (AIX-3.2.5, SVR3)... $ECHO_C" >&6 + if test "${fu_cv_sys_stat_statfs4+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "$cross_compiling" = yes; then + fu_cv_sys_stat_statfs4=no +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#include + main () + { + struct statfs fsd; + exit (statfs (".", &fsd, sizeof fsd, 0)); + } +_ACEOF +rm -f conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + fu_cv_sys_stat_statfs4=yes +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +( exit $ac_status ) +fu_cv_sys_stat_statfs4=no +fi +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi +fi + + echo "$as_me:$LINENO: result: $fu_cv_sys_stat_statfs4" >&5 +echo "${ECHO_T}$fu_cv_sys_stat_statfs4" >&6 + if test $fu_cv_sys_stat_statfs4 = yes; then + ac_fsusage_space=yes + +cat >>confdefs.h <<\_ACEOF +#define STAT_STATFS4 1 +_ACEOF + + fi +fi + +if test $ac_fsusage_space = no; then +# 4.4BSD and NetBSD + echo "$as_me:$LINENO: checking for two-argument statfs with statfs.fsize member (4.4BSD and NetBSD)" >&5 +echo $ECHO_N "checking for two-argument statfs with statfs.fsize member (4.4BSD and NetBSD)... $ECHO_C" >&6 + if test "${fu_cv_sys_stat_statfs2_fsize+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "$cross_compiling" = yes; then + fu_cv_sys_stat_statfs2_fsize=no +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#ifdef HAVE_SYS_PARAM_H +#include +#endif +#ifdef HAVE_SYS_MOUNT_H +#include +#endif + main () + { + struct statfs fsd; + fsd.f_fsize = 0; + exit (statfs (".", &fsd)); + } +_ACEOF +rm -f conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + fu_cv_sys_stat_statfs2_fsize=yes +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +( exit $ac_status ) +fu_cv_sys_stat_statfs2_fsize=no +fi +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi +fi + + echo "$as_me:$LINENO: result: $fu_cv_sys_stat_statfs2_fsize" >&5 +echo "${ECHO_T}$fu_cv_sys_stat_statfs2_fsize" >&6 + if test $fu_cv_sys_stat_statfs2_fsize = yes; then + ac_fsusage_space=yes + +cat >>confdefs.h <<\_ACEOF +#define STAT_STATFS2_FSIZE 1 +_ACEOF + + fi +fi + +if test $ac_fsusage_space = no; then + # Ultrix + echo "$as_me:$LINENO: checking for two-argument statfs with struct fs_data (Ultrix)" >&5 +echo $ECHO_N "checking for two-argument statfs with struct fs_data (Ultrix)... $ECHO_C" >&6 + if test "${fu_cv_sys_stat_fs_data+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "$cross_compiling" = yes; then + fu_cv_sys_stat_fs_data=no +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#ifdef HAVE_SYS_PARAM_H +#include +#endif +#ifdef HAVE_SYS_MOUNT_H +#include +#endif +#ifdef HAVE_SYS_FS_TYPES_H +#include +#endif + main () + { + struct fs_data fsd; + /* Ultrix's statfs returns 1 for success, + 0 for not mounted, -1 for failure. */ + exit (statfs (".", &fsd) != 1); + } +_ACEOF +rm -f conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + fu_cv_sys_stat_fs_data=yes +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +( exit $ac_status ) +fu_cv_sys_stat_fs_data=no +fi +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi +fi + + echo "$as_me:$LINENO: result: $fu_cv_sys_stat_fs_data" >&5 +echo "${ECHO_T}$fu_cv_sys_stat_fs_data" >&6 + if test $fu_cv_sys_stat_fs_data = yes; then + ac_fsusage_space=yes + +cat >>confdefs.h <<\_ACEOF +#define STAT_STATFS2_FS_DATA 1 +_ACEOF + + fi +fi + +if test $ac_fsusage_space = no; then + # SVR2 + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include + +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + +cat >>confdefs.h <<\_ACEOF +#define STAT_READ_FILSYS 1 +_ACEOF + + ac_fsusage_space=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + +fi +rm -f conftest.err conftest.$ac_ext +fi + +if test $ac_fsusage_space = yes; then + space=yes +else + space=no +fi + + + + if test $list_mounted_fs = yes && test $space = yes; then + DF_PROG='df$(EXEEXT)' + LIBOBJS="$LIBOBJS fsusage.$ac_objext" + LIBOBJS="$LIBOBJS mountlist.$ac_objext" + fi + + + + # If any of these functions don't exist (e.g. DJGPP 2.03), + # use the corresponding stub. + echo "$as_me:$LINENO: checking for fchdir" >&5 +echo $ECHO_N "checking for fchdir... $ECHO_C" >&6 +if test "${ac_cv_func_fchdir+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char fchdir (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char fchdir (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_fchdir) || defined (__stub___fchdir) +choke me +#else +char (*f) () = fchdir; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != fchdir; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_func_fchdir=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_func_fchdir=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_func_fchdir" >&5 +echo "${ECHO_T}$ac_cv_func_fchdir" >&6 +if test $ac_cv_func_fchdir = yes; then + : +else + LIBOBJS="$LIBOBJS fchdir-stub.$ac_objext" +fi + + echo "$as_me:$LINENO: checking for fchown" >&5 +echo $ECHO_N "checking for fchown... $ECHO_C" >&6 +if test "${ac_cv_func_fchown+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char fchown (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char fchown (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_fchown) || defined (__stub___fchown) +choke me +#else +char (*f) () = fchown; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != fchown; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_func_fchown=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_func_fchown=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_func_fchown" >&5 +echo "${ECHO_T}$ac_cv_func_fchown" >&6 +if test $ac_cv_func_fchown = yes; then + : +else + LIBOBJS="$LIBOBJS fchown-stub.$ac_objext" +fi + + echo "$as_me:$LINENO: checking for lstat" >&5 +echo $ECHO_N "checking for lstat... $ECHO_C" >&6 +if test "${ac_cv_func_lstat+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char lstat (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char lstat (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_lstat) || defined (__stub___lstat) +choke me +#else +char (*f) () = lstat; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != lstat; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_func_lstat=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_func_lstat=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_func_lstat" >&5 +echo "${ECHO_T}$ac_cv_func_lstat" >&6 +if test $ac_cv_func_lstat = yes; then + : +else + LIBOBJS="$LIBOBJS lstat-stub.$ac_objext" +fi + + echo "$as_me:$LINENO: checking for readlink" >&5 +echo $ECHO_N "checking for readlink... $ECHO_C" >&6 +if test "${ac_cv_func_readlink+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char readlink (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char readlink (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_readlink) || defined (__stub___readlink) +choke me +#else +char (*f) () = readlink; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != readlink; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_func_readlink=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_func_readlink=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_func_readlink" >&5 +echo "${ECHO_T}$ac_cv_func_readlink" >&6 +if test $ac_cv_func_readlink = yes; then + : +else + LIBOBJS="$LIBOBJS readlink-stub.$ac_objext" +fi + + + + +echo "$as_me:$LINENO: checking whether termios.h defines TIOCGWINSZ" >&5 +echo $ECHO_N "checking whether termios.h defines TIOCGWINSZ... $ECHO_C" >&6 +if test "${ac_cv_sys_tiocgwinsz_in_termios_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#include +#ifdef TIOCGWINSZ + yes +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "yes" >/dev/null 2>&1; then + ac_cv_sys_tiocgwinsz_in_termios_h=yes +else + ac_cv_sys_tiocgwinsz_in_termios_h=no +fi +rm -f conftest* + +fi +echo "$as_me:$LINENO: result: $ac_cv_sys_tiocgwinsz_in_termios_h" >&5 +echo "${ECHO_T}$ac_cv_sys_tiocgwinsz_in_termios_h" >&6 + +if test $ac_cv_sys_tiocgwinsz_in_termios_h != yes; then + echo "$as_me:$LINENO: checking whether sys/ioctl.h defines TIOCGWINSZ" >&5 +echo $ECHO_N "checking whether sys/ioctl.h defines TIOCGWINSZ... $ECHO_C" >&6 +if test "${ac_cv_sys_tiocgwinsz_in_sys_ioctl_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#include +#ifdef TIOCGWINSZ + yes +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "yes" >/dev/null 2>&1; then + ac_cv_sys_tiocgwinsz_in_sys_ioctl_h=yes +else + ac_cv_sys_tiocgwinsz_in_sys_ioctl_h=no +fi +rm -f conftest* + +fi +echo "$as_me:$LINENO: result: $ac_cv_sys_tiocgwinsz_in_sys_ioctl_h" >&5 +echo "${ECHO_T}$ac_cv_sys_tiocgwinsz_in_sys_ioctl_h" >&6 + + if test $ac_cv_sys_tiocgwinsz_in_sys_ioctl_h = yes; then + +cat >>confdefs.h <<\_ACEOF +#define GWINSZ_IN_SYS_IOCTL 1 +_ACEOF + + fi +fi + +echo "$as_me:$LINENO: checking POSIX termios" >&5 +echo $ECHO_N "checking POSIX termios... $ECHO_C" >&6 +if test "${ac_cv_sys_posix_termios+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#include +#include + +int +main () +{ +/* SunOS 4.0.3 has termios.h but not the library calls. */ + tcgetattr(0, 0); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_sys_posix_termios=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_sys_posix_termios=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_sys_posix_termios" >&5 +echo "${ECHO_T}$ac_cv_sys_posix_termios" >&6 + + + echo "$as_me:$LINENO: checking whether use of struct winsize requires sys/ptem.h" >&5 +echo $ECHO_N "checking whether use of struct winsize requires sys/ptem.h... $ECHO_C" >&6 +if test "${jm_cv_sys_struct_winsize_needs_sys_ptem_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + jm_cv_sys_struct_winsize_needs_sys_ptem_h=yes + if test $ac_cv_sys_posix_termios = yes; then + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include + struct winsize x; +int +main () +{ +jm_cv_sys_struct_winsize_needs_sys_ptem_h=no + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + : +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest.$ac_ext + fi + if test $jm_cv_sys_struct_winsize_needs_sys_ptem_h = yes; then + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +int +main () +{ +struct winsize x; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + : +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +jm_cv_sys_struct_winsize_needs_sys_ptem_h=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext + fi +fi +echo "$as_me:$LINENO: result: $jm_cv_sys_struct_winsize_needs_sys_ptem_h" >&5 +echo "${ECHO_T}$jm_cv_sys_struct_winsize_needs_sys_ptem_h" >&6 + if test $jm_cv_sys_struct_winsize_needs_sys_ptem_h = yes; then + +cat >>confdefs.h <<\_ACEOF +#define WINSIZE_IN_PTEM 1 +_ACEOF + + fi + +# Check for SunOS statfs brokenness wrt partitions 2GB and larger. +# If exists and struct statfs has a member named f_spare, +# enable the work-around code in fsusage.c. +echo "$as_me:$LINENO: checking for statfs that truncates block counts" >&5 +echo $ECHO_N "checking for statfs that truncates block counts... $ECHO_C" >&6 +if test "${fu_cv_sys_truncating_statfs+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +#if !defined(sun) && !defined(__sun) +choke -- this is a workaround for a Sun-specific problem +#endif +#include +#include +int +main () +{ +struct statfs t; long c = *(t.f_spare); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + fu_cv_sys_truncating_statfs=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fu_cv_sys_truncating_statfs=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi + +if test $fu_cv_sys_truncating_statfs = yes; then + +cat >>confdefs.h <<\_ACEOF +#define STATFS_TRUNCATES_BLOCK_COUNTS 1 +_ACEOF + +fi +echo "$as_me:$LINENO: result: $fu_cv_sys_truncating_statfs" >&5 +echo "${ECHO_T}$fu_cv_sys_truncating_statfs" >&6 + +echo "$as_me:$LINENO: checking whether localtime caches TZ" >&5 +echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6 +if test "${utils_cv_localtime_cache+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test x$ac_cv_func_tzset = xyes; then +if test "$cross_compiling" = yes; then + # If we have tzset, assume the worst when cross-compiling. +utils_cv_localtime_cache=yes +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#if STDC_HEADERS +# include +#endif +extern char **environ; +unset_TZ () +{ + char **from, **to; + for (to = from = environ; (*to = *from); from++) + if (! (to[0][0] == 'T' && to[0][1] == 'Z' && to[0][2] == '=')) + to++; +} +main() +{ + time_t now = time ((time_t *) 0); + int hour_GMT0, hour_unset; + if (putenv ("TZ=GMT0") != 0) + exit (1); + hour_GMT0 = localtime (&now)->tm_hour; + unset_TZ (); + hour_unset = localtime (&now)->tm_hour; + if (putenv ("TZ=PST8") != 0) + exit (1); + if (localtime (&now)->tm_hour == hour_GMT0) + exit (1); + unset_TZ (); + if (localtime (&now)->tm_hour != hour_unset) + exit (1); + exit (0); +} +_ACEOF +rm -f conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + utils_cv_localtime_cache=no +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +( exit $ac_status ) +utils_cv_localtime_cache=yes +fi +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi +else + # If we lack tzset, report that localtime does not cache TZ, + # since we can't invalidate the cache if we don't have tzset. + utils_cv_localtime_cache=no +fi +fi +echo "$as_me:$LINENO: result: $utils_cv_localtime_cache" >&5 +echo "${ECHO_T}$utils_cv_localtime_cache" >&6 +if test $utils_cv_localtime_cache = yes; then + +cat >>confdefs.h <<\_ACEOF +#define LOCALTIME_CACHE 1 +_ACEOF + +fi + +# SCO-ODT-3.0 is reported to need -los to link programs using initgroups + +for ac_func in initgroups +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + +if test $ac_cv_func_initgroups = no; then + +echo "$as_me:$LINENO: checking for initgroups in -los" >&5 +echo $ECHO_N "checking for initgroups in -los... $ECHO_C" >&6 +if test "${ac_cv_lib_os_initgroups+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-los $LIBS" +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char initgroups (); +int +main () +{ +initgroups (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_lib_os_initgroups=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_os_initgroups=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_os_initgroups" >&5 +echo "${ECHO_T}$ac_cv_lib_os_initgroups" >&6 +if test $ac_cv_lib_os_initgroups = yes; then + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBOS 1 +_ACEOF + + LIBS="-los $LIBS" + +fi + +fi + + +for ac_func in syslog +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + +if test $ac_cv_func_syslog = no; then + # syslog is not in the default libraries. See if it's in some other. + for lib in bsd socket inet; do + as_ac_Lib=`echo "ac_cv_lib_$lib''_syslog" | $as_tr_sh` +echo "$as_me:$LINENO: checking for syslog in -l$lib" >&5 +echo $ECHO_N "checking for syslog in -l$lib... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Lib+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-l$lib $LIBS" +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char syslog (); +int +main () +{ +syslog (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_Lib=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_Lib=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6 +if test `eval echo '${'$as_ac_Lib'}'` = yes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_SYSLOG 1 +_ACEOF + + LIBS="$LIBS -l$lib"; break +fi + + done +fi + +echo "$as_me:$LINENO: checking for 3-argument setpriority function" >&5 +echo $ECHO_N "checking for 3-argument setpriority function... $ECHO_C" >&6 +if test "${utils_cv_func_setpriority+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include + #include +int +main () +{ +setpriority(0, 0, 0); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + utils_cv_func_setpriority=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +utils_cv_func_setpriority=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi + +echo "$as_me:$LINENO: result: $utils_cv_func_setpriority" >&5 +echo "${ECHO_T}$utils_cv_func_setpriority" >&6 +if test $utils_cv_func_setpriority = yes; then + OPTIONAL_BIN_PROGS="$OPTIONAL_BIN_PROGS nice\$(EXEEXT)" + OPTIONAL_BIN_ZCRIPTS="$OPTIONAL_BIN_ZCRIPTS nohup" + MAN="$MAN nice.1 nohup.1" +else + echo "$as_me:$LINENO: checking for nice function" >&5 +echo $ECHO_N "checking for nice function... $ECHO_C" >&6 + if test "${utils_cv_func_nice+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ +nice(); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + utils_cv_func_nice=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +utils_cv_func_nice=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi + + echo "$as_me:$LINENO: result: $utils_cv_func_nice" >&5 +echo "${ECHO_T}$utils_cv_func_nice" >&6 + if test $utils_cv_func_nice = yes; then + +cat >>confdefs.h <<\_ACEOF +#define NICE_PRIORITY 1 +_ACEOF + + OPTIONAL_BIN_PROGS="$OPTIONAL_BIN_PROGS nice\$(EXEEXT)" + OPTIONAL_BIN_ZCRIPTS="$OPTIONAL_BIN_ZCRIPTS nohup" + MAN="$MAN nice.1 nohup.1" + fi +fi + + + + + if test $ac_cv_header_utmp_h = yes || test $ac_cv_header_utmpx_h = yes; then + OPTIONAL_BIN_PROGS="$OPTIONAL_BIN_PROGS pinky\$(EXEEXT)" + OPTIONAL_BIN_PROGS="$OPTIONAL_BIN_PROGS users\$(EXEEXT)" + OPTIONAL_BIN_PROGS="$OPTIONAL_BIN_PROGS who\$(EXEEXT)" + MAN="$MAN pinky.1 users.1 who.1" + fi + + +echo "$as_me:$LINENO: checking ut_host in struct utmp" >&5 +echo $ECHO_N "checking ut_host in struct utmp... $ECHO_C" >&6 +if test "${su_cv_func_ut_host_in_utmp+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#include +int +main () +{ +struct utmp ut; ut.ut_host; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + su_cv_func_ut_host_in_utmp=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +su_cv_func_ut_host_in_utmp=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi + +echo "$as_me:$LINENO: result: $su_cv_func_ut_host_in_utmp" >&5 +echo "${ECHO_T}$su_cv_func_ut_host_in_utmp" >&6 +if test $su_cv_func_ut_host_in_utmp = yes; then + have_ut_host=1 + +cat >>confdefs.h <<\_ACEOF +#define HAVE_UT_HOST 1 +_ACEOF + +fi + +if test -z "$have_ut_host"; then + echo "$as_me:$LINENO: checking ut_host in struct utmpx" >&5 +echo $ECHO_N "checking ut_host in struct utmpx... $ECHO_C" >&6 + if test "${su_cv_func_ut_host_in_utmpx+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#include +int +main () +{ +struct utmpx ut; ut.ut_host; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + su_cv_func_ut_host_in_utmpx=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +su_cv_func_ut_host_in_utmpx=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi + + echo "$as_me:$LINENO: result: $su_cv_func_ut_host_in_utmpx" >&5 +echo "${ECHO_T}$su_cv_func_ut_host_in_utmpx" >&6 + if test $su_cv_func_ut_host_in_utmpx = yes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_UTMPX_H 1 +_ACEOF + + +cat >>confdefs.h <<\_ACEOF +#define HAVE_UT_HOST 1 +_ACEOF + + fi +fi + + + +for ac_func in sysctl +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + +for ac_header in sys/sysctl.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6 + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc in + yes:no ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; + no:yes ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + eval "$as_ac_Header=$ac_header_preproc" +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 + +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + echo "$as_me:$LINENO: checking whether we can get the system boot time" >&5 +echo $ECHO_N "checking whether we can get the system boot time... $ECHO_C" >&6 +if test "${gnulib_cv_have_boot_time+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#if HAVE_SYSCTL && HAVE_SYS_SYSCTL_H +# include /* needed for OpenBSD 3.0 */ +# include +#endif +#ifdef HAVE_UTMPX_H +# include +#else +# include +#endif + +int +main () +{ + +#if defined BOOT_TIME || (defined CTL_KERN && defined KERN_BOOTTIME) +/* your system *does* have the infrastructure to determine boot time */ +#else +please_tell_us_how_to_determine_boot_time_on_your_system +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + gnulib_cv_have_boot_time=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +gnulib_cv_have_boot_time=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext + +fi +echo "$as_me:$LINENO: result: $gnulib_cv_have_boot_time" >&5 +echo "${ECHO_T}$gnulib_cv_have_boot_time" >&6 + if test $gnulib_cv_have_boot_time = yes; then + OPTIONAL_BIN_PROGS="$OPTIONAL_BIN_PROGS uptime\$(EXEEXT)" + MAN="$MAN uptime.1" +fi + + + +echo "$as_me:$LINENO: checking POSIX termios" >&5 +echo $ECHO_N "checking POSIX termios... $ECHO_C" >&6 +if test "${ac_cv_sys_posix_termios+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#include +#include + +int +main () +{ +/* SunOS 4.0.3 has termios.h but not the library calls. */ + tcgetattr(0, 0); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_sys_posix_termios=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_sys_posix_termios=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_sys_posix_termios" >&5 +echo "${ECHO_T}$ac_cv_sys_posix_termios" >&6 + + + echo "$as_me:$LINENO: checking whether use of TIOCGWINSZ requires termios.h" >&5 +echo $ECHO_N "checking whether use of TIOCGWINSZ requires termios.h... $ECHO_C" >&6 +if test "${jm_cv_sys_tiocgwinsz_needs_termios_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + jm_cv_sys_tiocgwinsz_needs_termios_h=no + + if test $ac_cv_sys_posix_termios = yes; then + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +# include +# ifdef TIOCGWINSZ + yes +# endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "yes" >/dev/null 2>&1; then + jm_cv_sys_tiocgwinsz_needs_termios_h=yes +fi +rm -f conftest* + + fi + +fi +echo "$as_me:$LINENO: result: $jm_cv_sys_tiocgwinsz_needs_termios_h" >&5 +echo "${ECHO_T}$jm_cv_sys_tiocgwinsz_needs_termios_h" >&6 + + + echo "$as_me:$LINENO: checking whether use of TIOCGWINSZ requires sys/ioctl.h" >&5 +echo $ECHO_N "checking whether use of TIOCGWINSZ requires sys/ioctl.h... $ECHO_C" >&6 +if test "${jm_cv_sys_tiocgwinsz_needs_sys_ioctl_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + jm_cv_sys_tiocgwinsz_needs_sys_ioctl_h=no + + if test $jm_cv_sys_tiocgwinsz_needs_termios_h = no; then + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +# include +# ifdef TIOCGWINSZ + yes +# endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "yes" >/dev/null 2>&1; then + jm_cv_sys_tiocgwinsz_needs_sys_ioctl_h=yes +fi +rm -f conftest* + + fi + +fi +echo "$as_me:$LINENO: result: $jm_cv_sys_tiocgwinsz_needs_sys_ioctl_h" >&5 +echo "${ECHO_T}$jm_cv_sys_tiocgwinsz_needs_sys_ioctl_h" >&6 + if test $jm_cv_sys_tiocgwinsz_needs_sys_ioctl_h = yes; then + +cat >>confdefs.h <<\_ACEOF +#define GWINSZ_IN_SYS_IOCTL 1 +_ACEOF + + fi + + +if test $ac_cv_sys_posix_termios = yes; then + OPTIONAL_BIN_PROGS="$OPTIONAL_BIN_PROGS stty\$(EXEEXT)" MAN="$MAN stty.1" + + echo "$as_me:$LINENO: checking whether termios.h needs _XOPEN_SOURCE" >&5 +echo $ECHO_N "checking whether termios.h needs _XOPEN_SOURCE... $ECHO_C" >&6 + if test "${su_cv_sys_termios_needs_xopen_source+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#ifdef IUCLC +yes +#endif +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "yes" >/dev/null 2>&1; then + su_cv_sys_termios_needs_xopen_source=no +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#define _XOPEN_SOURCE +#include +#ifdef IUCLC +yes +#endif +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "yes" >/dev/null 2>&1; then + su_cv_sys_termios_needs_xopen_source=yes +else + su_cv_sys_termios_needs_xopen_source=no +fi +rm -f conftest* + +fi +rm -f conftest* + +fi + + echo "$as_me:$LINENO: result: $su_cv_sys_termios_needs_xopen_source" >&5 +echo "${ECHO_T}$su_cv_sys_termios_needs_xopen_source" >&6 + test $su_cv_sys_termios_needs_xopen_source = yes && + +cat >>confdefs.h <<\_ACEOF +#define TERMIOS_NEEDS_XOPEN_SOURCE 1 +_ACEOF + + + echo "$as_me:$LINENO: checking c_line in struct termios" >&5 +echo $ECHO_N "checking c_line in struct termios... $ECHO_C" >&6 + if test "${su_cv_sys_c_line_in_termios+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#if TERMIOS_NEEDS_XOPEN_SOURCE +#define _XOPEN_SOURCE +#endif +#include +#include +int +main () +{ +struct termios t; t.c_line; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + su_cv_sys_c_line_in_termios=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +su_cv_sys_c_line_in_termios=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi + + echo "$as_me:$LINENO: result: $su_cv_sys_c_line_in_termios" >&5 +echo "${ECHO_T}$su_cv_sys_c_line_in_termios" >&6 + test $su_cv_sys_c_line_in_termios = yes \ + && +cat >>confdefs.h <<\_ACEOF +#define HAVE_C_LINE 1 +_ACEOF + +fi + +# FIXME: note that this macro appears above, too. +# I'm leaving it here for now. This whole thing needs to be modernized... + + echo "$as_me:$LINENO: checking whether use of struct winsize requires sys/ptem.h" >&5 +echo $ECHO_N "checking whether use of struct winsize requires sys/ptem.h... $ECHO_C" >&6 +if test "${jm_cv_sys_struct_winsize_needs_sys_ptem_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + jm_cv_sys_struct_winsize_needs_sys_ptem_h=yes + if test $ac_cv_sys_posix_termios = yes; then + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include + struct winsize x; +int +main () +{ +jm_cv_sys_struct_winsize_needs_sys_ptem_h=no + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + : +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest.$ac_ext + fi + if test $jm_cv_sys_struct_winsize_needs_sys_ptem_h = yes; then + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +int +main () +{ +struct winsize x; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + : +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +jm_cv_sys_struct_winsize_needs_sys_ptem_h=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext + fi +fi +echo "$as_me:$LINENO: result: $jm_cv_sys_struct_winsize_needs_sys_ptem_h" >&5 +echo "${ECHO_T}$jm_cv_sys_struct_winsize_needs_sys_ptem_h" >&6 + if test $jm_cv_sys_struct_winsize_needs_sys_ptem_h = yes; then + +cat >>confdefs.h <<\_ACEOF +#define WINSIZE_IN_PTEM 1 +_ACEOF + + fi + + + echo "$as_me:$LINENO: checking whether use of TIOCGWINSZ requires termios.h" >&5 +echo $ECHO_N "checking whether use of TIOCGWINSZ requires termios.h... $ECHO_C" >&6 +if test "${jm_cv_sys_tiocgwinsz_needs_termios_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + jm_cv_sys_tiocgwinsz_needs_termios_h=no + + if test $ac_cv_sys_posix_termios = yes; then + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +# include +# ifdef TIOCGWINSZ + yes +# endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "yes" >/dev/null 2>&1; then + jm_cv_sys_tiocgwinsz_needs_termios_h=yes +fi +rm -f conftest* + + fi + +fi +echo "$as_me:$LINENO: result: $jm_cv_sys_tiocgwinsz_needs_termios_h" >&5 +echo "${ECHO_T}$jm_cv_sys_tiocgwinsz_needs_termios_h" >&6 + + +if test $jm_cv_sys_tiocgwinsz_needs_termios_h = no && \ + test $jm_cv_sys_tiocgwinsz_needs_sys_ioctl_h = no; then + echo "$as_me:$LINENO: checking TIOCGWINSZ in sys/pty.h" >&5 +echo $ECHO_N "checking TIOCGWINSZ in sys/pty.h... $ECHO_C" >&6 + if test "${su_cv_sys_tiocgwinsz_in_sys_pty_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#ifdef WINSIZE_IN_PTEM +# include +# include +#endif +#include +#include +#include +int +main () +{ +int x = TIOCGWINSZ; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + su_cv_sys_tiocgwinsz_in_sys_pty_h=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +su_cv_sys_tiocgwinsz_in_sys_pty_h=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi + + echo "$as_me:$LINENO: result: $su_cv_sys_tiocgwinsz_in_sys_pty_h" >&5 +echo "${ECHO_T}$su_cv_sys_tiocgwinsz_in_sys_pty_h" >&6 + + test $su_cv_sys_tiocgwinsz_in_sys_pty_h = yes \ + && +cat >>confdefs.h <<\_ACEOF +#define GWINSZ_IN_SYS_PTY 1 +_ACEOF + +fi + +# For src/kill.c. +echo "$as_me:$LINENO: checking whether strsignal is declared" >&5 +echo $ECHO_N "checking whether strsignal is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_strsignal+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +#ifndef strsignal + char *p = (char *) strsignal; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_have_decl_strsignal=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_have_decl_strsignal=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_strsignal" >&5 +echo "${ECHO_T}$ac_cv_have_decl_strsignal" >&6 +if test $ac_cv_have_decl_strsignal = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_STRSIGNAL 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_STRSIGNAL 0 +_ACEOF + + +fi +echo "$as_me:$LINENO: checking whether strtoimax is declared" >&5 +echo $ECHO_N "checking whether strtoimax is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_strtoimax+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +#ifndef strtoimax + char *p = (char *) strtoimax; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_have_decl_strtoimax=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_have_decl_strtoimax=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_strtoimax" >&5 +echo "${ECHO_T}$ac_cv_have_decl_strtoimax" >&6 +if test $ac_cv_have_decl_strtoimax = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_STRTOIMAX 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_STRTOIMAX 0 +_ACEOF + + +fi +echo "$as_me:$LINENO: checking whether sys_siglist is declared" >&5 +echo $ECHO_N "checking whether sys_siglist is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_sys_siglist+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +#ifndef sys_siglist + char *p = (char *) sys_siglist; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_have_decl_sys_siglist=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_have_decl_sys_siglist=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_sys_siglist" >&5 +echo "${ECHO_T}$ac_cv_have_decl_sys_siglist" >&6 +if test $ac_cv_have_decl_sys_siglist = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_SYS_SIGLIST 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_SYS_SIGLIST 0 +_ACEOF + + +fi +echo "$as_me:$LINENO: checking whether _sys_siglist is declared" >&5 +echo $ECHO_N "checking whether _sys_siglist is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl__sys_siglist+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +#ifndef _sys_siglist + char *p = (char *) _sys_siglist; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_have_decl__sys_siglist=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_have_decl__sys_siglist=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl__sys_siglist" >&5 +echo "${ECHO_T}$ac_cv_have_decl__sys_siglist" >&6 +if test $ac_cv_have_decl__sys_siglist = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL__SYS_SIGLIST 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL__SYS_SIGLIST 0 +_ACEOF + + +fi + + + + + + # Check for libypsec.a on Dolphin M88K machines. + +echo "$as_me:$LINENO: checking for main in -lypsec" >&5 +echo $ECHO_N "checking for main in -lypsec... $ECHO_C" >&6 +if test "${ac_cv_lib_ypsec_main+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lypsec $LIBS" +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + + +int +main () +{ +main (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_lib_ypsec_main=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_ypsec_main=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_ypsec_main" >&5 +echo "${ECHO_T}$ac_cv_lib_ypsec_main" >&6 +if test $ac_cv_lib_ypsec_main = yes; then + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBYPSEC 1 +_ACEOF + + LIBS="-lypsec $LIBS" + +fi + + + # m88k running dgux 5.4 needs this + +echo "$as_me:$LINENO: checking for main in -lldgc" >&5 +echo $ECHO_N "checking for main in -lldgc... $ECHO_C" >&6 +if test "${ac_cv_lib_ldgc_main+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lldgc $LIBS" +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + + +int +main () +{ +main (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_lib_ldgc_main=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_ldgc_main=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_ldgc_main" >&5 +echo "${ECHO_T}$ac_cv_lib_ldgc_main" >&6 +if test $ac_cv_lib_ldgc_main = yes; then + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBLDGC 1 +_ACEOF + + LIBS="-lldgc $LIBS" + +fi + + + # Some programs need to link with -lm. printf does if it uses + # lib/strtod.c which uses pow. And seq uses the math functions, + # floor, modf, rint. And factor uses sqrt. And sleep uses fesetround. + + # Save a copy of $LIBS and add $FLOOR_LIBM before these tests + # Check for these math functions used by seq. + ac_su_saved_lib="$LIBS" + LIBS="$LIBS -lm" + + + +for ac_func in floor modf rint +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + LIBS="$ac_su_saved_lib" + + + +for ac_func in sqrt +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + if test $ac_cv_func_sqrt = no; then + echo "$as_me:$LINENO: checking for sqrt in -lm" >&5 +echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6 +if test "${ac_cv_lib_m_sqrt+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lm $LIBS" +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char sqrt (); +int +main () +{ +sqrt (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_lib_m_sqrt=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_m_sqrt=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5 +echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6 +if test $ac_cv_lib_m_sqrt = yes; then + SQRT_LIBM=-lm +fi + + fi + + + +for ac_func in fesetround +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + if test $ac_cv_func_fesetround = no; then + echo "$as_me:$LINENO: checking for fesetround in -lm" >&5 +echo $ECHO_N "checking for fesetround in -lm... $ECHO_C" >&6 +if test "${ac_cv_lib_m_fesetround+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lm $LIBS" +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char fesetround (); +int +main () +{ +fesetround (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_lib_m_fesetround=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_m_fesetround=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_m_fesetround" >&5 +echo "${ECHO_T}$ac_cv_lib_m_fesetround" >&6 +if test $ac_cv_lib_m_fesetround = yes; then + FESETROUND_LIBM=-lm +fi + + fi + + # The -lsun library is required for YP support on Irix-4.0.5 systems. + # m88k/svr3 DolphinOS systems using YP need -lypsec for id. + + echo "$as_me:$LINENO: checking for library containing yp_match" >&5 +echo $ECHO_N "checking for library containing yp_match... $ECHO_C" >&6 +if test "${ac_cv_search_yp_match+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + + ac_func_search_save_LIBS=$LIBS + ac_cv_search_yp_match=no + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char yp_match (); +int +main () +{ +yp_match (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_search_yp_match='none required' +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext + if test "$ac_cv_search_yp_match" = no; then + for ac_lib in sun ypsec; do + LIBS="-l$ac_lib $ac_func_search_save_LIBS" + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char yp_match (); +int +main () +{ +yp_match (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_search_yp_match="-l$ac_lib"; break +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext + done + fi + LIBS=$ac_func_search_save_LIBS + +fi +echo "$as_me:$LINENO: result: $ac_cv_search_yp_match" >&5 +echo "${ECHO_T}$ac_cv_search_yp_match" >&6 + + if test "$ac_cv_search_yp_match" = no; then : + + else + if test "$ac_cv_search_yp_match" = 'none required'; then : + + else + LIBS="$ac_cv_search_yp_match $LIBS" + + fi + fi + + + # SysV needs -lsec, older versions of Linux need -lshadow for + # shadow passwords. UnixWare 7 needs -lgen. + + echo "$as_me:$LINENO: checking for library containing getspnam" >&5 +echo $ECHO_N "checking for library containing getspnam... $ECHO_C" >&6 +if test "${ac_cv_search_getspnam+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + + ac_func_search_save_LIBS=$LIBS + ac_cv_search_getspnam=no + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char getspnam (); +int +main () +{ +getspnam (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_search_getspnam='none required' +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext + if test "$ac_cv_search_getspnam" = no; then + for ac_lib in shadow sec gen; do + LIBS="-l$ac_lib $ac_func_search_save_LIBS" + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char getspnam (); +int +main () +{ +getspnam (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_search_getspnam="-l$ac_lib"; break +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext + done + fi + LIBS=$ac_func_search_save_LIBS + +fi +echo "$as_me:$LINENO: result: $ac_cv_search_getspnam" >&5 +echo "${ECHO_T}$ac_cv_search_getspnam" >&6 + + if test "$ac_cv_search_getspnam" = no; then : + + else + if test "$ac_cv_search_getspnam" = 'none required'; then : + + else + LIBS="$ac_cv_search_getspnam $LIBS" + + fi + fi + + + +for ac_header in shadow.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6 + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc in + yes:no ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; + no:yes ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + eval "$as_ac_Header=$ac_header_preproc" +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 + +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + + # Requirements for su.c. + shadow_includes="\ +$ac_includes_default +#if HAVE_SHADOW_H +# include +#endif +" + echo "$as_me:$LINENO: checking for struct spwd.sp_pwdp" >&5 +echo $ECHO_N "checking for struct spwd.sp_pwdp... $ECHO_C" >&6 +if test "${ac_cv_member_struct_spwd_sp_pwdp+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$shadow_includes + +int +main () +{ +static struct spwd ac_aggr; +if (ac_aggr.sp_pwdp) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_member_struct_spwd_sp_pwdp=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$shadow_includes + +int +main () +{ +static struct spwd ac_aggr; +if (sizeof ac_aggr.sp_pwdp) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_member_struct_spwd_sp_pwdp=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_member_struct_spwd_sp_pwdp=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_member_struct_spwd_sp_pwdp" >&5 +echo "${ECHO_T}$ac_cv_member_struct_spwd_sp_pwdp" >&6 +if test $ac_cv_member_struct_spwd_sp_pwdp = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_STRUCT_SPWD_SP_PWDP 1 +_ACEOF + + +fi + + +for ac_func in getspnam +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + + # SCO-ODT-3.0 is reported to need -lufc for crypt. + # NetBSD needs -lcrypt for crypt. + ac_su_saved_lib="$LIBS" + + echo "$as_me:$LINENO: checking for library containing crypt" >&5 +echo $ECHO_N "checking for library containing crypt... $ECHO_C" >&6 +if test "${ac_cv_search_crypt+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + + ac_func_search_save_LIBS=$LIBS + ac_cv_search_crypt=no + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char crypt (); +int +main () +{ +crypt (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_search_crypt='none required' +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext + if test "$ac_cv_search_crypt" = no; then + for ac_lib in ufc crypt; do + LIBS="-l$ac_lib $ac_func_search_save_LIBS" + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char crypt (); +int +main () +{ +crypt (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_search_crypt="-l$ac_lib"; break +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext + done + fi + LIBS=$ac_func_search_save_LIBS + +fi +echo "$as_me:$LINENO: result: $ac_cv_search_crypt" >&5 +echo "${ECHO_T}$ac_cv_search_crypt" >&6 + + if test "$ac_cv_search_crypt" = no; then : + + else + if test "$ac_cv_search_crypt" = 'none required'; then : + + else + LIBS="$ac_cv_search_crypt $LIBS" + LIB_CRYPT="$ac_cv_search_crypt" + fi + fi + + LIBS="$ac_su_saved_lib" + + + + + MKINSTALLDIRS= + if test -n "$ac_aux_dir"; then + MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" + fi + if test -z "$MKINSTALLDIRS"; then + MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" + fi + + + + + + # Extract the first word of "msgfmt", so it can be a program name with args. +set dummy msgfmt; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_path_MSGFMT+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case "$MSGFMT" in + /*) + ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. + ;; + *) + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" + for ac_dir in $PATH; do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 && + (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then + ac_cv_path_MSGFMT="$ac_dir/$ac_word" + break + fi + fi + done + IFS="$ac_save_ifs" + test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" + ;; +esac +fi +MSGFMT="$ac_cv_path_MSGFMT" +if test "$MSGFMT" != ":"; then + echo "$as_me:$LINENO: result: $MSGFMT" >&5 +echo "${ECHO_T}$MSGFMT" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + # Extract the first word of "gmsgfmt", so it can be a program name with args. +set dummy gmsgfmt; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_path_GMSGFMT+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $GMSGFMT in + [\\/]* | ?:[\\/]*) + ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + + test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" + ;; +esac +fi +GMSGFMT=$ac_cv_path_GMSGFMT + +if test -n "$GMSGFMT"; then + echo "$as_me:$LINENO: result: $GMSGFMT" >&5 +echo "${ECHO_T}$GMSGFMT" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + + # Extract the first word of "xgettext", so it can be a program name with args. +set dummy xgettext; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_path_XGETTEXT+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case "$XGETTEXT" in + /*) + ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. + ;; + *) + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" + for ac_dir in $PATH; do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + if $ac_dir/$ac_word --omit-header --copyright-holder= /dev/null >/dev/null 2>&1 && + (if $ac_dir/$ac_word --omit-header --copyright-holder= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then + ac_cv_path_XGETTEXT="$ac_dir/$ac_word" + break + fi + fi + done + IFS="$ac_save_ifs" + test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" + ;; +esac +fi +XGETTEXT="$ac_cv_path_XGETTEXT" +if test "$XGETTEXT" != ":"; then + echo "$as_me:$LINENO: result: $XGETTEXT" >&5 +echo "${ECHO_T}$XGETTEXT" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + rm -f messages.po + + # Extract the first word of "msgmerge", so it can be a program name with args. +set dummy msgmerge; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_path_MSGMERGE+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case "$MSGMERGE" in + /*) + ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. + ;; + *) + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" + for ac_dir in $PATH; do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then + ac_cv_path_MSGMERGE="$ac_dir/$ac_word" + break + fi + fi + done + IFS="$ac_save_ifs" + test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":" + ;; +esac +fi +MSGMERGE="$ac_cv_path_MSGMERGE" +if test "$MSGMERGE" != ":"; then + echo "$as_me:$LINENO: result: $MSGMERGE" >&5 +echo "${ECHO_T}$MSGMERGE" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + + if test "$GMSGFMT" != ":"; then + if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 && + (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then + : ; + else + GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'` + echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5 +echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6 + GMSGFMT=":" + fi + fi + + if test "$XGETTEXT" != ":"; then + if $XGETTEXT --omit-header --copyright-holder= /dev/null >/dev/null 2>&1 && + (if $XGETTEXT --omit-header --copyright-holder= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then + : ; + else + echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5 +echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6 + XGETTEXT=":" + fi + rm -f messages.po + fi + + ac_config_commands="$ac_config_commands default-1" + + + + + + + + + + + + + + + + + + echo "$as_me:$LINENO: checking whether NLS is requested" >&5 +echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6 + # Check whether --enable-nls or --disable-nls was given. +if test "${enable_nls+set}" = set; then + enableval="$enable_nls" + USE_NLS=$enableval +else + USE_NLS=yes +fi; + echo "$as_me:$LINENO: result: $USE_NLS" >&5 +echo "${ECHO_T}$USE_NLS" >&6 + + + + LIBINTL= + LTLIBINTL= + POSUB= + + if test "$USE_NLS" = "yes"; then + gt_use_preinstalled_gnugettext=no + + + + + + + echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5 +echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6 +if test "${gt_cv_func_gnugettext2_libc+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +extern int _nl_msg_cat_cntr; +extern int *_nl_domain_bindings; +int +main () +{ +bindtextdomain ("", ""); +return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_domain_bindings + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + gt_cv_func_gnugettext2_libc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +gt_cv_func_gnugettext2_libc=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext2_libc" >&5 +echo "${ECHO_T}$gt_cv_func_gnugettext2_libc" >&6 + + if test "$gt_cv_func_gnugettext2_libc" != "yes"; then + + + + + + am_save_CPPFLAGS="$CPPFLAGS" + + for element in $INCICONV; do + haveit= + for x in $CPPFLAGS; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X$element"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" + fi + done + + + echo "$as_me:$LINENO: checking for iconv" >&5 +echo $ECHO_N "checking for iconv... $ECHO_C" >&6 +if test "${am_cv_func_iconv+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + + am_cv_func_iconv="no, consider installing GNU libiconv" + am_cv_lib_iconv=no + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#include +int +main () +{ +iconv_t cd = iconv_open("",""); + iconv(cd,NULL,NULL,NULL,NULL); + iconv_close(cd); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + am_cv_func_iconv=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext + if test "$am_cv_func_iconv" != yes; then + am_save_LIBS="$LIBS" + LIBS="$LIBS $LIBICONV" + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#include +int +main () +{ +iconv_t cd = iconv_open("",""); + iconv(cd,NULL,NULL,NULL,NULL); + iconv_close(cd); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + am_cv_lib_iconv=yes + am_cv_func_iconv=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext + LIBS="$am_save_LIBS" + fi + +fi +echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5 +echo "${ECHO_T}$am_cv_func_iconv" >&6 + if test "$am_cv_func_iconv" = yes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_ICONV 1 +_ACEOF + + fi + if test "$am_cv_lib_iconv" = yes; then + echo "$as_me:$LINENO: checking how to link with libiconv" >&5 +echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6 + echo "$as_me:$LINENO: result: $LIBICONV" >&5 +echo "${ECHO_T}$LIBICONV" >&6 + else + CPPFLAGS="$am_save_CPPFLAGS" + LIBICONV= + LTLIBICONV= + fi + + + + + + + use_additional=yes + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" + + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + +# Check whether --with-libintl-prefix or --without-libintl-prefix was given. +if test "${with_libintl_prefix+set}" = set; then + withval="$with_libintl_prefix" + + if test "X$withval" = "Xno"; then + use_additional=no + else + if test "X$withval" = "X"; then + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" + + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + else + additional_includedir="$withval/include" + additional_libdir="$withval/lib" + fi + fi + +fi; + LIBINTL= + LTLIBINTL= + INCINTL= + rpathdirs= + ltrpathdirs= + names_already_handled= + names_next_round='intl ' + while test -n "$names_next_round"; do + names_this_round="$names_next_round" + names_next_round= + for name in $names_this_round; do + already_handled= + for n in $names_already_handled; do + if test "$n" = "$name"; then + already_handled=yes + break + fi + done + if test -z "$already_handled"; then + names_already_handled="$names_already_handled $name" + uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` + eval value=\"\$HAVE_LIB$uppername\" + if test -n "$value"; then + if test "$value" = yes; then + eval value=\"\$LIB$uppername\" + test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value" + eval value=\"\$LTLIB$uppername\" + test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value" + else + : + fi + else + found_dir= + found_la= + found_so= + found_a= + if test $use_additional = yes; then + if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then + found_dir="$additional_libdir" + found_so="$additional_libdir/lib$name.$shlibext" + if test -f "$additional_libdir/lib$name.la"; then + found_la="$additional_libdir/lib$name.la" + fi + else + if test -f "$additional_libdir/lib$name.$libext"; then + found_dir="$additional_libdir" + found_a="$additional_libdir/lib$name.$libext" + if test -f "$additional_libdir/lib$name.la"; then + found_la="$additional_libdir/lib$name.la" + fi + fi + fi + fi + if test "X$found_dir" = "X"; then + for x in $LDFLAGS $LTLIBINTL; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + case "$x" in + -L*) + dir=`echo "X$x" | sed -e 's/^X-L//'` + if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then + found_dir="$dir" + found_so="$dir/lib$name.$shlibext" + if test -f "$dir/lib$name.la"; then + found_la="$dir/lib$name.la" + fi + else + if test -f "$dir/lib$name.$libext"; then + found_dir="$dir" + found_a="$dir/lib$name.$libext" + if test -f "$dir/lib$name.la"; then + found_la="$dir/lib$name.la" + fi + fi + fi + ;; + esac + if test "X$found_dir" != "X"; then + break + fi + done + fi + if test "X$found_dir" != "X"; then + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name" + if test "X$found_so" != "X"; then + if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then + LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" + else + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $found_dir" + fi + if test "$hardcode_direct" = yes; then + LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" + else + if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then + LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $found_dir" + fi + else + haveit= + for x in $LDFLAGS $LIBINTL; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-L$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir" + fi + if test "$hardcode_minus_L" != no; then + LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" + else + LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" + fi + fi + fi + fi + else + if test "X$found_a" != "X"; then + LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a" + else + LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name" + fi + fi + additional_includedir= + case "$found_dir" in + */lib | */lib/) + basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'` + additional_includedir="$basedir/include" + ;; + esac + if test "X$additional_includedir" != "X"; then + if test "X$additional_includedir" != "X/usr/include"; then + haveit= + if test "X$additional_includedir" = "X/usr/local/include"; then + if test -n "$GCC"; then + case $host_os in + linux*) haveit=yes;; + esac + fi + fi + if test -z "$haveit"; then + for x in $CPPFLAGS $INCINTL; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-I$additional_includedir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_includedir"; then + INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir" + fi + fi + fi + fi + fi + if test -n "$found_la"; then + save_libdir="$libdir" + case "$found_la" in + */* | *\\*) . "$found_la" ;; + *) . "./$found_la" ;; + esac + libdir="$save_libdir" + for dep in $dependency_libs; do + case "$dep" in + -L*) + additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` + if test "X$additional_libdir" != "X/usr/lib"; then + haveit= + if test "X$additional_libdir" = "X/usr/local/lib"; then + if test -n "$GCC"; then + case $host_os in + linux*) haveit=yes;; + esac + fi + fi + if test -z "$haveit"; then + haveit= + for x in $LDFLAGS $LIBINTL; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-L$additional_libdir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_libdir"; then + LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir" + fi + fi + haveit= + for x in $LDFLAGS $LTLIBINTL; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-L$additional_libdir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_libdir"; then + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir" + fi + fi + fi + fi + ;; + -R*) + dir=`echo "X$dep" | sed -e 's/^X-R//'` + if test "$enable_rpath" != no; then + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $dir" + fi + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $dir" + fi + fi + ;; + -l*) + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` + ;; + *.la) + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` + ;; + *) + LIBINTL="${LIBINTL}${LIBINTL:+ }$dep" + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep" + ;; + esac + done + fi + else + LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name" + fi + fi + fi + done + done + if test "X$rpathdirs" != "X"; then + if test -n "$hardcode_libdir_separator"; then + alldirs= + for found_dir in $rpathdirs; do + alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir" + done + acl_save_libdir="$libdir" + libdir="$alldirs" + eval flag=\"$hardcode_libdir_flag_spec\" + libdir="$acl_save_libdir" + LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" + else + for found_dir in $rpathdirs; do + acl_save_libdir="$libdir" + libdir="$found_dir" + eval flag=\"$hardcode_libdir_flag_spec\" + libdir="$acl_save_libdir" + LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" + done + fi + fi + if test "X$ltrpathdirs" != "X"; then + for found_dir in $ltrpathdirs; do + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir" + done + fi + + echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5 +echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6 +if test "${gt_cv_func_gnugettext2_libintl+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + gt_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$CPPFLAGS $INCINTL" + gt_save_LIBS="$LIBS" + LIBS="$LIBS $LIBINTL" + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +extern int _nl_msg_cat_cntr; +extern +#ifdef __cplusplus +"C" +#endif +const char *_nl_expand_alias (); +int +main () +{ +bindtextdomain ("", ""); +return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_expand_alias (0) + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + gt_cv_func_gnugettext2_libintl=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +gt_cv_func_gnugettext2_libintl=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext + if test "$gt_cv_func_gnugettext2_libintl" != yes && test -n "$LIBICONV"; then + LIBS="$LIBS $LIBICONV" + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +extern int _nl_msg_cat_cntr; +extern +#ifdef __cplusplus +"C" +#endif +const char *_nl_expand_alias (); +int +main () +{ +bindtextdomain ("", ""); +return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_expand_alias (0) + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + LIBINTL="$LIBINTL $LIBICONV" + LTLIBINTL="$LTLIBINTL $LTLIBICONV" + gt_cv_func_gnugettext2_libintl=yes + +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext + fi + CPPFLAGS="$gt_save_CPPFLAGS" + LIBS="$gt_save_LIBS" +fi +echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext2_libintl" >&5 +echo "${ECHO_T}$gt_cv_func_gnugettext2_libintl" >&6 + fi + + if test "$gt_cv_func_gnugettext2_libc" = "yes" \ + || { test "$gt_cv_func_gnugettext2_libintl" = "yes" \ + && test "$PACKAGE" != gettext; }; then + gt_use_preinstalled_gnugettext=yes + else + LIBINTL= + LTLIBINTL= + INCINTL= + fi + + + + if test "$gt_use_preinstalled_gnugettext" = "yes" \ + || test "$nls_cv_use_gnu_gettext" = "yes"; then + +cat >>confdefs.h <<\_ACEOF +#define ENABLE_NLS 1 +_ACEOF + + else + USE_NLS=no + fi + fi + + if test "$USE_NLS" = "yes"; then + + if test "$gt_use_preinstalled_gnugettext" = "yes"; then + if test "$gt_cv_func_gnugettext2_libintl" = "yes"; then + echo "$as_me:$LINENO: checking how to link with libintl" >&5 +echo $ECHO_N "checking how to link with libintl... $ECHO_C" >&6 + echo "$as_me:$LINENO: result: $LIBINTL" >&5 +echo "${ECHO_T}$LIBINTL" >&6 + + for element in $INCINTL; do + haveit= + for x in $CPPFLAGS; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X$element"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" + fi + done + + fi + + +cat >>confdefs.h <<\_ACEOF +#define HAVE_GETTEXT 1 +_ACEOF + + +cat >>confdefs.h <<\_ACEOF +#define HAVE_DCGETTEXT 1 +_ACEOF + + fi + + POSUB=po + fi + + + + INTLLIBS="$LIBINTL" + + + + + + + + + ac_config_files="$ac_config_files Makefile doc/Makefile lib/Makefile man/Makefile m4/Makefile po/Makefile.in src/Makefile tests/Makefile tests/basename/Makefile tests/chgrp/Makefile tests/chmod/Makefile tests/chown/Makefile tests/cp/Makefile tests/cut/Makefile tests/date/Makefile tests/dd/Makefile tests/dircolors/Makefile tests/du/Makefile tests/expr/Makefile tests/factor/Makefile tests/fmt/Makefile tests/head/Makefile tests/install/Makefile tests/join/Makefile tests/ln/Makefile tests/ls-2/Makefile tests/ls/Makefile tests/md5sum/Makefile tests/misc/Makefile tests/mkdir/Makefile tests/mv/Makefile tests/od/Makefile tests/pr/Makefile tests/rm/Makefile tests/rmdir/Makefile tests/seq/Makefile tests/sha1sum/Makefile tests/shred/Makefile tests/sort/Makefile tests/stty/Makefile tests/sum/Makefile tests/tac/Makefile tests/tail-2/Makefile tests/tail/Makefile tests/test/Makefile tests/touch/Makefile tests/tr/Makefile tests/tsort/Makefile tests/unexpand/Makefile tests/uniq/Makefile tests/wc/Makefile" + +cat >confcache <<\_ACEOF +# This file is a shell script that caches the results of configure +# tests run on this system so they can be shared between configure +# scripts and configure runs, see configure's option --config-cache. +# It is not useful on other systems. If it contains results you don't +# want to keep, you may remove or edit it. +# +# config.status only pays attention to the cache file if you give it +# the --recheck option to rerun configure. +# +# `ac_cv_env_foo' variables (set or unset) will be overridden when +# loading this file, other *unset* `ac_cv_foo' will be assigned the +# following values. + +_ACEOF + +# The following way of writing the cache mishandles newlines in values, +# but we know of no workaround that is simple, portable, and efficient. +# So, don't put newlines in cache variables' values. +# Ultrix sh set writes to stderr and can't be redirected directly, +# and sets the high bit in the cache file unless we assign to the vars. +{ + (set) 2>&1 | + case `(ac_space=' '; set | grep ac_space) 2>&1` in + *ac_space=\ *) + # `set' does not quote correctly, so add quotes (double-quote + # substitution turns \\\\ into \\, and sed turns \\ into \). + sed -n \ + "s/'/'\\\\''/g; + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" + ;; + *) + # `set' quotes correctly as required by POSIX, so do not add quotes. + sed -n \ + "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" + ;; + esac; +} | + sed ' + t clear + : clear + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ + t end + /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ + : end' >>confcache +if diff $cache_file confcache >/dev/null 2>&1; then :; else + if test -w $cache_file; then + test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" + cat confcache >$cache_file + else + echo "not updating unwritable cache $cache_file" + fi +fi +rm -f confcache + +test "x$prefix" = xNONE && prefix=$ac_default_prefix +# Let make expand exec_prefix. +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' + +# VPATH may cause trouble with some makes, so we remove $(srcdir), +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and +# trailing colons and then remove the whole line if VPATH becomes empty +# (actually we leave an empty line to preserve line numbers). +if test "x$srcdir" = x.; then + ac_vpsub='/^[ ]*VPATH[ ]*=/{ +s/:*\$(srcdir):*/:/; +s/:*\${srcdir}:*/:/; +s/:*@srcdir@:*/:/; +s/^\([^=]*=[ ]*\):*/\1/; +s/:*$//; +s/^[^=]*=[ ]*$//; +}' +fi + +DEFS=-DHAVE_CONFIG_H + +ac_libobjs= +ac_ltlibobjs= +for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue + # 1. Remove the extension, and $U if already installed. + ac_i=`echo "$ac_i" | + sed 's/\$U\././;s/\.o$//;s/\.obj$//'` + # 2. Add them. + ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" + ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' +done +LIBOBJS=$ac_libobjs + +LTLIBOBJS=$ac_ltlibobjs + + +if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then + { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +echo "$as_me: error: conditional \"AMDEP\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } +fi +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then + { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } +fi + +: ${CONFIG_STATUS=./config.status} +ac_clean_files_save=$ac_clean_files +ac_clean_files="$ac_clean_files $CONFIG_STATUS" +{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 +echo "$as_me: creating $CONFIG_STATUS" >&6;} +cat >$CONFIG_STATUS <<_ACEOF +#! $SHELL +# Generated by $as_me. +# Run this file to recreate the current configuration. +# Compiler output produced by configure, useful for debugging +# configure, is in config.log if it exists. + +debug=false +ac_cs_recheck=false +ac_cs_silent=false +SHELL=\${CONFIG_SHELL-$SHELL} +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF +## --------------------- ## +## M4sh Initialization. ## +## --------------------- ## + +# Be Bourne compatible +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then + emulate sh + NULLCMD=: + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' +elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then + set -o posix +fi + +# Support unset when possible. +if (FOO=FOO; unset FOO) >/dev/null 2>&1; then + as_unset=unset +else + as_unset=false +fi + + +# Work around bugs in pre-3.0 UWIN ksh. +$as_unset ENV MAIL MAILPATH +PS1='$ ' +PS2='> ' +PS4='+ ' + +# NLS nuisances. +for as_var in \ + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ + LC_TELEPHONE LC_TIME +do + if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then + eval $as_var=C; export $as_var + else + $as_unset $as_var + fi +done + +# Required to use basename. +if expr a : '\(a\)' >/dev/null 2>&1; then + as_expr=expr +else + as_expr=false +fi + +if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then + as_basename=basename +else + as_basename=false +fi + + +# Name of the executable. +as_me=`$as_basename "$0" || +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)$' \| \ + . : '\(.\)' 2>/dev/null || +echo X/"$0" | + sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } + /^X\/\(\/\/\)$/{ s//\1/; q; } + /^X\/\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` + + +# PATH needs CR, and LINENO needs CR and PATH. +# Avoid depending upon Character Ranges. +as_cr_letters='abcdefghijklmnopqrstuvwxyz' +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +as_cr_Letters=$as_cr_letters$as_cr_LETTERS +as_cr_digits='0123456789' +as_cr_alnum=$as_cr_Letters$as_cr_digits + +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi + + + as_lineno_1=$LINENO + as_lineno_2=$LINENO + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` + test "x$as_lineno_1" != "x$as_lineno_2" && + test "x$as_lineno_3" = "x$as_lineno_2" || { + # Find who we are. Look in the path if we contain no path at all + # relative or not. + case $0 in + *[\\/]* ) as_myself=$0 ;; + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break +done + + ;; + esac + # We did not find ourselves, most probably we were run as `sh COMMAND' + # in which case we are not to be found in the path. + if test "x$as_myself" = x; then + as_myself=$0 + fi + if test ! -f "$as_myself"; then + { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 +echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} + { (exit 1); exit 1; }; } + fi + case $CONFIG_SHELL in + '') + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for as_base in sh bash ksh sh5; do + case $as_dir in + /*) + if ("$as_dir/$as_base" -c ' + as_lineno_1=$LINENO + as_lineno_2=$LINENO + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` + test "x$as_lineno_1" != "x$as_lineno_2" && + test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then + $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } + $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } + CONFIG_SHELL=$as_dir/$as_base + export CONFIG_SHELL + exec "$CONFIG_SHELL" "$0" ${1+"$@"} + fi;; + esac + done +done +;; + esac + + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO + # uniformly replaced by the line number. The first 'sed' inserts a + # line-number line before each line; the second 'sed' does the real + # work. The second script uses 'N' to pair each line-number line + # with the numbered line, and appends trailing '-' during + # substitution so that $LINENO is not a special case at line end. + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the + # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) + sed '=' <$as_myself | + sed ' + N + s,$,-, + : loop + s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, + t loop + s,-$,, + s,^['$as_cr_digits']*\n,, + ' >$as_me.lineno && + chmod +x $as_me.lineno || + { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 +echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} + { (exit 1); exit 1; }; } + + # Don't try to exec as it changes $[0], causing all sort of problems + # (the dirname of $[0] is not the place where we might find the + # original and so on. Autoconf is especially sensible to this). + . ./$as_me.lineno + # Exit status is that of the last command. + exit +} + + +case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in + *c*,-n*) ECHO_N= ECHO_C=' +' ECHO_T=' ' ;; + *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; + *) ECHO_N= ECHO_C='\c' ECHO_T= ;; +esac + +if expr a : '\(a\)' >/dev/null 2>&1; then + as_expr=expr +else + as_expr=false +fi + +rm -f conf$$ conf$$.exe conf$$.file +echo >conf$$.file +if ln -s conf$$.file conf$$ 2>/dev/null; then + # We could just check for DJGPP; but this test a) works b) is more generic + # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). + if test -f conf$$.exe; then + # Don't use ln at all; we don't have any links + as_ln_s='cp -p' + else + as_ln_s='ln -s' + fi +elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln +else + as_ln_s='cp -p' +fi +rm -f conf$$ conf$$.exe conf$$.file + +if mkdir -p . 2>/dev/null; then + as_mkdir_p=: +else + as_mkdir_p=false +fi + +as_executable_p="test -f" + +# Sed expression to map a string onto a valid CPP name. +as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" + +# Sed expression to map a string onto a valid variable name. +as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" + + +# IFS +# We need space, tab and new line, in precisely that order. +as_nl=' +' +IFS=" $as_nl" + +# CDPATH. +$as_unset CDPATH + +exec 6>&1 + +# Open the log real soon, to keep \$[0] and so on meaningful, and to +# report actual input values of CONFIG_FILES etc. instead of their +# values after options handling. Logging --version etc. is OK. +exec 5>>config.log +{ + echo + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX +## Running $as_me. ## +_ASBOX +} >&5 +cat >&5 <<_CSEOF + +This file was extended by GNU coreutils $as_me 5.0, which was +generated by GNU Autoconf 2.57. Invocation command line was + + CONFIG_FILES = $CONFIG_FILES + CONFIG_HEADERS = $CONFIG_HEADERS + CONFIG_LINKS = $CONFIG_LINKS + CONFIG_COMMANDS = $CONFIG_COMMANDS + $ $0 $@ + +_CSEOF +echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 +echo >&5 +_ACEOF + +# Files that config.status was made for. +if test -n "$ac_config_files"; then + echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS +fi + +if test -n "$ac_config_headers"; then + echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS +fi + +if test -n "$ac_config_links"; then + echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS +fi + +if test -n "$ac_config_commands"; then + echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS +fi + +cat >>$CONFIG_STATUS <<\_ACEOF + +ac_cs_usage="\ +\`$as_me' instantiates files from templates according to the +current configuration. + +Usage: $0 [OPTIONS] [FILE]... + + -h, --help print this help, then exit + -V, --version print version number, then exit + -q, --quiet do not print progress messages + -d, --debug don't remove temporary files + --recheck update $as_me by reconfiguring in the same conditions + --file=FILE[:TEMPLATE] + instantiate the configuration file FILE + --header=FILE[:TEMPLATE] + instantiate the configuration header FILE + +Configuration files: +$config_files + +Configuration headers: +$config_headers + +Configuration links: +$config_links + +Configuration commands: +$config_commands + +Report bugs to ." +_ACEOF + +cat >>$CONFIG_STATUS <<_ACEOF +ac_cs_version="\\ +GNU coreutils config.status 5.0 +configured by $0, generated by GNU Autoconf 2.57, + with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" + +Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 +Free Software Foundation, Inc. +This config.status script is free software; the Free Software Foundation +gives unlimited permission to copy, distribute and modify it." +srcdir=$srcdir +INSTALL="$INSTALL" +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF +# If no file are specified by the user, then we need to provide default +# value. By we need to know if files were specified by the user. +ac_need_defaults=: +while test $# != 0 +do + case $1 in + --*=*) + ac_option=`expr "x$1" : 'x\([^=]*\)='` + ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` + ac_shift=: + ;; + -*) + ac_option=$1 + ac_optarg=$2 + ac_shift=shift + ;; + *) # This is not an option, so the user has probably given explicit + # arguments. + ac_option=$1 + ac_need_defaults=false;; + esac + + case $ac_option in + # Handling of the options. +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) + ac_cs_recheck=: ;; + --version | --vers* | -V ) + echo "$ac_cs_version"; exit 0 ;; + --he | --h) + # Conflict between --help and --header + { { echo "$as_me:$LINENO: error: ambiguous option: $1 +Try \`$0 --help' for more information." >&5 +echo "$as_me: error: ambiguous option: $1 +Try \`$0 --help' for more information." >&2;} + { (exit 1); exit 1; }; };; + --help | --hel | -h ) + echo "$ac_cs_usage"; exit 0 ;; + --debug | --d* | -d ) + debug=: ;; + --file | --fil | --fi | --f ) + $ac_shift + CONFIG_FILES="$CONFIG_FILES $ac_optarg" + ac_need_defaults=false;; + --header | --heade | --head | --hea ) + $ac_shift + CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" + ac_need_defaults=false;; + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil | --si | --s) + ac_cs_silent=: ;; + + # This is an error. + -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 +Try \`$0 --help' for more information." >&5 +echo "$as_me: error: unrecognized option: $1 +Try \`$0 --help' for more information." >&2;} + { (exit 1); exit 1; }; } ;; + + *) ac_config_targets="$ac_config_targets $1" ;; + + esac + shift +done + +ac_configure_extra_args= + +if $ac_cs_silent; then + exec 6>/dev/null + ac_configure_extra_args="$ac_configure_extra_args --silent" +fi + +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF +if \$ac_cs_recheck; then + echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 + exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion +fi + +_ACEOF + +cat >>$CONFIG_STATUS <<_ACEOF +# +# INIT-COMMANDS section. +# + +AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" +# Capture the value of obsolete ALL_LINGUAS because we need it to compute + # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it + # from automake. + eval 'ALL_LINGUAS''="$ALL_LINGUAS"' + # Capture the value of LINGUAS because we need it to compute CATALOGS. + LINGUAS="${LINGUAS-%UNSET%}" + + +_ACEOF + + + +cat >>$CONFIG_STATUS <<\_ACEOF +for ac_config_target in $ac_config_targets +do + case "$ac_config_target" in + # Handling of arguments. + "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; + "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; + "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; + "man/Makefile" ) CONFIG_FILES="$CONFIG_FILES man/Makefile" ;; + "m4/Makefile" ) CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;; + "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; + "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; + "tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; + "tests/basename/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/basename/Makefile" ;; + "tests/chgrp/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/chgrp/Makefile" ;; + "tests/chmod/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/chmod/Makefile" ;; + "tests/chown/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/chown/Makefile" ;; + "tests/cp/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/cp/Makefile" ;; + "tests/cut/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/cut/Makefile" ;; + "tests/date/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/date/Makefile" ;; + "tests/dd/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/dd/Makefile" ;; + "tests/dircolors/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/dircolors/Makefile" ;; + "tests/du/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/du/Makefile" ;; + "tests/expr/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/expr/Makefile" ;; + "tests/factor/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/factor/Makefile" ;; + "tests/fmt/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/fmt/Makefile" ;; + "tests/head/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/head/Makefile" ;; + "tests/install/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/install/Makefile" ;; + "tests/join/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/join/Makefile" ;; + "tests/ln/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/ln/Makefile" ;; + "tests/ls-2/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/ls-2/Makefile" ;; + "tests/ls/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/ls/Makefile" ;; + "tests/md5sum/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/md5sum/Makefile" ;; + "tests/misc/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/misc/Makefile" ;; + "tests/mkdir/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/mkdir/Makefile" ;; + "tests/mv/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/mv/Makefile" ;; + "tests/od/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/od/Makefile" ;; + "tests/pr/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/pr/Makefile" ;; + "tests/rm/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/rm/Makefile" ;; + "tests/rmdir/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/rmdir/Makefile" ;; + "tests/seq/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/seq/Makefile" ;; + "tests/sha1sum/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/sha1sum/Makefile" ;; + "tests/shred/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/shred/Makefile" ;; + "tests/sort/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/sort/Makefile" ;; + "tests/stty/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/stty/Makefile" ;; + "tests/sum/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/sum/Makefile" ;; + "tests/tac/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/tac/Makefile" ;; + "tests/tail-2/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/tail-2/Makefile" ;; + "tests/tail/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/tail/Makefile" ;; + "tests/test/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/test/Makefile" ;; + "tests/touch/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/touch/Makefile" ;; + "tests/tr/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/tr/Makefile" ;; + "tests/tsort/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/tsort/Makefile" ;; + "tests/unexpand/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/unexpand/Makefile" ;; + "tests/uniq/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/uniq/Makefile" ;; + "tests/wc/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/wc/Makefile" ;; + "$ac_config_libobj_dir/fnmatch.h" ) CONFIG_LINKS="$CONFIG_LINKS $ac_config_libobj_dir/fnmatch.h:$ac_config_libobj_dir/fnmatch_.h" ;; + "$ac_config_libobj_dir/ftw.h" ) CONFIG_LINKS="$CONFIG_LINKS $ac_config_libobj_dir/ftw.h:$ac_config_libobj_dir/ftw_.h" ;; + "$ac_config_libobj_dir/search.h" ) CONFIG_LINKS="$CONFIG_LINKS $ac_config_libobj_dir/search.h:$ac_config_libobj_dir/search_.h" ;; + "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; + "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; + "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.hin" ;; + *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 +echo "$as_me: error: invalid argument: $ac_config_target" >&2;} + { (exit 1); exit 1; }; };; + esac +done + +# If the user did not use the arguments to specify the items to instantiate, +# then the envvar interface is used. Set only those that are not. +# We use the long form for the default assignment because of an extremely +# bizarre bug on SunOS 4.1.3. +if $ac_need_defaults; then + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files + test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers + test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links + test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands +fi + +# Have a temporary directory for convenience. Make it in the build tree +# simply because there is no reason to put it here, and in addition, +# creating and moving files from /tmp can sometimes cause problems. +# Create a temporary directory, and hook for its removal unless debugging. +$debug || +{ + trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 + trap '{ (exit 1); exit 1; }' 1 2 13 15 +} + +# Create a (secure) tmp directory for tmp files. + +{ + tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && + test -n "$tmp" && test -d "$tmp" +} || +{ + tmp=./confstat$$-$RANDOM + (umask 077 && mkdir $tmp) +} || +{ + echo "$me: cannot create a temporary directory in ." >&2 + { (exit 1); exit 1; } +} + +_ACEOF + +cat >>$CONFIG_STATUS <<_ACEOF + +# +# CONFIG_FILES section. +# + +# No need to generate the scripts if there are no CONFIG_FILES. +# This happens for instance when ./config.status config.h +if test -n "\$CONFIG_FILES"; then + # Protect against being on the right side of a sed subst in config.status. + sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; + s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF +s,@SHELL@,$SHELL,;t t +s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t +s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t +s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t +s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t +s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t +s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t +s,@exec_prefix@,$exec_prefix,;t t +s,@prefix@,$prefix,;t t +s,@program_transform_name@,$program_transform_name,;t t +s,@bindir@,$bindir,;t t +s,@sbindir@,$sbindir,;t t +s,@libexecdir@,$libexecdir,;t t +s,@datadir@,$datadir,;t t +s,@sysconfdir@,$sysconfdir,;t t +s,@sharedstatedir@,$sharedstatedir,;t t +s,@localstatedir@,$localstatedir,;t t +s,@libdir@,$libdir,;t t +s,@includedir@,$includedir,;t t +s,@oldincludedir@,$oldincludedir,;t t +s,@infodir@,$infodir,;t t +s,@mandir@,$mandir,;t t +s,@build_alias@,$build_alias,;t t +s,@host_alias@,$host_alias,;t t +s,@target_alias@,$target_alias,;t t +s,@DEFS@,$DEFS,;t t +s,@ECHO_C@,$ECHO_C,;t t +s,@ECHO_N@,$ECHO_N,;t t +s,@ECHO_T@,$ECHO_T,;t t +s,@LIBS@,$LIBS,;t t +s,@build@,$build,;t t +s,@build_cpu@,$build_cpu,;t t +s,@build_vendor@,$build_vendor,;t t +s,@build_os@,$build_os,;t t +s,@host@,$host,;t t +s,@host_cpu@,$host_cpu,;t t +s,@host_vendor@,$host_vendor,;t t +s,@host_os@,$host_os,;t t +s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t +s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t +s,@INSTALL_DATA@,$INSTALL_DATA,;t t +s,@CYGPATH_W@,$CYGPATH_W,;t t +s,@PACKAGE@,$PACKAGE,;t t +s,@VERSION@,$VERSION,;t t +s,@ACLOCAL@,$ACLOCAL,;t t +s,@AUTOCONF@,$AUTOCONF,;t t +s,@AUTOMAKE@,$AUTOMAKE,;t t +s,@AUTOHEADER@,$AUTOHEADER,;t t +s,@MAKEINFO@,$MAKEINFO,;t t +s,@AMTAR@,$AMTAR,;t t +s,@install_sh@,$install_sh,;t t +s,@STRIP@,$STRIP,;t t +s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t +s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t +s,@AWK@,$AWK,;t t +s,@SET_MAKE@,$SET_MAKE,;t t +s,@am__leading_dot@,$am__leading_dot,;t t +s,@PERL@,$PERL,;t t +s,@CC@,$CC,;t t +s,@CFLAGS@,$CFLAGS,;t t +s,@LDFLAGS@,$LDFLAGS,;t t +s,@CPPFLAGS@,$CPPFLAGS,;t t +s,@ac_ct_CC@,$ac_ct_CC,;t t +s,@EXEEXT@,$EXEEXT,;t t +s,@OBJEXT@,$OBJEXT,;t t +s,@DEPDIR@,$DEPDIR,;t t +s,@am__include@,$am__include,;t t +s,@am__quote@,$am__quote,;t t +s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t +s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t +s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t +s,@CCDEPMODE@,$CCDEPMODE,;t t +s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t +s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t +s,@CPP@,$CPP,;t t +s,@EGREP@,$EGREP,;t t +s,@RANLIB@,$RANLIB,;t t +s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t +s,@LN_S@,$LN_S,;t t +s,@GNU_PACKAGE@,$GNU_PACKAGE,;t t +s,@HELP2MAN@,$HELP2MAN,;t t +s,@OPTIONAL_BIN_PROGS@,$OPTIONAL_BIN_PROGS,;t t +s,@OPTIONAL_BIN_ZCRIPTS@,$OPTIONAL_BIN_ZCRIPTS,;t t +s,@MAN@,$MAN,;t t +s,@DF_PROG@,$DF_PROG,;t t +s,@U@,$U,;t t +s,@ANSI2KNR@,$ANSI2KNR,;t t +s,@LIBOBJS@,$LIBOBJS,;t t +s,@ALLOCA@,$ALLOCA,;t t +s,@YACC@,$YACC,;t t +s,@LIB_NANOSLEEP@,$LIB_NANOSLEEP,;t t +s,@NEED_SETGID@,$NEED_SETGID,;t t +s,@KMEM_GROUP@,$KMEM_GROUP,;t t +s,@GETLOADAVG_LIBS@,$GETLOADAVG_LIBS,;t t +s,@LIB_CLOCK_GETTIME@,$LIB_CLOCK_GETTIME,;t t +s,@POW_LIB@,$POW_LIB,;t t +s,@SEQ_LIBM@,$SEQ_LIBM,;t t +s,@GLIBC21@,$GLIBC21,;t t +s,@LIBICONV@,$LIBICONV,;t t +s,@LTLIBICONV@,$LTLIBICONV,;t t +s,@SQRT_LIBM@,$SQRT_LIBM,;t t +s,@FESETROUND_LIBM@,$FESETROUND_LIBM,;t t +s,@LIB_CRYPT@,$LIB_CRYPT,;t t +s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t +s,@MSGFMT@,$MSGFMT,;t t +s,@GMSGFMT@,$GMSGFMT,;t t +s,@XGETTEXT@,$XGETTEXT,;t t +s,@MSGMERGE@,$MSGMERGE,;t t +s,@USE_NLS@,$USE_NLS,;t t +s,@INTLLIBS@,$INTLLIBS,;t t +s,@LIBINTL@,$LIBINTL,;t t +s,@LTLIBINTL@,$LTLIBINTL,;t t +s,@POSUB@,$POSUB,;t t +s,@LTLIBOBJS@,$LTLIBOBJS,;t t +CEOF + +_ACEOF + + cat >>$CONFIG_STATUS <<\_ACEOF + # Split the substitutions into bite-sized pieces for seds with + # small command number limits, like on Digital OSF/1 and HP-UX. + ac_max_sed_lines=48 + ac_sed_frag=1 # Number of current file. + ac_beg=1 # First line for current file. + ac_end=$ac_max_sed_lines # Line after last line for current file. + ac_more_lines=: + ac_sed_cmds= + while $ac_more_lines; do + if test $ac_beg -gt 1; then + sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag + else + sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag + fi + if test ! -s $tmp/subs.frag; then + ac_more_lines=false + else + # The purpose of the label and of the branching condition is to + # speed up the sed processing (if there are no `@' at all, there + # is no need to browse any of the substitutions). + # These are the two extra sed commands mentioned above. + (echo ':t + /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed + if test -z "$ac_sed_cmds"; then + ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" + else + ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" + fi + ac_sed_frag=`expr $ac_sed_frag + 1` + ac_beg=$ac_end + ac_end=`expr $ac_end + $ac_max_sed_lines` + fi + done + if test -z "$ac_sed_cmds"; then + ac_sed_cmds=cat + fi +fi # test -n "$CONFIG_FILES" + +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF +for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue + # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". + case $ac_file in + - | *:- | *:-:* ) # input from stdin + cat >$tmp/stdin + ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; + *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; + * ) ac_file_in=$ac_file.in ;; + esac + + # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. + ac_dir=`(dirname "$ac_file") 2>/dev/null || +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$ac_file" : 'X\(//\)[^/]' \| \ + X"$ac_file" : 'X\(//\)$' \| \ + X"$ac_file" : 'X\(/\)' \| \ + . : '\(.\)' 2>/dev/null || +echo X"$ac_file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } + /^X\(\/\/\)[^/].*/{ s//\1/; q; } + /^X\(\/\/\)$/{ s//\1/; q; } + /^X\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` + { if $as_mkdir_p; then + mkdir -p "$ac_dir" + else + as_dir="$ac_dir" + as_dirs= + while test ! -d "$as_dir"; do + as_dirs="$as_dir $as_dirs" + as_dir=`(dirname "$as_dir") 2>/dev/null || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| \ + . : '\(.\)' 2>/dev/null || +echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } + /^X\(\/\/\)[^/].*/{ s//\1/; q; } + /^X\(\/\/\)$/{ s//\1/; q; } + /^X\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` + done + test ! -n "$as_dirs" || mkdir $as_dirs + fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 +echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} + { (exit 1); exit 1; }; }; } + + ac_builddir=. + +if test "$ac_dir" != .; then + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` + # A "../" for each directory in $ac_dir_suffix. + ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` +else + ac_dir_suffix= ac_top_builddir= +fi + +case $srcdir in + .) # No --srcdir option. We are building in place. + ac_srcdir=. + if test -z "$ac_top_builddir"; then + ac_top_srcdir=. + else + ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` + fi ;; + [\\/]* | ?:[\\/]* ) # Absolute path. + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir ;; + *) # Relative path. + ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_builddir$srcdir ;; +esac +# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be +# absolute. +ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` +ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` +ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` +ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` + + + case $INSTALL in + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; + *) ac_INSTALL=$ac_top_builddir$INSTALL ;; + esac + + if test x"$ac_file" != x-; then + { echo "$as_me:$LINENO: creating $ac_file" >&5 +echo "$as_me: creating $ac_file" >&6;} + rm -f "$ac_file" + fi + # Let's still pretend it is `configure' which instantiates (i.e., don't + # use $as_me), people would be surprised to read: + # /* config.h. Generated by config.status. */ + if test x"$ac_file" = x-; then + configure_input= + else + configure_input="$ac_file. " + fi + configure_input=$configure_input"Generated from `echo $ac_file_in | + sed 's,.*/,,'` by configure." + + # First look for the input files in the build tree, otherwise in the + # src tree. + ac_file_inputs=`IFS=: + for f in $ac_file_in; do + case $f in + -) echo $tmp/stdin ;; + [\\/$]*) + # Absolute (can't be DOS-style, as IFS=:) + test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 +echo "$as_me: error: cannot find input file: $f" >&2;} + { (exit 1); exit 1; }; } + echo $f;; + *) # Relative + if test -f "$f"; then + # Build tree + echo $f + elif test -f "$srcdir/$f"; then + # Source tree + echo $srcdir/$f + else + # /dev/null tree + { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 +echo "$as_me: error: cannot find input file: $f" >&2;} + { (exit 1); exit 1; }; } + fi;; + esac + done` || { (exit 1); exit 1; } +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF + sed "$ac_vpsub +$extrasub +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF +:t +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b +s,@configure_input@,$configure_input,;t t +s,@srcdir@,$ac_srcdir,;t t +s,@abs_srcdir@,$ac_abs_srcdir,;t t +s,@top_srcdir@,$ac_top_srcdir,;t t +s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t +s,@builddir@,$ac_builddir,;t t +s,@abs_builddir@,$ac_abs_builddir,;t t +s,@top_builddir@,$ac_top_builddir,;t t +s,@abs_top_builddir@,$ac_abs_top_builddir,;t t +s,@INSTALL@,$ac_INSTALL,;t t +" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out + rm -f $tmp/stdin + if test x"$ac_file" != x-; then + mv $tmp/out $ac_file + else + cat $tmp/out + rm -f $tmp/out + fi + +done +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF + +# +# CONFIG_HEADER section. +# + +# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where +# NAME is the cpp macro being defined and VALUE is the value it is being given. +# +# ac_d sets the value in "#define NAME VALUE" lines. +ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' +ac_dB='[ ].*$,\1#\2' +ac_dC=' ' +ac_dD=',;t' +# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". +ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' +ac_uB='$,\1#\2define\3' +ac_uC=' ' +ac_uD=',;t' + +for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue + # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". + case $ac_file in + - | *:- | *:-:* ) # input from stdin + cat >$tmp/stdin + ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; + *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; + * ) ac_file_in=$ac_file.in ;; + esac + + test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 +echo "$as_me: creating $ac_file" >&6;} + + # First look for the input files in the build tree, otherwise in the + # src tree. + ac_file_inputs=`IFS=: + for f in $ac_file_in; do + case $f in + -) echo $tmp/stdin ;; + [\\/$]*) + # Absolute (can't be DOS-style, as IFS=:) + test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 +echo "$as_me: error: cannot find input file: $f" >&2;} + { (exit 1); exit 1; }; } + echo $f;; + *) # Relative + if test -f "$f"; then + # Build tree + echo $f + elif test -f "$srcdir/$f"; then + # Source tree + echo $srcdir/$f + else + # /dev/null tree + { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 +echo "$as_me: error: cannot find input file: $f" >&2;} + { (exit 1); exit 1; }; } + fi;; + esac + done` || { (exit 1); exit 1; } + # Remove the trailing spaces. + sed 's/[ ]*$//' $ac_file_inputs >$tmp/in + +_ACEOF + +# Transform confdefs.h into two sed scripts, `conftest.defines' and +# `conftest.undefs', that substitutes the proper values into +# config.h.in to produce config.h. The first handles `#define' +# templates, and the second `#undef' templates. +# And first: Protect against being on the right side of a sed subst in +# config.status. Protect against being in an unquoted here document +# in config.status. +rm -f conftest.defines conftest.undefs +# Using a here document instead of a string reduces the quoting nightmare. +# Putting comments in sed scripts is not portable. +# +# `end' is used to avoid that the second main sed command (meant for +# 0-ary CPP macros) applies to n-ary macro definitions. +# See the Autoconf documentation for `clear'. +cat >confdef2sed.sed <<\_ACEOF +s/[\\&,]/\\&/g +s,[\\$`],\\&,g +t clear +: clear +s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp +t end +s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp +: end +_ACEOF +# If some macros were called several times there might be several times +# the same #defines, which is useless. Nevertheless, we may not want to +# sort them, since we want the *last* AC-DEFINE to be honored. +uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines +sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs +rm -f confdef2sed.sed + +# This sed command replaces #undef with comments. This is necessary, for +# example, in the case of _POSIX_SOURCE, which is predefined and required +# on some systems where configure will not decide to define it. +cat >>conftest.undefs <<\_ACEOF +s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, +_ACEOF + +# Break up conftest.defines because some shells have a limit on the size +# of here documents, and old seds have small limits too (100 cmds). +echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS +echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS +echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS +echo ' :' >>$CONFIG_STATUS +rm -f conftest.tail +while grep . conftest.defines >/dev/null +do + # Write a limited-size here document to $tmp/defines.sed. + echo ' cat >$tmp/defines.sed <>$CONFIG_STATUS + # Speed up: don't consider the non `#define' lines. + echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS + # Work around the forget-to-reset-the-flag bug. + echo 't clr' >>$CONFIG_STATUS + echo ': clr' >>$CONFIG_STATUS + sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS + echo 'CEOF + sed -f $tmp/defines.sed $tmp/in >$tmp/out + rm -f $tmp/in + mv $tmp/out $tmp/in +' >>$CONFIG_STATUS + sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail + rm -f conftest.defines + mv conftest.tail conftest.defines +done +rm -f conftest.defines +echo ' fi # grep' >>$CONFIG_STATUS +echo >>$CONFIG_STATUS + +# Break up conftest.undefs because some shells have a limit on the size +# of here documents, and old seds have small limits too (100 cmds). +echo ' # Handle all the #undef templates' >>$CONFIG_STATUS +rm -f conftest.tail +while grep . conftest.undefs >/dev/null +do + # Write a limited-size here document to $tmp/undefs.sed. + echo ' cat >$tmp/undefs.sed <>$CONFIG_STATUS + # Speed up: don't consider the non `#undef' + echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS + # Work around the forget-to-reset-the-flag bug. + echo 't clr' >>$CONFIG_STATUS + echo ': clr' >>$CONFIG_STATUS + sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS + echo 'CEOF + sed -f $tmp/undefs.sed $tmp/in >$tmp/out + rm -f $tmp/in + mv $tmp/out $tmp/in +' >>$CONFIG_STATUS + sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail + rm -f conftest.undefs + mv conftest.tail conftest.undefs +done +rm -f conftest.undefs + +cat >>$CONFIG_STATUS <<\_ACEOF + # Let's still pretend it is `configure' which instantiates (i.e., don't + # use $as_me), people would be surprised to read: + # /* config.h. Generated by config.status. */ + if test x"$ac_file" = x-; then + echo "/* Generated by configure. */" >$tmp/config.h + else + echo "/* $ac_file. Generated by configure. */" >$tmp/config.h + fi + cat $tmp/in >>$tmp/config.h + rm -f $tmp/in + if test x"$ac_file" != x-; then + if diff $ac_file $tmp/config.h >/dev/null 2>&1; then + { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 +echo "$as_me: $ac_file is unchanged" >&6;} + else + ac_dir=`(dirname "$ac_file") 2>/dev/null || +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$ac_file" : 'X\(//\)[^/]' \| \ + X"$ac_file" : 'X\(//\)$' \| \ + X"$ac_file" : 'X\(/\)' \| \ + . : '\(.\)' 2>/dev/null || +echo X"$ac_file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } + /^X\(\/\/\)[^/].*/{ s//\1/; q; } + /^X\(\/\/\)$/{ s//\1/; q; } + /^X\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` + { if $as_mkdir_p; then + mkdir -p "$ac_dir" + else + as_dir="$ac_dir" + as_dirs= + while test ! -d "$as_dir"; do + as_dirs="$as_dir $as_dirs" + as_dir=`(dirname "$as_dir") 2>/dev/null || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| \ + . : '\(.\)' 2>/dev/null || +echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } + /^X\(\/\/\)[^/].*/{ s//\1/; q; } + /^X\(\/\/\)$/{ s//\1/; q; } + /^X\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` + done + test ! -n "$as_dirs" || mkdir $as_dirs + fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 +echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} + { (exit 1); exit 1; }; }; } + + rm -f $ac_file + mv $tmp/config.h $ac_file + fi + else + cat $tmp/config.h + rm -f $tmp/config.h + fi +# Compute $ac_file's index in $config_headers. +_am_stamp_count=1 +for _am_header in $config_headers :; do + case $_am_header in + $ac_file | $ac_file:* ) + break ;; + * ) + _am_stamp_count=`expr $_am_stamp_count + 1` ;; + esac +done +echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null || +$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X$ac_file : 'X\(//\)[^/]' \| \ + X$ac_file : 'X\(//\)$' \| \ + X$ac_file : 'X\(/\)' \| \ + . : '\(.\)' 2>/dev/null || +echo X$ac_file | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } + /^X\(\/\/\)[^/].*/{ s//\1/; q; } + /^X\(\/\/\)$/{ s//\1/; q; } + /^X\(\/\).*/{ s//\1/; q; } + s/.*/./; q'`/stamp-h$_am_stamp_count +done +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF + +# +# CONFIG_LINKS section. +# + +for ac_file in : $CONFIG_LINKS; do test "x$ac_file" = x: && continue + ac_dest=`echo "$ac_file" | sed 's,:.*,,'` + ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` + + { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5 +echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;} + + if test ! -r $srcdir/$ac_source; then + { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5 +echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;} + { (exit 1); exit 1; }; } + fi + rm -f $ac_dest + + # Make relative symlinks. + ac_dest_dir=`(dirname "$ac_dest") 2>/dev/null || +$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$ac_dest" : 'X\(//\)[^/]' \| \ + X"$ac_dest" : 'X\(//\)$' \| \ + X"$ac_dest" : 'X\(/\)' \| \ + . : '\(.\)' 2>/dev/null || +echo X"$ac_dest" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } + /^X\(\/\/\)[^/].*/{ s//\1/; q; } + /^X\(\/\/\)$/{ s//\1/; q; } + /^X\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` + { if $as_mkdir_p; then + mkdir -p "$ac_dest_dir" + else + as_dir="$ac_dest_dir" + as_dirs= + while test ! -d "$as_dir"; do + as_dirs="$as_dir $as_dirs" + as_dir=`(dirname "$as_dir") 2>/dev/null || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| \ + . : '\(.\)' 2>/dev/null || +echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } + /^X\(\/\/\)[^/].*/{ s//\1/; q; } + /^X\(\/\/\)$/{ s//\1/; q; } + /^X\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` + done + test ! -n "$as_dirs" || mkdir $as_dirs + fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5 +echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;} + { (exit 1); exit 1; }; }; } + + ac_builddir=. + +if test "$ac_dest_dir" != .; then + ac_dir_suffix=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'` + # A "../" for each directory in $ac_dir_suffix. + ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` +else + ac_dir_suffix= ac_top_builddir= +fi + +case $srcdir in + .) # No --srcdir option. We are building in place. + ac_srcdir=. + if test -z "$ac_top_builddir"; then + ac_top_srcdir=. + else + ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` + fi ;; + [\\/]* | ?:[\\/]* ) # Absolute path. + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir ;; + *) # Relative path. + ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_builddir$srcdir ;; +esac +# Don't blindly perform a `cd "$ac_dest_dir"/$ac_foo && pwd` since $ac_foo can be +# absolute. +ac_abs_builddir=`cd "$ac_dest_dir" && cd $ac_builddir && pwd` +ac_abs_top_builddir=`cd "$ac_dest_dir" && cd ${ac_top_builddir}. && pwd` +ac_abs_srcdir=`cd "$ac_dest_dir" && cd $ac_srcdir && pwd` +ac_abs_top_srcdir=`cd "$ac_dest_dir" && cd $ac_top_srcdir && pwd` + + + case $srcdir in + [\\/$]* | ?:[\\/]* ) ac_rel_source=$srcdir/$ac_source ;; + *) ac_rel_source=$ac_top_builddir$srcdir/$ac_source ;; + esac + + # Try a symlink, then a hard link, then a copy. + ln -s $ac_rel_source $ac_dest 2>/dev/null || + ln $srcdir/$ac_source $ac_dest 2>/dev/null || + cp -p $srcdir/$ac_source $ac_dest || + { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5 +echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;} + { (exit 1); exit 1; }; } +done +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF + +# +# CONFIG_COMMANDS section. +# +for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue + ac_dest=`echo "$ac_file" | sed 's,:.*,,'` + ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` + ac_dir=`(dirname "$ac_dest") 2>/dev/null || +$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$ac_dest" : 'X\(//\)[^/]' \| \ + X"$ac_dest" : 'X\(//\)$' \| \ + X"$ac_dest" : 'X\(/\)' \| \ + . : '\(.\)' 2>/dev/null || +echo X"$ac_dest" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } + /^X\(\/\/\)[^/].*/{ s//\1/; q; } + /^X\(\/\/\)$/{ s//\1/; q; } + /^X\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` + ac_builddir=. + +if test "$ac_dir" != .; then + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` + # A "../" for each directory in $ac_dir_suffix. + ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` +else + ac_dir_suffix= ac_top_builddir= +fi + +case $srcdir in + .) # No --srcdir option. We are building in place. + ac_srcdir=. + if test -z "$ac_top_builddir"; then + ac_top_srcdir=. + else + ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` + fi ;; + [\\/]* | ?:[\\/]* ) # Absolute path. + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir ;; + *) # Relative path. + ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_builddir$srcdir ;; +esac +# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be +# absolute. +ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` +ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` +ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` +ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` + + + { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 +echo "$as_me: executing $ac_dest commands" >&6;} + case $ac_dest in + depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do + # Strip MF so we end up with the name of the file. + mf=`echo "$mf" | sed -e 's/:.*$//'` + # Check whether this is an Automake generated Makefile or not. + # We used to match only the files named `Makefile.in', but + # some people rename them; so instead we look at the file content. + # Grep'ing the first line is not enough: some people post-process + # each Makefile.in and add a new line on top of each file to say so. + # So let's grep whole file. + if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then + dirpart=`(dirname "$mf") 2>/dev/null || +$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$mf" : 'X\(//\)[^/]' \| \ + X"$mf" : 'X\(//\)$' \| \ + X"$mf" : 'X\(/\)' \| \ + . : '\(.\)' 2>/dev/null || +echo X"$mf" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } + /^X\(\/\/\)[^/].*/{ s//\1/; q; } + /^X\(\/\/\)$/{ s//\1/; q; } + /^X\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` + else + continue + fi + grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue + # Extract the definition of DEP_FILES from the Makefile without + # running `make'. + DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"` + test -z "$DEPDIR" && continue + # When using ansi2knr, U may be empty or an underscore; expand it + U=`sed -n -e '/^U = / s///p' < "$mf"` + test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" + # We invoke sed twice because it is the simplest approach to + # changing $(DEPDIR) to its actual value in the expansion. + for file in `sed -n -e ' + /^DEP_FILES = .*\\\\$/ { + s/^DEP_FILES = // + :loop + s/\\\\$// + p + n + /\\\\$/ b loop + p + } + /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do + # Make sure the directory exists. + test -f "$dirpart/$file" && continue + fdir=`(dirname "$file") 2>/dev/null || +$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$file" : 'X\(//\)[^/]' \| \ + X"$file" : 'X\(//\)$' \| \ + X"$file" : 'X\(/\)' \| \ + . : '\(.\)' 2>/dev/null || +echo X"$file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } + /^X\(\/\/\)[^/].*/{ s//\1/; q; } + /^X\(\/\/\)$/{ s//\1/; q; } + /^X\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` + { if $as_mkdir_p; then + mkdir -p $dirpart/$fdir + else + as_dir=$dirpart/$fdir + as_dirs= + while test ! -d "$as_dir"; do + as_dirs="$as_dir $as_dirs" + as_dir=`(dirname "$as_dir") 2>/dev/null || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| \ + . : '\(.\)' 2>/dev/null || +echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } + /^X\(\/\/\)[^/].*/{ s//\1/; q; } + /^X\(\/\/\)$/{ s//\1/; q; } + /^X\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` + done + test ! -n "$as_dirs" || mkdir $as_dirs + fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5 +echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;} + { (exit 1); exit 1; }; }; } + + # echo "creating $dirpart/$file" + echo '# dummy' > "$dirpart/$file" + done +done + ;; + default-1 ) + for ac_file in $CONFIG_FILES; do + # Support "outfile[:infile[:infile...]]" + case "$ac_file" in + *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; + esac + # PO directories have a Makefile.in generated from Makefile.in.in. + case "$ac_file" in */Makefile.in) + # Adjust a relative srcdir. + ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` + ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" + ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` + # In autoconf-2.13 it is called $ac_given_srcdir. + # In autoconf-2.50 it is called $srcdir. + test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" + case "$ac_given_srcdir" in + .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; + /*) top_srcdir="$ac_given_srcdir" ;; + *) top_srcdir="$ac_dots$ac_given_srcdir" ;; + esac + if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then + rm -f "$ac_dir/POTFILES" + test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" + cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" + # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend + # on $ac_dir but don't depend on user-specified configuration + # parameters. + if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then + # The LINGUAS file contains the set of available languages. + if test -n "$ALL_LINGUAS"; then + test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" + fi + ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"` + # Hide the ALL_LINGUAS assigment from automake. + eval 'ALL_LINGUAS''=$ALL_LINGUAS_' + fi + case "$ac_given_srcdir" in + .) srcdirpre= ;; + *) srcdirpre='$(srcdir)/' ;; + esac + POFILES= + GMOFILES= + UPDATEPOFILES= + DUMMYPOFILES= + for lang in $ALL_LINGUAS; do + POFILES="$POFILES $srcdirpre$lang.po" + GMOFILES="$GMOFILES $srcdirpre$lang.gmo" + UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" + DUMMYPOFILES="$DUMMYPOFILES $lang.nop" + done + # CATALOGS depends on both $ac_dir and the user's LINGUAS + # environment variable. + INST_LINGUAS= + if test -n "$ALL_LINGUAS"; then + for presentlang in $ALL_LINGUAS; do + useit=no + if test "%UNSET%" != "$LINGUAS"; then + desiredlanguages="$LINGUAS" + else + desiredlanguages="$ALL_LINGUAS" + fi + for desiredlang in $desiredlanguages; do + # Use the presentlang catalog if desiredlang is + # a. equal to presentlang, or + # b. a variant of presentlang (because in this case, + # presentlang can be used as a fallback for messages + # which are not translated in the desiredlang catalog). + case "$desiredlang" in + "$presentlang"*) useit=yes;; + esac + done + if test $useit = yes; then + INST_LINGUAS="$INST_LINGUAS $presentlang" + fi + done + fi + CATALOGS= + if test -n "$INST_LINGUAS"; then + for lang in $INST_LINGUAS; do + CATALOGS="$CATALOGS $lang.gmo" + done + fi + test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" + sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" + for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do + if test -f "$f"; then + case "$f" in + *.orig | *.bak | *~) ;; + *) cat "$f" >> "$ac_dir/Makefile" ;; + esac + fi + done + fi + ;; + esac + done ;; + esac +done +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF + +{ (exit 0); exit 0; } +_ACEOF +chmod +x $CONFIG_STATUS +ac_clean_files=$ac_clean_files_save + + +# configure is writing to config.log, and then calls config.status. +# config.status does its own redirection, appending to config.log. +# Unfortunately, on DOS this fails, as config.log is still kept open +# by configure, so config.status won't be able to write to it; its +# output is simply discarded. So we exec the FD to /dev/null, +# effectively closing config.log, so it can be properly (re)opened and +# appended to by config.status. When coming back to configure, we +# need to make the FD available again. +if test "$no_create" != yes; then + ac_cs_success=: + ac_config_status_args= + test "$silent" = yes && + ac_config_status_args="$ac_config_status_args --quiet" + exec 5>/dev/null + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false + exec 5>>config.log + # Use ||, not &&, to avoid exiting from the if with $? = 1, which + # would make configure fail if this is the last instruction. + $ac_cs_success || { (exit 1); exit 1; } +fi + diff --git a/src/apps/bin/coreutils-5.0/configure.ac b/src/apps/bin/coreutils-5.0/configure.ac new file mode 100644 index 0000000000..33b8f776d1 --- /dev/null +++ b/src/apps/bin/coreutils-5.0/configure.ac @@ -0,0 +1,313 @@ +dnl Process this file with autoconf to produce a configure script. -*-m4-*- +AC_INIT([GNU coreutils],[5.0],[bug-coreutils@gnu.org]) +AC_CONFIG_SRCDIR(src/ls.c) + +AC_CONFIG_AUX_DIR(config) +AC_CONFIG_HEADERS([config.h:config.hin]) +AC_CANONICAL_HOST + +AM_INIT_AUTOMAKE([1.6b gnits dist-bzip2]) + +AC_GNU_SOURCE +jm_PERL +AC_PROG_CC +AC_PROG_CPP +AC_PROG_GCC_TRADITIONAL +AC_PROG_RANLIB +AC_PROG_LN_S +AC_AIX +AC_MINIX + +AC_CHECK_FUNCS(uname, + OPTIONAL_BIN_PROGS="$OPTIONAL_BIN_PROGS uname\$(EXEEXT)" + MAN="$MAN uname.1") +AC_CHECK_FUNCS(chroot, + OPTIONAL_BIN_PROGS="$OPTIONAL_BIN_PROGS chroot\$(EXEEXT)" + MAN="$MAN chroot.1") +AC_CHECK_FUNCS(gethostid, + OPTIONAL_BIN_PROGS="$OPTIONAL_BIN_PROGS hostid\$(EXEEXT)" + MAN="$MAN hostid.1") + +jm_MACROS + +AC_HEADER_TIOCGWINSZ() +jm_WINSIZE_IN_PTEM + +# Check for SunOS statfs brokenness wrt partitions 2GB and larger. +# If exists and struct statfs has a member named f_spare, +# enable the work-around code in fsusage.c. +AC_MSG_CHECKING([for statfs that truncates block counts]) +AC_CACHE_VAL(fu_cv_sys_truncating_statfs, +[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ +#if !defined(sun) && !defined(__sun) +choke -- this is a workaround for a Sun-specific problem +#endif +#include +#include ]], + [[struct statfs t; long c = *(t.f_spare);]])], + [fu_cv_sys_truncating_statfs=yes], + [fu_cv_sys_truncating_statfs=no])]) +if test $fu_cv_sys_truncating_statfs = yes; then + AC_DEFINE(STATFS_TRUNCATES_BLOCK_COUNTS, 1, +[ Define if the block counts reported by statfs may be truncated to 2GB + and the correct values may be stored in the f_spare array. + (SunOS 4.1.2, 4.1.3, and 4.1.3_U1 are reported to have this problem. + SunOS 4.1.1 seems not to be affected.)]) +fi +AC_MSG_RESULT($fu_cv_sys_truncating_statfs) + +AC_MSG_CHECKING(whether localtime caches TZ) +AC_CACHE_VAL(utils_cv_localtime_cache, +[if test x$ac_cv_func_tzset = xyes; then +AC_RUN_IFELSE([AC_LANG_SOURCE([[#include +#if STDC_HEADERS +# include +#endif +extern char **environ; +unset_TZ () +{ + char **from, **to; + for (to = from = environ; (*to = *from); from++) + if (! (to[0][0] == 'T' && to[0][1] == 'Z' && to[0][2] == '=')) + to++; +} +main() +{ + time_t now = time ((time_t *) 0); + int hour_GMT0, hour_unset; + if (putenv ("TZ=GMT0") != 0) + exit (1); + hour_GMT0 = localtime (&now)->tm_hour; + unset_TZ (); + hour_unset = localtime (&now)->tm_hour; + if (putenv ("TZ=PST8") != 0) + exit (1); + if (localtime (&now)->tm_hour == hour_GMT0) + exit (1); + unset_TZ (); + if (localtime (&now)->tm_hour != hour_unset) + exit (1); + exit (0); +}]])], +[utils_cv_localtime_cache=no], +[utils_cv_localtime_cache=yes], +[# If we have tzset, assume the worst when cross-compiling. +utils_cv_localtime_cache=yes]) +else + # If we lack tzset, report that localtime does not cache TZ, + # since we can't invalidate the cache if we don't have tzset. + utils_cv_localtime_cache=no +fi])dnl +AC_MSG_RESULT($utils_cv_localtime_cache) +if test $utils_cv_localtime_cache = yes; then + AC_DEFINE(LOCALTIME_CACHE, 1, [FIXME]) +fi + +# SCO-ODT-3.0 is reported to need -los to link programs using initgroups +AC_CHECK_FUNCS(initgroups) +if test $ac_cv_func_initgroups = no; then + AC_CHECK_LIB(os, initgroups) +fi + +AC_CHECK_FUNCS(syslog) +if test $ac_cv_func_syslog = no; then + # syslog is not in the default libraries. See if it's in some other. + for lib in bsd socket inet; do + AC_CHECK_LIB($lib, syslog, [AC_DEFINE(HAVE_SYSLOG, 1, [FIXME]) + LIBS="$LIBS -l$lib"; break]) + done +fi + +AC_MSG_CHECKING(for 3-argument setpriority function) +AC_CACHE_VAL(utils_cv_func_setpriority, +[AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include + #include ]], [[setpriority(0, 0, 0);]])], + [utils_cv_func_setpriority=yes], + [utils_cv_func_setpriority=no])]) +AC_MSG_RESULT($utils_cv_func_setpriority) +if test $utils_cv_func_setpriority = yes; then + OPTIONAL_BIN_PROGS="$OPTIONAL_BIN_PROGS nice\$(EXEEXT)" + OPTIONAL_BIN_ZCRIPTS="$OPTIONAL_BIN_ZCRIPTS nohup" + MAN="$MAN nice.1 nohup.1" +else + AC_MSG_CHECKING(for nice function) + AC_CACHE_VAL(utils_cv_func_nice, + [AC_LINK_IFELSE([AC_LANG_PROGRAM([[]], [[nice();]])], + [utils_cv_func_nice=yes], + [utils_cv_func_nice=no])]) + AC_MSG_RESULT($utils_cv_func_nice) + if test $utils_cv_func_nice = yes; then + AC_DEFINE(NICE_PRIORITY, 1, [FIXME]) + OPTIONAL_BIN_PROGS="$OPTIONAL_BIN_PROGS nice\$(EXEEXT)" + OPTIONAL_BIN_ZCRIPTS="$OPTIONAL_BIN_ZCRIPTS nohup" + MAN="$MAN nice.1 nohup.1" + fi +fi + +AC_DEFUN(jm_DUMMY_1, +[ + AC_REQUIRE([jm_PREREQ_READUTMP]) + if test $ac_cv_header_utmp_h = yes || test $ac_cv_header_utmpx_h = yes; then + OPTIONAL_BIN_PROGS="$OPTIONAL_BIN_PROGS pinky\$(EXEEXT)" + OPTIONAL_BIN_PROGS="$OPTIONAL_BIN_PROGS users\$(EXEEXT)" + OPTIONAL_BIN_PROGS="$OPTIONAL_BIN_PROGS who\$(EXEEXT)" + MAN="$MAN pinky.1 users.1 who.1" + fi +]) +jm_DUMMY_1 + +AC_MSG_CHECKING(ut_host in struct utmp) +AC_CACHE_VAL(su_cv_func_ut_host_in_utmp, +[AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include +#include ]], [[struct utmp ut; ut.ut_host;]])], + [su_cv_func_ut_host_in_utmp=yes], + [su_cv_func_ut_host_in_utmp=no])]) +AC_MSG_RESULT($su_cv_func_ut_host_in_utmp) +if test $su_cv_func_ut_host_in_utmp = yes; then + have_ut_host=1 + AC_DEFINE(HAVE_UT_HOST, 1, [FIXME]) +fi + +if test -z "$have_ut_host"; then + AC_MSG_CHECKING(ut_host in struct utmpx) + AC_CACHE_VAL(su_cv_func_ut_host_in_utmpx, + [AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include +#include ]], [[struct utmpx ut; ut.ut_host;]])], + [su_cv_func_ut_host_in_utmpx=yes], + [su_cv_func_ut_host_in_utmpx=no])]) + AC_MSG_RESULT($su_cv_func_ut_host_in_utmpx) + if test $su_cv_func_ut_host_in_utmpx = yes; then + AC_DEFINE(HAVE_UTMPX_H, 1, [FIXME]) + AC_DEFINE(HAVE_UT_HOST, 1, [FIXME]) + fi +fi + +GNULIB_BOOT_TIME( + [OPTIONAL_BIN_PROGS="$OPTIONAL_BIN_PROGS uptime\$(EXEEXT)" + MAN="$MAN uptime.1"]) + +AC_SYS_POSIX_TERMIOS() +jm_HEADER_TIOCGWINSZ_NEEDS_SYS_IOCTL + +if test $ac_cv_sys_posix_termios = yes; then + OPTIONAL_BIN_PROGS="$OPTIONAL_BIN_PROGS stty\$(EXEEXT)" MAN="$MAN stty.1" + + AC_MSG_CHECKING(whether termios.h needs _XOPEN_SOURCE) + AC_CACHE_VAL(su_cv_sys_termios_needs_xopen_source, + [AC_EGREP_CPP(yes, [#include +#ifdef IUCLC +yes +#endif], su_cv_sys_termios_needs_xopen_source=no, + AC_EGREP_CPP(yes, [#define _XOPEN_SOURCE +#include +#ifdef IUCLC +yes +#endif], su_cv_sys_termios_needs_xopen_source=yes, + su_cv_sys_termios_needs_xopen_source=no))]) + AC_MSG_RESULT($su_cv_sys_termios_needs_xopen_source) + test $su_cv_sys_termios_needs_xopen_source = yes && + AC_DEFINE(TERMIOS_NEEDS_XOPEN_SOURCE, 1, [FIXME]) + + AC_MSG_CHECKING(c_line in struct termios) + AC_CACHE_VAL(su_cv_sys_c_line_in_termios, + [AC_LINK_IFELSE([AC_LANG_PROGRAM([[#if TERMIOS_NEEDS_XOPEN_SOURCE +#define _XOPEN_SOURCE +#endif +#include +#include ]], [[struct termios t; t.c_line;]])], + [su_cv_sys_c_line_in_termios=yes], + [su_cv_sys_c_line_in_termios=no])]) + AC_MSG_RESULT($su_cv_sys_c_line_in_termios) + test $su_cv_sys_c_line_in_termios = yes \ + && AC_DEFINE(HAVE_C_LINE, 1, [FIXME]) +fi + +# FIXME: note that this macro appears above, too. +# I'm leaving it here for now. This whole thing needs to be modernized... +jm_WINSIZE_IN_PTEM + +jm_HEADER_TIOCGWINSZ_IN_TERMIOS_H + +if test $jm_cv_sys_tiocgwinsz_needs_termios_h = no && \ + test $jm_cv_sys_tiocgwinsz_needs_sys_ioctl_h = no; then + AC_MSG_CHECKING(TIOCGWINSZ in sys/pty.h) + AC_CACHE_VAL(su_cv_sys_tiocgwinsz_in_sys_pty_h, + [AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include +#ifdef WINSIZE_IN_PTEM +# include +# include +#endif +#include +#include +#include ]], [[int x = TIOCGWINSZ;]])], + [su_cv_sys_tiocgwinsz_in_sys_pty_h=yes], + [su_cv_sys_tiocgwinsz_in_sys_pty_h=no])]) + AC_MSG_RESULT($su_cv_sys_tiocgwinsz_in_sys_pty_h) + + test $su_cv_sys_tiocgwinsz_in_sys_pty_h = yes \ + && AC_DEFINE(GWINSZ_IN_SYS_PTY, 1, + [Define if your system defines TIOCGWINSZ in sys/pty.h.]) +fi + +# For src/kill.c. +AC_CHECK_DECLS([strsignal, strtoimax, sys_siglist, _sys_siglist]) + +jm_LIB_CHECK + +AM_GNU_GETTEXT([external], [need-ngettext]) +AM_GNU_GETTEXT_VERSION(0.11.5) + +AC_CONFIG_FILES( + Makefile + doc/Makefile + lib/Makefile + man/Makefile + m4/Makefile + po/Makefile.in + src/Makefile + tests/Makefile + tests/basename/Makefile + tests/chgrp/Makefile + tests/chmod/Makefile + tests/chown/Makefile + tests/cp/Makefile + tests/cut/Makefile + tests/date/Makefile + tests/dd/Makefile + tests/dircolors/Makefile + tests/du/Makefile + tests/expr/Makefile + tests/factor/Makefile + tests/fmt/Makefile + tests/head/Makefile + tests/install/Makefile + tests/join/Makefile + tests/ln/Makefile + tests/ls-2/Makefile + tests/ls/Makefile + tests/md5sum/Makefile + tests/misc/Makefile + tests/mkdir/Makefile + tests/mv/Makefile + tests/od/Makefile + tests/pr/Makefile + tests/rm/Makefile + tests/rmdir/Makefile + tests/seq/Makefile + tests/sha1sum/Makefile + tests/shred/Makefile + tests/sort/Makefile + tests/stty/Makefile + tests/sum/Makefile + tests/tac/Makefile + tests/tail-2/Makefile + tests/tail/Makefile + tests/test/Makefile + tests/touch/Makefile + tests/tr/Makefile + tests/tsort/Makefile + tests/unexpand/Makefile + tests/uniq/Makefile + tests/wc/Makefile + ) +AC_OUTPUT diff --git a/src/apps/bin/coreutils-5.0/stamp-h1 b/src/apps/bin/coreutils-5.0/stamp-h1 new file mode 100644 index 0000000000..4547fe1b5e --- /dev/null +++ b/src/apps/bin/coreutils-5.0/stamp-h1 @@ -0,0 +1 @@ +timestamp for config.h