From 20fb146351674c8bec03ddbf14d9aca4f48e020d Mon Sep 17 00:00:00 2001 From: suzuki toshiya Date: Sat, 27 Jun 2009 14:27:55 +0900 Subject: [PATCH] Improve configure.raw for cross-building on exe-suffixed systems. --- ChangeLog | 8 ++++++++ builds/unix/configure.raw | 6 +----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index c00994328..043869362 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2009-06-27 suzuki toshiya + + Improve configure.raw for cross-building on exe-suffixed systems. + + * builds/unix/configure.raw: Fix a bug in sed script to extract + native suffix for binary executables, patch by Peter Breitenlohner. + http://lists.gnu.org/archive/html/freetype-devel/2009-04/msg00036.html + 2009-06-26 Werner Lemberg [truetype] Remove TT_SubGlyphRec. diff --git a/builds/unix/configure.raw b/builds/unix/configure.raw index 38c5241cf..3317d0396 100644 --- a/builds/unix/configure.raw +++ b/builds/unix/configure.raw @@ -53,7 +53,7 @@ if test ${cross_compiling} = yes; then elif test -x a_out.exe -o -x conftest.exe; then EXEEXT_BUILD=".exe" elif test -x conftest.* ; then - EXEEXT_BUILD=`echo conftest.* | sed -n '1s/^.*\.//g'` + EXEEXT_BUILD=`echo conftest.* | sed -n '1s/^.*\././'` fi AC_MSG_RESULT($EXEEXT_BUILD) else @@ -61,10 +61,6 @@ else EXEEXT_BUILD=${EXEEXT} fi - -if test ! -z ${EXEEXT_BUILD}; then - EXEEXT_BUILD=."${EXEEXT_BUILD}" -fi AC_SUBST(CC_BUILD) AC_SUBST(EXEEXT_BUILD)