The Wayback Machine - https://web.archive.org/web/20240314150055/https://www.geeksforgeeks.org/autoconf-command-in-linux-with-examples/
Open In App

autoconf command in Linux with examples

Improve
Improve
Improve
Like Article
Like
Save Article
Save
Share
Report issue
Report

autoconf command is used in Linux to generate configuration scripts. Generate a configuration script from a TEMPLATE-FILE if given, or from ‘configure.ac’ if present, or ‘configure.in’. The output is sent to the standard output if TEMPLATE-FILE is given, otherwise, it is sent into ‘configure’. To use autoconf we must install the this on the Linux terminal as follows:

sudo apt-get install autoconf

Synopsis:

user/bin/autoconf [OPTION] ... [TEMPLATE-FILE]

Options:

  • -h, –help: Display the help message and then exits.
    autoconf -h or autoconf --help

  • -V, –version: Shows the version number and then exits.
    autoconf -V or autoconf --version

  • -v, –verbose: Gives the verbosely report processing.
    autoconf -v filename or autoconf --verbose filename

  • -d, –debug: Makes sure to not remove any files that are temporary.
    autoconf -d filename or autoconf --debug filename

  • -o, –option: Saves the output in the FILE(stdout is default).
    autoconf -o filename or autoconf --option filename

  • -w, –warnings: Reports the warnings falling in the categories
    autoconf -w category or autoconf --warnings category

    The other warning categories are:


Last Updated : 27 Jan, 2022
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads