[PD-cvs] pd/src configure.in,1.1.1.4.2.9,1.1.1.4.2.10
timblech at users.sourceforge.net
timblech at users.sourceforge.net
Tue Mar 2 12:02:22 CET 2004
Update of /cvsroot/pure-data/pd/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29482
Modified Files:
Tag: devel_0_37
configure.in
Log Message:
added support for fftw
Index: configure.in
===================================================================
RCS file: /cvsroot/pure-data/pd/src/configure.in,v
retrieving revision 1.1.1.4.2.9
retrieving revision 1.1.1.4.2.10
diff -C2 -d -r1.1.1.4.2.9 -r1.1.1.4.2.10
*** configure.in 14 Jan 2004 15:42:14 -0000 1.1.1.4.2.9
--- configure.in 2 Mar 2004 11:02:19 -0000 1.1.1.4.2.10
***************
*** 5,8 ****
--- 5,9 ----
AC_SUBST(jack, no)
AC_SUBST(portaudio, no)
+ AC_SUBST(fftw, no)
AC_SUBST(PDLIB)
AC_SUBST(MORECFLAGS)
***************
*** 22,26 ****
AC_ARG_ENABLE(alsa, [ --disable-alsa disable ALSA],
! alsa="no")
AC_ARG_ENABLE(jack, [ --enable-jack jack audio server],
jack="yes")
--- 23,27 ----
AC_ARG_ENABLE(alsa, [ --disable-alsa disable ALSA],
! alsa="no",alsa="yes")
AC_ARG_ENABLE(jack, [ --enable-jack jack audio server],
jack="yes")
***************
*** 28,34 ****
portaudio="yes")
AC_ARG_ENABLE(debug, [ --enable-debug debugging support],
! USE_OPT_CFLAGS="no")
AC_ARG_ENABLE(static, [ --enable-static link statically],
static=yes)
dnl Checks for programs.
--- 29,38 ----
portaudio="yes")
AC_ARG_ENABLE(debug, [ --enable-debug debugging support],
! USE_OPT_CFLAGS="no",USE_OPT_CFLAGS="yes")
AC_ARG_ENABLE(static, [ --enable-static link statically],
static=yes)
+ AC_ARG_ENABLE(fftw, [ --enable-fftw fftw3 support],
+ fftw="yes",fftw="no")
+
dnl Checks for programs.
***************
*** 101,109 ****
fi
if test `uname -s` = Linux;
then
! dnl Ckecking for ALSA
! dnl This should be fixed so Pd can use ALSA shared libraries where appropriate.
if test x$alsa == xyes; then
echo yes ... alsa is... $alsa
--- 105,115 ----
fi
+
+
if test `uname -s` = Linux;
then
! dnl Checking for ALSA
! dnl This should be fixed so Pd can use ALSA shared libraries where appropriate.
if test x$alsa == xyes; then
echo yes ... alsa is... $alsa
***************
*** 119,122 ****
--- 125,133 ----
fi
+ dnl Checking for FFTW3
+ if test "$fftw" = "yes"; then
+ AC_CHECK_LIB(fftw3f,fftwf_plan_dft_r2c_1d,PDLIB="$PDLIB -lfftw3f"; fftw=yes,fftw=no)
+ fi
+
LDFLAGS="-Wl,-export-dynamic"
if test "$static" = "yes"; then
***************
*** 130,133 ****
--- 141,151 ----
-fno-strict-aliasing"
SYSSRC="s_midi_oss.c s_audio_oss.c"
+
+ if test "$fftw" = "yes";
+ then
+ MORECFLAGS=$MORECFLAGS" -DUSE_FFTW"
+ fi
+
+
if test x$alsa == "xyes";
then
***************
*** 162,165 ****
--- 180,185 ----
fi
fi
+
+
STRIPFLAG=-s
GUINAME="pd-gui"
***************
*** 234,237 ****
--- 254,258 ----
fi
+
# extra flags for alpha machines
if test `uname -m | awk '{print $1}'` = alpha;
More information about the Pd-cvs
mailing list