- ])
- ],[
- *freebsd*],[
- AC_DEFINE([TARGET_OS_FREEBSD], [1], [Whether we are building for FreeBSD])
- AC_DEFINE([__APPLE_CC__],[1],[Workaround for bug in FreeBSD headers])
- ],[
- *solaris*],[
- AC_DEFINE([TARGET_OS_SOLARIS], [1], [Whether we are building for Solaris])
- ],[
- *darwin*],[
- AC_DEFINE([TARGET_OS_OSX], [1], [Whether we build for OSX])
- ],[
- *linux*],[
- AC_DEFINE([TARGET_OS_LINUX], [1], [Whether we build for Linux])
- ])
+ ])],
+ [*freebsd*],[AC_DEFINE([HOST_OS_FREEBSD],[1],[Whether we are building for FreeBSD])
+ AC_DEFINE([__APPLE_CC__],[1],[Workaround for bug in FreeBSD headers])],
+ [*solaris*],[AC_DEFINE([HOST_OS_SOLARIS],[1],[Whether we are building for Solaris])],
+ [*darwin*],
+ [HOST_OSX="true"],
+ [*linux*],
+ [HOST_LINUX="true"
+ AC_DEFINE([HOST_OS_LINUX],[1],[Whether we build for Linux])])