mirror of
https://github.com/nasa/trick.git
synced 2024-12-18 20:57:55 +00:00
c588520727
Refactor autoconf, use best practices
13 lines
307 B
Plaintext
13 lines
307 B
Plaintext
|
|
dnl Set ON_MAC=yes if we are on a mac (darwin host)
|
|
AC_DEFUN([TR_MAC_DARWIN], [
|
|
dnl AC_CANONICAL_HOST provides platform. MacOSX is diverging... have to do special things
|
|
ON_MAC=no
|
|
case "${host_os}" in
|
|
darwin*)
|
|
ON_MAC=yes
|
|
;;
|
|
*)
|
|
;;
|
|
esac
|
|
]) |