From 199d03d8b41e0f86b94d1f575b2284700d9cd935 Mon Sep 17 00:00:00 2001 From: rofl0r Date: Sat, 10 Dec 2022 19:19:53 +0000 Subject: [PATCH] configure: add a check for whether libc headers are usable closes #486 --- configure | 1 + 1 file changed, 1 insertion(+) diff --git a/configure b/configure index 6d7107c..7ceb122 100755 --- a/configure +++ b/configure @@ -177,6 +177,7 @@ ishaiku() { } check_compile 'whether C compiler works' '' 'int main() {return 0;}' || fail 'error: install a C compiler and library' +check_compile 'whether libc headers are complete' '' '#include \nint main() {return 0;}' || fail 'error: necessary libc headers are not installed' check_compile 'whether C compiler understands -Wno-unknown-pragmas' '-Wno-unknown-pragmas' 'int main() {return 0;}' if ! check_compile 'whether getnameinfo() servlen argument is POSIX compliant (socklen_t)' "-DGN_NODELEN_T=socklen_t -DGN_SERVLEN_T=socklen_t -DGN_FLAGS_T=int" \