mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
fix problems with the previous commit
This commit is contained in:
parent
5d42c18262
commit
401b01f196
@ -1098,7 +1098,7 @@ dnl we currently check for all three va_copy possibilities, so we get
|
||||
dnl all results in config.log for bug reports.
|
||||
AC_CACHE_CHECK([for an implementation of va_copy()],glib_cv_va_copy,[
|
||||
AC_LINK_IFELSE([#include <stdarg.h>
|
||||
#include <stdlib>
|
||||
#include <stdlib.h>
|
||||
void f (int i, ...) {
|
||||
va_list args1, args2;
|
||||
va_start (args1, i);
|
||||
@ -1116,7 +1116,7 @@ AC_CACHE_CHECK([for an implementation of va_copy()],glib_cv_va_copy,[
|
||||
])
|
||||
AC_CACHE_CHECK([for an implementation of __va_copy()],glib_cv___va_copy,[
|
||||
AC_LINK_IFELSE([#include <stdarg.h>
|
||||
#include <stdlib>
|
||||
#include <stdlib.h>
|
||||
void f (int i, ...) {
|
||||
va_list args1, args2;
|
||||
va_start (args1, i);
|
||||
@ -1146,7 +1146,7 @@ fi
|
||||
|
||||
AC_CACHE_CHECK([whether va_lists can be copied by value],glib_cv_va_val_copy,[
|
||||
AC_TRY_RUN([#include <stdarg.h>
|
||||
#include <stdlib>
|
||||
#include <stdlib.h>
|
||||
void f (int i, ...) {
|
||||
va_list args1, args2;
|
||||
va_start (args1, i);
|
||||
|
Loading…
Reference in New Issue
Block a user