OK, well, if PKG_CHECK_MODULES is going to be used, then I strongly believe that we should:
(a) not enable GNU TLS support by default. Otherwise, whenever someone tries to build on Windows or Mac or any other platform that doesn't have GNU TLS, the build will fail. (b) include the PKG_CHECK_MODULES macro for systems that don't have it. I don't know why you say "there must be a third-party addon of pkg-config for Xcode". That's not the way Apple works. The only reason why the system has pkg-config at all is because the Mono framework includes it, and I doubt that this is even installed by default. It certainly isn't part of the regular Xcode install. I am a strong believer that an open source project should try its best to be buildable using the default toolchain on a given platform. It's already difficult enough to build TigerVNC. We don't need to make it moreso. There is no reason why a Mac user would need (or want) to build Xvnc. I'm just trying to make it as easy as possible to build vncviewer. It seems ridiculous that someone should have to download, build, install, and configure pkg-config just so it can tell them that they don't have GNU TLS. On 4/29/10 2:03 AM, Pierre Ossman wrote: > On Wed, 28 Apr 2010 14:53:10 -0500 > DRC <dcomman...@users.sourceforge.net> wrote: > >> >> I believe that the behavior should be as follows: >> >> -- A mechanism other than PKG_CHECK_MODULES should be used to detect the >> presence of GNU TLS (AC_CHECK_LIB or AC_CHECK_HEADER, probably.) >> > > NAK. pkg-config is a lot smarter than AC_CHECK_*. > > There must be a third-party addon of pkg-config for Xcode. More or less > everything uses it these days. > >> -- If GNU TLS is present, then it should be enabled by default. If it >> is not present, then it should be disabled by default. > > It should definitely not fail the configure if you don't have it by > default, but I'm ambivalent about automatically turning it on. There > has been some movement in other packages to stop doing this automagical > stuff and force the user to be explicit in what to enable and disable. > >> -- A local version of PKG_CHECK_MODULES should be included in our build >> for use on systems that do not provide it. > > Sure, if it can be done cleanly. > > Rgds ------------------------------------------------------------------------------ _______________________________________________ Tigervnc-devel mailing list Tigervnc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tigervnc-devel