Hi, Gnulib maintainers,
I'm working with GNU Octave and we're having an issue with mkfifo in
When we configure and build Gnulib on macOS, it builds the mkfifo()
replacement function that just returns an ENOSYS error, even though
mkfifo is present. This results in all mkfifo() calls failing.
The configure output indicates that mkfifo is found:
configure:57847: checking for mkfifo
configure:57872: gcc -o conftest -g -O2 -D_THREAD_SAFE -pthread
-L/usr/local/opt/qscintilla2/lib conftest.c -lm >&5
ld: warning: directory not found for option
configure:57872: $? = 0
configure:57881: result: yes
configure:57887: checking whether mkfifo rejects trailing slashes
configure:57935: gcc -o conftest -g -O2 -D_THREAD_SAFE -pthread -
But there is no HAVE_MKFIFO present in the resulting config.h file.
Manually doing a CPPFLAGS="-DHAVE_MKFIFO" fixes it.
Possibly related to this change:
There's no "HAVE_MKFIFO=1" statement anywhere in m4/mkfifo.m4 now.
Should there be one in the "else" branch of "test $gl_cv_func_mkfifo = no"?