mirror of
https://github.com/tailix/libkernaux.git
synced 2024-11-13 11:04:27 -05:00
Main: configure.ac: add comments
This commit is contained in:
parent
ed357c0a81
commit
f3f89b75f2
1 changed files with 16 additions and 0 deletions
16
configure.ac
16
configure.ac
|
@ -133,6 +133,10 @@ AS_IF([test "$with_libc_strnlen" = yes], [with_libc_strnlen=yes], [with_libc
|
|||
|
||||
|
||||
|
||||
#############
|
||||
# Test args #
|
||||
#############
|
||||
|
||||
AS_IF([test "$host_cpu" != "$build_cpu" -a "$enable_tests" = yes], AC_MSG_ERROR([can not build cross-platform tests]))
|
||||
|
||||
AS_IF([test "$enable_tests" = no -a "$enable_tests_python" = yes], AC_MSG_ERROR([Python tests require usual tests]))
|
||||
|
@ -142,6 +146,10 @@ AS_IF([test "$with_ntoa" = no -a "$with_units" = yes], AC_MSG_ERROR([package `u
|
|||
|
||||
|
||||
|
||||
#########################
|
||||
# Automake conditionals #
|
||||
#########################
|
||||
|
||||
dnl Architecture
|
||||
AM_CONDITIONAL([ASM_I386], [test "$host_cpu" = i386])
|
||||
AM_CONDITIONAL([ASM_RISCV64], [test "$host_cpu" = riscv64])
|
||||
|
@ -180,6 +188,10 @@ AM_CONDITIONAL([WITH_LIBC_STRNLEN], [test "$with_libc_strnlen" = yes])
|
|||
|
||||
|
||||
|
||||
####################
|
||||
# Autoconf defines #
|
||||
####################
|
||||
|
||||
dnl Architecture
|
||||
AS_IF([test "$host_cpu" = i386], [AC_DEFINE([ASM_I386], [1], [architecture is i386])])
|
||||
AS_IF([test "$host_cpu" = riscv64], [AC_DEFINE([ASM_RISCV64], [1], [architecture is RISC-V 64-bit])])
|
||||
|
@ -218,6 +230,10 @@ AS_IF([test "$with_libc_strnlen" = yes], [AC_DEFINE([WITH_LIBC_STRNLEN], [1]
|
|||
|
||||
|
||||
|
||||
##########################
|
||||
# Autoconf substitutions #
|
||||
##########################
|
||||
|
||||
dnl Architecture
|
||||
AS_IF([test "$host_cpu" != i386], [AC_SUBST([comment_line_asm_i386], [//])])
|
||||
AS_IF([test "$host_cpu" != riscv64], [AC_SUBST([comment_line_asm_riscv64], [//])])
|
||||
|
|
Loading…
Reference in a new issue