bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] libgen.h?


From: Joseph Heled
Subject: Re: [Bug-gnubg] libgen.h?
Date: Sun, 11 Aug 2002 07:18:02 +1200

Almost. Since basename exists, both HAVE_BASENAME and HAVE_LIBGEN_H are defined,
so that libgen is *not* included, 

#if ! defined (HAVE_BASENAME) && defined (HAVE_LIBGEN_H)
#include "libgen.h"
#endif

Is there a problem including libgen whenever it exists? (i.e.)

#if defined (HAVE_LIBGEN_H)
#include "libgen.h"
#endif

-Joseph

Joern Thyssen wrote:
> 
> On Sat, Aug 10, 2002 at 07:16:14AM +1200, Joseph Heled wrote
> > Joern Thyssen wrote:
> > >
> > > On Wed, Aug 07, 2002 at 05:31:20PM +0000, Øystein Johansen wrote
> > > > On Tue, Aug 06, 2002 at 07:41:27PM +0000, Joern Thyssen wrote:
> > > > >
> > > > > However, I'm quite unsure whether libgen.h is standard or not?!
> > > > >
> > > > > Does anyone know?
> > > >
> > > > I know! It's not. It's one of the things I have to change when I porting
> > > > fibs2html to windows.
> > >
> > > I've removed libgen.h, since it's prototyped in string.h as well.
> > >
> > > Jørn
> > >
> >
> >
> > Not exactly. On my solaris box it is only defined in libgen.h. Wht not have 
> > a
> > test in configure to find out?
> 
> configure now looks for both basename and libgen.h.
> 
> Can you check if it works?
> 
> Jørn
> 
> --
> Joern Thyssen, PhD
> Vendsysselgade 3, 3., DK-9000 Aalborg, Denmark
> +45 9813 2791 (private) / +45 2077 2689 (mobile) / +45 9633 7036 (work)
> 
> _______________________________________________
> Bug-gnubg mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-gnubg




reply via email to

[Prev in Thread] Current Thread [Next in Thread]