make configuration script slightly better.
[apps/madmutt.git] / lib-lib / lib-lib.h
index 90cea2f..706a246 100644 (file)
@@ -20,7 +20,7 @@
 #ifndef MUTT_LIB_LIB_LIB_LIB_H
 #define MUTT_LIB_LIB_LIB_LIB_H
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include "../config.h"
 #endif
 
@@ -78,7 +78,7 @@
 #  undef _
 #endif
 
-#ifdef ENABLE_NLS
+#ifdef HAVE_LIBIDN
 #  include <libintl.h>
 #define _(a)       (gettext(a))
 #  ifdef gettext_noop
 
 /* }}} */
 
-#include "mem.h"
+typedef union __attribute__((transparent_union)) anytype {
+    void  *ptr;
+    long  li;
+    int   i;
+    short si;
+} anytype;
 
+#include "mem.h"
 #include "str.h"
+#include "utf8.h"
+
+#include "array.h"
 #include "buffer.h"
 #include "date.h"
 #include "file.h"
 #include "hash.h"
 #include "list.h"
+#include "md5.h"
 #include "mapping.h"
 #include "rx.h"
 #include "url.h"