5 dh_auto_configure - automatically configure a package prior to building
10 use Debian::Debhelper::Dh_Buildsystems;
14 B<dh_auto_configure> [S<I<build system options>>] [S<I<debhelper options>>] [S<B<--> I<params>>]
18 dh_auto_configure is a debhelper program that tries to automatically
19 configure a package prior to building. It does so by running the
20 appropriate command for the build system it detects the package uses.
21 For example, it looks for and runs a ./configure script, Makefile.PL,
22 Build.PL, or cmake. A standard set of parameters is determined and passed
23 to the program that is run. Some build systems, such as make, do not
24 need a configure step; for these dh_auto_configure will exit without
27 This is intended to work for about 90% of packages. If it doesn't work,
28 you're encouraged to skip using dh_auto_configure at all, and just run
29 ./configure or its equivalent manually.
33 See L<debhelper(7)/BUILD SYSTEM OPTIONS> for a list of common build
34 system selection and control options.
40 Pass "params" to the program that is run, after the standard
41 parameters that dh_auto_configure passes. This can be used to supplement
42 or override those parameters. For example:
44 dh_auto_configure -- --with-foo --enable-bar
57 This program is a part of debhelper.
61 Joey Hess <joeyh@debian.org>