Email or username:

Password:

Forgot your password?
unnick

autotools be like

checking for number system base ... base 2
checking for signed integer system ... twos complement
checking for galaxy ... milky way
checking for laws of the universe ... standard model
40 comments
Wyatt (🏳️‍⚧️♀?)

@unnick checking for FORTRAN77 compiler

I'm just building a GTK color picker in C, why do you need this?!?

Rich Felker

@wyatt8740 @unnick Because someone c&p'd a bunch of garbage rather than writing their own .ac file... 🤦

✧✦✶✷Catherine✷✶✦✧

@dalias @wyatt8740 @unnick and why is it that people c&p a bunch of garbage rather than writing their own .ac file, Rich?

Rich Felker

@whitequark @wyatt8740 @unnick Because the whole thing is fairly opaque, uses an obscure language, and the docs on how to make decent use of it are unofficial and hard to find especially after the burning of search...

No intent to blame anyone just theorize on how things got this way.

✧✦✶✷Catherine✷✶✦✧

@dalias @wyatt8740 @unnick honestly even ten years ago I found it rather difficult to figure out how to write .ac files

Dan Cassidy 🦌

@dalias @whitequark @wyatt8740 @unnick no it uses three different opaque languages at the same time, in the same source file

Janne Moren

@whitequark @dalias @wyatt8740 @unnick
Good question. Writing one for yourself really isn't difficult. Yes, you do need to take a look through the documentation, but apparently cut and paste is less effort.

✧✦✶✷Catherine✷✶✦✧

@jannem @dalias @wyatt8740 @unnick it's one of the most obscure and user-hostile pieces of software in the world; of course it _is_ difficult, especially if you don't already have the skills for it

m0xEE

@wyatt8740 @unnick
I've seen Fortran actually being used in a couple of projects where I didn't expect it to be, but those projects did use some advanced math — not advanced enough to truly justify it, but those pieces of software were relatively old, so it likely was there historically — maybe no one cared enough to reimplement those parts as you usually get a Fortran compiler with gcc anyway 🤷

Ryan Finnie

@unnick VAX/VMS 3.0 only had partial support for thermodynamic entropy. Best not to make assumptions and just keep the extra test around.

🇺🇦 haxadecimal

@foo @unnick
They're not so much laws as, um, ... guidelines.

aburka 🫣

@unnick hmm is there an @autotools@botsin.space? if not there should be

Lorin Hochstein :verified:

@unnick checking for floating point format … IEEE 754

Kroc Camen

@norootcause Not as total a given as you'd expect, even in 2024! Many non-x86 consoles used non-IEEE754 floats!

Lorin Hochstein :verified:

@larsbrinkhoff @unnick That’s why I always say “octet” instead of “byte”, so that the PDP-10 programmers don’t get confused.

Loïc Denuzière

@joelvanderwerf
Does that mean that there's a way to cut a program into five pieces that's equivalent to fork()?
@unnick

Kiran 🏳️‍⚧️

@unnick
Would be a cool Sci Fi setting to consider an autotools or other build tools that have to check for the universe. Oh snap, this binary was compiled for the wrong universe

nytpu

@unnick jokes on you, software using autotools is the only kind that will keep working after false vacuum decay destroys the laws of physics

Charlotte 🦝 :therian:

@nytpu @unnick but only after manual patching of megabytes of autogenerated shell code

Jon A. Cruz

@unnick days since I last touched autotools scripts: 3

Jon A. Cruz

@unnick number of days since the last work day: 3

arcayr

@unnick "checking you didn't leave the stove on" OH N-

david_chisnall

@unnick Are you saying you don’t routinely test on a 36-bit middle-endian BCD architecture?

ParzivalWolfram

@unnick these tests are for me, the dude running Solaris 7 with a busted libm and broken includes because `fixinclude` in all compatible gcc versions just breaks everything. it's me, the dude who accidentally gave Jia Tan one (1) system from 1998.

on one hand, i've learned a lot about the stack below everything, since i've had to build it myself. on the other, i'm going to die of stress three years from now.

Trammell Hudson

@unnick "No 1 (one) key detected, using L (ell) instead"

retroprom

@unnick checking first digits of pi ... 3.1415

Petr Tesarik

@unnick These jokes date back at least to the 1990s. I can recall a program which went like:

checking for bass ale in -lfridge ... no
checking for any ale in -lfridge ... no
Warning: No ale found! Please, rectify the situation before running 'make'.

Ben

checking for gravity ... Err you have gravity and adhere to to standard model, but these are incompatible to one another. Please pick one or unify them to continue...

Khleedril

@unnick ... checking current value of pi... same as last time...

Hakan Bayındır

@unnick Mine also checks for the universe for consistency, and UID, and fails if it's not 0 (Universe MPI Master).

Григорий Клюшников

So much legacy that it still thinks you might be running it on an obscure mainframe from the 70s that uses an even more obscure C compiler ¯\_(ツ)_/¯

Go Up