summaryrefslogtreecommitdiff
path: root/config-scripts/cups-compiler.m4
diff options
context:
space:
mode:
Diffstat (limited to 'config-scripts/cups-compiler.m4')
-rw-r--r--config-scripts/cups-compiler.m46
1 files changed, 6 insertions, 0 deletions
diff --git a/config-scripts/cups-compiler.m4 b/config-scripts/cups-compiler.m4
index 004a0990c..51a5daa6f 100644
--- a/config-scripts/cups-compiler.m4
+++ b/config-scripts/cups-compiler.m4
@@ -529,6 +529,12 @@ case $uname in
OPTIM="$OPTIM -D_HPUX_SOURCE"
;;
+ Linux*)
+ # glibc 2.8 and higher breaks peer credentials unless you
+ # define _GNU_SOURCE...
+ OPTIM="$OPTIM -D_GNU_SOURCE"
+ ;;
+
OSF*)
# Tru64 UNIX aka Digital UNIX aka OSF/1 need to be told
# to be POSIX-compliant...