libcm is a C development framework with an emphasis on audio signal processing applications.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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