diff options
| author | 2018-10-30 13:12:34 +0800 | |
|---|---|---|
| committer | 2018-10-30 13:12:34 +0800 | |
| commit | 92c5462adef87b1e577b8557b6b9c64d5a089544 (patch) | |
| tree | d8da666f83c1090fe738c1f5837d727ed9a4e989 /configure.ac | |
| parent | d72b747e590044f9970ef26827f3af3ea9c1eb4a (diff) | |
| download | libimobiledevice-92c5462adef87b1e577b8557b6b9c64d5a089544.tar.gz libimobiledevice-92c5462adef87b1e577b8557b6b9c64d5a089544.tar.bz2 | |
idevicebackup2: Fix scan_directory() for platforms not having d_type in struct dirent
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index ec210fc..69ff13b 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -83,6 +83,8 @@ case ${host_os} in | |||
| 83 | esac | 83 | esac |
| 84 | AM_CONDITIONAL(WIN32, test x$win32 = xtrue) | 84 | AM_CONDITIONAL(WIN32, test x$win32 = xtrue) |
| 85 | 85 | ||
| 86 | AC_CHECK_MEMBER(struct dirent.d_type, AC_DEFINE(HAVE_DIRENT_D_TYPE, 1, [define if struct dirent has member d_type]),, [#include <dirent.h>]) | ||
| 87 | |||
| 86 | # Cython Python Bindings | 88 | # Cython Python Bindings |
| 87 | AC_ARG_WITH([cython], | 89 | AC_ARG_WITH([cython], |
| 88 | [AS_HELP_STRING([--without-cython], | 90 | [AS_HELP_STRING([--without-cython], |
