Project

General

Profile

Actions

Feature #13946

closed

Rename configure.in to configure.ac

Added by colby (Colby Swandale) about 7 years ago. Updated about 7 years ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:83046]

Description

Hello ruby team!

In my quest to learn about Ruby-lang's src i was reading through autoconf's documentation and got a bit confused about where the autoconf script was for ruby trunk until i found this paragraph in chapter 3.1:

Previous versions of Autoconf promoted the name configure.in, which is somewhat ambiguous (the tool needed to process this file is not described by its extension), and introduces a slight confusion with config.h.in and so on (for which ‘.in’ means “to be processed by configure”). Using configure.ac is now preferred.

trunk is currently using configure.in - so i would like to propose we rename configure.in to be the preferred configure.ac. I think this is good and will help reduce confusion for anyone reading documentation for autoconf.

Thank you!


Files


Related issues 2 (0 open2 closed)

Related to Ruby master - Bug #13039: build warning on 2.4-rc1RejectedActions
Related to Ruby master - Bug #13966: configure.in still needed ?!Closednobu (Nobuyoshi Nakada)Actions

Updated by shevegen (Robert A. Heiler) about 7 years ago

If there are no side effects of problems then this may be fine. I can't say
though since I know next to nothing about the various files used by GNU
autoconfigure.

Updated by normalperson (Eric Wong) about 7 years ago

wrote:

trunk is currently using configure.in - so i would like to
propose we rename configure.in to be the preferred
configure.ac. I think this is good and will help reduce
confusion for anyone reading documentation for autoconf.

Sure, there should be no compatibility problems, even (though I
wish you had researched this yourself :).

We already depend on autoconf 2.67 (released 2010-07-21)
and autoconf itself renamed it's configure.in to configure.ac
way back on 2001-07-17 (commit f0478c4702efe203fc22617966c4e5b934b8a0dc).

So there's no compatibility problems to worry about.

cf. git clone git://git.sv.gnu.org/autoconf

Actions #3

Updated by nobu (Nobuyoshi Nakada) about 7 years ago

  • Tracker changed from Misc to Feature
Actions #4

Updated by nobu (Nobuyoshi Nakada) about 7 years ago

  • Status changed from Open to Closed

Applied in changeset trunk|r60062.


configure.ac

  • configure.ac: renamed configure.in. [Feature #13946]

  • Makefile.in, common.mk, ext/rbconfig/sizeof/depend: use
    configure.ac.

  • README.ja.md, README.md: update document for configure.ac.

Updated by kernigh (George Koehler) about 7 years ago

I had an old Makefile before I pulled this change (rename configure.in to configure.ac). The old Makefile can't find configure.in. The fix is easy: run autoconf and ./configure to get a new Makefile.

The error from an old Makefile looks like:

$ make
...
make: don't know how to make ../ruby/configure.in (prerequisite of: ../ruby/configure)
Stop in /home/kernigh/park/ruby-build
Actions #6

Updated by znz (Kazuhiro NISHIYAMA) about 7 years ago

  • Related to Bug #13039: build warning on 2.4-rc1 added

Updated by nobu (Nobuyoshi Nakada) about 7 years ago

kernigh (George Koehler) wrote:

I had an old Makefile before I pulled this change (rename configure.in to configure.ac). The old Makefile can't find configure.in. The fix is easy: run autoconf and ./configure to get a new Makefile.

Or run ./config.status && make.

Actions #8

Updated by duerst (Martin Dürst) about 7 years ago

  • Related to Bug #13966: configure.in still needed ?! added
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0