From: Todd C. Miller Date: Fri, 15 Feb 2008 20:23:54 +0000 (+0000) Subject: Treat k*bsd*-gnu like Linux, not BSD. X-Git-Tag: SUDO_1_7_0~192 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=506285209dcf74d9ac10f679bd6993f12343f395;p=sudo Treat k*bsd*-gnu like Linux, not BSD. Fixes compilation problems on Debian GNU/kFreeBSD. --- diff --git a/configure b/configure index 8083d6528..313e95e5f 100755 --- a/configure +++ b/configure @@ -11809,7 +11809,7 @@ fi : ${mansectsu='1m'} : ${mansectform='4'} ;; - *-*-linux*) + *-*-linux*|*-*-k*bsd*-gnu) OSDEFS="${OSDEFS} -D_GNU_SOURCE" # Some Linux versions need to link with -lshadow shadow_funcs="getspnam" diff --git a/configure.in b/configure.in index 50428f785..8739519e2 100644 --- a/configure.in +++ b/configure.in @@ -1431,7 +1431,7 @@ case "$host" in : ${mansectsu='1m'} : ${mansectform='4'} ;; - *-*-linux*) + *-*-linux*|*-*-k*bsd*-gnu) OSDEFS="${OSDEFS} -D_GNU_SOURCE" # Some Linux versions need to link with -lshadow shadow_funcs="getspnam"