Project

General

Profile

Bug #1866

[PATCH] Remove AC_CANONICAL_TARGET macro from configure

Added by Flameeyes almost 9 years ago. Updated over 1 year ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
build_autotools
Target version:
Start date:
2009-01-04
Due date:
% Done:

100%

Estimated time:
Missing in 1.5.x:

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

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

Associated revisions

Revision 3110 (diff)
Added by stbuehler over 1 year ago

[autobuild] use AC_CANONICAL_HOST instead of AC_CANONICAL_TARGET (fixes #1866)

From: Stefan Bühler <>

Revision cfd13c79 (diff)
Added by stbuehler over 1 year ago

[autobuild] use AC_CANONICAL_HOST instead of AC_CANONICAL_TARGET (fixes #1866)

From: Stefan Bühler <>

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@3110 152afb58-edef-0310-8abb-c4023f1b3aa9

History

#1 Updated by gstrauss over 1 year 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)

#2 Updated by stbuehler over 1 year ago

  • Target version set to 1.4.40

#3 Updated by stbuehler over 1 year ago

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

Applied in changeset r3110.

Also available in: Atom