mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-14 04:12:25 +01:00
13 lines
433 B
Diff
13 lines
433 B
Diff
--- ./configure.ac.orig
|
|
+++ ./configure.ac
|
|
@@ -529,7 +529,8 @@
|
|
c = NULL;
|
|
])],[AC_DEFINE([HAVE_ASPRINTF],[1],[Define to 1 if you have asprintf function])],[AC_LIBOBJ([asprintf])])
|
|
AC_LINK_IFELSE([
|
|
- AC_LANG_PROGRAM([#include <stdio.h>], [
|
|
+ AC_LANG_PROGRAM([#include <stdio.h>
|
|
+ #include <stdarg.h>], [
|
|
char *c;
|
|
va_list ap;
|
|
if (vasprintf(&c, "%s %d", ap) == -1)
|