diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2016-05-04 22:50:05 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2016-05-04 22:50:05 -0700 |
commit | 7de3d60457b9746b31781522be6ea9e0b1438a86 (patch) | |
tree | 83b41454a53471ace785cd3d7b0f4c611158ef2e /configure | |
parent | e66e1ad43be464b0d42c1700b51a28605881dd33 (diff) | |
download | txr-7de3d60457b9746b31781522be6ea9e0b1438a86.tar.gz txr-7de3d60457b9746b31781522be6ea9e0b1438a86.tar.bz2 txr-7de3d60457b9746b31781522be6ea9e0b1438a86.zip |
Reveal setgroups on Solaris.
* configure (lang_flags): The declaration of setgroups
requires the __EXTENSIONS__ macro. If the test fails, let's
repeat it with that macro and if it succeeds, add that to
lang_flags.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -2237,6 +2237,11 @@ if conftest ; then printf "yes\n" printf "#define HAVE_SETGROUPS 1\n" >> $config_h have_unistd=y +elif conftest EXTRA_FLAGS=-D__EXTENSIONS__=1 ; then + printf "yes\n" + printf "#define HAVE_SETGROUPS 1\n" >> $config_h + lang_flags="$lang_flags -D__EXTENSIONS__=1" # Solaris buggery + have_unistd=y else printf "no\n" fi |