]> granicus.if.org Git - libevent/commit
build: use literals for AC_CHECK_HEADERS/AC_CHECK_FUNCS
authorAzat Khuzhin <azat@libevent.org>
Sun, 28 Mar 2021 14:16:54 +0000 (17:16 +0300)
committerAzat Khuzhin <azat@libevent.org>
Sun, 28 Mar 2021 14:19:28 +0000 (17:19 +0300)
commit28f0fe6fd1e2b1e9fb24a5c7a5b078790890e44f
tree3986812683e81577c6ddabce24ab1ad4458fa787
parentce028cefc7bf074e46a2ccf0d6c6dc2e0b07e75b
build: use literals for AC_CHECK_HEADERS/AC_CHECK_FUNCS

autoconf 2.72 reports:

    configure.ac:188: warning: AC_CHECK_HEADERS(\
    ): you should use literals
    ../autoconf-2.71/lib/autoconf/headers.m4:217: AC_CHECK_HEADERS is expanded from...
    configure.ac:188: the top level
    configure.ac:188: warning: AC_CHECK_HEADERS(afunix.h
    ): you should use literals

And also it fails to find fcntl.h and other headers because of this:

    configure:14725: checking for  fcntl.h
    configure:14725: gcc -c -I/mingw64/include  conftest.c >&5
    conftest.c:77:10: fatal error:  fcntl.h: No such file or directory
       77 | #include < fcntl.h>

Refs: https://github.com/libevent/libevent/pull/1146/checks?check_run_id=2211752215
configure.ac