+
+/* vsnprintf(3) unsafe emulation */
+#undef HAVE_VSNPRINTF
+
+/* 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@
+
+#ifdef WANT_DECLARATIONS
+
+/* Declaration for gethostname(3)? */
+#undef NEED_DECLARATION_GETHOSTNAME
+#ifdef NEED_DECLARATION_GETHOSTNAME
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+int gethostname(char *name, size_t len);
+#endif
+
+/* Declaration for kill(2)? */
+#undef NEED_DECLARATION_KILL
+#ifdef NEED_DECLARATION_KILL
+#ifdef HAVE_SYS_TYPES_H
+#include <sys/types.h>
+#endif
+#ifdef HAVE_SIGNAL_H
+#include <signal.h>
+#endif
+int kill(pid_t pid, int sig);
+#endif
+
+/* Declaration for snprintf(3)? */
+#undef NEED_DECLARATION_SNPRINTF
+#ifdef NEED_DECLARATION_SNPRINTF
+#ifdef HAVE_STDIO_H
+#include <stdio.h>
+#endif
+int snprintf(char *str, size_t n, const char *format, ...);
+#endif
+
+/* Declaration for vsnprintf(3)? */
+#undef NEED_DECLARATION_VSNPRINTF
+#ifdef NEED_DECLARATION_VSNPRINTF
+#ifdef HAVE_STDIO_H
+#include <stdio.h>
+#endif
+#ifdef HAVE_STDARG_H
+#include <stdarg.h>
+#endif
+int vsnprintf(char *str, size_t n, const char *format, va_list ap);
+#endif
+
+/* Declaration for strdup(3)? */
+#undef NEED_DECLARATION_STRDUP
+#ifdef NEED_DECLARATION_STRDUP
+#ifdef HAVE_STRING_H
+#include <string.h>
+#endif
+char *strdup(const char *s);
+#endif
+
+/* Declaration for usleep(3)? */
+#undef NEED_DECLARATION_USLEEP
+#ifdef NEED_DECLARATION_USLEEP
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+void usleep(unsigned long usec);
+#endif
+
+/* Declaration for strcasecmp(3)? */
+#undef NEED_DECLARATION_STRCASECMP
+#ifdef NEED_DECLARATION_STRCASECMP
+#ifdef HAVE_STRING_H
+#include <string.h>
+#endif
+int strcasecmp(const char *s1, const char *s2);
+#endif
+
+/* Declaration for siginterrupt(3)? */
+#undef NEED_DECLARATION_SIGINTERRUPT
+#ifdef NEED_DECLARATION_SIGINTERRUPT
+#ifdef HAVE_SIGNAL_H
+#include <signal.h>
+#endif
+int siginterrupt(int sig, int flag);
+#endif
+
+/* Declaration for popen(3)? */
+#undef NEED_DECLARATION_POPEN
+#ifdef NEED_DECLARATION_POPEN
+#ifdef HAVE_STDIO_H
+#include <stdio.h>
+#endif
+FILE *popen(const char *command, const char *type);
+#endif
+
+/* Declaration for pclose(3)? */
+#undef NEED_DECLARATION_PCLOSE
+#ifdef NEED_DECLARATION_PCLOSE
+#ifdef HAVE_STDIO_H
+#include <stdio.h>
+#endif
+int pclose(FILE *stream);
+#endif
+
+/* Declaration for gettext(3)? */
+#undef NEED_DECLARATION_GETTEXT
+#ifdef NEED_DECLARATION_GETTEXT
+#ifdef HAVE_LIBINTL_H
+#include <libintl.h>
+#endif
+extern const char *gettext(const char *msgid);
+#endif
+
+#endif /* WANT_DECLARATIONS */
+
+/* snprintf(3) unsafe emulation */