From 8c9e19999acc6964e0ea1689190296b3b61cf7df Mon Sep 17 00:00:00 2001 From: Peter Breitenlohner Date: Tue, 24 Apr 2012 08:56:10 +0000 Subject: build system: Replace sed substitutions in configure by m4_bpatsubst() at autoconf time git-svn-id: svn://tug.org/texlive/trunk@26120 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/mendexk/configure | 26 ++++++++------------------ 1 file changed, 8 insertions(+), 18 deletions(-) (limited to 'Build/source/texk/mendexk') diff --git a/Build/source/texk/mendexk/configure b/Build/source/texk/mendexk/configure index bcb74e3f965..18ff1912c20 100755 --- a/Build/source/texk/mendexk/configure +++ b/Build/source/texk/mendexk/configure @@ -13987,15 +13987,10 @@ if test "x$with_kpathsea_libdir" != x && test "x$with_kpathsea_libdir" != xyes; KPATHSEA_LIBS="-L$with_kpathsea_libdir $KPATHSEA_LIBS" fi else - KPATHSEA_INCLUDES=`echo '-IBLD/texk -ISRC/texk' | sed \ - -e "s,SRC/,$kpse_SRC/,g" \ - -e "s,BLD/,$kpse_BLD/,g"` - KPATHSEA_LIBS=`echo 'BLD/texk/kpathsea/libkpathsea.la' | sed \ - -e "s,BLD/,$kpse_BLD/,g"` - - KPATHSEA_DEPEND=`echo 'BLD/texk/kpathsea/libkpathsea.la' | sed \ - -e 's,BLD/texk/,${top_builddir}/../,g'` - KPATHSEA_RULE='# Rebuild libkpathsea + KPATHSEA_INCLUDES="-I$kpse_BLD/texk -I$kpse_SRC/texk" + KPATHSEA_LIBS="$kpse_BLD/texk/kpathsea/libkpathsea.la" + KPATHSEA_DEPEND='${top_builddir}/../kpathsea/libkpathsea.la' + KPATHSEA_RULE='# Rebuild libkpathsea $(KPATHSEA_DEPEND): ${top_srcdir}/../kpathsea/*.[ch] ${top_builddir}/../kpathsea/paths.h cd ${top_builddir}/../kpathsea && $(MAKE) $(AM_MAKEFLAGS) rebuild ${top_builddir}/../kpathsea/paths.h: @@ -14063,15 +14058,10 @@ if test "x$with_ptexenc_libdir" != x && test "x$with_ptexenc_libdir" != xyes; th PTEXENC_LIBS="-L$with_ptexenc_libdir $PTEXENC_LIBS" fi else - PTEXENC_INCLUDES=`echo '-IBLD/texk/ptexenc -ISRC/texk/ptexenc' | sed \ - -e "s,SRC/,$kpse_SRC/,g" \ - -e "s,BLD/,$kpse_BLD/,g"` - PTEXENC_LIBS=`echo 'BLD/texk/ptexenc/libptexenc.la' | sed \ - -e "s,BLD/,$kpse_BLD/,g"` - - PTEXENC_DEPEND=`echo 'BLD/texk/ptexenc/libptexenc.la' | sed \ - -e 's,BLD/texk/,${top_builddir}/../,g'` - PTEXENC_RULE='# Rebuild libptexenc + PTEXENC_INCLUDES="-I$kpse_BLD/texk/ptexenc -I$kpse_SRC/texk/ptexenc" + PTEXENC_LIBS="$kpse_BLD/texk/ptexenc/libptexenc.la" + PTEXENC_DEPEND='${top_builddir}/../ptexenc/libptexenc.la' + PTEXENC_RULE='# Rebuild libptexenc $(PTEXENC_DEPEND): ${top_srcdir}/../ptexenc/*.c ${top_srcdir}/../ptexenc/ptexenc/*.h cd ${top_builddir}/../ptexenc && $(MAKE) $(AM_MAKEFLAGS) rebuild' fi -- cgit v1.2.3