From: David Schleef Date: Wed, 8 Oct 2003 17:27:56 +0000 (+0000) Subject: Check is we should use -mregnames on PowerPC X-Git-Tag: RELEASE-0_7_1~23 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=60916d6f41e64e551e740ee561fc45308bb8374d;p=platform%2Fupstream%2Fgstreamer.git Check is we should use -mregnames on PowerPC Original commit message from CVS: Check is we should use -mregnames on PowerPC --- diff --git a/configure.ac b/configure.ac index 0b26d7c..4d9ddd7 100644 --- a/configure.ac +++ b/configure.ac @@ -147,6 +147,15 @@ fi dnl Check for a way to display the function name in debug output GST_CHECK_FUNCTION() +dnl check if we should use -Wa,-mregnames on PowerPC, so we can use +dnl symbolic register names in inline asm +if test x$HAVE_CPU_PPC = xyes ; then + AS_COMPILER_FLAG(["-Wa,-mregnames"], + [GST_INT_CFLAGS="$GST_INT_CFLAGS -Wa,-mregnames"], + true) +fi + + dnl Check for essential libraries first: dnl ==================================== @@ -617,3 +626,4 @@ pkgconfig/gstreamer-control-uninstalled.pc gstreamer.spec, echo "$infomessages", infomessages="$infomessages" ) +