mirror of
https://github.com/tailix/libkernaux.git
synced 2025-04-14 17:32:55 -04:00
Main: configure.ac: Option "--with-libc" renamed to "--with-libc-all"
This commit is contained in:
parent
78d204429f
commit
8ab8106db8
9 changed files with 18 additions and 14 deletions
|
@ -1,3 +1,7 @@
|
|||
2022-06-03 Alex Kotov <kotovalexarian@gmail.com>
|
||||
|
||||
* configure.ac: Option "--with-libc" renamed to "--with-libc-all"
|
||||
|
||||
2022-06-02 Alex Kotov <kotovalexarian@gmail.com>
|
||||
|
||||
* include/kernaux/assert.h: Macro "KERNAUX_PANIC" receives string
|
||||
|
|
|
@ -97,9 +97,9 @@ stable options.
|
|||
|
||||
#### Packages
|
||||
|
||||
* `--with-libc` - provides the replacement for some standard C functions. Useful
|
||||
in freestanding environment, where no libc is present. You can also separately
|
||||
include or exclude components:
|
||||
* `--with-libc-all` - provides the replacement for some standard C functions.
|
||||
Useful in freestanding environment, where no libc is present. You can also
|
||||
separately include or exclude components:
|
||||
* `--with[out]-libc-atoi`
|
||||
* `--with[out]-libc-isdigit`
|
||||
* `--with[out]-libc-isspace`
|
||||
|
@ -165,7 +165,7 @@ without it in `$PATH`:
|
|||
./configure \
|
||||
--host='i386-elf' \
|
||||
--disable-pic \
|
||||
--with-libc \
|
||||
--with-libc-all \
|
||||
AR="$(which i386-elf-ar)" \
|
||||
CC="$(which i386-elf-gcc)" \
|
||||
RANLIB="$(which i386-elf-ranlib)" \
|
||||
|
|
|
@ -16,4 +16,4 @@ export RANLIB="$CROSS-ranlib"
|
|||
|
||||
export CFLAGS='-ffreestanding -nostdlib -fno-stack-protector'
|
||||
|
||||
"$REPO/configure" --host="$HOST" --prefix="$PREFIX" --disable-pic --with-libc
|
||||
"$REPO/configure" --host="$HOST" --prefix="$PREFIX" --disable-pic --with-libc-all
|
||||
|
|
|
@ -16,4 +16,4 @@ export RANLIB="$CROSS-ranlib"
|
|||
|
||||
export CFLAGS='-ffreestanding -nostdlib -fno-stack-protector'
|
||||
|
||||
"$REPO/configure" --host="$HOST" --prefix="$PREFIX" --disable-pic --with-libc
|
||||
"$REPO/configure" --host="$HOST" --prefix="$PREFIX" --disable-pic --with-libc-all
|
||||
|
|
|
@ -16,4 +16,4 @@ export RANLIB="$CROSS-ranlib"
|
|||
|
||||
export CFLAGS='-ffreestanding -nostdlib -fno-stack-protector -mabi=sysv -mcmodel=kernel -mno-80387 -mno-red-zone'
|
||||
|
||||
"$REPO/configure" --host="$HOST" --prefix="$PREFIX" --disable-pic --with-libc
|
||||
"$REPO/configure" --host="$HOST" --prefix="$PREFIX" --disable-pic --with-libc-all
|
||||
|
|
|
@ -16,4 +16,4 @@ export RANLIB="$TARGET-ranlib"
|
|||
|
||||
export CFLAGS='-ffreestanding -nostdlib -fno-stack-protector'
|
||||
|
||||
"$REPO/configure" --host="$HOST" --prefix="$PREFIX" --disable-pic --with-libc
|
||||
"$REPO/configure" --host="$HOST" --prefix="$PREFIX" --disable-pic --with-libc-all
|
||||
|
|
|
@ -16,4 +16,4 @@ export RANLIB="$TARGET-ranlib"
|
|||
|
||||
export CFLAGS='-ffreestanding -nostdlib -fno-stack-protector'
|
||||
|
||||
"$REPO/configure" --host="$HOST" --prefix="$PREFIX" --disable-pic --with-libc
|
||||
"$REPO/configure" --host="$HOST" --prefix="$PREFIX" --disable-pic --with-libc-all
|
||||
|
|
|
@ -16,4 +16,4 @@ export RANLIB="$TARGET-ranlib"
|
|||
|
||||
export CFLAGS='-ffreestanding -nostdlib -fno-stack-protector -mabi=sysv -mcmodel=kernel -mno-80387 -mno-red-zone'
|
||||
|
||||
"$REPO/configure" --host="$HOST" --prefix="$PREFIX" --disable-pic --with-libc
|
||||
"$REPO/configure" --host="$HOST" --prefix="$PREFIX" --disable-pic --with-libc-all
|
||||
|
|
|
@ -43,7 +43,7 @@ AC_ARG_WITH( [printf-fmt], AS_HELP_STRING([--without-printf-fmt], [without p
|
|||
AC_ARG_WITH( [units], AS_HELP_STRING([--without-units], [without measurement units utils]))
|
||||
|
||||
dnl Packages (disabled by default)
|
||||
AC_ARG_WITH( [libc], AS_HELP_STRING([--with-libc], [with libc replacement]))
|
||||
AC_ARG_WITH( [libc-all], AS_HELP_STRING([--with-libc-all], [with libc replacement]))
|
||||
AC_ARG_WITH( [libc-atoi], AS_HELP_STRING([--with-libc-atoi], [with atoi replacement]))
|
||||
AC_ARG_WITH( [libc-isdigit], AS_HELP_STRING([--with-libc-isdigit], [with isdigit replacement]))
|
||||
AC_ARG_WITH( [libc-isspace], AS_HELP_STRING([--with-libc-isspace], [with isspace replacement]))
|
||||
|
@ -81,7 +81,7 @@ if test -z "$with_units"; then with_units=no; fi
|
|||
])
|
||||
AS_IF([test "$with_all" = no], do_without_all)
|
||||
|
||||
AC_DEFUN([do_with_libc],
|
||||
AC_DEFUN([do_with_libc_all],
|
||||
[
|
||||
if test -z "$with_libc_atoi"; then with_libc_atoi=yes; fi
|
||||
if test -z "$with_libc_isdigit"; then with_libc_isdigit=yes; fi
|
||||
|
@ -91,7 +91,7 @@ if test -z "$with_libc_strcpy"; then with_libc_strcpy=yes; fi
|
|||
if test -z "$with_libc_strlen"; then with_libc_strlen=yes; fi
|
||||
if test -z "$with_libc_strnlen"; then with_libc_strnlen=yes; fi
|
||||
])
|
||||
AS_IF([test "$with_libc" = yes], do_with_libc)
|
||||
AS_IF([test "$with_libc_all" = yes], do_with_libc_all)
|
||||
|
||||
|
||||
|
||||
|
@ -125,7 +125,7 @@ AS_IF([test "$with_printf_fmt" = no ], [with_printf_fmt=no], [with_prin
|
|||
AS_IF([test "$with_units" = no ], [with_units=no], [with_units=yes])
|
||||
|
||||
dnl Packages (disabled by default)
|
||||
AS_IF([test "$with_libc" = yes], [with_libc=yes], [with_libc=no])
|
||||
AS_IF([test "$with_libc_all" = yes], [with_libc_all=yes], [with_libc_all=no])
|
||||
AS_IF([test "$with_libc_atoi" = yes], [with_libc_atoi=yes], [with_libc_atoi=no])
|
||||
AS_IF([test "$with_libc_isdigit" = yes], [with_libc_isdigit=yes], [with_libc_isdigit=no])
|
||||
AS_IF([test "$with_libc_isspace" = yes], [with_libc_isspace=yes], [with_libc_isspace=no])
|
||||
|
|
Loading…
Add table
Reference in a new issue