diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2025-01-18 09:19:16 +0300 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2025-01-19 03:28:47 +0300 |
commit | eddc89a5d18c6fb7b745b45228079306dda13f7a (patch) | |
tree | b4d6ed0d84bbe201a6a021763ae4efbf9f527736 /configure.ac | |
parent | d842eaee19e2723f845d4b8314a230cf68e82653 (diff) | |
download | sciteco-eddc89a5d18c6fb7b745b45228079306dda13f7a.tar.gz |
file and directory auto completions can now be case-insensitive
* This is not simply determined at compile-time but queries the concrete path
at least on Windows and OS X.
* The Windows implementation is kind of hacky and relies on undocumented behavior.
It's also not even tested yet!
* On Linux and FreeBSD completions will always be case-sensitive as they used to be.
There does not appear to be any API to query case sensitivity of a given path or even
the entire file system.
At most, we could white-list a number of case-insensitive file systems.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index fe19ce5..798b756 100644 --- a/configure.ac +++ b/configure.ac @@ -173,7 +173,7 @@ AC_CHECK_FUNCS([memset setlocale strchr strrchr fstat sscanf], , [ # glib defines G_OS_UNIX instead... case $host in *-*-linux* | *-*-*bsd* | *-*-darwin* | *-*-cygwin* | *-*-haiku*) - AC_CHECK_FUNCS([realpath readlink fchown dup dup2 getpid open read kill mmap], , [ + AC_CHECK_FUNCS([realpath readlink pathconf fchown dup dup2 getpid open read kill mmap], , [ AC_MSG_ERROR([Missing libc function]) ]) AC_SEARCH_LIBS(dladdr, [dl], , [ |