Weird. Opening a configure.am file in #NeoVim makes the autotools-language-server lock up and use an entire core.
Anyone else noticing this in their projects?
If it matters, the project is plptools.
I have started migrating macros from the Sorts Mill Autoconf Archive to a new archive, with improvements: https://github.com/chemoelectric/chemoelectric-autoconf-archive
Mostly the improvements are making the cache variables not have names that start with things like ‘________ac’.
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
It's been a while since I ran a build with #autoconf / #autotools. I had forgotten just how many different little things it checks for.
One of the main things it's checking for is whether certain headers and functions exist. That reminds me: #Rust `cfg` directives really ought to allow a predicate of “such-and-such function/type/whatever exists”. Then you can, for example, call a libc function that exists only on platforms that have it, with fallback on platforms that don't.
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 #длинная_арифметика #большие_числа
A wonderful history of early #GNU and much later by David MacKenzie -- who wrote many of the core utilities used today on all #GNU/#Linux systems, #GNU #Autoconf, and lots of other wonderful things. #FSF