You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
AC_DEFUN([TARGET_SHIZZLE],
|
|
|
|
[
|
|
|
|
ARCH=""
|
|
|
|
LIBBURNIA_PKGCONFDIR="$libdir"/pkgconfig
|
|
|
|
|
|
|
|
AC_MSG_CHECKING([target operating system])
|
|
|
|
|
|
|
|
case $target in
|
|
|
|
*-*-linux*)
|
|
|
|
ARCH=linux
|
|
|
|
LIBBURN_ARCH_LIBS=
|
|
|
|
;;
|
|
|
|
*-*-freebsd*)
|
|
|
|
ARCH=freebsd
|
|
|
|
LIBBURN_ARCH_LIBS=-lcam
|
|
|
|
LIBBURNIA_PKGCONFDIR=$(echo "$libdir" | sed 's/\/lib$/\/libdata/')/pkgconfig
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
ARCH=
|
|
|
|
LIBBURN_ARCH_LIBS=
|
|
|
|
# AC_ERROR([You are attempting to compile for an unsupported platform])
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
|
|
|
AC_MSG_RESULT([$ARCH])
|
|
|
|
])
|