summaryrefslogtreecommitdiff
path: root/m4/stdarg.m4
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2006-08-21 07:26:38 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2006-08-21 07:26:38 +0000
commit0f7a044109b860443ecaa4f8a37652b1b4423057 (patch)
treeb5834ed9867213221a2636e0fa7e8da178749a76 /m4/stdarg.m4
parent11fd62b0080ce376b26241bd789b7e7390befef6 (diff)
downloadcoreutils-0f7a044109b860443ecaa4f8a37652b1b4423057.tar.xz
Remove from CVS, since the bootstrap script generates them automatically.
Diffstat (limited to 'm4/stdarg.m4')
-rw-r--r--m4/stdarg.m440
1 files changed, 0 insertions, 40 deletions
diff --git a/m4/stdarg.m4 b/m4/stdarg.m4
deleted file mode 100644
index e8e680a5c..000000000
--- a/m4/stdarg.m4
+++ /dev/null
@@ -1,40 +0,0 @@
-# stdarg.m4 serial 1
-dnl Copyright (C) 2006 Free Software Foundation, Inc.
-dnl This file is free software; the Free Software Foundation
-dnl gives unlimited permission to copy and/or distribute it,
-dnl with or without modifications, as long as this notice is preserved.
-
-dnl From Bruno Haible.
-dnl Provide a working va_copy in combination with <stdarg.h>.
-
-AC_DEFUN([gl_STDARG_H],
-[
- AC_MSG_CHECKING([for va_copy])
- AC_CACHE_VAL([gl_cv_func_va_copy], [
- AC_TRY_COMPILE([#include <stdarg.h>], [
-#ifndef va_copy
-void (*func) (va_list, va_list) = va_copy;
-#endif
-],
- [gl_cv_func_va_copy=yes], [gl_cv_func_va_copy=no])])
- AC_MSG_RESULT([$gl_cv_func_va_copy])
- if test $gl_cv_func_va_copy = no; then
- # Provide a substitute, either __va_copy or as a simple assignment.
- AC_CACHE_VAL([gl_cv_func___va_copy], [
- AC_TRY_COMPILE([#include <stdarg.h>], [
-#ifndef __va_copy
-error, bail out
-#endif
-],
- [gl_cv_func___va_copy=yes], [gl_cv_func___va_copy=no])])
- if test $gl_cv_func___va_copy = yes; then
- AC_DEFINE([va_copy], [__va_copy],
- [Define as a macro for copying va_list variables.])
- else
- AH_VERBATIM([gl_VA_COPY], [/* A replacement for va_copy, if needed. */
-#define gl_va_copy(a,b) ((a) = (b))])
- AC_DEFINE([va_copy], [gl_va_copy],
- [Define as a macro for copying va_list variables.])
- fi
- fi
-])