From 162fd270378db6993052e56f56e9dc6dbfdb23b4 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Sun, 21 Aug 2005 16:58:48 +0000 Subject: [PATCH] added FFTWLIB_CFLAGS to examples/Makefile.am, added host_os to configure.ac --- configure.ac | 6 +++--- examples/Makefile.am | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 03053377..605def10 100644 --- a/configure.ac +++ b/configure.ac @@ -65,11 +65,11 @@ AC_CONFIG_HEADERS(src/config.h) 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 @@ AM_CONDITIONAL(PYTHONFOUND, test "${PYTHON}" != "no") #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}" ;; diff --git a/examples/Makefile.am b/examples/Makefile.am index b841077d..fbaca77d 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -3,7 +3,7 @@ SUBDIRS = tests 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 -- 2.26.2