From e246c1a36719fa89b7c182dfa7ec587005b43fff Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 22 Dec 2018 14:44:13 +0000 Subject: always pass --build argument to freetype configure, if specified git-svn-id: svn://tug.org/texlive/trunk@49476 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/libs/freetype2/ChangeLog | 7 +++++++ Build/source/libs/freetype2/configure | 8 +++++--- Build/source/libs/freetype2/configure.ac | 11 +++++++---- 3 files changed, 19 insertions(+), 7 deletions(-) (limited to 'Build/source/libs') diff --git a/Build/source/libs/freetype2/ChangeLog b/Build/source/libs/freetype2/ChangeLog index 2f7f8c825c6..a355a761764 100644 --- a/Build/source/libs/freetype2/ChangeLog +++ b/Build/source/libs/freetype2/ChangeLog @@ -1,3 +1,10 @@ +2018-12-22 Karl Berry + + * configure.ac: always pass --build arg if specified, not just if + --host was also given. (The other ft configure arguments are + hardwired in Makefile.am.) Original report from Nelson Beebe: + https://tug.org/pipermail/tlbuild/2016q2/003548.html + 2018-05-04 Akira Kakuto Import freetype-2.9.1. diff --git a/Build/source/libs/freetype2/configure b/Build/source/libs/freetype2/configure index 6f4a986d3e8..4fd0e5ba6b5 100755 --- a/Build/source/libs/freetype2/configure +++ b/Build/source/libs/freetype2/configure @@ -4359,14 +4359,16 @@ else fi +# pass explicit --host and --build, but nothing else? if test "x$host" = x; then config_args= else config_args="--host=$host" - if test "x$build" != x; then - config_args="$config_args --build=$build" - fi fi +if test "x$build" != x; then + config_args="$config_args --build=$build" +fi + FREETYPE_TREE=freetype-src diff --git a/Build/source/libs/freetype2/configure.ac b/Build/source/libs/freetype2/configure.ac index a44a702f97e..cc55fbba7df 100644 --- a/Build/source/libs/freetype2/configure.ac +++ b/Build/source/libs/freetype2/configure.ac @@ -1,6 +1,7 @@ dnl Process this file with autoconf to produce a configure script. dnl -dnl Copyright (C) 2009-2013 Peter Breitenlohner +dnl Copyright 2018 Karl Berry +dnl Copyright 2009-2013 Peter Breitenlohner dnl dnl This file is free software; the copyright holder dnl gives unlimited permission to copy and/or distribute it, @@ -19,14 +20,16 @@ AC_PROG_CC AM_CONDITIONAL([build], [test "x$enable_build" != xno]) +# pass explicit --host and --build, but nothing else? if test "x$host" = x; then config_args= else config_args="--host=$host" - if test "x$build" != x; then - config_args="$config_args --build=$build" - fi fi +if test "x$build" != x; then + config_args="$config_args --build=$build" +fi + AC_SUBST([config_args]) AC_SUBST([FREETYPE_TREE], [freetype-src]) -- cgit v1.2.3