remove the va_copy tests in configure.ac, it's not used in the code anywhere

This commit is contained in:
Jordan Lee 2012-09-22 22:18:49 +00:00
parent 7825c3a743
commit 40dbb54315
1 changed files with 0 additions and 17 deletions

View File

@ -177,23 +177,6 @@ AC_CHECK_HEADERS([sys/statvfs.h \
xfs/xfs.h])
dnl ----------------------------------------------------------------------------
dnl
dnl va_copy
AC_MSG_CHECKING([how to copy va_list])
AC_TRY_LINK([#include <stdarg.h>], [va_list ap1, ap2; va_copy(ap1, ap2);],
AC_MSG_RESULT([va_copy]),
[ AH_TEMPLATE([va_copy], [define if va_copy is not available])
AC_TRY_LINK([#include <stdarg.h>], [va_list ap1, ap2; __va_copy(ap1, ap2);],
[ AC_DEFINE([va_copy], [__va_copy])
AC_MSG_RESULT([__va_copy])],
[ AC_DEFINE([va_copy(dest,src)], [memcpy(&dest,&src,sizeof(va_list))])
AC_MSG_RESULT([memcpy])]
)
])
dnl ----------------------------------------------------------------------------
dnl
dnl dht