Added build files and first code stub.

This commit is contained in:
Vreixo Formoso
2007-11-24 13:14:45 +01:00
parent 4b337281f2
commit 9ee4e39899
17 changed files with 669 additions and 8 deletions

22
acinclude.m4 Normal file
View File

@ -0,0 +1,22 @@
AC_DEFUN([TARGET_SHIZZLE],
[
ARCH=""
AC_MSG_CHECKING([target operating system])
case $target in
*-*-linux*)
ARCH=linux
LIBBURN_ARCH_LIBS=
;;
*-*-freebsd*)
ARCH=freebsd
LIBBURN_ARCH_LIBS=-lcam
;;
*)
AC_ERROR([You are attempting to compile for an unsupported platform])
;;
esac
AC_MSG_RESULT([$ARCH])
])