fi
])
-dnl Check for dirent
-need_dirent=false
-AC_CHECK_HEADERS(dirent.h,,[need_dirent=:])
-AM_CONDITIONAL(BUILD_DIRENT, ${need_dirent})
-
dnl Mac OS X and other OSes don't have declaration for nanosleep
if test "${SYS}" != "mingw32" -a "${SYS}" != "mingwce"; then
AC_MSG_CHECKING(for nanosleep in time.h)
dnl Manual switch for UTF-8
AC_ARG_ENABLE(non-utf8,
- [ --enable-non-utf8 Legacy non-UTF-8 systems support (default disabled)], [
- AS_IF([test "${SYS}" != "mingw32" -a "${SYS}" != "mingwce"], [
+ [ --enable-non-utf8 Legacy non-UTF-8 systems support (default disabled)],, [
+ AS_IF([test "${SYS}" = "mingw32" -o "${SYS}" = "mingwce"], [
enable_non_utf8="no"
])
])