comparison src/config.h.in @ 5556:a142ad1a9140

Use dlsym() in preference to NSLookupSymbolInModule() on Darwin, if available. ChangeLog addition: 2011-08-24 Aidan Kehoe <kehoea@parhasard.net> * configure.ac: On OS X, if dlopen() is available in dlfcn.h, use it in preference to dyld; the latter API is deprecated. Move DLSYM_NEEDS_UNDERSCORE together with HAVE_DLYD, it's not needed if the dlsym() and dlopen() APIs are being used. Define REALPATH_CORRECTS_CASE, DEFAULT_FILE_SYSTEM_IGNORE_CASE in this file, don't define them in terms of HAVE_DYLD in src/config.h.in. * configure: Regenerate. src/ChangeLog addition: 2011-08-24 Aidan Kehoe <kehoea@parhasard.net> * config.h.in: Move REALPATH_CORRECTS_CASE, DEFAULT_FILE_SYSTEM_IGNORE_CASE to ../configure.ac rather than implementing them in terms of HAVE_DYLD here.
author Aidan Kehoe <kehoea@parhasard.net>
date Wed, 24 Aug 2011 23:41:29 +0100
parents 6b3caa55668c
children 53c066311921
comparison
equal deleted inserted replaced
5555:a39cd9dc92ba 5556:a142ad1a9140
328 #undef HAVE_DYLD 328 #undef HAVE_DYLD
329 #undef HAVE_LTDL 329 #undef HAVE_LTDL
330 #undef DLSYM_NEEDS_UNDERSCORE 330 #undef DLSYM_NEEDS_UNDERSCORE
331 #undef HAVE_SHLIB 331 #undef HAVE_SHLIB
332 332
333 /* Darwin; realpath corrects for case: */ 333 #undef REALPATH_CORRECTS_CASE
334 #ifdef HAVE_DYLD 334 #undef DEFAULT_FILE_SYSTEM_IGNORE_CASE
335 #define REALPATH_CORRECTS_CASE 1
336 #define DEFAULT_FILE_SYSTEM_IGNORE_CASE 1
337 #endif
338 335
339 #undef HAVE_LIBINTL 336 #undef HAVE_LIBINTL
340 #undef HAVE_LIBDNET 337 #undef HAVE_LIBDNET
341 #undef HAVE_LIBRESOLV 338 #undef HAVE_LIBRESOLV
342 339