Treat k*bsd*-gnu like Linux, not BSD.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 15 Feb 2008 20:23:54 +0000 (20:23 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 15 Feb 2008 20:23:54 +0000 (20:23 +0000)
Fixes compilation problems on Debian GNU/kFreeBSD.

configure
configure.in

index 8083d652882ebb68ab24d98aaca155f8d1fc424f..313e95e5f46cbf2d8cec10de5f5414d9880c4d81 100755 (executable)
--- 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"
index 50428f785a1371cc2d970f9921064b759c04a757..8739519e29adc9059f244bff3b007110be31002f 100644 (file)
@@ -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"