summaryrefslogtreecommitdiff
path: root/config/gr_set_md_cpu.m4
diff options
context:
space:
mode:
authoreb2008-08-19 23:09:56 +0000
committereb2008-08-19 23:09:56 +0000
commit2c8ea58e4d76f54c98d71d3fcc64bc29da490908 (patch)
tree2d5021474a22fcea2425903bdc288e1405701f7a /config/gr_set_md_cpu.m4
parent6039ba34aee72974b0eacc9408627a0fa038dc81 (diff)
downloadgnuradio-2c8ea58e4d76f54c98d71d3fcc64bc29da490908.tar.gz
gnuradio-2c8ea58e4d76f54c98d71d3fcc64bc29da490908.tar.bz2
gnuradio-2c8ea58e4d76f54c98d71d3fcc64bc29da490908.zip
Merged features/mp-sched -r8915:9335 into the trunk. The trunk now
contains the SMP aware scheduler. This changeset introduces a dependency on boost 1.35 or later. See source:gnuradio/trunk/README.building-boost for additional info. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9336 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'config/gr_set_md_cpu.m4')
-rw-r--r--config/gr_set_md_cpu.m411
1 files changed, 6 insertions, 5 deletions
diff --git a/config/gr_set_md_cpu.m4 b/config/gr_set_md_cpu.m4
index 1ef75a536..b9c570ede 100644
--- a/config/gr_set_md_cpu.m4
+++ b/config/gr_set_md_cpu.m4
@@ -1,5 +1,5 @@
dnl
-dnl Copyright 2003 Free Software Foundation, Inc.
+dnl Copyright 2003,2008 Free Software Foundation, Inc.
dnl
dnl This file is part of GNU Radio
dnl
@@ -28,10 +28,10 @@ AC_DEFUN([GR_SET_MD_CPU],[
AC_MSG_CHECKING([for machine dependent speedups])
case "$cf_with_md_cpu" in
- x86 | i[[3-7]]86) MD_CPU=x86 MD_SUBCPU=x86 ;;
- x86_64) MD_CPU=x86 MD_SUBCPU=x86_64 ;;
-# sparc) MD_CPU=sparc ;;
- *) MD_CPU=generic ;;
+ x86 | i[[3-7]]86) MD_CPU=x86 MD_SUBCPU=x86 ;;
+ x86_64) MD_CPU=x86 MD_SUBCPU=x86_64 ;;
+ powerpc*) MD_CPU=powerpc ;;
+ *) MD_CPU=generic ;;
esac
AC_MSG_RESULT($MD_CPU)
AC_SUBST(MD_CPU)
@@ -39,5 +39,6 @@ AC_DEFUN([GR_SET_MD_CPU],[
AM_CONDITIONAL(MD_CPU_x86, test "$MD_CPU" = "x86")
AM_CONDITIONAL(MD_SUBCPU_x86_64, test "$MD_SUBCPU" = "x86_64")
+ AM_CONDITIONAL(MD_CPU_powerpc, test "$MD_CPU" = "powerpc")
AM_CONDITIONAL(MD_CPU_generic, test "$MD_CPU" = "generic")
])