if test "$GCC" = "yes"
then
optimise='-O2 '
else
optimise='-O '
fi
fi
])
if test -z "${optimise}"
then
AC_MSG_RESULT(none)
else
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
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
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
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
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
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?
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
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,
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
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:
> > > >
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
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".
--
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.
--
.'
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
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/ |
`. `'
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
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
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
^
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
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
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
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
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
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.
--
.'
silly umask set,
usually need repeatedly kicking in the head.
--
.''`. ** Debian GNU/Linux ** | Andrew Suffield
: :' : http://www.debian.org/ |
`. `' |
`- -><- |
signature.asc
Description: Digital signature
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
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
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/ |
`. `' |
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
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
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
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
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
>
&
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.
--
.''
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,
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
37 matches
Mail list logo