AUTOSCAN(1)

๐Ÿ’– autoscan โ€” girl help, I'm gonna write your configure.ac for you ๐Ÿ’–

okay so this is autoscan, bestie, from the User Commands corner of the manual (section 1, as the girlies say). she's the vibe-checker of build systems and she is so underrated. let's get into it ๐Ÿซถ


โœจ NAME โœจ

autoscan โ€” generate a preliminary configure.ac ๐ŸŒธ

like, a first-draft one. a little baby configure.ac. a situationship configure.ac, if you will.


๐ŸŒˆ SYNOPSIS ๐ŸŒˆ

autoscan [OPTION]... [SRCDIR]

yes she takes options and yes she takes a directory and yes that's the whole thing, periodt ๐Ÿ’…


๐Ÿฆ‹ DESCRIPTION ๐Ÿฆ‹

okay so here's the tea: autoscan goes through source files in the directory tree rooted at SRCDIR โ€” or in the current directory if you don't give her one (she's flexible like that, she's a main character) ๐ŸŽ€

then she does her little detective moment:

  • she searches those source files for common portability problems ๐Ÿ”
  • she checks whether your configure.ac is being incomplete (we've all been there, no judgement)
  • and she creates a file called configure.scan โ€” which is a preliminary configure.ac for that package โœจ
it's giving "rough draft but make it infrastructure". configure.scan is a starting point, not a finished masterpiece โ€” it's literally called a preliminary configure.ac, so read it before you commit to it, bestie ๐Ÿ™ˆ

now the options, and there's a whole squad of them:

  • -h, --help โ€” prints the help text, then dips. that's it. that's the whole job ๐Ÿ’€
  • -V, --version โ€” prints the version number, then exits. short and sweet, iconic behaviour ๐Ÿ‘‘
  • -v, --verbose โ€” reports processing verbosely. she will tell you EVERYTHING. yapper mode: activated ๐Ÿ—ฃ๏ธ
  • -d, --debug โ€” doesn't remove temporary files. so when things go sideways you can go look at the crime scene ๐Ÿ”ฅ

๐Ÿ“š Library directories ๐Ÿ“š

these two are about where she looks for stuff, and the order genuinely matters so pay attention bestie:

  • -B, --prepend-include=DIR โ€” prepend directory DIR to the search path. note the word prepend. front of the line. VIP section ๐ŸŽ€
  • -I, --include=DIR โ€” append directory DIR to the search path. back of the line. still invited, just not first ๐Ÿฆ‹

๐ŸŒธ AUTHOR ๐ŸŒธ

written by David J. MacKenzie and Akim Demaille. legends, honestly. we love them for this ๐Ÿ’œ


๐ŸŽ€ REPORTING BUGS ๐ŸŽ€

found a bug? don't suffer in silence, tell the girlies:

fr fr, they wanna know ๐Ÿซถ


Copyright ยฉ 2026 Free Software Foundation, Inc. License GPLv3+/Autoconf: GNU GPL version 3 or later

This is free software: you are free to change and redistribute it.

There is NO WARRANTY, to the extent permitted by law. no cap, that's the actual legal situation, she said what she said ๐Ÿ’€

โญ SEE ALSO โญ

the whole friend group, in order:

autoconf(1), automake(1), autoreconf(1), autoupdate(1), autoheader(1), autoscan(1), config.guess(1), config.sub(1), ifnames(1), libtool(1)

(yes, autoscan(1) is listed in her own SEE ALSO. she's self-referential. she contains multitudes. slay ๐Ÿ’…)

The full documentation for Autoconf is maintained as a Texinfo manual. to read it locally, run:

info autoconf

and if you'd rather read it in a browser (valid, we respect it):

https://gnu.org/software/autoconf/manual/

and that's the whole page, bestie!! ๐Ÿงš this was GNU Autoconf 2.73, dated March 2026 โ€” go run autoscan on something and let her cook ๐Ÿ“โœจ

๐Ÿ“ฆ where this page comes from