aboutsummaryrefslogtreecommitdiff
path: root/desiredata
diff options
context:
space:
mode:
authorN.N. <matju@users.sourceforge.net>2009-04-27 19:28:20 +0000
committerN.N. <matju@users.sourceforge.net>2009-04-27 19:28:20 +0000
commita3fc6c3cb37ba315e3cf509295f783bcfdc6a3e5 (patch)
tree11984bb1099ce39b2e08145e548e98e4c28fb664 /desiredata
parent0197697ebdc0bd6a6b1eede8fce2d16b2fdf943b (diff)
produce HAVE_ASPRINTF and HAVE_VASPRINTF if applicable
svn path=/trunk/; revision=11172
Diffstat (limited to 'desiredata')
-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"