diff options
author | Harald Welte <laforge@gnumonks.org> | 2011-05-13 01:46:41 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2011-05-13 01:46:41 +0200 |
commit | 5fea9ab85029df7b3a4b16a24b4d58c353e811b2 (patch) | |
tree | 4538865b00c14cc1eca4b678a01c699973fbb2aa /gsm-receiver/config/gr_set_md_cpu.m4 | |
parent | 085852622cb2641fbc1fa88c85494c7951914ebd (diff) |
gsm-receiver: Migrate to more recent gnuradio autotools integration
These changes forward-port gsm-receiver to the gnuradio autotools magic
as per "gr-howto-write-a-block-3.2.2"
It also updates to libosmocore >= 0.3.0 and fixes other minor compilation
issues.
Diffstat (limited to 'gsm-receiver/config/gr_set_md_cpu.m4')
-rw-r--r-- | gsm-receiver/config/gr_set_md_cpu.m4 | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/gsm-receiver/config/gr_set_md_cpu.m4 b/gsm-receiver/config/gr_set_md_cpu.m4 index ebc1fad..b9c570e 100644 --- a/gsm-receiver/config/gr_set_md_cpu.m4 +++ b/gsm-receiver/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,17 +28,17 @@ 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) AC_SUBST(MD_SUBCPU) - AM_CONDITIONAL(MD_CPU_x86, test $MD_CPU = x86) - AM_CONDITIONAL(MD_SUBCPU_x86_64, test $MD_SUBCPU = x86_64) - AM_CONDITIONAL(MD_CPU_generic, test $MD_CPU = generic) + 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") ]) - |