[sane-devel] mac osx: cannot build scanimage

rcharlet@SonicWALL.com rcharlet@SonicWALL.com
Fri, 7 Feb 2003 09:29:17 -0800


Ah. Thanks.=20
Well then, is there a simple way I can make the config believe that I =
don't have libdl?

Ricky

> -----Original Message-----
> From: Peter O'Gorman [mailto:peter@pogma.com]
> Sent: Friday, February 07, 2003 5:05 AM
> To: Ricky Charlet
> Cc: sane-devel@www.mostang.com
> Subject: Re: [sane-devel] mac osx: cannot build scanimage
>=20
>=20
> Yes, it is because you have a libdl somewhere, but that is=20
> not part of=20
> the standard OS distribution. sane-backends builds fine if=20
> there is no=20
> libdl. Perhaps the code should be changed to be
>=20
> #if defined(HAVE_DLOPEN) && defined(HAVE_DLFCN_H) &&=20
> !defined(HAVE_NSLINKMODULE)
> #define USE_DLOPEN 1
> #endif
>=20
> and change the rest of the stuff to #ifdef USE_DLOPEN, but I don't=20
> think it is really needed, because the idea was that it would compile=20
> on a plain vanilla OS X, which it does quite nicely.
>=20
> Now, if only it worked for all the backends :/.
>=20
> Peter
>=20
>=20
> On Friday, February 7, 2003, at 04:09  AM, <rcharlet@SonicWALL.com>=20
> wrote:
> >
> > Anyway... I put "-ldl" in my LIBS macro in=20
> frontends/Makefile and it=20
> > went smooth after that.
>=20
>=20