Ticket #47971: patch-config-ac_dmtoffline.m4.diff

File patch-config-ac_dmtoffline.m4.diff, 585 bytes (added by emaros, 9 years ago)

Patch to allow clang to be recognized as clang

  • config/ac_dmtoffline.m4

    old new  
    4545fi
    4646GDS_CXX_FLAVOR="generic"
    4747case $CXX in
    48 gcc|*/gcc|g++|*/g++|g++-mp-*|*/g++-mp-*)
     48gcc|*/gcc|g++|*/g++|g++-mp-*|*/g++-mp-*|clang++|*/clang++)
    4949    GDS_CXX_FLAVOR="gnu"
    5050    CXXFLAGS="${CXXFLAGS} -std=c++0x"
    5151    if test `$CXX --version | grep -c clang` != 0
     
    157157AC_MSG_CHECKING([for gcc style SIMD vector library])
    158158gcc_simd=no
    159159case ${GDS_CXX_FLAVOR} in
    160 gnu | clang)
     160gnu|clang)
    161161    gcc_simd=yes
    162162    ;;
    163163*)