source: trunk/dports/www/webkit-gtk/files/clang-check.patch @ 118229

Last change on this file since 118229 was 118229, checked in by jeremyhu@…, 5 years ago

webkit-gtk: Version bump to 2.4.0

File size: 1.1 KB
  • Source/autotools/CheckSystemAndBasicDependencies.m4

    old new AC_COMPILE_IFELSE([AC_LANG_PROGRAM([ 
    9292#endif
    9393])], [c_compiler="gcc"], [])
    9494AC_COMPILE_IFELSE([AC_LANG_PROGRAM([
    95 #if !(defined(__clang__) && __clang_major__ >= 3 && __clang_minor__ >= 3)
     95#if !(defined(__clang__) && (__apple_build_version__ >= 4250024 || (!defined(__apple_build_version__) && (__clang_major__ > 3 || (__clang_major__ == 3 && __clang_minor__ >= 3)))))
    9696#error Not a supported Clang compiler
    9797#endif
    9898])], [c_compiler="clang"], [])
    AC_COMPILE_IFELSE([AC_LANG_PROGRAM([ 
    111111#endif
    112112])], [cxx_compiler="g++"], [])
    113113AC_COMPILE_IFELSE([AC_LANG_PROGRAM([
    114 #if !(defined(__clang__) && __clang_major__ >= 3 && __clang_minor__ >= 3)
     114#if !(defined(__clang__) && (__apple_build_version__ >= 4250024 || (!defined(__apple_build_version__) && (__clang_major__ > 3 || (__clang_major__ == 3 && __clang_minor__ >= 3)))))
    115115#error Not a supported Clang++ compiler
    116116#endif
    117117])], [cxx_compiler="clang++"], [])
Note: See TracBrowser for help on using the repository browser.