about summary refs log tree commit diff
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2021-12-13 20:44:59 +0100
committerOliver Kiddle <opk@zsh.org>2021-12-13 20:44:59 +0100
commit6de4bcfcd5b47bec5a8acbdd5a4514ea06c8ea90 (patch)
treedb9dd3cd354db26d0a2ac4c1ebd4fb2af0f0c1b5
parente2ad321c884534d654dc69aa04f70c65a157cf03 (diff)
downloadzsh-6de4bcfcd5b47bec5a8acbdd5a4514ea06c8ea90.tar.gz
zsh-6de4bcfcd5b47bec5a8acbdd5a4514ea06c8ea90.tar.xz
zsh-6de4bcfcd5b47bec5a8acbdd5a4514ea06c8ea90.zip
49634, reported by Claes Nästén: revert 28989
Defining _POSIX_C_SOURCE caused issues on Solaris 10 but doesn't seem
to be needed for musl anymore
-rw-r--r--ChangeLog6
-rw-r--r--configure.ac3
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index bb24842f4..690580050 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2021-12-13  Oliver Kiddle  <opk@zsh.org>
+
+	* 49634, reported by Claes Nästén: configure.ac: revert 28989,
+	defining _POSIX_C_SOURCE caused issues on Solaris 10 but
+	doesn't seem to be needed for musl anymore
+
 2021-12-07  Oliver Kiddle  <opk@zsh.org>
 
 	* 49633: Completion/Unix/Command/_git: update options for git 2.34
diff --git a/configure.ac b/configure.ac
index 1af5a2854..8bba78c56 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1135,8 +1135,7 @@ dnl Check for sigset_t.  Currently I'm looking in
 dnl <sys/types.h> and <signal.h>.  Others might need
 dnl to be added.
 AC_CACHE_CHECK(for sigset_t, zsh_cv_type_sigset_t,
-[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#define _POSIX_C_SOURCE 200809L
-#include <sys/types.h>
+[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/types.h>
 #include <signal.h>]], [[sigset_t tempsigset;]])],[zsh_cv_type_sigset_t=yes],[zsh_cv_type_sigset_t=no])])
 AH_TEMPLATE([sigset_t],
 [Define to `unsigned int' if <sys/types.h> or <signal.h> doesn't define])