i gotta say tho, as someone who spent the first ~15 years of my career doing web dev, going through the autotools docs was like exploring a museum. like a relic of the past
this c shit crazy
[Перевод] Параллельный ./configure
Извините, но в 2025 году — это просто смешно: $ time ./configure: 13.80s user 12.72s system 69% cpu 38.018 total
https://habr.com/ru/articles/904664/
#autotools #configure #make #bash #automake #сборка #сборка_проекта
When building alsa-utils with a custom toolchain + sysroot, I get this error:
libtool: error: cannot find the library '/usr/lib/libasound.la' or unhandled argument '/usr/lib/libasound.la'
However, the file does exist inside of the sysroot, and configure claims to use the sysroot that the compiler specifies.
How do I solve this?
LibMPU (создание проектов)
В предыдущей статье мы сделали краткий обзор возможностей библиотеки функций для работы с большими числами. В приведенных примерах, для автоматического задания флагов компилятора и компоновщика, мы рассмотрели использование скрипта mpu-config . Данный скрипт поставляется во время инсталляции LibMPU и позволяет упростить написание Make-файлов для программ, использующих библиотеку LibMPU . Однако это не единственный вариант составления Make-файлов с использованием данной библиотеки. В данной статье мы рассмотрим применение GNU Autotools , которые позволяют обеспечить переносимость программ и упростить создание сложных проектов. После инсталляции LibMPU на вашу GNU/Linux систему в распоряжении пользователя, помимо самой библиотеки, будет находиться m4-скрипт /usr/share/aclocal/libmpu.m4. Скрипт l ibmpu.m4 предназначен для использования в проектах, создаваемых с помошью утилит Autoconf , Automake .
https://habr.com/ru/articles/872332/
#gnu #autotools #autoconf #Automake #configure #длинная_арифметика #большие_числа
#gnu #autoconf / #automake tipp:
# tar-ustar: use ustar format of tar (POSIX 1003.1-1988) to lift the
# 99 character limit on filenames (it is now 155 for the directory and
# 256-dir for the file). Needs Automake 1.9 or newer
# see https://www.gnu.org/software/automake/manual/1.10/html_node/Options.html#index-Option_002c-tar_002dv7
# and https://www.gnu.org/software/tar/manual/html_node/Formats.html#Formats
AM_INIT_AUTOMAKE([1.9 tar-ustar])
(this is planned to become a default in make dist—the limit is there to support some really old tar implementations—but currently the default is still tar-v7 with max 99 chars)
You know how some people that know Java don't put it on their résumé because they don't want to work in Java?
For me, that's #autotools, #autoconf, #automake
PSA: please switch your projects to #Meson