diff options
| author | tjg <tjg> | 1999-08-19 09:29:59 +0000 |
|---|---|---|
| committer | Toby Goodwin <toby@paccrat.org> | 2015-05-16 21:23:16 +0100 |
| commit | e9fc7b5a7c12eeb3bffbb170d7ff8a6649f93980 (patch) | |
| tree | dea152164aad913ce96dad2e3416af9664e38b1c /acinclude.m4 | |
| parent | da4790fcdc1b9328f201c54827d97cb3c9393fa1 (diff) | |
Portability: the proposed C 9x __va_copy() macro is called that, not
va_copy(), as I thought. Furthermore, it is defined to be a macro, so
we don't need to use autoconf to check for it.
Diffstat (limited to 'acinclude.m4')
| -rw-r--r-- | acinclude.m4 | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index 32fa6f2..697b326 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -14,20 +14,6 @@ int main(void) { ]) -dnl Check for va_copy() in <stdarg.h>. This is new in C 9x. -AC_DEFUN(RC_HAVE_VA_COPY, [ - AC_CACHE_CHECK(for va_copy(), rc_cv_have_va_copy, AC_EGREP_CPP(yes, [ -#include <stdarg.h> -#ifdef va_copy -yes -#endif -], rc_cv_have_va_copy=yes, rc_cv_have_va_copy=no)) - case "$rc_cv_have_va_copy" in - yes) AC_DEFINE(HAVE_VA_COPY) ;; - esac -]) - - dnl We can't use AC_CHECK_FUNCS for sigsetjmp(), since it's a macro in dnl some places. AC_DEFUN(RC_FUNC_SIGSETJMP, [ |