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

This commit is contained in:
suzuki toshiya 2009-06-27 14:27:55 +09:00
parent 610cddcac4
commit 20fb146351
2 changed files with 9 additions and 5 deletions

View File

@ -1,3 +1,11 @@
2009-06-27 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
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 <wl@gnu.org>
[truetype] Remove TT_SubGlyphRec.

View File

@ -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)