Overview
Comment: | configure: Fix the readdir_r check
This would not error out if it's missing, as the implicit declaration |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
15945db3de401708526f3e436865ac3c |
User & Date: | js on 2017-01-16 01:14:09 |
Other Links: | manifest | tags |
Context
2017-01-16
| ||
02:23 | OFFileManager: Use EINVAL instead of ENOTSUP check-in: fc7f20ff34 user: js tags: trunk | |
01:14 | configure: Fix the readdir_r check check-in: 15945db3de user: js tags: trunk | |
01:13 | Do not check for off64_t on DJGPP check-in: cd8dea6265 user: js tags: trunk | |
Changes
Modified configure.ac from [bcfd558931] to [54e06c3dbc].
︙ | ︙ | |||
866 867 868 869 870 871 872 | ]) AC_CHECK_FUNC(readlink, [ AC_DEFINE(OF_HAVE_READLINK, 1, [Whether we have readlink()]) ]) AC_CHECK_FUNCS([lstat]) old_OBJCFLAGS="$OBJCFLAGS" | | | 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 | ]) AC_CHECK_FUNC(readlink, [ AC_DEFINE(OF_HAVE_READLINK, 1, [Whether we have readlink()]) ]) AC_CHECK_FUNCS([lstat]) old_OBJCFLAGS="$OBJCFLAGS" OBJCFLAGS="$OBJCFLAGS -Werror" AC_MSG_CHECKING(for readdir_r) AC_TRY_COMPILE([ #include <dirent.h> ], [ DIR *dir = 0; struct dirent entry, *result; |
︙ | ︙ |