Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 1 addition & 14 deletions oac_check_os_flavors.m4
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ dnl Copyright (c) 2014-2019 Intel, Inc. All rights reserved.
dnl Copyright (c) 2014 Research Organization for Information Science
dnl and Technology (RIST). All rights reserved.
dnl
dnl Copyright (c) 2022-2023 Nanook Consulting. All rights reserved.
dnl Copyright (c) 2022-2025 Nanook Consulting All rights reserved.
dnl $COPYRIGHT$
dnl
dnl Additional copyrights may follow
Expand Down Expand Up @@ -45,19 +45,6 @@ AC_DEFUN([OAC_CHECK_OS_FLAVORS],
OAC_CHECK_OS_FLAVOR_SPECIFIC([__bsdi__], [bsdi])
OAC_CHECK_OS_FLAVOR_SPECIFIC([__APPLE__], [apple])
OAC_CHECK_OS_FLAVOR_SPECIFIC([__linux__], [linux])
OAC_CHECK_OS_FLAVOR_SPECIFIC([__sun__], [sun])
AS_IF([test "$oac_found_sun" = "no"],
OAC_CHECK_OS_FLAVOR_SPECIFIC([__sun], [sun]))

AS_IF([test "$oac_found_sun" = "yes"],
[oac_have_solaris=1
CFLAGS="$CFLAGS -D_REENTRANT"
CPPFLAGS="$CPPFLAGS -D_REENTRANT"],
[oac_have_solaris=0])
AC_DEFINE_UNQUOTED([OAC_HAVE_SOLARIS],
[$oac_have_solaris],
[Whether or not we have solaris])
AM_CONDITIONAL(OAC_HAVE_SOLARIS, test "$oac_have_solaris" = "1")

AS_IF([test "$oac_found_apple" = "yes"],
[oac_have_apple=1],
Expand Down