redoconf: posix.rc: fix abort when timespec is not available.

Now we define HAS_POSIX=1 if it works, and to blank otherwise, to be
consistent with other rc scripts, but it doesn't abort if we can't find
timespec.

Meanwhile, slightly clarify the error message in rc.sh.

Reported-by: Nathaniel Filardo <nwfilardo@gmail.com>
This commit is contained in:
Avery Pennarun 2019-02-23 21:00:26 -05:00
commit 017997c035
3 changed files with 10 additions and 4 deletions

2
docs/cookbook/c/clean.do Normal file
View file

@ -0,0 +1,2 @@
rm -rf out out.*
rm -f *~ .*~ */*~ */.*~ sources arches allconfig when.c