DH_AUTO_CONFIGURE(1)
π DH_AUTO_CONFIGURE π
okay bestie, welcome to dh_auto_configure, straight out of the debhelper manual (section 1, if we're being fancy). this is the little guy who does your pre-build setup so you don't have to β¨
πΈ NAME πΈ
dh_auto_configure β it configures your package before the build happens, automatically. no cap. π«Ά
β¨ SYNOPSIS β¨
dh_auto_configure [build system options] [debhelper options] [-- params]
that's it, that's the whole vibe check π
π¦ DESCRIPTION π¦
so here's the tea, bestie π΅ dh_auto_configure is a debhelper program and its whole job is to try to automatically configure a package before it gets built. it does this by peeking at your package, clocking which build system you're using, and then running the right command for it. main character energy, honestly π
like, it goes looking for a ./configure script, or Makefile.PL, or Build.PL, or cmake, and then runs the one it finds. it works out a standard set of parameters and hands them over to whatever program it's running. and here's the thing β some build systems, like make, literally don't even need a configure step. for those, dh_auto_configure just exits without doing anything. it said "not my problem, slay" and left π
this is designed to work for about 90% of packages. and if it doesn't work for yours? no stress, you're genuinely encouraged to skip dh_auto_configure entirely and just run ./configure or whatever the equivalent is, manually. do it yourself, be your own icon πͺ
π OPTIONS π
head over to "BUILD SYSTEM OPTIONS" in debhelper(7) if you wanna see the list of the common build system selection and control options. it's all there, iykyk π
--params β this one passes params straight to the program that's being run, and it tucks them in after the parameters thatdh_auto_configureusually passes. like, it's not replacing anything, it's just adding on at the end. periodt. for example:
dh_auto_configure -- --with-foo --enable-bar
see how the --with-foo and --enable-bar go after the --? that's the whole trick πͺ
π SEE ALSO π
this program is a part of debhelper. found family fr fr π«
π AUTHOR π
Joey Hess <joeyh@debian.org> β the legend themselves, we stan ππ
and that's the whole page, bestie!! this was version 14.5ubuntu1 from 2026-09-21 β go configure something gorgeous, you've got this π¦β¨π
π¦ where this page comes from
- ubuntu stonking: debhelper 14.5ubuntu1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms