From 05e33f97be0f37352a4f2ff58b370a965b16b3ae Mon Sep 17 00:00:00 2001
From: Mark Grondona <mgrondona@llnl.gov>
Date: Sat, 13 Apr 2002 00:42:50 +0000
Subject: [PATCH] added AC_FUNC_MALLOC and AC_FUNC_STERROR_R to function checks

---
 configure.ac | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/configure.ac b/configure.ac
index a2da6de586f..8988641810f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,5 +1,6 @@
 # This file is to be processed with autoconf to generate a configure script
 
+# XXX generate PROJECT and VERSION automatically at some point
 AC_INIT([slurm], [0.1])
 # AC_PREREQ(2.50)
 AC_CONFIG_SRCDIR([src/common/slurm.h])
@@ -58,6 +59,8 @@ dnl Checks for structures.
 dnl Checks for compiler characteristics.
 
 dnl checks for library functions.
+AC_FUNC_MALLOC
+AC_FUNC_STRERROR_R
 AC_CHECK_FUNCS(strerror mtrace)
 AC_SEARCH_LIBS([pthread_create], [pthread c_r cr], [], 
                [AC_MSG_ERROR([Error: Cannot find the pthread library])])
-- 
GitLab