nss-mysql-devel
[Top][All Lists]
Advanced

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

Re: [Nss-mysql-devel] Solaris patch


From: Guillaume Morin
Subject: Re: [Nss-mysql-devel] Solaris patch
Date: Sun, 17 Mar 2002 23:36:57 +0100
User-agent: Mutt/1.3.27i

Dans un message du 17 mar à 13:33, Kevin W. Brown écrivait :
> > > The problem with this patch is that it breaks compiling on Linux.  I could
> > > modify the patch with some #ifdef's to make it compatible, however the
> > > configure script needs to be modified to test whether or not nsswitch.h
> > > exists and put an appropriate #define in config.h.  I don't know how to
> > > do this, as I've never messed with autoconf before.
> > 
> > Ok, I'll take care of that.
> 
> OK.  Should I wait until you've completed that before I post my patch?  
> That way, I can re-write the patch so it compiles on all platforms.

Ok, I've done it. OS is defined to the host os and I've introduced a
test for nsswitch.h. Check out the CVS.

> > > Additionally, configure currently builds a Makefile that includes -lz on
> > > the LIBS line.  Solaris doesn't have this library, and it's not needed to
> > > compile.  configure needs to check to see if this library exists...
> > 
> > I'll do this too.

Hmm, very weird, configure does it. Have you tried the CVS version ?

> following lines from:
> 
> #include <mysql/mysql.h>
> #include <mysql/my_pthread.h>
> 
> to:
> 
> #include <mysql.h>
> #include <my_pthread.h>
> 
> I have MySQL installed in /usr/local/mysql, so I passed configure an
> argument of --with-mysql=/usr/local/mysql.  Will the above changes break
> compiling on Linux?

Won't '--with-mysql=/usr/local' work ?

Regards,

-- 
Guillaume Morin <address@hidden>

                 People get the operating system they deserve.



reply via email to

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