* config.h.in: ditto.
* src/lha.h: ditto.
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@287
6a8cc165-1e22-0410-a132-
eb4e3f353aba
/* Define to 1 if you have the <vfork.h> header file. */
#undef HAVE_VFORK_H
+/* Define to 1 if you have the `vsnprintf' function. */
+#undef HAVE_VSNPRINTF
+
/* Define to 1 if `fork' works. */
#undef HAVE_WORKING_FORK
AC_CHECK_FUNCS(mktime timelocal tzset ftime gettimeofday utime)
AC_CHECK_FUNCS(mkdir rmdir ftruncate lchown mkstemp link)
AC_CHECK_FUNCS(getpwuid getgrgid getpwnam getgrnam)
+AC_REPLACE_FUNCS(vsnprintf)
if test $ac_header_dirent = no; then
AC_LIBOBJ(lhdir)
char *xmemchr(const char *s, int c, size_t n);
char *xmemrchr(const char *s, int c, size_t n);
+/* from vsnprintf.c */
+#if !HAVE_VSNPRINTF
+int vsnprintf(char *str, size_t n, const char *fmt, va_list ap);
+int snprintf(char *str, size_t n, char const *fmt, ...);
+#endif
+
/* Local Variables: */
/* mode:c */
/* tab-width:4 */