ref: 162fd270378db6993052e56f56e9dc6dbfdb23b4
parent: 66834b6405c4a4f0369fddd7d44826f82184ec68
author: Paul Brossier <piem@altern.org>
date: Sun Aug 21 12:58:48 EDT 2005
added FFTWLIB_CFLAGS to examples/Makefile.am, added host_os to configure.ac
--- a/configure.ac
+++ b/configure.ac
@@ -65,11 +65,11 @@
AC_CONFIG_FILES(aubio.pc)
case "${host_os}" in
-mingw*)
+*mingw*)
mingw32_support="yes"
AC_CHECK_HEADER(windows.h)
;;
-darwin*)
+*darwin*)
dnl on macosx, cosf went to -lmx
LDFLAGS="$LDFLAGS -lmx"
dnl as long double doesn't sit well with -Wall -Werror
@@ -196,7 +196,7 @@
#if PYTHONFOUND
case "${host_os}" in
-darwin*)
+*darwin*)
SWCFLAGS="-Wno-long-double"
SWLDFLAGS="-bundle -framework python -L${prefix}/lib/python${PYTHON_VERSION}/config -lpython${PYTHON_VERSION}"
;;
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -3,7 +3,7 @@
endif
# global flags
-AM_CFLAGS = -DAUBIO_PREFIX=\"$(prefix)\" -I$(srcdir)/../src -I$(srcdir)/../ext @LADCCA_CFLAGS@
+AM_CFLAGS = -DAUBIO_PREFIX=\"$(prefix)\" -I$(srcdir)/../src -I$(srcdir)/../ext @LADCCA_CFLAGS@ @FFTWLIB_CFLAGS@
AM_LDFLAGS = -L../src -L../ext @LADCCA_LIBS@ -laubioext -laubio
#AM_SOURCES = utils.c