]> git.ipfire.org Git - thirdparty/make.git/commitdiff
* configure.ac: Check for spawn.h and posix_spawn()
authorAron Barath <baratharon@caesar.elte.hu>
Thu, 5 Jul 2018 12:53:23 +0000 (14:53 +0200)
committerPaul Smith <psmith@gnu.org>
Fri, 3 Aug 2018 00:59:02 +0000 (20:59 -0400)
configure.ac

index 1d91c36e3e10d732dbe14bcefb1b2e8565ad6fcc..13507d46141a21e87c48494c02b731be2111a6ab 100644 (file)
@@ -75,7 +75,7 @@ AC_HEADER_STAT
 AC_HEADER_TIME
 AC_CHECK_HEADERS([stdlib.h locale.h unistd.h limits.h fcntl.h string.h \
                   memory.h sys/param.h sys/resource.h sys/time.h sys/timeb.h \
-                  sys/select.h sys/file.h])
+                  sys/select.h sys/file.h spawn.h])
 
 AM_PROG_CC_C_O
 AC_C_CONST
@@ -142,7 +142,7 @@ AC_CHECK_FUNCS([strdup strndup umask mkstemp mktemp fdopen \
                 dup dup2 getcwd realpath sigsetmask sigaction \
                 getgroups seteuid setegid setlinebuf setreuid setregid \
                 getrlimit setrlimit setvbuf pipe strerror strsignal \
-                lstat readlink atexit isatty ttyname pselect])
+                lstat readlink atexit isatty ttyname pselect posix_spawn])
 
 # We need to check declarations, not just existence, because on Tru64 this
 # function is not declared without special flags, which themselves cause