summaryrefslogtreecommitdiff
path: root/m4/execute.m4
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2004-01-27 11:10:45 +0000
committerBruno Haible <bruno@clisp.org>2004-01-27 11:10:45 +0000
commit93d436c91edffd70086e32b26e1f570256b71a8a (patch)
treef0b6df6eee765d39166e18cac38ecf85ebfce901 /m4/execute.m4
parent4d4e391b706561722666ac671a5a8092f07ae998 (diff)
downloadgnulib-93d436c91edffd70086e32b26e1f570256b71a8a.tar.gz
New module 'execute'.
Diffstat (limited to 'm4/execute.m4')
-rw-r--r--m4/execute.m417
1 files changed, 17 insertions, 0 deletions
diff --git a/m4/execute.m4 b/m4/execute.m4
new file mode 100644
index 0000000000..ed0105488d
--- /dev/null
+++ b/m4/execute.m4
@@ -0,0 +1,17 @@
+# execute.m4 serial 1
+dnl Copyright (C) 2003 Free Software Foundation, Inc.
+dnl This file is free software, distributed under the terms of the GNU
+dnl General Public License. As a special exception to the GNU General
+dnl Public License, this file may be distributed as part of a program
+dnl that contains a configuration script generated by Autoconf, under
+dnl the same distribution terms as the rest of that program.
+
+AC_DEFUN([gl_EXECUTE],
+[
+ dnl Prerequisites of lib/execute.c.
+ AC_REQUIRE([AC_C_INLINE])
+ AC_REQUIRE([AC_TYPE_MODE_T])
+ AC_CHECK_HEADERS_ONCE(unistd.h)
+ AC_REQUIRE([AC_FUNC_FORK])
+ AC_CHECK_FUNCS(posix_spawn)
+])