[PD-cvs] SF.net SVN: pure-data:[10203] trunk/externals/iem/iemmatrix/src
zmoelnig at users.sourceforge.net
zmoelnig at users.sourceforge.net
Tue Jul 22 15:39:33 CEST 2008
Revision: 10203
http://pure-data.svn.sourceforge.net/pure-data/?rev=10203&view=rev
Author: zmoelnig
Date: 2008-07-22 13:39:32 +0000 (Tue, 22 Jul 2008)
Log Message:
-----------
added check for fftw3;
use config.h for extended configuration
Modified Paths:
--------------
trunk/externals/iem/iemmatrix/src/configure.ac
trunk/externals/iem/iemmatrix/src/iemmatrix.h
Added Paths:
-----------
trunk/externals/iem/iemmatrix/src/config.h.in
Added: trunk/externals/iem/iemmatrix/src/config.h.in
===================================================================
--- trunk/externals/iem/iemmatrix/src/config.h.in (rev 0)
+++ trunk/externals/iem/iemmatrix/src/config.h.in 2008-07-22 13:39:32 UTC (rev 10203)
@@ -0,0 +1,10 @@
+#ifndef CONFIG_H_
+#define CONFIG_H_
+
+
+/* do we have fftw3 installed? */
+#undef HAVE_FFTW3_H
+
+
+
+#endif /* CONFIG_H_ */
Modified: trunk/externals/iem/iemmatrix/src/configure.ac
===================================================================
--- trunk/externals/iem/iemmatrix/src/configure.ac 2008-07-22 13:20:18 UTC (rev 10202)
+++ trunk/externals/iem/iemmatrix/src/configure.ac 2008-07-22 13:39:32 UTC (rev 10203)
@@ -1,7 +1,11 @@
dnl Process this file with autoconf to produce a configure script.
AC_INIT(iemmatrix.c)
+AC_CONFIG_HEADER(config.h)
+DFLAGS="${DFLAGS} -DHAVE_CONFIG_H"
+
+
dnl Checks for programs.
AC_PROG_CC
@@ -63,7 +67,7 @@
dnl Replace `main' with a function in -lpthread:
dnl AC_CHECK_LIB(pthread, main)
dnl Replace `main' with a function in -lstk:
-dnl AC_CHECK_LIB(stk, main, STK=yes)
+AC_CHECK_LIB(fftw3, fftw_destroy_plan)
if test "x$with_pd" != "x"; then
@@ -92,7 +96,7 @@
dnl Checks for header files.
AC_HEADER_STDC
-AC_CHECK_HEADERS(stdlib.h stdio.h string.h math.h time.h sys/time.h)
+AC_CHECK_HEADERS(stdlib.h stdio.h string.h math.h time.h sys/time.h fftw3.h)
dnl Checks for typedefs, structures, and compiler characteristics.
AC_HEADER_TIME
@@ -208,7 +212,7 @@
-OPT:roundoff=3 -OPT:IEEE_arithmetic=3 -OPT:cray_ivdep=true \
-shared -rdata_shared"
EXT=pd_irix6
- dnl DFLAGS="-DUNIX -DIRIX6"
+ dnl DFLAGS="-DUNIX -DIRIX6 ${DFLAGS}"
STRIPFLAGS="--strip-unneeded"
if test "$enable_lpt" = "yes"; then
AC_MSG_ERROR("lpt not supported on this platform");
@@ -224,7 +228,7 @@
LDFLAGS="-o32 -DUNIX -DIRIX -O2
-shared -rdata_shared"
EXT=pd_irix5
- dnl DFLAGS="-DUNIX -DIRIX5"
+ dnl DFLAGS="-DUNIX -DIRIX5 ${DFLAGS}"
STRIPFLAGS="--strip-unneeded"
if test "$enable_lpt" = "yes"; then
AC_MSG_ERROR("lpt not supported on this platform");
Modified: trunk/externals/iem/iemmatrix/src/iemmatrix.h
===================================================================
--- trunk/externals/iem/iemmatrix/src/iemmatrix.h 2008-07-22 13:20:18 UTC (rev 10202)
+++ trunk/externals/iem/iemmatrix/src/iemmatrix.h 2008-07-22 13:39:32 UTC (rev 10203)
@@ -53,6 +53,11 @@
#include "m_pd.h"
+
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif /* HAVE_CONFIG_H */
+
#define VERSION "0.1"
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Pd-cvs
mailing list