From b39c0022edb5ebacc8138486f4a8c2beb8bcfdcb Mon Sep 17 00:00:00 2001 From: cehoyos Date: Mon, 22 Dec 2008 22:56:51 +0000 Subject: Allow compilation of 32bit mplayer on 64 bit systems with --cc='cc -m32'. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28180 b3059339-0415-0410-9bf9-f77b7e298cf2 --- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'configure') diff --git a/configure b/configure index 51f49fe0fb..97a784ff76 100755 --- a/configure +++ b/configure @@ -1339,8 +1339,8 @@ if test -z "$_target" ; then i[3-9]86*|x86|x86pc|k5|k6|k6_2|k6_3|k6-2|k6-3|pentium*|athlon*|i586_i686|i586-i686|BePC) host_arch=i386 ;; ia64) host_arch=ia64 ;; x86_64|amd64) - if [ -n "`$_cc -dumpmachine | sed -n '/^x86_64-/p;/^amd64-/p'`" -a \ - -z "`echo $CFLAGS | grep -- -m32`" ]; then + if [ -n "$($_cc -dumpmachine | sed -n '/^x86_64-/p;/^amd64-/p')" -a \ + -z "$(echo $CFLAGS $_cc | grep -- -m32)" ]; then host_arch=x86_64 else host_arch=i386 -- cgit v1.2.3