1 From ad0d1d239afc7ad09203847793dcc020856d1035 Mon Sep 17 00:00:00 2001
2 From: Samuli Suominen <ssuominen@gentoo.org>
3 Date: Thu, 12 Jun 2014 06:30:21 -0400
4 Subject: [PATCH 09/10] Fix paths in libffi.pc.in
6 This patch was borrowed from upstream, commit
7 ad0d1d239afc7ad09203847793dcc020856d1035, and will be part of the next
10 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 configure.ac | 10 +++++-----
13 1 file changed, 5 insertions(+), 5 deletions(-)
15 diff --git a/configure.ac b/configure.ac
16 index 4f7fe3f..bbc1a9d 100644
19 @@ -590,11 +590,11 @@ AC_ARG_ENABLE(purify-safety,
20 if test "x$GCC" = "xyes"; then
21 if test -n "$with_cross_host" &&
22 test x"$with_cross_host" != x"no"; then
23 - toolexecdir='$(exec_prefix)/$(target_alias)'
24 - toolexeclibdir='$(toolexecdir)/lib'
25 + toolexecdir="${exec_prefix}"/'$(target_alias)'
26 + toolexeclibdir="${toolexecdir}"/lib
28 - toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
29 - toolexeclibdir='$(libdir)'
30 + toolexecdir="${libdir}"/gcc-lib/'$(target_alias)'
31 + toolexeclibdir="${libdir}"
33 multi_os_directory=`$CC $CFLAGS -print-multi-os-directory`
34 case $multi_os_directory in
35 @@ -603,7 +603,7 @@ if test "x$GCC" = "xyes"; then
39 - toolexeclibdir='$(libdir)'
40 + toolexeclibdir="${libdir}"
42 AC_SUBST(toolexeclibdir)