X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=configure.ac;h=cdcc1dadfc981c0ca110cadbbd814a95ac0b62ec;hb=2fdc3bd720f5bc49680dc2284ea42a537d1acc07;hp=3f7f2b897ce76d111184050a290581df823cb4e4;hpb=c07877105822d01725b36b011c93609559164b06;p=wimlib diff --git a/configure.ac b/configure.ac index 3f7f2b89..cdcc1dad 100644 --- a/configure.ac +++ b/configure.ac @@ -48,7 +48,8 @@ AC_PROG_CC AM_PROG_CC_C_O AC_CANONICAL_HOST -AC_CHECK_FUNCS([utimensat lutimes utime flock mempcpy]) +AC_CHECK_FUNCS([utimensat lutimes utime flock mempcpy \ + openat fstatat readlinkat fdopendir]) # Note: some of the following header checks are only to define the appropriate # HAVE_*_H macro so that the NTFS-3g headers don't get confused and try to skip @@ -206,25 +207,6 @@ case "$host" in ;; esac -AC_ARG_WITH([ntdll], - AS_HELP_STRING([--without-ntdll], [Windows only: do not try to - use functions from ntdll. By default, in some parts - of its code, wimlib uses Windows NT system calls to - work around flaws in the Win32 API. This support - can be omitted if needed, but some annoying bugs - will surface (e.g. permission denied errors even - when running as the Administrator).]), - [WITH_NTDLL=$withval], - [WITH_NTDLL=yes]) - -if test "x$WINDOWS_NATIVE_BUILD" = "xyes"; then - if test "x$WITH_NTDLL" = "xyes"; then - WINDOWS_LDADD="$WINDOWS_LDADD" - AC_DEFINE([WITH_NTDLL], [1], [Define to 1 to try to use ntdll - functions]) - fi -fi - AC_SUBST([VISIBILITY_CFLAGS], [$VISIBILITY_CFLAGS]) AC_SUBST([WINDOWS_LDFLAGS], [$WINDOWS_LDFLAGS]) AC_SUBST([WINDOWS_LDADD], [$WINDOWS_LDADD]) @@ -259,7 +241,7 @@ if test "x$WITH_NTFS_3G" = "xyes"; then PKG_CHECK_MODULES([LIBNTFS_3G], [libntfs-3g]) PKGCONFIG_PRIVATE_REQUIRES="$PKGCONFIG_PRIVATE_REQUIRES libntfs-3g" - dnl This checks for a NTFS-3g interface that was changed in the + dnl This checks for an NTFS-3g interface that was changed in the dnl 2013.1.13 release AC_CHECK_DECL([NTFS_MNT_RDONLY], [AC_DEFINE([HAVE_NTFS_MNT_RDONLY],