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’.

#GNU #Autoconf #Autotools

GitHub - chemoelectric/chemoelectric-autoconf-archive: An archive of GNU Autoconf macros

An archive of GNU Autoconf macros. Contribute to chemoelectric/chemoelectric-autoconf-archive development by creating an account on GitHub.

GitHub

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

#autotools #c #automake #autoconf

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.

Just upstreamed small fix to #bitbake in #yocto project.

During my work and life I make different changes/fixes to many #FLOSS systems. But for the last five years I had no enough something (not in the mood? too obsessed with other life issues?) to publish them. Hope, after this small step with yocto I'll continue with it and finally will contribute network-manager-l2tp to #guix, will re-send again my suggestions for #autoconf, share my fixes for obuspa, bash, repo-tool and other things where I made fixes but then just abandon them.
parse: Forbid ambiguous assignments to ${.}, ${+}, and ${:} variables - bitbake - Bitbake Development tree

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?

#Linux #LibTool #AutoMake #AutoConf #ALSA

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 #длинная_Π°Ρ€ΠΈΡ„ΠΌΠ΅Ρ‚ΠΈΠΊΠ° #большиС_числа

LibMPU (созданиС ΠΏΡ€ΠΎΠ΅ΠΊΡ‚ΠΎΠ²)

Π’ ΠΏΡ€Π΅Π΄Ρ‹Π΄ΡƒΡ‰Π΅ΠΉ ΡΡ‚Π°Ρ‚ΡŒΠ΅ ΠΌΡ‹ сдСлали ΠΊΡ€Π°Ρ‚ΠΊΠΈΠΉ ΠΎΠ±Π·ΠΎΡ€ возмоТностСй Π±ΠΈΠ±Π»ΠΈΠΎΡ‚Π΅ΠΊΠΈ Ρ„ΡƒΠ½ΠΊΡ†ΠΈΠΉ для Ρ€Π°Π±ΠΎΡ‚Ρ‹ с большими числами. Π’ ΠΏΡ€ΠΈΠ²Π΅Π΄Π΅Π½Π½Ρ‹Ρ… ΠΏΡ€ΠΈΠΌΠ΅Ρ€Π°Ρ…, для автоматичСского задания Ρ„Π»Π°Π³ΠΎΠ² компилятора ΠΈ ΠΊΠΎΠΌΠΏΠΎΠ½ΠΎΠ²Ρ‰ΠΈΠΊΠ°, ΠΌΡ‹...

Π₯Π°Π±Ρ€

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

https://www.youtube.com/watch?v=D7vfI-WSP8Q

A Personal History with Linux and BSD Unix

YouTube
#foss enthusiasts… Fancy a #gnu #autoconf #automake and #libtool #book? Swing by Hammersmith area and it’s yours. #macos #bsd #devops #books #development #developers #programming #oss #opensource #unix #linux
#autodafe 1.1 has been released (#autotools / #autoconf) https://gitlab.com/esr/autodafe
Eric S. Raymond / autodafe Β· GitLab

Tools for freeing your project from the clammy grip of autotools.

GitLab
leah blogs: What autoconf got right