Rocco Rutte:
[apps/madmutt.git] / config.h.in
index e4802a0..98085ca 100644 (file)
@@ -88,6 +88,9 @@
 /* Define to 1 if you have the `fgets_unlocked' function. */
 #undef HAVE_FGETS_UNLOCKED
 
+/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
+#undef HAVE_FSEEKO
+
 /* Define to 1 if you have the `ftruncate' function. */
 #undef HAVE_FTRUNCATE
 
 /* Define to 1 if you have the `nsl' library (-lnsl). */
 #undef HAVE_LIBNSL
 
-/* Define to 1 if you have the `sasl' library (-lsasl). */
-#undef HAVE_LIBSASL
-
 /* Define to 1 if you have the `sasl2' library (-lsasl2). */
 #undef HAVE_LIBSASL2
 
 /* Define to 1 if you have the <ncurses.h> header file. */
 #undef HAVE_NCURSES_H
 
+/* Define to 1 if you have the <ncurses/ncurses.h> header file. */
+#undef HAVE_NCURSES_NCURSES_H
+
 /* Define to 1 if you have the <nl_types.h> header file. */
 #undef HAVE_NL_TYPES_H
 
 /* The size of a `long long', as computed by sizeof. */
 #undef SIZEOF_LONG_LONG
 
+/* The size of a `off_t', as computed by sizeof. */
+#undef SIZEOF_OFF_T
+
 /* The size of a `short', as computed by sizeof. */
 #undef SIZEOF_SHORT
 
 /* Define if you want support for the POP3 protocol. */
 #undef USE_POP
 
-/* Define if want to use the Cyrus SASL library for POP/IMAP authentication.
-   */
-#undef USE_SASL
-
 /* Define if want to use version 2 of the Cyrus SASL library. */
-#undef USE_SASL2
+#undef USE_SASL
 
 /* Define if mutt should run setgid "mail". */
 #undef USE_SETGID
@@ -582,6 +584,9 @@ typedef unsigned long long uint64_t;
 /* Number of bits in a file offset, on hosts where this is settable. */
 #undef _FILE_OFFSET_BITS
 
+/* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */
+#undef _LARGEFILE_SOURCE
+
 /* Define for large files, on AIX-style hosts. */
 #undef _LARGE_FILES
 
@@ -620,3 +625,19 @@ typedef unsigned long long uint64_t;
 
 /* Define to 'int' if system headers don't define. */
 #undef wint_t
+
+/* fseeko portability defines */
+#ifdef HAVE_FSEEKO
+# define LOFF_T off_t
+# if SIZEOF_OFF_T == 8
+# define OFF_T_FMT "%lld"
+# else
+# define OFF_T_FMT "%ld"
+# endif
+#else
+# define LOFF_T long
+# define fseeko fseek
+# define ftello ftell
+# define OFF_T_FMT "%ld"
+#endif
+