• Show log

    Commit

  • Hash : 9a77023f
    Author : Michael Haubenwallner
    Date : 2019-08-22T16:55:44

    build: Use <unistd.h> only if available
    
    Some target platforms do not have <unistd.h>, notably Windows when
    using vanilla MSVC toolchain. Note: The AC_CHECK_HEADERS([unistd.h])
    is redundant with LT_INIT, but there is no guarantee for that.
    
    [guillem@hadrons.org:
     - Use AC_CHECK_HEADERS instead of AC_CHECK_HEADER.
     - Quote argument to AC_CHECK_HEADERS. ]
    
    Signed-off-by: Guillem Jover <guillem@hadrons.org>