.IN

IN File

Autoconf Input Template File
Ask a question
QUICK ANSWER

A .in file is most commonly an Autoconf/Autotools template - a plain-text file with @VARIABLE@ placeholders that a configure script fills in during a software build. Common examples are Makefile.in and config.h.in. Open any .in file in a text editor; if you downloaded a source code package, run ./configure in the directory to process it.

Developer: GNU Project (Autoconf: David MacKenzie, 1991; currently maintained by the Autoconf team) Category: Developer Files Open standard MIME: text/plain
OPENS ON Windows macOS Linux
Related: .DO · .MD · .HEX · .XSD

On this page

19k+ extensions indexed
Last reviewed Aug 16, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the IN file format?

A .in file is a plain-text template file processed by the GNU Autotools build system. The most common examples are Makefile.in (template for a project's Makefile) and config.h.in (template for a C/C++ configuration header). When a developer runs ./configure - the script generated by GNU Autoconf - the script reads these .in templates, substitutes @VARIABLE@ placeholders with values detected from the build environment (compiler paths, library flags, system features), and writes the final output files.

GNU Autoconf was created by David MacKenzie in 1991 and is maintained by the GNU Project. Autoconf 2.72 (December 2023) is the current release. The top-level macro input file was historically named configure.in; it was renamed to configure.ac in Autoconf 2.50 to reduce ambiguity, though many older projects still use the original name.

Common .in template types:

  • Makefile.in - becomes Makefile after ./configure runs
  • config.h.in - becomes config.h with #define//* #undef */ substitutions
  • foo.pc.in - becomes a pkg-config .pc file

Because .in files are plain text, any editor can open and read them. Related extensions include .ac (Autoconf macro files), .am (Automake input), and .m4 (M4 macro files). Note that the .in extension is not exclusive to Autotools - CMake's configure_file() command also uses .in templates - but software developers working with Autotools build systems represent the dominant use case.

Security & safety

RISK: LOW

A .in template file is plain text and cannot execute code by itself. It is safe to open in a text editor. The configure script that processes .in files is a shell script (which does execute code) - the normal caution for running ./configure from an untrusted source applies. The .in file itself is passive.

Format details

in a nutshell
FULL NAMEAutoconf Input Template Fileaka configure.in, Makefile.in
DEVELOPERGNU Project (Autoconf: David MacKenzie, 1991; currently maintained by the Autoconf team)since 1991 (GNU Autoconf 1.0 by David MacKenzie)
MIME TYPEtext/plain
TYPEplain-text template file processed by Autoconf or configure scripts
STANDARDOpen · royalty-free
This extension is also used by…
  • McAfee VirusScan Internal/Temporary File - Some McAfee antivirus versions use .in as an internal file extension for temporary or quarantine-related data; not a documented public format and rarely encountered by users.
  • Generic Template/Input File - Many applications use .in as a generic convention for any template or input file that is processed to produce an output file (e.g. CMake's configure_file uses .in templates).
  • Perl Module Build Input - Some Perl/CPAN build systems use .in files as input templates for generated files during module installation.

Programs that open IN files

Windows2 apps
Visual Studio Code Open-source Open the .in file as plain text; VS Code handles it as a text/Make/shell file depending on content.
Notepad / Notepad++ Open-source Open the .in file as plain text to inspect or edit the template content.
macOS1 app
Terminal + any text editor Built-in Open .in files in vim, nano, or a GUI editor (VS Code, BBEdit). Run ./configure to process them during a build.
Linux2 apps
Any text editor (vim, nano, gedit, VS Code) Open-source Open the .in file directly in your preferred editor. Run autoconf (for configure.in/configure.ac) or ./configure (for Makefile.in) to process the template.
GNU Autoconf Open-source Run 'autoconf' in the source directory to process configure.in/configure.ac and generate the configure script. Run './configure' to process Makefile.in and config.h.in.

Technical details

deep spec
File encodingPlain ASCII/UTF-8 text
Primary roleTemplate file consumed by ./configure (generated by GNU Autoconf) to produce final build output files
Placeholder syntax@VARIABLE@ markers replaced by configure with detected system values (compiler path, library flags, feature flags)
Common template typesMakefile.in → Makefile; config.h.in → config.h; foo.pc.in → foo.pc (pkg-config metadata)
config.h.in structureContains #undef FEATURE directives; configure replaces them with #define FEATURE 1 or /* #undef FEATURE */
configure.in vs configure.acconfigure.in is the older name for the top-level Autoconf macro input; renamed to configure.ac in Autoconf 2.50
M4 macro languageconfigure.in / configure.ac files use M4 macros and AC_* calls (AC_INIT, AC_PROG_CC, AC_CHECK_LIB, etc.)
Automake pipelineMakefile.am (Automake input) → Makefile.in (produced by automake) → Makefile (produced by ./configure)
Binary signatureNone - plain text, no magic bytes
Typical file size1 KB-500 KB (configure.in typically 5-100 KB; Makefile.in varies widely by project complexity)
Current Autoconf versionGNU Autoconf 2.72, released December 2023
PlatformPrimarily Linux/macOS/Unix; available on Windows via MSYS2, Cygwin, or WSL
Related extensions.ac (Autoconf macro files), .am (Automake input templates), .m4 (raw M4 macro definitions)
Released1991 (GNU Autoconf 1.0 by David MacKenzie)
Latest versionAutoconf 2.72 (December 2023)
Open standardYes · royalty-free
Specificationwww.gnu.org

IN conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with IN files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about IN files.

Frequently asked questions

What is a .in file?
Most likely an Autotools template file (Makefile.in, config.h.in) that the configure script fills in during software compilation. Open it in any text editor. If you downloaded a source tarball, run './configure' in the directory to process it.
How do I open a .in file?
In any text editor (Notepad, VS Code, vim). It is plain text. If it is part of a source package, you process it by running './configure' in the package directory, not by manually opening it.
Why does my computer not recognize the .in extension?
The .in extension has no default application association because it is a developer file, not a consumer format. Right-click > Open with > Notepad (Windows) or any text editor.
Is a .in file the same as a McAfee file?
McAfee uses .in internally for some files, but the vast majority of .in files are GNU Autotools templates (Makefile.in, config.h.in) from Linux/Unix software packages.
How do I process a Makefile.in to get a Makefile?
Run './configure' in the directory containing Makefile.in. The configure script reads Makefile.in, substitutes system-detected values for @VARIABLE@ placeholders, and writes Makefile.

References

1GNU Autoconf manualwww.gnu.org
2GNU Automake manualwww.gnu.org

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.PARTPartial Download File
4.DATProgram Data File (generic)
5.EXEWindows Executable (Portable Executable)
6.BINCD/DVD Disc Image (BIN/CUE)
7.RPMSGRestricted Permission Message
8.NOMEDIAAndroid No-Media Marker File
9.TMPTemporary File
10.MDMarkdown Document

Related extensions

.DOStata Do-File
.MDMarkdown Document
.HEXIntel HEX File
.XSDXML Schema Definition
.MAPSource Map (JavaScript / CSS)
.CONFIGConfiguration File

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z