-dnl This may look cumbersome -- please keep it that way, so we can
-dnl quickly change the default to "yes" again.
-mutt_cv_inodesort=no
-AC_ARG_ENABLE(inodesort, AC_HELP_STRING([--enable-inodesort], [Read files in maildir folders sorted by inode.]),
- [if test x$enableval = xyes -a x$ac_cv_dirent_d_ino = xyes ; then mutt_cv_inodesort=yes; fi])
-
-if test $mutt_cv_inodesort = yes; then
- AC_DEFINE(USE_INODESORT, 1, [ Define to sort files in a maildir by inode number. ])
-fi
-
-mutt_cv_warnings=yes
-AC_ARG_ENABLE(warnings, AC_HELP_STRING([--disable-warnings], [Turn off compiler warnings (not recommended)]),
-[if test $enableval = no; then
- mutt_cv_warnings=no
-fi])
-
-if test x$GCC = xyes -a $mutt_cv_warnings = yes; then
- CFLAGS="-Wall -pedantic $CFLAGS"
-fi
-
-AC_ARG_ENABLE(nfs-fix, AC_HELP_STRING([--enable-nfs-fix], [Work around an NFS with broken attributes caching]),
- [if test x$enableval = xyes; then
- AC_DEFINE(NFS_ATTRIBUTE_HACK,1,
- [Define if you have problems with mutt not detecting
- new/old mailboxes over NFS. Some NFS implementations
- incorrectly cache the attributes of small files.])
- fi])
-
-AC_ARG_ENABLE(buffy-size, AC_HELP_STRING([--enable-buffy-size], [Use file size attribute instead of access time]),
- [if test x$enableval = xyes; then
- AC_DEFINE(BUFFY_SIZE,1,[ Define to enable the "buffy_size" feature. ])
- fi])
-
-AC_ARG_ENABLE(compressed, [ --enable-compressed Enable compressed folders support ],
- [if test x$enableval = xyes; then
- AC_DEFINE(USE_COMPRESSED,1,[ The compressed mailboxes support ])
- fi])
-
-AC_ARG_ENABLE(locales-fix, AC_HELP_STRING([--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. ])
- fi])
-
-AC_ARG_WITH(exec-shell, AC_HELP_STRING([--with-exec-shell=SHELL], [Specify alternate shell (ONLY if /bin/sh is broken)]),
- [if test $withval != yes; then
- AC_DEFINE_UNQUOTED(EXECSHELL, "$withval",
- [program to use for shell commands])
- else
- AC_DEFINE_UNQUOTED(EXECSHELL, "/bin/sh")
- fi],
- [AC_DEFINE_UNQUOTED(EXECSHELL, "/bin/sh")])
-