added FFTWLIB_CFLAGS to examples/Makefile.am, added host_os to configure.ac
authorPaul Brossier <piem@altern.org>
Sun, 21 Aug 2005 16:58:48 +0000 (16:58 +0000)
committerPaul Brossier <piem@altern.org>
Sun, 21 Aug 2005 16:58:48 +0000 (16:58 +0000)
configure.ac
examples/Makefile.am

index 03053377a2eb21c26c1c8b7cff09336813a2796d..605def10ddbefe4ec9edbf38fc741a750f7737f7 100644 (file)
@@ -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}"
   ;;
index b841077df0a1c45f45a7080624560ff36f80d761..fbaca77d58b1a14ec8d3f82705c2fbc56848827a 100644 (file)
@@ -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