# dh_autotools-dev_updateconfig - update config.sub and config.guess - man(1) - [phpMan]

[_DH_AUTOTOOLS-DEV_UPDATECONFIG_(1)](https://www.chedong.com/phpMan.php/man/DHAUTOTOOLS-DEVUPDATECONFIG/1/markdown)              Debhelper             [_DH_AUTOTOOLS-DEV_UPDATECONFIG_(1)](https://www.chedong.com/phpMan.php/man/DHAUTOTOOLS-DEVUPDATECONFIG/1/markdown)

## NAME
       dh_autotools-dev_updateconfig - update config.sub and config.guess

## SYNOPSIS
       **dh_autotools-dev_updateconfig **[_debhelper_ _options_]

## DESCRIPTION
       **Deprecated**: dh_autotools-dev_updateconfig and dh_autotools-dev_restoreconfig are deprecated
       and replaced by [**dh_update_autotools_config**(1)](https://www.chedong.com/phpMan.php/man/dhupdateautotoolsconfig/1/markdown) and [**dh_clean**(1)](https://www.chedong.com/phpMan.php/man/dhclean/1/markdown) from debhelper.  Please replace
       all uses of dh_autotools-dev_updateconfig with dh_update_autotools_config and then remove any
       use of dh_autotools-dev_restoreconfig.

       dh_autotools-dev_updateconfig replaces all occurrences of **config.sub **and **config.guess **in the
       source tree by the up-to-date versions found in the autotools-dev package.  The original
       files are backed up under the names **config.sub.dh-orig **and **config.guess.dh-orig**.

## EXAMPLES
       dh_autotools-dev_updateconfig is usually called indirectly in a rules file via the dh
       command.

               %:
                       dh $@ --with autotools_dev

       It can also be direcly called at the start of the build (or configure) rule.

               build:
                       dh_autotools-dev_updateconfig
                       ./configure
                       $(MAKE)

## SEE ALSO
       [**debhelper**(7)](https://www.chedong.com/phpMan.php/man/debhelper/7/markdown), [**dh**(1)](https://www.chedong.com/phpMan.php/man/dh/1/markdown).

       This program is meant to be used together with debhelper.

## AUTHOR
       Fabian Greffrath <fabian+<debian@greffrath.com>>

perl v5.32.1                                 2022-01-31             [_DH_AUTOTOOLS-DEV_UPDATECONFIG_(1)](https://www.chedong.com/phpMan.php/man/DHAUTOTOOLS-DEVUPDATECONFIG/1/markdown)
