Home Explore Blog CI



nixpkgs

1st chunk of `doc/hooks/autoconf.section.md`
8312f9855e24ab8b53a42d5fd981f93da77e657d7c521de20000000100000189
# 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 Setup Hook
Summary
The `autoreconfHook` derivation provides the `autoreconfPhase` which executes autoreconf, libtoolize, and automake. This prepares the configure script for autotools-based builds, and is useful for packages that don't include a pre-generated configure script, or when configure scripts need to be patched.