mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 01:00:25 +00:00
Add basic system detection
This commit is contained in:
parent
91eb928c29
commit
7135a0ce4f
18
configure.ac
18
configure.ac
@ -38,5 +38,23 @@ AC_TYPE_SIZE_T
|
||||
# Checks for library functions.
|
||||
AC_CHECK_FUNCS([memset sqrt strstr])
|
||||
|
||||
#############################
|
||||
# Platform specific setup
|
||||
#############################
|
||||
AC_CANONICAL_HOST
|
||||
# Check for which host we are on and setup a few things
|
||||
# specifically based on the host
|
||||
case $host_os in
|
||||
darwin* )
|
||||
SYSTEM=DARWIN
|
||||
;;
|
||||
linux*)
|
||||
SYSTEM=LINUX
|
||||
;;
|
||||
*mingw*)
|
||||
SYSTEM=MINGW
|
||||
;;
|
||||
esac
|
||||
|
||||
AC_CONFIG_FILES([Makefile])
|
||||
AC_OUTPUT
|
||||
|
Loading…
Reference in New Issue
Block a user