shithub: aubio

Download patch

ref: b3146dfd7eb0e914026e6674e6a3c06c00fc3203
parent: e561ca7706d0c94b34da218f440ac06bbc139d79
author: Paul Brossier <piem@piem.org>
date: Tue Sep 18 12:10:47 EDT 2018

src/aubio_priv.h: avoid hard-coded undefs

--- a/src/aubio_priv.h
+++ b/src/aubio_priv.h
@@ -76,8 +76,6 @@
 #elif defined(HAVE_ATLAS_CBLAS_H)
 #define HAVE_ATLAS 1
 #include <atlas/cblas.h>
-#else
-#undef HAVE_ATLAS
 #endif
 
 #ifdef HAVE_ACCELERATE
@@ -160,8 +158,6 @@
 
 #if !defined(HAVE_MEMCPY_HACKS) && !defined(HAVE_ACCELERATE) && !defined(HAVE_ATLAS) && !defined(HAVE_INTEL_IPP)
 #define HAVE_NOOPT 1
-#else
-#undef HAVE_NOOPT
 #endif
 
 #include "types.h"