Printformats cleanup, ugly "%m" handling completely removed.
authorshort <>
Tue, 7 Sep 1999 15:32:07 +0000 (15:32 +0000)
committershort <>
Tue, 7 Sep 1999 15:32:07 +0000 (15:32 +0000)
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