Quoting Leon Bottou <[email protected]>:
>
> Add the following line
>
> AC_CHECK_CC_OPT([-std=gnu99],[OPTS="$OPTS -std=gnu99])
>
> in configure.ac just before the line 'AC_CC_OPTIMIZE'. Then run 'autoconf'
> to regenerate the script
> 'configure'.
>
> Should work, hopefully...
Not quite what we want, it results in the following diff of lushmake.h:
[juenglin@localhost lush+test]$ diff include/lushmake.h
../lush+/include/lushmake.h
32c32
< { "OPTS", "-DNO_DEBUG -Wall -O3 -march=i686" }, \
---
> { "OPTS", " -std=c99" }, \
Ralf
>
> -----Original Message-----
>
> From: GP lisper <[email protected]>
> Subj: [Lush-devel] Re: need help with changing the configure script
> Date: Fri Jul 15, 2005 11:32 pm
> Size: 950 bytes
> To: [email protected]
>
> On Fri, 15 Jul 2005 22:18:19 -0700, <[email protected]> wrote:
> > Hi,
> >
> > I want to make a permanent change of a definition in include/lushmake.h
> > (in particular, I want "CFLAGS" to always include an option that triggers
> > the C compiler to expect C99 code).
>
> export CFLAGS="foo"
> configure
>
>
> --
> [ingvar] Modelling forest damage by storms with regular expressions is...
> a curious idea.
> [Xach] before: ||| after: //_
> [Xach] seems easy enough to me
>
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
> from IBM. Find simple to follow Roadmaps, straightforward articles,
> informative Webcasts and more! Get everything you need to get up to
> speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
> _______________________________________________
> Lush-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/lush-devel
>
>
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
> from IBM. Find simple to follow Roadmaps, straightforward articles,
> informative Webcasts and more! Get everything you need to get up to
> speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
> _______________________________________________
> Lush-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/lush-devel
>
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.