VOOZH about

URL: https://www.geeksforgeeks.org/linux-unix/autoconf-command-in-linux-with-examples/

โ‡ฑ autoconf command in Linux with examples - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

autoconf command in Linux with examples

Last Updated : 27 Jan, 2022
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
    ๐Ÿ‘ Image
  • -V, --version: Shows the version number and then exits.
    autoconf -V or autoconf --version
    ๐Ÿ‘ Image
  • -v, --verbose: Gives the verbosely report processing.
    autoconf -v filename or autoconf --verbose filename
    ๐Ÿ‘ Image
  • -d, --debug: Makes sure to not remove any files that are temporary.
    autoconf -d filename or autoconf --debug filename
    ๐Ÿ‘ Image
  • -o, --option: Saves the output in the FILE(stdout is default).
    autoconf -o filename or autoconf --option filename
    ๐Ÿ‘ Image
  • -w, --warnings: Reports the warnings falling in the categories
    autoconf -w category or autoconf --warnings category
    ๐Ÿ‘ Image
    The other warning categories are: ๐Ÿ‘ Image
Comment

Explore