| I think what happens with bzero and such is that people use autoscan to
prepare a preliminary configure.ac. Autoscan reads any existing
configure.ac and source files, and tries to figure out what libraries and
functions configure needs to probe for. Autoscan writes configure.scan
which people tend to turn into configure.ac by declaring the module and
adding some tests. So tests pile up in configure.ac over time.
I would prefer a simpler autotools build system, partly because a simpler
one takes less time to regenerate, partly because by requiring the presence
of PortAudio, libsndfile, FLTK, PortMidi, and whatnot, we are virtually
assuring the presence of most of the operating system facilities required
to build Csound.
I am hoping that by using these libraries, we can get all, or almost all,
non-portable headers and functions out of Csound. Then the autotools
scripts won't have much to do except generate usable makefiles from
Makefile.am.
Original Message:
-----------------
From: jpff@codemist.co.uk
Date: Sun, 18 Jan 2004 21:30:48 +0000
To: csound-dev@eartha.mills.edu, csound-dev@eartha.mills.edu,
csound-dev@eartha.mills.edu
Subject: [CSOUND-DEV:3954] Re: How to configure
.... I did
cd csound
make winX11.o
cd ..
and then make is running.
I am still seeing a distressing number of undeclared functions -- I
have Csound so there were no such warnings -- but what does "-I
../[csound" mean as a option to gcc?]
I am also rather at a loss as to whu configure asks if bzero (for
example) exists as this not an ANSI C function and Csound should not
care a d*mn whether it does or not. That suggests some fundamental
errors in the configuration mechyanism to me.
==John ffitch
--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ . |