Csound Csound-dev Csound-tekno Search About

[CSOUND-DEV:4214] RE: csound5 configure.ac and Makefile.am debugging

Date2004-03-02 02:01
From"Michael Gogins"
Subject[CSOUND-DEV:4214] RE: csound5 configure.ac and Makefile.am debugging
I do plan to support X11 if FLTK is not present.

============================================
Michael Gogins
gogins at pipeline period com
Irreducible Productions
CsoundVST, an extended version of Csound for programming music and sound
Available at http://sourceforge.net/projects/csound/
============================================


----- Original Message ----- 
From: "John D. Ramsdell" 
To: "Csound Developers Discussion List" 
Sent: Sunday, February 29, 2004 11:32 AM
Subject: [CSOUND-DEV:4202] RE: csound5 configure.ac and Makefile.am
debugging


> "gogins@pipeline.com"  writes:
>
> > Your last point is what I meant when saying, I don't know how to
> > turn an autoconf test into an automake conditional.
>
> and the last point was:
>
> > From:  ramsdell@mitre.org (John D. Ramsdell)
> ...
> > I also notice that when I configure Csound 5 without making FLTK
> > available, the configure script concludes that FLTK is available!
>
> The configure.ac file in the csound4 module is carefully tuned so that
> it will sense and build a system when only X11 is available, when FLTK
> is available, and when no window system is found.  The configure.ac
> file has just been updated so that it does not run AC_PATH_X unless it
> cannot find FLTK and a window system is being request.  This way, when
> X11 is installed on Cygwin, and FLTK is present, but does not use X11,
> the system will correctly build.  At the approriate time, one of us
> can lift the window configuration code from csound4.  Do you plan to
> support X11 without FLTK?
>
> John
>

Date2004-03-03 08:52
Fromstevenyi
Subject[CSOUND-DEV:4228] Configuration Checklist
Hi all,

I thought it might be worth creating a checklist of dependencies and
configuration options here on the list so we can collect the ones that
have been mentioned and not yet implemented for csound5 as well as bring
up things which may not have been considered yet. 

So far, I've got:

* LIBRARIES FOR LIB CSOUND

libsndfile (mandatory)
	-detect, build fails if not found

portaudio (optional)
	-required for realtime
	-can be configured to not use
	-detect, if not found, only non-realtime renders
	-Linux
		-if ALSA is found, add libasound to dependencies
		-if Jack is found, add libjack to dependencies

fltk (optional)
	-for FLTK opcodes
	-should move FLTK opcodes to separate opcode library
	 so this dependency doesn't exist for libcsound

* LIBRARIES FOR CSOUND FRONTEND

fltk (optional)
	-default GUI
	-can be configured to not use
	-detect, if fails:
		-Windows
			-check for Win32, if not, use ASCII
		-Linux
			-check for X11, if not, use ASCII

	-ASCII if nothing else found


* CONFIGURATION OPTIONS

-static or dynamic linking
-mno-cygwin when compiling on Cygwin

* INSTALLERS

-Linux: RPM
-Windows: Nullsoft Installer
-OSX: Native OSX installer
	http://developer.apple.com/documentation/MacOSX/Conceptual/SystemOverview/InstallIntegrate/chapter_51_section_4.html#//apple_ref/doc/uid/20000990/TPXREF123



That's all I've got so far, please feel free to add-on, edit, etc.  The
portaudio requirement for jack if jack is found is something I came
across when trying to compile csound with portaudio after recompiling
portaudio with jack support added (haven't finished doing this so will
have more to say when I get through it).

Thanks all,
steven