summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorJulien Cristau <jcristau@debian.org>2008-05-11 00:45:51 +0200
committerJuliusz Chroboczek <jch@pps.jussieu.fr>2008-05-11 00:45:51 +0200
commita0d110f283e387e9c594d422c5c75cb593def91e (patch)
tree9bb7ff7f674b2353597744560eb89d474701ec52 /configure.ac
parente583311c8a73a675fc3396fe24cdafcad53e60e5 (diff)
Add autoconf test for va_copy.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index ac6c645..5ac25a2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -33,6 +33,10 @@ AC_PROG_INSTALL
AC_CHECK_FUNC(setenv, have_setenv=yes, have_setenv=no)
AC_CHECK_FUNCS([vasprintf])
+AC_CHECK_DECLS([va_copy], [], [], [
+ AC_INCLUDES_DEFAULT
+ #include <stdarg.h>
+])
AM_CONDITIONAL(NEED_SETENV, [test x$have_setenv = xno])