Using autoconf Command In Linux (Examples)

autoconf command in Linux platform allows users to generate configuration script from a provided TEMPLATE-FILE or ‘’ if the file is existing, otherwise from ‘’. Also, the output is sent to TEMPLATE-FILE if specified, otherwise the output is displayed in ‘configure’.

In order to use autoconf command in Linux, users need to install this. Users can run the command below for installation.

sudo apt get-install autoconf

Syntax to use autoconf command in Linux


Note: In order to check all available options with this command, users can run “autoconf -h” or “autoconf -help“.

Examples to use autoconf command in Linux

1: Displaying version number

autoconf -V


autoconf - - version

2: Saving the output in a specified file

autoconf -o filename


autoconf - - option filename

3: Displaying the warnings falling in categories

autoconf -w category


autoconf - - warnings category