Applied patches from Don Ward.
[debian/gnuradio] / config / gr_set_md_cpu.m4
index 5a5362e48d6ae3157fba4363282c8c44ac23af9d..1ef75a53684a9ad48e0db979ec078ca54d84012d 100644 (file)
@@ -5,7 +5,7 @@ dnl This file is part of GNU Radio
 dnl 
 dnl GNU Radio is free software; you can redistribute it and/or modify
 dnl it under the terms of the GNU General Public License as published by
-dnl the Free Software Foundation; either version 2, or (at your option)
+dnl the Free Software Foundation; either version 3, or (at your option)
 dnl any later version.
 dnl 
 dnl GNU Radio is distributed in the hope that it will be useful,
@@ -37,8 +37,7 @@ AC_DEFUN([GR_SET_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_generic, test "$MD_CPU" = "generic")
 ])
-