@@ -3514,7 +3514,7 @@ else case e in #(
35143514 e) enable_msvc=no
35153515 case $build in
35163516 *-mingw* | *-cygwin* | *-msys* )
3517- for ac_prog in gcc clang icl cl
3517+ for ac_prog in gcc clang icx icl cl
35183518do
35193519 # Extract the first word of "$ac_prog", so it can be a program name with args.
35203520set dummy $ac_prog; ac_word=$2
35623562 test -n "$CC" && break
35633563done
35643564
3565- case "$CC" in *cl ) enable_msvc=yes ;; esac
3565+ case "$CC" in *cl | *icx ) enable_msvc=yes ;; esac
35663566 ;;
35673567 esac ;;
35683568esac
46024602
46034603
46044604 if test $enable_msvc = yes ; then
4605- for ac_prog in icl cl
4605+ for ac_prog in icx icl cl
46064606do
46074607 # Extract the first word of "$ac_prog", so it can be a program name with args.
46084608set dummy $ac_prog; ac_word=$2
@@ -4666,7 +4666,7 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46664666ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46674667ac_compiler_gnu=$ac_cv_c_compiler_gnu
46684668if test -n "$ac_tool_prefix"; then
4669- for ac_prog in gcc clang cc icc icl cl cc xlc xlc_r pgcc
4669+ for ac_prog in gcc clang cc icx icc icl cl cc xlc xlc_r pgcc
46704670 do
46714671 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
46724672set dummy $ac_tool_prefix$ac_prog; ac_word=$2
47164716fi
47174717if test -z "$CC"; then
47184718 ac_ct_CC=$CC
4719- for ac_prog in gcc clang cc icc icl cl cc xlc xlc_r pgcc
4719+ for ac_prog in gcc clang cc icx icc icl cl cc xlc xlc_r pgcc
47204720do
47214721 # Extract the first word of "$ac_prog", so it can be a program name with args.
47224722set dummy $ac_prog; ac_word=$2
55605560
55615561
55625562 if test $enable_msvc = yes ; then
5563- for ac_prog in icl cl
5563+ for ac_prog in icx icl cl
55645564do
55655565 # Extract the first word of "$ac_prog", so it can be a program name with args.
55665566set dummy $ac_prog; ac_word=$2
@@ -5628,7 +5628,7 @@ if test -z "$CXX"; then
56285628 CXX=$CCC
56295629 else
56305630 if test -n "$ac_tool_prefix"; then
5631- for ac_prog in g++ clang++ c++ pgCC icpc gpp cxx cc++ icl cl FCC KCC RCC xlC_r aCC CC
5631+ for ac_prog in g++ clang++ c++ pgCC icx icpc gpp cxx cc++ icl cl FCC KCC RCC xlC_r aCC CC
56325632 do
56335633 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
56345634set dummy $ac_tool_prefix$ac_prog; ac_word=$2
56785678fi
56795679if test -z "$CXX"; then
56805680 ac_ct_CXX=$CXX
5681- for ac_prog in g++ clang++ c++ pgCC icpc gpp cxx cc++ icl cl FCC KCC RCC xlC_r aCC CC
5681+ for ac_prog in g++ clang++ c++ pgCC icx icpc gpp cxx cc++ icl cl FCC KCC RCC xlC_r aCC CC
56825682do
56835683 # Extract the first word of "$ac_prog", so it can be a program name with args.
56845684set dummy $ac_prog; ac_word=$2
@@ -12516,8 +12516,8 @@ fi
1251612516 # hardcode_libdir_flag_spec is actually meaningless, as there is
1251712517 # no search path for DLLs.
1251812518 case $cc_basename in
12519- cl* | icl* | ifort*)
12520- # Native MSVC or ICC or IFORT
12519+ cl* | icl* | ifort* | icx* | ifx* )
12520+ # Native MSVC or classic or new Intel Compilers
1252112521 hardcode_libdir_flag_spec=' '
1252212522 allow_undefined_flag=unsupported
1252312523 always_export_symbols=yes
@@ -12558,7 +12558,7 @@ fi
1255812558 fi'
1255912559 ;;
1256012560 *)
12561- # Assume MSVC and ICC and IFORT wrapper
12561+ # Assume MSVC and Intel compilers wrapper
1256212562 hardcode_libdir_flag_spec=' '
1256312563 allow_undefined_flag=unsupported
1256412564 # Tell ltmain to make .lib files, not .a files.
@@ -13619,8 +13619,8 @@ cygwin* | mingw* | windows* | pw32* | cegcc*)
1361913619 dynamic_linker='Win32 ld.exe'
1362013620 ;;
1362113621
13622- *,cl* | *,icl* | *,ifort*)
13623- # Native MSVC or ICC or IFORT
13622+ *,cl* | *,icl* | *,ifort* | *,icx* | *,ifx* )
13623+ # Native MSVC or classic or new Intel Compilers
1362413624 libname_spec='$name'
1362513625 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
1362613626 library_names_spec='$libname.dll.lib'
@@ -16273,8 +16273,8 @@ fi
1627316273
1627416274 cygwin* | mingw* | windows* | pw32* | cegcc*)
1627516275 case $GXX,$cc_basename in
16276- ,cl* | no,cl* | ,icl* | no,icl* | ,ifort* | no,ifort* )
16277- # Native MSVC or ICC or IFORT
16276+ ,cl* | no,cl* | ,icl* | no,icl* | ,ifort* | no,ifort* | ,icx* | no,icx* | ,ifx* | no,ifx* )
16277+ # Native MSVC or classic or new Intel compilers
1627816278 # hardcode_libdir_flag_spec is actually meaningless, as there is
1627916279 # no search path for DLLs.
1628016280 hardcode_libdir_flag_spec_CXX=' '
@@ -17871,7 +17871,7 @@ printf %s "checking whether the $compiler linker ($LD) supports shared libraries
1787117871 ;;
1787217872 cygwin* | mingw* | windows* | cegcc*)
1787317873 case $cc_basename in
17874- cl* | icl* | ifort*)
17874+ cl* | icl* | ifort* | icx* | ifx* )
1787517875 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
1787617876 ;;
1787717877 *)
@@ -18249,8 +18249,8 @@ cygwin* | mingw* | windows* | pw32* | cegcc*)
1824918249 dynamic_linker='Win32 ld.exe'
1825018250 ;;
1825118251
18252- *,cl* | *,icl* | *,ifort*)
18253- # Native MSVC or ICC or IFORT
18252+ *,cl* | *,icl* | *,ifort* | *,icx* | *,ifx* )
18253+ # Native MSVC or classic or new Intel Compilers
1825418254 libname_spec='$name'
1825518255 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
1825618256 library_names_spec='$libname.dll.lib'
0 commit comments