Open In App

autoconf command in Linux with examples

Last Updated : 27 Jan, 2022
Comments
Improve
Suggest changes
Like Article
Like
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:

Next Article

Similar Reads