diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2020-01-23 22:06:52 -0800 |
---|---|---|
committer | Kaz Kyheku <kaz@kylheku.com> | 2020-01-23 22:06:52 -0800 |
commit | 208319c21734bbb829fd6b8e2bc9da819b454bad (patch) | |
tree | 52b37dfbf2ab6ab24fc5758ae6ca75b663112f93 /configure | |
parent | e2b37f659246bf9c5ba2ed9561772f8b56a36256 (diff) | |
download | txr-208319c21734bbb829fd6b8e2bc9da819b454bad.tar.gz txr-208319c21734bbb829fd6b8e2bc9da819b454bad.tar.bz2 txr-208319c21734bbb829fd6b8e2bc9da819b454bad.zip |
New function: mkfifo.
* configure: detect mkfifo.
(sysif_init): Register mkfifo intrinsic.
* txr.1: Documented.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -2386,6 +2386,27 @@ else printf "no\n" fi +printf "Checking for mkfifo ... " + +cat > conftest.c <<! +#include "config.h" +#if HAVE_SYS_STAT +#include <sys/stat.h> +#endif + +int main(void) +{ + int e = mkfifo("a", 0); + return 0; +} +! +if conftest ; then + printf "yes\n" + printf "#define HAVE_MKFIFO 1\n" >> config.h +else + printf "no\n" +fi + printf "Checking for chmod/fchmod ... " cat > conftest.c <<! #include <sys/stat.h> |