Skip to contentSkip to conversation

stable-2.02 - configure: check for pselect

PATCH Zdenek Kabelac 1 participant 1 message Apr 10, 2019

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=63289b54c787fbc4f254b1d1144e147a12402d4f
Commit:        63289b54c787fbc4f254b1d1144e147a12402d4f
Parent:        0a726a7e268b31856615491809af73bda5d4d6f9
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Wed Apr 10 13:22:43 2019 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Wed Apr 10 13:24:41 2019 +0200

configure: check for pselect

---
 configure              |    2 +-
 configure.ac           |    2 +-
 include/configure.h.in |    3 +++
 3 files changed, 5 insertions(+), 2 deletions(-)
configure +1 -1
index 908dc7c..4d2fb2f 100755
@@ -6672,7 +6672,7 @@ fi
 
 ################################################################################
 for ac_func in ftruncate gethostname getpagesize gettimeofday localtime_r \
-  memchr memset mkdir mkfifo munmap nl_langinfo realpath rmdir setenv \
+  memchr memset mkdir mkfifo munmap nl_langinfo pselect realpath rmdir setenv \
   setlocale strcasecmp strchr strcspn strdup strerror strncasecmp strndup \
   strrchr strspn strstr strtol strtoul uname
 do :
configure.ac +1 -1
index b9691ea..379d37f 100644
@@ -146,7 +146,7 @@ AX_GCC_BUILTIN([__builtin_clz])
 ################################################################################
 dnl -- Check for functions
 AC_CHECK_FUNCS([ftruncate gethostname getpagesize gettimeofday localtime_r \
-  memchr memset mkdir mkfifo munmap nl_langinfo realpath rmdir setenv \
+  memchr memset mkdir mkfifo munmap nl_langinfo pselect realpath rmdir setenv \
   setlocale strcasecmp strchr strcspn strdup strerror strncasecmp strndup \
   strrchr strspn strstr strtol strtoul uname], , [AC_MSG_ERROR(bailing out)])
 AC_FUNC_ALLOCA
include/configure.h.in +3 -0
index 15fd150..812cacc 100644
@@ -340,6 +340,9 @@
 /* Define to 1 if you have the <paths.h> header file. */
 #undef HAVE_PATHS_H
 
+/* Define to 1 if you have the `pselect' function. */
+#undef HAVE_PSELECT
+
 /* Define to 1 if you have the <pthread.h> header file. */
 #undef HAVE_PTHREAD_H