diff options
author | Parménides GV <parmegv@sdf.org> | 2014-04-09 17:07:48 +0200 |
---|---|---|
committer | Parménides GV <parmegv@sdf.org> | 2014-04-09 17:15:17 +0200 |
commit | 51ff5a18f1f074e27e97d822745551a7e8fa068d (patch) | |
tree | 402e7dd42778a218635bb29a4c2dff93ea7f6525 /openvpn/m4/ax_varargs.m4 | |
parent | 910b0e1746ab3f63e63808b198ad51fec5b635e5 (diff) | |
parent | b5ba0abc1610dd4bf573ebcabc5e8f6ab0c9528f (diff) |
Merge branch 'feature/implement-gradle-build-system-#4676' into develop
Diffstat (limited to 'openvpn/m4/ax_varargs.m4')
-rw-r--r-- | openvpn/m4/ax_varargs.m4 | 77 |
1 files changed, 0 insertions, 77 deletions
diff --git a/openvpn/m4/ax_varargs.m4 b/openvpn/m4/ax_varargs.m4 deleted file mode 100644 index c295d21f..00000000 --- a/openvpn/m4/ax_varargs.m4 +++ /dev/null @@ -1,77 +0,0 @@ -dnl @synopsis AX_CPP_VARARG_MACRO_GCC -dnl -dnl Test if the preprocessor understands GNU GCC-style vararg macros. -dnl If it does, defines HAVE_CPP_VARARG_MACRO_GCC to 1. -dnl -dnl @version -dnl @author James Yonan <jim@yonan.net>, Matthias Andree <matthias.andree@web.de> -AC_DEFUN([AX_CPP_VARARG_MACRO_GCC], [dnl - AS_VAR_PUSHDEF([VAR], [ax_cv_cpp_vararg_macro_gcc])dnl - AC_CACHE_CHECK( - [for GNU GCC vararg macro support], - [VAR], - [AC_COMPILE_IFELSE( - [AC_LANG_PROGRAM( - [[ -#define macro(a, b...) func(a, b) -int func(int a, int b, int c); - ]], - [[ -int i = macro(1, 2, 3); - ]] - )], - [VAR=yes], - [VAR=no] - )] - )dnl - - AS_VAR_IF( - [VAR], - [yes], - [AC_DEFINE( - [HAVE_CPP_VARARG_MACRO_GCC], - [1], - [Define to 1 if your compiler supports GNU GCC-style variadic macros] - )] - )dnl - AS_VAR_POPDEF([VAR])dnl -]) - -dnl @synopsis AX_CPP_VARARG_MACRO_ISO -dnl -dnl Test if the preprocessor understands ISO C 1999 vararg macros. -dnl If it does, defines HAVE_CPP_VARARG_MACRO_ISO to 1. -dnl -dnl @version -dnl @author James Yonan <jim@yonan.net>, Matthias Andree <matthias.andree@web.de> -AC_DEFUN([AX_CPP_VARARG_MACRO_ISO], [dnl - AS_VAR_PUSHDEF([VAR],[ax_cv_cpp_vararg_macro_iso])dnl - AC_CACHE_CHECK( - [for ISO C 1999 vararg macro support], - [VAR], - [AC_COMPILE_IFELSE( - [AC_LANG_PROGRAM( - [[ -#define macro(a, ...) func(a, __VA_ARGS__) -int func(int a, int b, int c); - ]], - [[ -int i = macro(1, 2, 3); - ]] - )], - [VAR=yes], - [VAR=no] - )] - )dnl - - AS_VAR_IF( - [VAR], - [yes], - [AC_DEFINE( - [HAVE_CPP_VARARG_MACRO_ISO], - [1], - [Define to 1 if your compiler supports ISO C99 variadic macros] - )] - )dnl - AS_VAR_POPDEF([VAR])dnl -]) |