summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorJulien Cristau <jcristau@debian.org>2008-05-11 00:32:05 +0200
committerJuliusz Chroboczek <jch@pps.jussieu.fr>2008-05-11 00:32:05 +0200
commite583311c8a73a675fc3396fe24cdafcad53e60e5 (patch)
tree62f71c9a3ed33bc0b53e89f2864217b52974e6de /configure.ac
parent8e36cc8647b27a4d14cf3f63045410db79fb98a3 (diff)
Use autoconf test instead of #ifdef GLIBC for vasprintf.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 73f646c..ac6c645 100644
--- a/configure.ac
+++ b/configure.ac
@@ -32,6 +32,7 @@ AC_PROG_CC
AC_PROG_INSTALL
AC_CHECK_FUNC(setenv, have_setenv=yes, have_setenv=no)
+AC_CHECK_FUNCS([vasprintf])
AM_CONDITIONAL(NEED_SETENV, [test x$have_setenv = xno])