From: Michael Wallner Date: Wed, 19 Jul 2017 10:26:08 +0000 (+0200) Subject: configure: add stdarg X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=commitdiff_plain;h=530e80373e55b03f7a68b7d286e408865dfeffd2;ds=sidebyside configure: add stdarg --- diff --git a/config.m4 b/config.m4 index 63458ad..f25cc06 100644 --- a/config.m4 +++ b/config.m4 @@ -25,6 +25,7 @@ m4_foreach(incfile, [ [posix/stdio.m4], [posix/stdint.m4], [posix/stdlib.m4], + [posix/stdarg.m4], [posix/sys_select.m4], [posix/sys_socket.m4], [posix/sys_stat.m4], @@ -129,6 +130,7 @@ if test "$PHP_PSI" != no; then PSI_CONFIG_POSIX(stdio, stdio.h) PSI_CONFIG_POSIX(stdlib, stdlib.h) PSI_CONFIG_POSIX(unistd, unistd.h) + PSI_CONFIG_POSIX(stdarg, stdarg.h) PSI_CONFIG_POSIX(sys/socket, sys/socket.h, [ PSI_CONFIG_POSIX(netinet/in, netinet/in.h, [ PSI_CONFIG_POSIX(arpa/inet, arpa/inet.h) diff --git a/m4/posix/stdarg.m4 b/m4/posix/stdarg.m4 new file mode 100644 index 0000000..8b5f703 --- /dev/null +++ b/m4/posix/stdarg.m4 @@ -0,0 +1,4 @@ +PSI_CHECK_STDARG() { + PSI_OPAQUE_TYPE(va_list) + PSI_OPAQUE_TYPE(__builtin_va_list) +} \ No newline at end of file