aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--desiredata/src/config.h.in4
-rw-r--r--desiredata/src/configure.in4
2 files changed, 6 insertions, 2 deletions
diff --git a/desiredata/src/config.h.in b/desiredata/src/config.h.in
index cf88ef4a..33d56bc3 100644
--- a/desiredata/src/config.h.in
+++ b/desiredata/src/config.h.in
@@ -1,5 +1,5 @@
#undef HAVE_ALLOCA
-
#undef HAVE_ALLOCA_H
-
+#undef HAVE_ASPRINTF
+#undef HAVE_VASPRINTF
diff --git a/desiredata/src/configure.in b/desiredata/src/configure.in
index 5528ba53..4e1117bc 100644
--- a/desiredata/src/configure.in
+++ b/desiredata/src/configure.in
@@ -57,6 +57,10 @@ AC_FUNC_VPRINTF
AC_CHECK_FUNCS(gettimeofday select socket strerror)
AC_FUNC_ALLOCA
+dnl added for win32 (for patko)
+AC_CHECK_FUNCS(asprintf)
+AC_CHECK_FUNCS(vasprintf)
+
# audio APIs may accumulate, but there must be only one MIDI API (??)
AUDIOSRC=""
MIDISRC="s_midi_none.c"