1
1

configury: test the __sun macro to detect solaris OS.

recent oraclestudio compilers do not set the __sun__ macro
Этот коммит содержится в:
Gilles Gouaillardet 2014-12-16 18:21:58 +09:00
родитель 01601f3284
Коммит cfcce01faf

Просмотреть файл

@ -2,6 +2,8 @@ dnl -*- shell-script -*-
dnl
dnl Copyright (c) 2010 Cisco Systems, Inc. All rights reserved.
dnl Copyright (c) 2014 Intel, Inc. All rights reserved.
dnl Copyright (c) 2014 Research Organization for Information Science
dnl and Technology (RIST). All rights reserved.
dnl
dnl $COPYRIGHT$
dnl
@ -43,6 +45,8 @@ AC_DEFUN([OPAL_CHECK_OS_FLAVORS],
OPAL_CHECK_OS_FLAVOR_SPECIFIC([__APPLE__], [apple])
OPAL_CHECK_OS_FLAVOR_SPECIFIC([__linux__], [linux])
OPAL_CHECK_OS_FLAVOR_SPECIFIC([__sun__], [sun])
AS_IF([test "$opal_found_sun" = "no"],
OPAL_CHECK_OS_FLAVOR_SPECIFIC([__sun], [sun]))
AS_IF([test "$opal_found_sun" = "yes"],
[opal_have_solaris=1