File: host-system.m4

package info (click to toggle)
mmlib 1.4.2-2.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,716 kB
  • sloc: ansic: 18,071; makefile: 431; sh: 135; python: 63
file content (14 lines) | stat: -rw-r--r-- 290 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14

AC_DEFUN([AC_SET_HOSTSYSTEM],
[AC_REQUIRE([AC_CANONICAL_HOST])
case $host in
	*win32* | *mingw* | *windows*)
		os_system=win32
		;;
	*)
		os_system=posix
		;;
esac
AM_CONDITIONAL([OS_TYPE_POSIX], [test "$os_system" = posix])
AM_CONDITIONAL([OS_TYPE_WIN32], [test "$os_system" = win32])
])