Update of /cvsroot/pure-data/pd In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30159
Added Files: Tag: devel_0_37 Makefile.am configure.ac README AUTHORS ChangeLog COPYING NEWS Log Message: automake/autoconf build system (linux only at the moment)
--- NEW FILE: configure.ac --- dnl dnl autoconf template dnl added by tim blechmann dnl
dnl init AC_INIT([PureData], [0.37-devel], [pd-list@iem.at], [pd]) AM_INIT_AUTOMAKE(pd,0.37-devel)
dnl checking for programs AC_PROG_CC AC_PROG_INSTALL AC_PROG_MAKE_SET AC_PROG_CPP
dnl Checks for typedefs, structures, and compiler characteristics. AC_GNU_SOURCE AC_C_CONST AC_TYPE_PID_T AC_TYPE_SIZE_T AC_HEADER_TIME
dnl Find paths to includes and libraries for X11 AC_PATH_X
dnl Checks for header files. AC_HEADER_STDC AC_CHECK_HEADERS(fcntl.h limits.h malloc.h sys/ioctl.h sys/time.h unistd.h bstring.h)
dnl Checks for library functions. AC_PROG_GCC_TRADITIONAL AC_TYPE_SIGNAL AC_FUNC_VPRINTF AC_CHECK_FUNCS(gettimeofday select socket strerror)
dnl Checks for libraries. AC_CHECK_LIB(dl, dlopen, , echo "dynamic link support required" || exit 1)
AC_CHECK_LIB(m, sin, , echo "math library required" || exit 1)
AC_CHECK_LIB(pthread, pthread_create, , echo "pthreads required" || exit 1)
AC_CHECK_LIB(X11, XCreateWindow, LIBS="$LIBS -lX11 -L$x_libraries", echo "no X11 found" || exit 1, -L$x_libraries)
AC_CHECK_LIB(tcl8.7, main,, AC_CHECK_LIB(tcl8.6, main,, AC_CHECK_LIB(tcl8.5, main,, AC_CHECK_LIB(tcl8.4, main,, AC_CHECK_LIB(tcl8.3, main,, AC_CHECK_LIB(tcl8.2, main,, AC_CHECK_LIB(tcl8.0, main,, echo no tcl library found || exit 1)))))))
AC_CHECK_LIB(tk8.7, main,, AC_CHECK_LIB(tk8.6, main,, AC_CHECK_LIB(tk8.5, main,, AC_CHECK_LIB(tk8.4, main,, AC_CHECK_LIB(tk8.3, main,, AC_CHECK_LIB(tk8.2, main,, AC_CHECK_LIB(tk8.0, main,, echo no tk library found || exit 1)))))))
dnl check for features
dnl audio api AC_ARG_ENABLE(jack, [ --enable-jack jack audio server], [ AC_CHECK_LIB(rt,shm_open) AC_CHECK_LIB(jack,jack_client_new, [ AC_CHECK_LIB(jack,jack_set_xrun_callback, [CFLAGS="-DJACK_XRUN "$CFLAGS]) AC_DEFINE(HAVE_JACK) LIBS="-ljack "$LIBS AC_LIBOBJ(s_audio_jack) ], [echo "jack library not found" || exit 1]) ])
AC_ARG_ENABLE(alsa, [ --disable-alsa disable ALSA], , AC_CHECK_LIB(asound,snd_pcm_info) )
AC_ARG_ENABLE(portaudio, [ --enable-portaudio portaudio], portaudio=$enableval)
dnl hardware AC_ARG_ENABLE(simd, [ --enable-simd use SIMD code (default=no)], simdcode=$enableval, [ CFLAGS="-DDONTUSESIMD "$CFLAGS AC_LIBOBJ(m_simd) ])
AC_ARG_ENABLE(optimize, [ --enable-optimize enables optimized builds for: pentium4, pentium3, G4, G5], optimize=$enableval, CFLAGS=$CFLAGS" -DDONTUSESIMD")
dnl additional libraries or features AC_ARG_ENABLE(fftw, [ --enable-fftw fftw3 support], AC_CHECK_LIB(fftw3f,fftwf_plan_dft_r2c_1d))
AC_ARG_ENABLE(threadedgui, [ --enable-threadedgui use yves degoyon's threaded gui patch], AC_DEFINE(THREADED_GUI))
AC_ARG_ENABLE(threadedsf, [ --enable-threadedsf use threaded soundfiler], [ AC_DEFINE(THREADED_SF) AC_DEFINE(GARRAY_THREAD_LOCK) ])
AC_ARG_ENABLE(gathreadlocks, [ --enable-gathreadlocks t_garray threadlock], AC_DEFINE(GARRAY_THREAD_LOCK))
dnl compile features dnl make sure that debug is switched of CFLAGS=${CFLAGS/-g} AC_ARG_ENABLE(debug, [ --enable-debug debugging support], CFLAGS="-g "$CFLAGS,CFLAGS=$CFLAGS" -O3")
AC_ARG_ENABLE(static, [ --enable-static link statically], LDFLAGS="$LDFLAGS -static")
AC_ARG_ENABLE(icc, [ --enable-icc icc support], CC=icc; icc=yes)
dnl linux specific part if test `uname -s` == Linux; then dnl additional source files AC_LIBOBJ(s_midi_oss) AC_LIBOBJ(s_audio_oss) if test $ac_cv_lib_asound_snd_pcm_info == "yes"; then AC_LIBOBJ(s_audio_alsa) fi if test $simdcode == $yes; then AC_LIBOBJ(m_simd_sse_gcc) fi
dnl platform dependant AC_DEFINE(USEAPI_OSS) AC_DEFINE(UNIX) EXT=pd_linux GUINAME="pd-gui" OSNUMBER=0
dnl optimization flags if test "$icc" == "yes"; then if test "$optimize" == "pentium4"; then ARCH_CFLAGS="-xN -ip -ipo_obj" fi if test "$optimize" == "pentium3"; then ARCH_CFLAGS="-xK -ip -ipo_obj" fi else if test "$optimize" == "pentium4"; then ARCH_CFLAGS="-mtune=pentium4 -march=pentium4 -mmmx -msse -msse2 -mfpmath=sse" fi if test "$optimize" == "pentium3"; then ARCH_CFLAGS="-mtune=pentium3 -march=pentium3 -mmmx -msse -mfpmath=sse" fi if test "$optimize" == "pentium2"; then ARCH_CFLAGS="-mtune=pentium2 -march=pentium2 -mmmx"; CFLAGS=$CFLAGS" -DDONTUSESIMD" fi if test "$optimize" == "pentium"; then ARCH_CFLAGS="-mtune=pentium -march=pentium" CFLAGS=$CFLAGS" -DDONTUSESIMD" fi fi
dnl several flags CFLAGS="-fno-strict-aliasing $CFLAGS $ARCH_CFLAGS" LDFLAGS="-Wl,-export-dynamic "$LDFLAGS STRIPFLAG=-s fi
dnl substitute and output AC_SUBST(CC) AC_SUBST(DEFS) AC_SUBST(CFLAGS) AC_SUBST(LDFLAGS) AC_SUBST(STRIPFLAGS) AC_SUBST(EXTERNTARGET) AC_SUBST(GUINAME) AC_SUBST(OSNUMBER) AC_CONFIG_FILES([Makefile src/Makefile]) AC_OUTPUT
--- NEW FILE: Makefile.am --- # # automake template # added by tim blechmann #
SUBDIRS = src EXTRA_DIST = bin doc extra man portaudio portaudio_v18 portaudio_osx
MAINTAINERCLEANFILES = Makefile.in \ aclocal.m4 \ config.log \ config.status \ configure \ configure.in \ mkinstalldirs \ install-sh \ depcomp \ missing
man_MANS = man/pd.1 man/pdsend.1 man/pdreceive.1
install-data: cp -r ./doc ${prefix}/lib/pd/
--- NEW FILE: COPYING --- This software is copyrighted by Miller Puckette and others. The following terms (the "Standard Improved BSD License") apply to all files associated with the software unless explicitly disclaimed in individual files:
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
--- NEW FILE: AUTHORS --- Miller Puckette and others --- NEW FILE: README --- This is the README file for Pd, a free real-time computer music software package resembling Max. You can get Pd for Linux, Windows, Mac OSX, or IRIX from http://www.crca.ucsd.edu/~msp/software.html or ftp://felix.ucsd.edu. Installation instructions are in the HTML DOCUMENTATION at:
http://www.crca.ucsd.edu/~msp/Pd_documentation/index.htm
If you download and unpack Pd, you will also find the html documentation locally in the file, .../pd-whatever/doc/1.manual/index.htm. To unpack Pd:
LINUX (or freeBSD). Download Pd, which will be a ".tar.gz" file; to unpack it, type "zcat [name].tar.gz | tar xf -" to a shell. This creates a directory with a name like "pd-0.35". There are also RPMs available.
Microsoft Windows. Pd is distributed as a "zip" file. Unzip this, creating a directory such as \pd.
IRIX. Download Pd, which will be a "tar.Z" file. You can unpack this by typing "zcat [name].tar.Z | tar xf -" to a shell.
Macintosh. The web browser will automatically unpack the distributions into a folder such as "pd-0.35" on your desktop.
If you have qustions about Pd, or if you wish to be notified of releases, check the Pd mailing list: http://iem.mhsg.ac.at/mailinglists/pd-list/
Many extensions to Pd are available, notably for handling video and 3D graphics; see the html documentation for pointers.
COPYRIGHT. Except as otherwise noted, all files in the Pd distribution are
Copyright (c) 1997-2001 Miller Puckette and others.
For information on usage and redistribution, and for a DISCLAIMER OF ALL WARRANTIES, see the file, "LICENSE.txt," included in the Pd distribution. (Note that tcl/tk, expr, and some other files are copyrighted separately).
ACKNOWLEDGEMENTS. Thanks to Harry Castle, Krzysztof Czaja, Mark Danks, Christian Feldbauer, Guenter Geiger, Kerry Hagan, Trevor Johnson, Fernando Lopez-Lezcano, Adam Lindsay, Karl MacMillan, Thomas Musil, Toshinori Ohkouchi, Winfried Ritsch, Vibeke Sorensen, Rand Steiger, Shahrokh Yadegari, David Zicarelli, Iohannes Zmoelnig, and probably many others for contributions of code, documentation, ideas, and expertise. This work has received generous support from the Intel Research Council.
--- NEW FILE: NEWS ---
--- NEW FILE: ChangeLog ---