{
    "mode": "man",
    "parameter": "AUTOCONF",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/AUTOCONF/1/json",
    "generated": "2026-06-15T13:47:59Z",
    "synopsis": "autoconf [OPTION]... [TEMPLATE-FILE]",
    "sections": {
        "NAME": {
            "content": "autoconf - Generate configuration scripts\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "autoconf [OPTION]... [TEMPLATE-FILE]\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "Generate  a configuration script from a TEMPLATE-FILE if given, or 'configure.ac' if present,\nor else 'configure.in'.  Output is sent to the standard output  if  TEMPLATE-FILE  is  given,\nelse into 'configure'.\n",
            "subsections": [
                {
                    "name": "Operation modes:",
                    "content": ""
                },
                {
                    "name": "-h --help",
                    "content": "print this help, then exit\n",
                    "flag": "-h",
                    "long": "--help"
                },
                {
                    "name": "-V --version",
                    "content": "print version number, then exit\n",
                    "flag": "-V",
                    "long": "--version"
                },
                {
                    "name": "-v --verbose",
                    "content": "verbosely report processing\n",
                    "flag": "-v",
                    "long": "--verbose"
                },
                {
                    "name": "-d --debug",
                    "content": "don't remove temporary files\n",
                    "flag": "-d",
                    "long": "--debug"
                },
                {
                    "name": "-f --force",
                    "content": "consider all files obsolete\n",
                    "flag": "-f",
                    "long": "--force"
                },
                {
                    "name": "-o --output",
                    "content": "save output in FILE (stdout is the default)\n",
                    "flag": "-o",
                    "long": "--output"
                },
                {
                    "name": "-W --warnings",
                    "content": "report the warnings falling in CATEGORY\n",
                    "flag": "-W",
                    "long": "--warnings"
                },
                {
                    "name": "Warning categories include:",
                    "content": "cross  cross compilation issues\n\ngnu    GNU coding standards (default in gnu and gnits modes)\n\nobsolete\nobsolete features or constructions (default)\n\noverride\nuser redefinitions of Automake rules or variables\n\nportability\nportability issues (default in gnu and gnits modes)\n\nportability-recursive\nnested Make variables (default with -Wportability)\n\nextra-portability\nextra portability issues related to obscure tools\n\nsyntax dubious syntactic constructs (default)\n\nunsupported\nunsupported or incomplete features (default)\n\nall    all the warnings\n\nno-CATEGORY\nturn off warnings in CATEGORY\n\nnone   turn off all the warnings\n\nThe environment variables 'M4' and 'WARNINGS' are honored.\n"
                },
                {
                    "name": "Library directories:",
                    "content": ""
                },
                {
                    "name": "-B --prepend-include",
                    "content": "prepend directory DIR to search path\n",
                    "flag": "-B",
                    "long": "--prepend-include"
                },
                {
                    "name": "-I --include",
                    "content": "append directory DIR to search path\n",
                    "flag": "-I",
                    "long": "--include"
                },
                {
                    "name": "Tracing:",
                    "content": ""
                },
                {
                    "name": "-t --trace",
                    "content": "report the list of calls to MACRO\n",
                    "flag": "-t",
                    "long": "--trace"
                },
                {
                    "name": "-i --initialization",
                    "content": "also trace Autoconf's initialization process\n\nIn  tracing  mode, no configuration script is created.  FORMAT defaults to '$f:$l:$n:$%'; see\n'autom4te --help' for information about FORMAT.\n",
                    "flag": "-i",
                    "long": "--initialization"
                }
            ]
        },
        "AUTHOR": {
            "content": "Written by David J. MacKenzie and Akim Demaille.\n",
            "subsections": []
        },
        "REPORTING BUGS": {
            "content": "Report bugs to <bug-autoconf@gnu.org>.\nGNU Autoconf home page: <https://www.gnu.org/software/autoconf/>.\nGeneral help using GNU software: <https://www.gnu.org/gethelp/>.\n",
            "subsections": []
        },
        "COPYRIGHT": {
            "content": "Copyright © 2021 Free Software Foundation, Inc.  License GPLv3+/Autoconf: GNU GPL  version  3\nor later <https://gnu.org/licenses/gpl.html>, <https://gnu.org/licenses/exceptions.html>\nThis  is free software: you are free to change and redistribute it.  There is NO WARRANTY, to\nthe extent permitted by law.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "autoconf(1), automake(1),  autoreconf(1),  autoupdate(1),  autoheader(1),  autoscan(1),  con‐‐\nfig.guess(1), config.sub(1), ifnames(1), libtool(1).\n\nThe full documentation for autoconf is maintained as a Texinfo manual.  If the info and auto‐‐\nconf programs are properly installed at your site, the command\n\ninfo autoconf\n\nshould give you access to the complete manual.\n\n\n\nGNU Autoconf 2.71                            August 2021                                 AUTOCONF(1)",
            "subsections": []
        }
    },
    "summary": "autoconf - Generate configuration scripts",
    "flags": [
        {
            "flag": "-h",
            "long": "--help",
            "arg": null,
            "description": "print this help, then exit"
        },
        {
            "flag": "-V",
            "long": "--version",
            "arg": null,
            "description": "print version number, then exit"
        },
        {
            "flag": "-v",
            "long": "--verbose",
            "arg": null,
            "description": "verbosely report processing"
        },
        {
            "flag": "-d",
            "long": "--debug",
            "arg": null,
            "description": "don't remove temporary files"
        },
        {
            "flag": "-f",
            "long": "--force",
            "arg": null,
            "description": "consider all files obsolete"
        },
        {
            "flag": "-o",
            "long": "--output",
            "arg": null,
            "description": "save output in FILE (stdout is the default)"
        },
        {
            "flag": "-W",
            "long": "--warnings",
            "arg": null,
            "description": "report the warnings falling in CATEGORY"
        },
        {
            "flag": "-B",
            "long": "--prepend-include",
            "arg": null,
            "description": "prepend directory DIR to search path"
        },
        {
            "flag": "-I",
            "long": "--include",
            "arg": null,
            "description": "append directory DIR to search path"
        },
        {
            "flag": "-t",
            "long": "--trace",
            "arg": null,
            "description": "report the list of calls to MACRO"
        },
        {
            "flag": "-i",
            "long": "--initialization",
            "arg": null,
            "description": "also trace Autoconf's initialization process In tracing mode, no configuration script is created. FORMAT defaults to '$f:$l:$n:$%'; see 'autom4te --help' for information about FORMAT."
        }
    ],
    "examples": [],
    "see_also": [
        {
            "name": "autoconf",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/autoconf/1/json"
        },
        {
            "name": "automake",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/automake/1/json"
        },
        {
            "name": "autoreconf",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/autoreconf/1/json"
        },
        {
            "name": "autoupdate",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/autoupdate/1/json"
        },
        {
            "name": "autoheader",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/autoheader/1/json"
        },
        {
            "name": "autoscan",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/autoscan/1/json"
        },
        {
            "name": "fig.guess",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/fig.guess/1/json"
        },
        {
            "name": "config.sub",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/config.sub/1/json"
        },
        {
            "name": "ifnames",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/ifnames/1/json"
        },
        {
            "name": "libtool",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/libtool/1/json"
        }
    ],
    "tldr": {
        "source": "official",
        "description": "Generate configuration scripts to automatically configure software source code packages.",
        "examples": [
            {
                "description": "Generate a configuration script from `configure.ac` (if present) or `configure.in` and save this script to `configure`",
                "command": "autoconf"
            },
            {
                "description": "Generate a configuration script from the specified template; output to `stdout`",
                "command": "autoconf {{template-file}}"
            },
            {
                "description": "Generate a configuration script from the specified template (even if the input file has not changed) and write the output to a file",
                "command": "autoconf {{-f|--force}} {{-o|--output}} {{outfile}} {{template-file}}"
            }
        ]
    }
}