Version bumped to 1.4.1.
[mdsms.git] / acconfig.h
index fe6b142..a2cd01e 100644 (file)
 /* vsnprintf(3) unsafe emulation */
 #undef HAVE_VSNPRINTF
 
-/* printf family accepts %m */
-#undef PRINTF_WORKS_PM
-
 /* found lockfile directory */
 #undef DEF_LOCKFILE
 
 /* how to declare __atribute__ ((__unused__)) */
 #undef ATTR_UNUSED
 
+/* whether they have __atttribute__ ((format(printf,...))) */
+#undef HAVE_PRINTFORMAT
+#ifdef HAVE_PRINTFORMAT
+#define ATTR_PRINTFORMAT(a,b) __attribute__ ((format(printf,(a),(b))))
+#else
+#define ATTR_PRINTFORMAT(a,b)
+#endif
+
 @BOTTOM@
 
 #ifndef DONT_NEED_DECLARATIONS