[sys_types.m4],
[sys_uio.m4],
[sys_utsname.m4],
+ [syslog.m4],
[time.m4],
[wchar.m4]], [
dnl pecl build
PSI_CHECK_SYS_STAT
PSI_CHECK_SYS_UIO
PSI_CHECK_SYS_UTSNAME
+ PSI_CHECK_SYSLOG
PSI_CHECK_WCHAR
PHP_SUBST(PSI_SHARED_LIBADD)
AC_DEFINE_UNQUOTED([PSI_REDIRS], [$PSI_REDIRS], [Redirected functions])
AC_DEFINE_UNQUOTED([PSI_DECLS], [$PSI_DECLS], [Predefined functions])
AC_DEFINE_UNQUOTED([PSI_VA_DECLS], [$PSI_VA_DECLS], [Predefined vararg functions])
-
+
PHP_ADD_INCLUDE($PHP_PSI_SRCDIR/src)
PHP_ADD_BUILD_DIR($PHP_PSI_BUILDDIR/src)
PSI_DECL(FILE *tmpfile, [(void)])
PSI_DECL(char *tmpnam, [(char *s)])
PSI_DECL(int ungetc, [(int c, FILE *stream)])
-
- PSI_DECL(int dprintf, [(int fd, char *fmt)], vararg)
- PSI_DECL(int fprintf, [(FILE *stream, char *fmt)], vararg)
- PSI_DECL(int fscanf, [(FILE *stream, char *fmt)], vararg)
- PSI_DECL(int printf, [(char *fmt)], vararg)
- PSI_DECL(int scanf, [(char *fmt)], vararg)
- PSI_DECL(int snprintf, [(char *str, size_t size, char *fmt)], vararg)
- PSI_DECL(int sprintf, [(char *str, char *fmt)], vararg)
- PSI_DECL(int sscanf, [(char *str, char *fmt)], vararg)
+
+ PSI_DECL(int dprintf, [(int fd, char *format)], vararg)
+ PSI_DECL(int fprintf, [(FILE *stream, char *format)], vararg)
+ PSI_DECL(int fscanf, [(FILE *stream, char *format)], vararg)
+ PSI_DECL(int printf, [(char *format)], vararg)
+ PSI_DECL(int scanf, [(char *format)], vararg)
+ PSI_DECL(int snprintf, [(char *str, size_t size, char *format)], vararg)
+ PSI_DECL(int sprintf, [(char *str, char *format)], vararg)
+ PSI_DECL(int sscanf, [(char *str, char *format)], vararg)
])
AC_DEFUN(PSI_CHECK_WCHAR, [
AC_CHECK_HEADERS(wchar.h)
-
+
PSI_TYPE(wint_t, int)
-
+
PSI_CONST(WINT_MIN, int)
PSI_CONST(WINT_MAX, int)
PSI_CONST(WEOF, int)
+
+ PSI_DECL(int wprintf, [(wchar_t *format)], vararg)
+ PSI_DECL(int fwprintf, [(FILE *stream, wchar_t *format)], vararg)
+ PSI_DECL(int swprintf, [(wchar_t *wcs, size_t maxlen, wchar_t *format)], vararg)
])