.in.h files

This is a discussion on .in.h files within the C Programming forums, part of the General Programming Boards category; I'm looking over some random code for an open source messaging framework. In this code, there are alot of .h.in ...

  1. #1
    Registered User
    Join Date
    May 2010
    Posts
    245

    .in.h files

    I'm looking over some random code for an open source messaging framework. In this code, there are alot of .h.in files. What do these .h.in files mean and how are they different from regular .h files? The content of the files looks similar.

    Edit: There are also a few Makefile.in

  2. #2
    Just a pushpin. bernt's Avatar
    Join Date
    May 2009
    Posts
    426
    They're used with GNU Autotools - basically they contain a "macro-ized" version of configurable files (like Makefiles). When you invoke ./configure, autotools uses these files to produce correct headers and makefiles for your system.
    Consider this post signed

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 2
    Last Post: 08-11-2009, 07:45 AM
  2. Header files and multiple definitions
    By sjweinberg in forum C++ Programming
    Replies: 16
    Last Post: 07-17-2009, 06:59 PM
  3. *.cpp and *.h files understanding
    By ElastoManiac in forum C++ Programming
    Replies: 4
    Last Post: 06-11-2006, 05:45 AM
  4. Linking header files, Source files and main program(Accel. C++)
    By Daniel Primed in forum C++ Programming
    Replies: 3
    Last Post: 01-17-2006, 11:46 AM
  5. Multiple Cpp Files
    By w4ck0z in forum C++ Programming
    Replies: 5
    Last Post: 11-14-2005, 02:41 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21