shithub: freetype+ttf2subf

Download patch

ref: 20fb146351674c8bec03ddbf14d9aca4f48e020d
parent: 610cddcac4c4c6dfd0d7bd4a8bb22288a78591c6
author: suzuki toshiya <[email protected]>
date: Sat Jun 27 10:27:55 EDT 2009

Improve configure.raw for cross-building on exe-suffixed systems.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2009-06-27  suzuki toshiya  <[email protected]>
+
+	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  <[email protected]>
 
 	[truetype] Remove TT_SubGlyphRec.
--- a/builds/unix/configure.raw
+++ b/builds/unix/configure.raw
@@ -53,7 +53,7 @@
   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 @@
   EXEEXT_BUILD=${EXEEXT}
 fi
 
-
-if test ! -z ${EXEEXT_BUILD}; then
-  EXEEXT_BUILD=."${EXEEXT_BUILD}"
-fi
 AC_SUBST(CC_BUILD)
 AC_SUBST(EXEEXT_BUILD)