freedrull
freedrull

Reputation: 2254

configure.in or configure.ac?

It seems that some autoconf projects use a configure.in file to generate a configure script, and some use configure.ac.

What is the difference/advantage between using one or the other?

Upvotes: 16

Views: 24436

Answers (2)

Jonathan Leffler
Jonathan Leffler

Reputation: 754090

New projects should use configure.ac. Old projects used configure.in; if it is inconvenient to switch to the new name, they can continue to use it, but the autoconf tools will generate a warning.

Upvotes: 11

Mark Loeser
Mark Loeser

Reputation: 18627

Its just a matter of style. Historically autoconf files were named configure.in. Now configure.ac is the preferred naming scheme. Its also discussed in the documentation.

Upvotes: 24

Related Questions