Re: Alternative compiling for debug/optimized code?

2005-12-08 Thread Andrew Suffield
if test "$GCC" = "yes" then optimise='-O2 ' else optimise='-O ' fi fi ]) if test -z "${optimise}" then AC_MSG_RESULT(none) else

Re: Source files generation

2005-07-30 Thread Andrew Suffield
mp: src/toto.stc gencxx src/toto.stc touch cxx_stamp CLEANFILES += cxx_stamp I think that'll do what you want. -- .''`. ** Debian GNU/Linux ** | Andrew Suffield : :' : http://www.debian.org/ | `. `' | `- -><- | signature.asc Description: Digital signature

Re: Configuring automake says autoconf 2.58 or higher needed. Have au toconf 2.59 installed. What is/goes wrong?

2005-01-16 Thread Andrew Suffield
The only possible solution on the receiving end is to simply discard all personal mail from people who repeatedly send you useless copies (I maintain a specialised killfile for this); in effect, abuse of the privilege of sending personal mail leads to its revocation. Only the sender can do any

Re: Disabling optimization

2004-11-19 Thread Andrew Suffield
On Fri, Nov 19, 2004 at 05:58:58PM +0100, [EMAIL PROTECTED] wrote: > >>>>> "Andrew" == Andrew Suffield <[EMAIL PROTECTED]> writes: > > Andrew> Uh, that made no sense at all. Are you saying that you should not > Andrew> write code, because it&#x

Re: Disabling optimization

2004-11-19 Thread Andrew Suffield
On Fri, Nov 19, 2004 at 09:43:30AM -0600, Bob Friesenhahn wrote: > On Fri, 19 Nov 2004, Andrew Suffield wrote: > >> aCC: warning 901: unknown option: `-0': use +help for online > >> documentation. > > > >I don't remember the last time I wrote anything

Re: Disabling optimization

2004-11-19 Thread Andrew Suffield
On Fri, Nov 19, 2004 at 05:07:48PM +0100, [EMAIL PROTECTED] wrote: > >>>>> "Andrew" == Andrew Suffield <[EMAIL PROTECTED]> writes: > > Andrew> On Fri, Nov 19, 2004 at 07:00:43AM -0500, Thomas Dickey wrote: > >> On Fri, 19 Nov 2004, Andrew Suf

Re: Disabling optimization

2004-11-19 Thread Andrew Suffield
On Fri, Nov 19, 2004 at 08:49:29AM -0500, Thomas Dickey wrote: > On Fri, 19 Nov 2004, Andrew Suffield wrote: > > >Uh, that made no sense at all. Are you saying that you should not > >write code, because it's not possible to write code that works on > >every platform?

Re: Disabling optimization

2004-11-19 Thread Andrew Suffield
On Fri, Nov 19, 2004 at 07:00:43AM -0500, Thomas Dickey wrote: > On Fri, 19 Nov 2004, Andrew Suffield wrote: > > >For any feature you care to consider, ABSOLUTELY ANY FEATURE YOU HAVE > >EVER USED, there exists a platform on which it does not work. That > >does not mean

Re: Disabling optimization

2004-11-19 Thread Andrew Suffield
On Fri, Nov 19, 2004 at 12:42:43AM -0700, Bob Proulx wrote: > Bob Friesenhahn wrote: > > Andrew Suffield wrote: > > >>>What you're all trying to say is this: > > >>> > > >>>CXXFLAGS="-g -O0 ${CXXFLAGS}" > > >>Nope,

Re: Disabling optimization

2004-11-18 Thread Andrew Suffield
On Thu, Nov 18, 2004 at 03:44:46PM -0600, Bob Friesenhahn wrote: > On Thu, 18 Nov 2004, Andrew Suffield wrote: > >>>What you're all trying to say is this: > >>> > >>>CXXFLAGS="-g -O0 ${CXXFLAGS}" > >>Nope, this prevents overriding CXX

Re: Disabling optimization

2004-11-18 Thread Andrew Suffield
On Thu, Nov 18, 2004 at 01:42:39PM +0100, Ralf Corsepius wrote: > On Thu, 2004-11-18 at 11:56 +0000, Andrew Suffield wrote: > > On Thu, Nov 18, 2004 at 12:41:37PM +0100, Ralf Corsepius wrote: > > > On Thu, 2004-11-18 at 11:55 +0100, Andreas Schwab wrote: > > > >

Re: Disabling optimization

2004-11-18 Thread Andrew Suffield
snippet below sufficient? > CXXFLAGS=${CXXFLAGS--g} > AC_PROG_CXX What you're all trying to say is this: CXXFLAGS="-g -O0 ${CXXFLAGS}" -- .''`. ** Debian GNU/Linux ** | Andrew Suffield : :' : http://www.debian.org/ | `. `' | `- -><- | signature.asc Description: Digital signature

Re: Extending automake

2004-08-01 Thread Andrew Suffield
mes dependencies), and put the rules and automake variables into the Makefile.am proper - even if I end up with "foo_SOURCES = $(foo_sources)". If I have rules that are common to several makefiles, I use something like "include $(top_srcdir)/build-misc/docbook.mk". --

Re: distcheck bug

2004-07-15 Thread Andrew Suffield
up with to make 'CFLAGS=foo ./configure' work, and still keep a complicated configure.ac readable. So I'd just AC_SUBST(orig_CFLAGS) and stuff that into DISTCHECK_CONFIGURE_FLAGS, under the assumption that the configure script is supposed to sort it out given that input. -- .'

Re: backslashes in variable definition

2004-06-21 Thread Andrew Suffield
etected later. You should see the error you get if you do this: libfoo_la_SOURCES = \ # foo.c \ bar.c -- .''`. ** Debian GNU/Linux ** | Andrew Suffield : :' : http://www.debian.org/ | `. `' | `- -><- | signature.asc Description: Digital signature

Re: location of .h's in library

2004-06-18 Thread Andrew Suffield
ntal (sometimes you get several source files to one header; if you've got several headers implemented in one source file, you're probably doing it wrong). -- .''`. ** Debian GNU/Linux ** | Andrew Suffield : :' : http://www.debian.org/ | `. `'

