libcm is a C development framework with an emphasis on audio signal processing applications.
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.

os_type.m4 328B

1234567891011
  1. AC_DEFUN([AX_FUNC_OS_TYPE],
  2. [AC_CACHE_CHECK([operating system type],
  3. [ax_cv_os_type],
  4. [ax_cv_os_type=`uname`])
  5. if test x"$ax_cv_os_type" = xLinux; then
  6. AC_DEFINE([OS_LINUX], 1,[Operating system is Linux.])
  7. fi
  8. if test x"$ax_cv_os_type" = xDarwin; then
  9. AC_DEFINE([OS_OSX], 1,[Operating system is Darwin.])
  10. fi]) # AX_FUNC_OS_TYPE