From: Cyril Hrubis <[email protected]>

Added an m4 macro checking for mkdtemp()

Signed-off-by: Cyril Hrubis <[email protected]>
Signed-off-by: Marios Makris <[email protected]>
---
 configure.ac      |    1 +
 m4/ltp-mkdtemp.m4 |    2 ++
 2 files changed, 3 insertions(+)
 create mode 100644 m4/ltp-mkdtemp.m4

diff --git a/configure.ac b/configure.ac
index 1696df0..f217f50 100644
--- a/configure.ac
+++ b/configure.ac
@@ -145,6 +145,7 @@ fi
 
 # END testsuites knobs
 
+LTP_CHECK_MKDTEMP
 LTP_CHECK_CAPABILITY_SUPPORT
 LTP_CHECK_CRYPTO
 LTP_CHECK_LINUX_PTRACE
diff --git a/m4/ltp-mkdtemp.m4 b/m4/ltp-mkdtemp.m4
new file mode 100644
index 0000000..94a6d49
--- /dev/null
+++ b/m4/ltp-mkdtemp.m4
@@ -0,0 +1,2 @@
+AC_DEFUN([LTP_CHECK_MKDTEMP],[
+AC_CHECK_FUNCS(mkdtemp,[],AC_MSG_ERROR(mkdtemp() not found!))])
-- 
1.7.9.5


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to