Project

General

Profile

Actions

Bug #1866

closed

[PATCH] Remove AC_CANONICAL_TARGET macro from configure

Added by Flameeyes almost 16 years ago. Updated almost 9 years ago.

Status:
Fixed
Priority:
Normal
Category:
build_autotools
Target version:
ASK QUESTIONS IN Forums:

Description

The attached patch removes the use of AC_CANONICAL_TARGET macro from the configure.in file, and replaces it with the proper AC_CANONICAL_HOST.

The use of AC_CANONICAL_TARGET is usually limited to compilers and other tools that have to deal with executable code, and is not intended as the system where the code is going to run. For a complete explanation of the differences between host, build and target, please see http://blog.flameeyes.eu/s/canonical-target .

HTH,
Diego


Files

fix-autotools (310 Bytes) fix-autotools Flameeyes, 2009-01-04 01:04
Actions #1

Updated by gstrauss almost 9 years ago

This is a trivial, one-line patch, though it should be applied to configure.ac, not configure.in, and then ./autogen.sh should be run, followed by ./configure ...

Any concerns about applying?

(Tested fine for native compile on Linux with GNU automake 1.15)

Actions #2

Updated by stbuehler almost 9 years ago

  • Target version set to 1.4.40
Actions #3

Updated by stbuehler almost 9 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Applied in changeset r3110.

Actions

Also available in: Atom