/
githubmirror
/
numactl
Обзор
Документация
Войти
/
githubmirror
/
numactl
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
configure.ac
40 строк
1 KB
Marvin Schmidt
Revert "Fix build error on riscv64 by linking libatomic"
06 янв 2024, 20:59
06 янв 2024, 20:59
b5110b6
Код
Авторство
О чём код?
AC_PREREQ([2.64]) AC_INIT([numactl], m4_normalize(m4_include([VERSION]))) AC_CONFIG_SRCDIR([numactl.c]) AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_AUX_DIR([build-aux]) AC_CONFIG_HEADERS([config.h]) AM_INIT_AUTOMAKE([foreign 1.11 silent-rules subdir-objects parallel-tests]) AM_SILENT_RULES([yes]) LT_PREREQ([2.2]) LT_INIT AC_PROG_CC # Check for enabling LFS support AC_SYS_LARGEFILE # Override CFLAGS so that we can specify custom CFLAGS for numademo. AX_AM_OVERRIDE_VAR([CFLAGS]) AX_TLS([:],[:]) AX_CHECK_COMPILE_FLAG([-ftree-vectorize], [tree_vectorize="true"]) AM_CONDITIONAL([HAVE_TREE_VECTORIZE], [test x"${tree_vectorize}" = x"true"]) AC_CONFIG_FILES([Makefile]) AC_SEARCH_LIBS([__atomic_fetch_and_1], [atomic]) # GCC tries to be "helpful" and only issue a warning for unrecognized # attributes. So we compile the test with Werror, so that if the # attribute is not recognized the compilation fails AC_LANG(C) AC_LANG_WERROR AC_COMPILE_IFELSE([AC_LANG_SOURCE([[__attribute__ ((symver ("foo@foo_1"))) void frob (void) { }]])], [AC_DEFINE([HAVE_ATTRIBUTE_SYMVER], [1], [Checking for symver attribute])], []) AC_OUTPUT