Index: configure.ac =================================================================== RCS file: /cvs/xorg/xserver/xorg/configure.ac,v retrieving revision 1.192 diff -u -r1.192 configure.ac --- configure.ac 6 Apr 2006 18:59:10 -0000 1.192 +++ configure.ac 19 Apr 2006 15:04:43 -0000 @@ -243,7 +243,10 @@ dnl it would be nice to autodetect these *CONS_SUPPORTs case $host_os in *freebsd*) - AC_DEFINE(CSRG_BASED, 1, [System is BSD-like]) + case $host_os in + kfreebsd*-gnu) ;; + *) AC_DEFINE(CSRG_BASED, 1, [System is BSD-like]) ;; + esac AC_DEFINE(PCCONS_SUPPORT, 1, [System has PC console]) AC_DEFINE(PCVT_SUPPORT, 1, [System has PCVT console]) AC_DEFINE(SYSCONS_SUPPORT, 1, [System has syscons console]) @@ -1062,7 +1065,7 @@ ;; esac ;; - freebsd*) + freebsd* | kfreebsd*-gnu) XORG_OS="freebsd" XORG_OS_SUBDIR="bsd" XORG_OS_KBD="BSD" @@ -1160,7 +1163,7 @@ ;; powerpc*) case $host_os in - linux*|freebsd*|netbsd*|openbsd*) + linux*|freebsd*|netbsd*|openbsd*|kfreebsd*-gnu) ;; *) xorg_bus_ppcpci="yes" @@ -1173,7 +1176,7 @@ ;; x86_64*|amd64*) case $host_os in - freebsd*) + freebsd*|kfreebsd*-gnu) # FreeBSD uses the system pci interface ;; *) @@ -1512,7 +1515,7 @@ cygwin*) ;; solaris*) ;; darwin*) ;; - *bsd*) ;; + freebsd*|netbsd*|openbsd*) ;; *) AC_DEFINE(_POSIX_SOURCE, 1, [POSIX-compliant source]) AC_DEFINE(_XOPEN_SOURCE, 500, [X/Open-compliant source])