summaryrefslogtreecommitdiff
path: root/gl/m4/stdarg.m4
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2019-01-05 12:02:12 +0000
committerColin Watson <cjwatson@debian.org>2019-01-05 12:02:12 +0000
commit182141146d0ad9c735949840504bdfc66332da4e (patch)
treed8cbbf520eb4b5c656a54b2e36947008dcb751ad /gl/m4/stdarg.m4
parent68d15a97e215a4b7927039421566bbb1f74e5460 (diff)
parent033354546dc61e8a996d281aa2da2c440ac95c9f (diff)
Import man-db_2.8.5.orig.tar.xz
Diffstat (limited to 'gl/m4/stdarg.m4')
-rw-r--r--gl/m4/stdarg.m424
1 files changed, 12 insertions, 12 deletions
diff --git a/gl/m4/stdarg.m4 b/gl/m4/stdarg.m4
index d6f05089..f43fe20b 100644
--- a/gl/m4/stdarg.m4
+++ b/gl/m4/stdarg.m4
@@ -1,5 +1,5 @@
-# stdarg.m4 serial 6
-dnl Copyright (C) 2006, 2008-2018 Free Software Foundation, Inc.
+# stdarg.m4 serial 7
+dnl Copyright (C) 2006, 2008-2019 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.
@@ -11,19 +11,19 @@ AC_DEFUN([gl_STDARG_H],
[
STDARG_H=''
NEXT_STDARG_H='<stdarg.h>'
- AC_MSG_CHECKING([for va_copy])
- AC_CACHE_VAL([gl_cv_func_va_copy], [
- AC_COMPILE_IFELSE(
- [AC_LANG_PROGRAM(
- [[#include <stdarg.h>]],
- [[
+ AC_CACHE_CHECK([for va_copy],
+ [gl_cv_func_va_copy],
+ [AC_COMPILE_IFELSE(
+ [AC_LANG_PROGRAM(
+ [[#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])
+ ]])],
+ [gl_cv_func_va_copy=yes],
+ [gl_cv_func_va_copy=no])
+ ])
if test $gl_cv_func_va_copy = no; then
dnl Provide a substitute.
dnl Usually a simple definition in <config.h> is enough. Not so on AIX 5