Andreas Krennmair:
[apps/madmutt.git] / configure.in
index 6b42629..45389fa 100644 (file)
@@ -264,7 +264,7 @@ AC_CHECK_HEADERS(stdarg.h sys/ioctl.h ioctl.h sysexits.h)
 AC_CHECK_HEADERS(sys/time.h sys/resource.h)
 AC_CHECK_HEADERS(unix.h)
 
-AC_CHECK_FUNCS(setrlimit getsid)
+AC_CHECK_FUNCS(setrlimit getsid isctype)
 
 AC_TYPE_SIGNAL
 
@@ -754,6 +754,11 @@ AC_ARG_ENABLE(mailtool, [  --enable-mailtool          Enable Sun mailtool attach
                 AC_DEFINE(SUN_ATTACHMENT,1,[ Define to enable Sun mailtool attachments support. ])
         fi])
 
+AC_ARG_ENABLE(compressed, [  --enable-compressed        Enable compressed folders support ],
+        [if test x$enableval = xyes; then
+                AC_DEFINE(USE_COMPRESSED)
+        fi])
+
 AC_ARG_ENABLE(locales-fix, [  --enable-locales-fix       The result of isprint() is unreliable ],
         [if test x$enableval = xyes; then
                 AC_DEFINE(LOCALES_HACK,1,[ Define if the result of isprint() is unreliable. ])