Check is we should use -mregnames on PowerPC

Original commit message from CVS:
Check is we should use -mregnames on PowerPC
This commit is contained in:
David Schleef 2003-10-08 17:27:56 +00:00
parent 31d748d332
commit 60916d6f41

View file

@ -147,6 +147,15 @@ fi
dnl Check for a way to display the function name in debug output dnl Check for a way to display the function name in debug output
GST_CHECK_FUNCTION() 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 Check for essential libraries first:
dnl ==================================== dnl ====================================
@ -617,3 +626,4 @@ pkgconfig/gstreamer-control-uninstalled.pc
gstreamer.spec, gstreamer.spec,
echo "$infomessages", infomessages="$infomessages" echo "$infomessages", infomessages="$infomessages"
) )