mirror of
https://github.com/tailix/libkernaux.git
synced 2025-02-24 15:55:41 -05:00
Check for <stdbool.h> and <stddef.h>
This commit is contained in:
parent
115b6f28c4
commit
8af65b2f4d
2 changed files with 19 additions and 0 deletions
17
README.md
17
README.md
|
@ -51,6 +51,23 @@ Configure with cross-compiler in `$PATH` to make without it in `$PATH`:
|
||||||
CFLAGS='-ffreestanding -nostdlib -fno-builtin -fno-stack-protector'
|
CFLAGS='-ffreestanding -nostdlib -fno-builtin -fno-stack-protector'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
When configuring with cross-compiler you can see the following messages. It's
|
||||||
|
a bug in **autoconf**, just ignore it.
|
||||||
|
|
||||||
|
```
|
||||||
|
checking for _Bool... no
|
||||||
|
checking stddef.h usability... no
|
||||||
|
checking stddef.h presence... yes
|
||||||
|
configure: WARNING: stddef.h: present but cannot be compiled
|
||||||
|
configure: WARNING: stddef.h: check for missing prerequisite headers?
|
||||||
|
configure: WARNING: stddef.h: see the Autoconf documentation
|
||||||
|
configure: WARNING: stddef.h: section "Present But Cannot Be Compiled"
|
||||||
|
configure: WARNING: stddef.h: proceeding with the compiler's result
|
||||||
|
configure: WARNING: ## ------------------------------------------------------------ ##
|
||||||
|
configure: WARNING: ## Report this to https://github.com/kernelmq/libkernaux/issues ##
|
||||||
|
configure: WARNING: ## ------------------------------------------------------------ ##
|
||||||
|
```
|
||||||
|
|
||||||
To install into specific directory use full path:
|
To install into specific directory use full path:
|
||||||
`DESTDIR="$(pwd)/dest" make install` instead of `DESTDIR=dest make install`.
|
`DESTDIR="$(pwd)/dest" make install` instead of `DESTDIR=dest make install`.
|
||||||
|
|
||||||
|
|
|
@ -42,5 +42,7 @@ AC_PROG_CC
|
||||||
AC_PROG_CC_C99
|
AC_PROG_CC_C99
|
||||||
AC_PROG_RANLIB
|
AC_PROG_RANLIB
|
||||||
AC_C_INLINE
|
AC_C_INLINE
|
||||||
|
AC_CHECK_HEADER_STDBOOL
|
||||||
|
AC_CHECK_HEADERS([stddef.h])
|
||||||
|
|
||||||
AC_OUTPUT
|
AC_OUTPUT
|
||||||
|
|
Loading…
Add table
Reference in a new issue