Re: excessive bounces

2004-05-27 Thread Andrew Suffield
seful anyway; they require continual human intervention on a scale comparable to the volume of mail, which is too damn big. I expect this is a similar order of magnitude mail volume as mail.gnu.org deals with. (Talk to the listmasters if you're interes

Re: confused: $DISTDIR not recognized by distcheck

2004-05-17 Thread Andrew Suffield
busy locks But it's difficult to persuade configure to set @srvdir@ appropriately. With "make DESTDIR=/foo install", DESTDIR=/foo and prefix=/bar; with distcheck, prefix=$(CURDIR)/foo/ and DESTDIR=, think it through. -- .''`. ** Debian GNU

Re: how to address a directory as /srv

2004-05-15 Thread Andrew Suffield
On Sat, May 15, 2004 at 08:49:07AM +0200, Richard Bos wrote: > Op zaterdag 15 mei 2004 03:31, schreef Andrew Suffield: > > > Makefile.am > > > wsadmindir = $(DESTDIR)/srv/www/html/server/admin > > > >                ^^ > > > > That's wro

Re: how to address a directory as /srv

2004-05-14 Thread Andrew Suffield
^ That's wrong. Take it out. Automake already supports DESTDIR natively; you're just stuffing it in the path twice. I think that's your only problem here. -- .''`. ** Debian GNU/Linux ** | Andrew

Re: FEATURE REQUEST: make uninstall should delete empty directories.

2004-03-06 Thread Andrew Suffield
ns, it should should err on the side of caution: it > should *not* try to delete any empty directories at uninstall > time. Neither should Automake try to guess -- guesses involving > the "rm" command, especially as root, are a really dangerous > idea! That's why you

Re: release schedule for 1.9? (Was: Re: automake -vs- huge projects (1st patch))

2004-01-22 Thread Andrew Suffield
es ages, no matter how easy it is to convert. Half the time there's nothing that needs to be done aside from actually using a newer version, and it still doesn't get done. -- .''`. ** Debian GNU/Linux ** | Andrew Suffield : :' : http://www.debian.org/ | `. `' | `- -><- | signature.asc Description: Digital signature

AC_CONFIG_FILES and Makefile.am

2004-01-13 Thread Andrew Suffield
e.ams, and calls AC_CONFIG_FILES appropriately? (I'll implement it myself if I have to) -- .''`. ** Debian GNU/Linux ** | Andrew Suffield : :' : http://www.debian.org/ | `. `' | `- -><- | signature.asc Description: Digital signature

Re: config.guess and freedom (was: 1.8 and mkdir_p)

2004-01-09 Thread Andrew Suffield
7;t suck less, use it anyway because it's all we've got" box. -- .''`. ** Debian GNU/Linux ** | Andrew Suffield : :' : http://www.debian.org/ | `. `' | `- -><- | signature.asc Description: Digital signature

Re: Expressing dependencies

2004-01-03 Thread Andrew Suffield
e rules for ctangle. It may be worth noting that bison and flex, as invoked by automake, have comparable issues with their ancillary files (especially bison-generated headers). I never managed to figure a way to have those work sanely with make either, let alone automake. -- .'&#x

Re: 1.8 and mkdir_p

2004-01-03 Thread Andrew Suffield
silly umask set, usually need repeatedly kicking in the head. -- .''`. ** Debian GNU/Linux ** | Andrew Suffield : :' : http://www.debian.org/ | `. `' | `- -><- | signature.asc Description: Digital signature

Re: convenience binaries

2003-09-22 Thread Andrew Suffield
nment? By definition, they should only exist on the build system. -- .''`. ** Debian GNU/Linux ** | Andrew Suffield : :' : http://www.debian.org/ | `. `' | `- -><- | signature.asc Description: Digital signature

Re: automake and (f)lex

2003-08-14 Thread Andrew Suffield
ething clever to make > the generated C portable? Recent versions of flex are a dead loss; I'd stick with 2.5.4 until the flex maintainers start responding to mail, or at least fixing bugs. -- .''`. ** Debian GNU/Linux ** | Andrew Suffield : :' : http://www.debian.org

Re: (no subject)

2003-07-31 Thread Andrew Suffield
matters most > than personal taste. Doesn't appear to apply to aclocal.m4, it should be safe to transition that into AC_CONFIG_AUX_DIR or someplace. -- .''`. ** Debian GNU/Linux ** | Andrew Suffield : :' : http://www.debian.org/ | `. `' |

Re: delete aclocal.m4? keep generated files on cvs server? enforcespecefic automake/conf version?

2003-07-30 Thread Andrew Suffield
ion team to > automatically generate simple variants of the messages that are more > suitable to an 'en_US' locale than those of the 'C' locale -- assuming > you use ISO8859-1 rather than 7-bit ASCII. Most of them are associated with the automatically-generated [EMAIL PROTECTED] and [EMAIL PROTECTED] locales. If you don't explicitly generate these, then the files are never referenced and can be deleted. -- .''`. ** Debian GNU/Linux ** | Andrew Suffield : :' : http://www.debian.org/ | `. `' | `- -><- | pgp0.pgp Description: PGP signature

Re: automake and shared libraries

2003-07-29 Thread Andrew Suffield
tomake to build convenience libraries with -fPIC where necessary - it just doesn't. Actually, this might be hackable by stuffing -fPIC in the relevant CFLAGS variable - then the warning is spurious. -- .''`. ** Debian GNU/Linux ** | Andrew Suffield : :' : http://www.debian.org/ | `. `' | `- -><- | pgp0.pgp Description: PGP signature

Re: delete aclocal.m4? keep generated files on cvs server? enforcespecefic automake/conf version?

2003-07-29 Thread Andrew Suffield
On Mon, Jul 28, 2003 at 05:55:15PM -0500, Raja R Harinath wrote: > Andrew Suffield <[EMAIL PROTECTED]> writes: > > > On Mon, Jul 28, 2003 at 05:33:43PM -0500, Raja R Harinath wrote: > > >> Andrew Suffield <[EMAIL PROTECTED]> writes: > >> > >&g

Re: delete aclocal.m4? keep generated files on cvs server? enforcespecefic automake/conf version?

2003-07-28 Thread Andrew Suffield
On Mon, Jul 28, 2003 at 05:33:43PM -0500, Raja R Harinath wrote: > Hi, > > Andrew Suffield <[EMAIL PROTECTED]> writes: > > > autoreconf has a habit of doing silly things like running autopoint, > > which then cheerfully adds a bunch of gunk to the source tree w

Re: delete aclocal.m4? keep generated files on cvs server? enforcespecefic automake/conf version?

2003-07-28 Thread Andrew Suffield
On Mon, Jul 28, 2003 at 11:39:48PM +0200, Alexandre Duret-Lutz wrote: > >>> "Andrew" == Andrew Suffield <[EMAIL PROTECTED]> writes: > > [...] > > > This whole script (including its last part) can be replaced by > > autoreconf -im > &

Re: delete aclocal.m4? keep generated files on cvs server? enforcespecefic automake/conf version?

2003-07-28 Thread Andrew Suffield
us are there because it's a damn sight faster this way than letting automake-generated Makefiles call config.status once for each subdirectory (which they would otherwise do on the next build) - this is "right", but not what you wanted. -- .''

Re: distribution signatures

2003-07-16 Thread Andrew Suffield
rticular reason why this is worth including in automake. It's trivial and will probably vary per project anyway. -- .''`. ** Debian GNU/Linux ** | Andrew Suffield : :' : http://www.debian.org/ | Dept. of Computing, `. `' | Imperial College,

Re: back quotes and double quotes must not be escaped?

2002-11-04 Thread Andrew Suffield
into warning/error messages? Something like configure.ac:27: autoconf: warning: ... -- .''`. ** Debian GNU/Linux ** | Andrew Suffield : :' : http://www.debian.org/ | Dept. of Computing, `. `' | Imperial College, `- -><- | London, UK msg06238/pgp0.pgp Description: PGP signature