[Mono-list] auto* question

Garrett Rooney rooneg@electricjellyfish.net
Fri, 24 Aug 2001 09:07:49 -0400


On Fri, Aug 24, 2001 at 07:48:50AM +0200, Dietmar Maurer wrote:
> Garrett Rooney wrote:
> 
> > So what's the best way to get _POSIX_SOURCE defined for the wrapper
> > directory?  it's needed at least on FreeBSD.  I could just add DEFS =
> > -D_POSIX_SOURCE to the Makefile.am in that directory?  but i'm not
> > certain if it's necessary (hell, or if it even works) anywhere other
> > than FreeBSD?  How do I get this conditionally set?
> 
> IMO we need some autoconf magic here, which adds -D_POSIX_SOURCE to CFLAGS if
> we compile on FreeBSD.

agreed.  now how exactly do i do that ;-)

if someone would point me to an example or HOWTO i'd be happy to get
this done and committed.

-- 
garrett rooney                     Unix was not designed to stop you from 
rooneg@electricjellyfish.net       doing stupid things, because that would  
http://electricjellyfish.net/      stop you from doing clever things.