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.
 
 
 
 
 
 

23 lines
375 B

  1. AC_DEFUN([TARGET_SHIZZLE],
  2. [
  3. ARCH=""
  4. AC_MSG_CHECKING([target operating system])
  5. case $target in
  6. *-*-linux*)
  7. ARCH=linux
  8. LIBBURN_ARCH_LIBS=
  9. ;;
  10. *-*-freebsd*)
  11. ARCH=freebsd
  12. LIBBURN_ARCH_LIBS=-lcam
  13. ;;
  14. *)
  15. AC_ERROR([You are attempting to compile for an unsupported platform])
  16. ;;
  17. esac
  18. AC_MSG_RESULT([$ARCH])
  19. ])