autoheader command in Linux with Examples

autoheader command in Linux is used to create a template file of C “#define” or any other template header for configure to use. If the user will give autoheader an argument, it reads the standard input instead of reading configure.ac and also writes the header file to the standard output. This command scans the configure.ac file and figures out which C preprocessor symbols it might have defined.

Syntax:

autoheader [OPTION]... [TEMPLATE-FILE]

Options:



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

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

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

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

  • -f, –force: Consider all the files as obsolete.
    autoheader -f or autoheader --force

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

    The other warning categories are:



My Personal Notes arrow_drop_up

Check out this Author's contributed articles.

If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.




Article Tags :

Be the First to upvote.


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.