X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=configure.ac;h=e30d4554247b0c98872f9b7c905901d98d88e8b2;hp=1326258c792831a8fd54d511e26fc7707824b48e;hb=9fb3aaca115429b0af2a623bf20bfceef74f047f;hpb=8c26ca707e56d9848e52076ad3f7c26ea7fa338d diff --git a/configure.ac b/configure.ac index 1326258c..e30d4554 100644 --- a/configure.ac +++ b/configure.ac @@ -237,22 +237,20 @@ else LIBNTFS_3G_LDADD= LIBNTFS_3G_CFLAGS= - if test "x$WINDOWS_NATIVE_BUILD" != "xyes"; then - AM_ICONV - if test "x$am_cv_func_iconv" != "xyes"; then - AC_MSG_ERROR([Cannot find the iconv() function. - iconv() is used to convert between UTF-8 and UTF-16 encodings of WIM - filenames and XML data. Wimlib cannot be compiled without it. iconv() - is available in the latest version of glibc and sometimes in other - libraries.]) - fi - fi fi AM_CONDITIONAL([WITH_NTFS_3G], [test "x$WITH_NTFS_3G" = "xyes"]) AC_SUBST([LIBNTFS_3G_LDADD], [$LIBNTFS_3G_LDADD]) AC_SUBST([LIBNTFS_3G_CFLAGS], [$LIBNTFS_3G_CFLAGS]) +AM_ICONV +if test "x$am_cv_func_iconv" != "xyes"; then + AC_MSG_ERROR([Cannot find the iconv() function. + iconv() is used to convert between encodings of WIM filenames and XML data. + wimlib cannot be compiled without it. iconv() is available in the latest + version of glibc and sometimes in other libraries.]) +fi + AC_MSG_CHECKING([whether to include support for mounting WIMs]) AC_ARG_WITH([fuse], AS_HELP_STRING([--without-fuse], [build without libfuse.