Check for mallinfo in common AC_CHECK_FUNCS
authorAdam Dickmeiss <adam@indexdata.dk>
Wed, 18 May 2011 08:07:30 +0000 (10:07 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Wed, 18 May 2011 08:07:30 +0000 (10:07 +0200)
configure.ac

index 488bed8..42324bf 100644 (file)
@@ -40,9 +40,7 @@ if test "$checkBoth" = "1"; then
     AC_CHECK_FUNC([accept], , [LIBS=$oldLibs])
 fi
 AC_CHECK_FUNC([gethostbyname], ,[AC_CHECK_LIB(nsl, main, [LIBS="$LIBS -lnsl"])])
-AC_CHECK_FUNCS([getaddrinfo])
-
-AC_CHECK_FUNCS([mallinfo])
+AC_CHECK_FUNCS([getaddrinfo mallinfo])
 
 if test -d ${srcdir}/.git; then
        sha=`git show --pretty=format:%H|head -1`