[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 5f266c6 15/15: Consistently use the same conf
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 5f266c6 15/15: Consistently use the same config.guess in all build scripts |
Date: |
Fri, 9 Oct 2020 12:05:28 -0400 (EDT) |
branch: master
commit 5f266c68bedfdfe6901a36dd877c4e039e6b9487
Author: Vadim Zeitlin <vadim@tt-solutions.com>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Consistently use the same config.guess in all build scripts
This has the advantage of ensuring that all third party libraries use
the same build type and also corrects a problem that could arise when
building wxPdfDoc on a system where Git was configured to perform
automatic EOL translations (i.e. core.autocrlf==true), as using
configu.guess included in wxPdfDoc repository in a shell script resulted
in an error in this case, due to the presence of extraneous CR
characters in it.
---
install_wx.sh | 4 ++--
install_wxpdfdoc.sh | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/install_wx.sh b/install_wx.sh
index 2ff0fcd..531a505 100755
--- a/install_wx.sh
+++ b/install_wx.sh
@@ -44,9 +44,9 @@ exec_prefix="$prefix/${LMI_COMPILER}_${LMI_TRIPLET}"
srcdir=$(dirname "$(readlink --canonicalize "$0")")
wx_dir="$srcdir/third_party/wx"
-# Script commands
##############################################################
+build_type=$(/usr/share/libtool/build-aux/config.guess)
-build_type=$("$wx_dir"/config.guess)
+# Script commands
##############################################################
case "$build_type" in
(*-*-cygwin*)
diff --git a/install_wxpdfdoc.sh b/install_wxpdfdoc.sh
index 464ec25..45a014f 100755
--- a/install_wxpdfdoc.sh
+++ b/install_wxpdfdoc.sh
@@ -44,9 +44,9 @@ exec_prefix="$prefix/${LMI_COMPILER}_${LMI_TRIPLET}"
srcdir=$(dirname "$(readlink --canonicalize "$0")")
wxpdfdoc_dir="$srcdir/third_party/wxpdfdoc"
-# Script commands
##############################################################
+build_type=$(/usr/share/libtool/build-aux/config.guess)
-build_type=$("$wxpdfdoc_dir"/admin/build-aux/config.guess)
+# Script commands
##############################################################
case "$build_type" in
(*-*-cygwin*)
- [lmi-commits] [lmi] master 24c5d74 14/15: Add wxpdfdoc submodule and use wxPdfDocument version from it, (continued)
- [lmi-commits] [lmi] master 24c5d74 14/15: Add wxpdfdoc submodule and use wxPdfDocument version from it, Greg Chicares, 2020/10/09
- [lmi-commits] [lmi] master 70a973c 08/15: Build xmlwrapp as external library, similarly to libxml2, Greg Chicares, 2020/10/09
- [lmi-commits] [lmi] master 4f0d520 09/15: Fix caching xmlwrapp in GitHub CI workflow, Greg Chicares, 2020/10/09
- [lmi-commits] [lmi] master ae54a1d 13/15: Add wx submodule and use wxWidgets version from it, Greg Chicares, 2020/10/09
- [lmi-commits] [lmi] master fc15e23 12/15: Fix xml libraries building under Windows, Greg Chicares, 2020/10/09
- [lmi-commits] [lmi] master ab00f6d 02/15: Improve documentation, Greg Chicares, 2020/10/09
- [lmi-commits] [lmi] master a020e99 05/15: Add xmlwrapp submodule and use its sources and headers from it, Greg Chicares, 2020/10/09
- [lmi-commits] [lmi] master 51de6d7 03/15: Update documentation, Greg Chicares, 2020/10/09
- [lmi-commits] [lmi] master 7eac3ea 01/15: Expunge an unnecessary variable, Greg Chicares, 2020/10/09
- [lmi-commits] [lmi] master 9af93d4 10/15: Don't define unused and unnecessary LIBXML_USE_DLL symbol, Greg Chicares, 2020/10/09
- [lmi-commits] [lmi] master 5f266c6 15/15: Consistently use the same config.guess in all build scripts,
Greg Chicares <=