mirror of
https://github.com/tailix/libkernaux.git
synced 2024-11-27 11:14:42 -05:00
Stop portability to ancient shells
https://stackoverflow.com/a/64436192/10598455 https://mywiki.wooledge.org/BashPitfalls#pf4
This commit is contained in:
parent
cb4510668c
commit
3b8e6bf4b7
1 changed files with 10 additions and 10 deletions
20
configure.ac
20
configure.ac
|
@ -15,17 +15,17 @@ AC_ARG_ENABLE([console], AS_HELP_STRING([--disable-console], [disable seri
|
|||
AC_ARG_ENABLE([multiboot2], AS_HELP_STRING([--disable-multiboot2], [disable Multiboot 2 information parser]))
|
||||
AC_ARG_ENABLE([pfa], AS_HELP_STRING([--disable-pfa], [disable Page Frame Allocator]))
|
||||
|
||||
AM_CONDITIONAL([ARCH_X86], [test x"$host_cpu" = x"x86"])
|
||||
AM_CONDITIONAL([ENABLE_CMDLINE], [test x"$enable_cmdline" != x"no"])
|
||||
AM_CONDITIONAL([ENABLE_CONSOLE], [test x"$enable_console" != x"no"])
|
||||
AM_CONDITIONAL([ENABLE_MULTIBOOT2], [test x"$enable_multiboot2" != x"no"])
|
||||
AM_CONDITIONAL([ENABLE_PFA], [test x"$enable_pfa" != x"no"])
|
||||
AM_CONDITIONAL([ARCH_X86], [test "$host_cpu" = x86])
|
||||
AM_CONDITIONAL([ENABLE_CMDLINE], [test "$enable_cmdline" != no])
|
||||
AM_CONDITIONAL([ENABLE_CONSOLE], [test "$enable_console" != no])
|
||||
AM_CONDITIONAL([ENABLE_MULTIBOOT2], [test "$enable_multiboot2" != no])
|
||||
AM_CONDITIONAL([ENABLE_PFA], [test "$enable_pfa" != no])
|
||||
|
||||
AS_IF([test x"$host_cpu" = x"x86"], [AC_DEFINE([ARCH_X86], [1], [architecture is x86])])
|
||||
AS_IF([test x"$enable_cmdline" != x"no"], [AC_DEFINE([ENABLE_CMDLINE], [1], [enabled command line parser])])
|
||||
AS_IF([test x"$enable_console" != x"no"], [AC_DEFINE([ENABLE_CONSOLE], [1], [enabled serial console])])
|
||||
AS_IF([test x"$enable_multiboot2" != x"no"], [AC_DEFINE([ENABLE_MULTIBOOT2], [1], [enabled Multiboot 2 information parser])])
|
||||
AS_IF([test x"$enable_pfa" != x"no"], [AC_DEFINE([ENABLE_PFA], [1], [enabled Page Frame Allocator])])
|
||||
AS_IF([test "$host_cpu" = x86], [AC_DEFINE([ARCH_X86], [1], [architecture is x86])])
|
||||
AS_IF([test "$enable_cmdline" != no], [AC_DEFINE([ENABLE_CMDLINE], [1], [enabled command line parser])])
|
||||
AS_IF([test "$enable_console" != no], [AC_DEFINE([ENABLE_CONSOLE], [1], [enabled serial console])])
|
||||
AS_IF([test "$enable_multiboot2" != no], [AC_DEFINE([ENABLE_MULTIBOOT2], [1], [enabled Multiboot 2 information parser])])
|
||||
AS_IF([test "$enable_pfa" != no], [AC_DEFINE([ENABLE_PFA], [1], [enabled Page Frame Allocator])])
|
||||
|
||||
AM_INIT_AUTOMAKE([1.9 subdir-objects -Wall -Werror])
|
||||
|
||||
|
|
Loading…
Reference in a new issue