summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfigure5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure b/configure
index d78b791c..54df20e2 100755
--- a/configure
+++ b/configure
@@ -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