Mercurial > hg > xemacs-beta
comparison src/config.h.in @ 4721:19d70297d866
Make readlink_or_correct_case function correctly on Darwin.
src/ChangeLog addition:
2009-10-26 Aidan Kehoe <kehoea@parhasard.net>
* config.h.in (REALPATH_CORRECTS_CASE):
New #define, available on Darwin.
* realpath.c (readlink_or_correct_case):
On Darwin, use realpath(3)'s case correction to get the canonical
case for a file; thank you Robert Delius Royar!
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Mon, 26 Oct 2009 09:42:20 +0000 |
parents | 0e1461b592ce |
children | 80d74fed5399 |
comparison
equal
deleted
inserted
replaced
4720:3c92890f3750 | 4721:19d70297d866 |
---|---|
337 #undef HAVE_SHL_LOAD | 337 #undef HAVE_SHL_LOAD |
338 #undef HAVE_DYLD | 338 #undef HAVE_DYLD |
339 #undef HAVE_LTDL | 339 #undef HAVE_LTDL |
340 #undef DLSYM_NEEDS_UNDERSCORE | 340 #undef DLSYM_NEEDS_UNDERSCORE |
341 #undef HAVE_SHLIB | 341 #undef HAVE_SHLIB |
342 | |
343 /* Darwin; realpath corrects for case: */ | |
344 #ifdef HAVE_DYLD | |
345 #define REALPATH_CORRECTS_CASE 1 | |
346 #endif | |
342 | 347 |
343 #undef HAVE_LIBINTL | 348 #undef HAVE_LIBINTL |
344 #undef HAVE_LIBDNET | 349 #undef HAVE_LIBDNET |
345 #undef HAVE_LIBRESOLV | 350 #undef HAVE_LIBRESOLV |
346 | 351 |