Skip to content
Related Articles

Related Articles

autoheader command in Linux with Examples

View Discussion
Improve Article
Save Article
Like Article
  • Last Updated : 15 May, 2019

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 and also writes the header file to the standard output. This command scans the file and figures out which C preprocessor symbols it might have defined.


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


  • -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
Recommended Articles
Page :

Start Your Coding Journey Now!