The unpac monorepo manager self-hosting as a monorepo using unpac
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Improve vendor detection on Windows

Apply forgotten suggestions from PR 12768.

+14 -12
+5 -4
aclocal.m4
··· 45 45 AC_MSG_CHECKING([C compiler vendor]) 46 46 AC_PREPROC_IFELSE( 47 47 [AC_LANG_SOURCE([ 48 - #if defined(_MSC_VER) && defined(__clang_major__) && defined(__clang_minor__) 49 - msvc _MSC_VER clang __clang_major__ __clang_minor__ 50 - #elif defined(_MSC_VER) 48 + #if defined(_MSC_VER) 51 49 msvc _MSC_VER 50 + # if defined(__clang_major__) && defined(__clang_minor__) 51 + clang __clang_major__ __clang_minor__ 52 + # endif 52 53 #elif defined(__INTEL_COMPILER) 53 54 icc __INTEL_COMPILER 54 55 #elif defined(__MINGW32__) 55 56 #include <_mingw_mac.h> 56 - mingw32 __MINGW64_VERSION_MAJOR __MINGW64_VERSION_MINOR 57 + mingw __MINGW64_VERSION_MAJOR __MINGW64_VERSION_MINOR 57 58 # if defined(__clang_major__) && defined(__clang_minor__) 58 59 clang __clang_major__ __clang_minor__ 59 60 # elif defined(__GNUC__) && defined(__GNUC_MINOR__)
+7 -6
configure
··· 13554 13554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13555 13555 /* end confdefs.h. */ 13556 13556 13557 - #if defined(_MSC_VER) && defined(__clang_major__) && defined(__clang_minor__) 13558 - msvc _MSC_VER clang __clang_major__ __clang_minor__ 13559 - #elif defined(_MSC_VER) 13557 + #if defined(_MSC_VER) 13560 13558 msvc _MSC_VER 13559 + # if defined(__clang_major__) && defined(__clang_minor__) 13560 + clang __clang_major__ __clang_minor__ 13561 + # endif 13561 13562 #elif defined(__INTEL_COMPILER) 13562 13563 icc __INTEL_COMPILER 13563 13564 #elif defined(__MINGW32__) 13564 13565 #include <_mingw_mac.h> 13565 - mingw32 __MINGW64_VERSION_MAJOR __MINGW64_VERSION_MINOR 13566 + mingw __MINGW64_VERSION_MAJOR __MINGW64_VERSION_MINOR 13566 13567 # if defined(__clang_major__) && defined(__clang_minor__) 13567 13568 clang __clang_major__ __clang_minor__ 13568 13569 # elif defined(__GNUC__) && defined(__GNUC_MINOR__) ··· 13897 13898 common_cflags="-O2 -fno-strict-aliasing -fwrapv"; 13898 13899 internal_cflags="$cc_warnings -fno-common -fexcess-precision=standard \ 13899 13900 -Wvla" ;; #( 13900 - mingw32-*-*-gcc-*) : 13901 + mingw-*-*-gcc-*) : 13901 13902 internal_cflags="-Wno-unused $cc_warnings \ 13902 13903 -fexcess-precision=standard" 13903 13904 # TODO: see whether the code can be fixed to avoid -Wno-unused ··· 13905 13906 internal_cppflags='-D__USE_MINGW_ANSI_STDIO=0 -DUNICODE -D_UNICODE' 13906 13907 internal_cppflags="$internal_cppflags -DWINDOWS_UNICODE=" 13907 13908 internal_cppflags="${internal_cppflags}\$(WINDOWS_UNICODE)" ;; #( 13908 - mingw32-*) : 13909 + mingw-*) : 13909 13910 as_fn_error $? "Unsupported C compiler for a MinGW-w64 build" "$LINENO" 5 ;; #( 13910 13911 msvc-*) : 13911 13912 common_cflags="-nologo -O2 -Gy- -MD $cc_warnings"
+2 -2
configure.ac
··· 809 809 [common_cflags="-O2 -fno-strict-aliasing -fwrapv"; 810 810 internal_cflags="$cc_warnings -fno-common -fexcess-precision=standard \ 811 811 -Wvla"], 812 - [mingw32-*-*-gcc-*], 812 + [mingw-*-*-gcc-*], 813 813 [internal_cflags="-Wno-unused $cc_warnings \ 814 814 -fexcess-precision=standard" 815 815 # TODO: see whether the code can be fixed to avoid -Wno-unused ··· 817 817 internal_cppflags='-D__USE_MINGW_ANSI_STDIO=0 -DUNICODE -D_UNICODE' 818 818 internal_cppflags="$internal_cppflags -DWINDOWS_UNICODE=" 819 819 internal_cppflags="${internal_cppflags}\$(WINDOWS_UNICODE)"], 820 - [mingw32-*], 820 + [mingw-*], 821 821 [AC_MSG_ERROR([Unsupported C compiler for a MinGW-w64 build])], 822 822 [msvc-*], 823 823 [common_cflags="-nologo -O2 -Gy- -MD $cc_warnings"