Experimentally enabled FreeBSD system adapter for Debian kfreebsd

This commit is contained in:
Thomas Schmitt 2009-12-29 13:31:56 +00:00
parent 0d1fa5548b
commit 824c054bbc
4 changed files with 20 additions and 1 deletions

View File

@ -16,6 +16,10 @@ AC_DEFUN([TARGET_SHIZZLE],
LIBBURN_ARCH_LIBS=-lcam
LIBBURNIA_PKGCONFDIR=$(echo "$libdir" | sed 's/\/lib$/\/libdata/')/pkgconfig
;;
kfreebsd*-gnu)
ARCH=freebsd
LIBBURN_ARCH_LIBS=-lcam
;;
*)
ARCH=
LIBBURN_ARCH_LIBS=

View File

@ -1 +1 @@
#define Cdrskin_timestamP "2009.12.29.115854"
#define Cdrskin_timestamP "2009.12.29.132537"

View File

@ -29,6 +29,14 @@
#include "os-freebsd.h"
#else
#ifdef __FreeBSD_kernel__
/* ----------------------- FreeBSD with CAM under Debian ------------------- */
#include "os-freebsd.h"
#else
#ifdef __linux
@ -45,6 +53,7 @@
#endif /* ! __linux */
#endif /* ! __FreeBSD__kernel__ */
#endif /* ! __FreeBSD__ */
#endif /* ! Libburn_use_libcdiO */

View File

@ -14,6 +14,11 @@
#include "sg-freebsd.c"
#else
#ifdef __FreeBSD_kernel__
#include "sg-freebsd.c"
#else
#ifdef __linux
@ -42,6 +47,7 @@ static int intentional_compiler_warning(void)
#include "sg-dummy.c"
#endif /* ! __linux */
#endif /* ! __FreeBSD_kernel__ */
#endif /* ! __FreeBSD__ */
#endif /* ! Libburn_use_libcdiO */