Home Explore Blog Models CI



nixpkgs

1st chunk of `doc/hooks/autoconf.section.md`
66b89f3d9ea4cb25d0befccaf7856db8a87172c38685810b0000000100000189
# Autoconf {#setup-hook-autoconf}

The `autoreconfHook` derivation adds `autoreconfPhase`, which runs autoreconf, libtoolize and automake, essentially preparing the configure script in autotools-based builds. Most autotools-based packages come with the configure script pre-generated, but this hook is necessary for a few packages and when you need to patch the package’s configure scripts.

Title: Autoconf: The autoreconfHook
Summary
The `autoreconfHook` derivation introduces the `autoreconfPhase`, which executes `autoreconf`, `libtoolize`, and `automake` to generate the `configure` script for autotools-based builds. While most packages include a pre-generated `configure` script, this hook is crucial for certain packages and when modifications to the package's `configure` scripts are required.