configury: test the __sun macro to detect solaris OS.
recent oraclestudio compilers do not set the __sun__ macro
Этот коммит содержится в:
родитель
01601f3284
Коммит
cfcce01faf
@ -1,7 +1,9 @@
|
||||
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) 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
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user