@@ -3224,7 +3224,7 @@ else case e in #(
32243224 e) enable_msvc=no
32253225 case $build in
32263226 *-mingw* | *-cygwin* | *-msys* )
3227- for ac_prog in gcc clang icl cl
3227+ for ac_prog in gcc clang icx icl cl
32283228do
32293229 # Extract the first word of "$ac_prog", so it can be a program name with args.
32303230set dummy $ac_prog; ac_word=$2
32723272 test -n "$CC" && break
32733273done
32743274
3275- case "$CC" in *cl ) enable_msvc=yes ;; esac
3275+ case "$CC" in *cl | *icx ) enable_msvc=yes ;; esac
32763276 ;;
32773277 esac ;;
32783278esac
43114311
43124312
43134313 if test $enable_msvc = yes ; then
4314- for ac_prog in icl cl
4314+ for ac_prog in icx icl cl
43154315do
43164316 # Extract the first word of "$ac_prog", so it can be a program name with args.
43174317set dummy $ac_prog; ac_word=$2
@@ -4375,7 +4375,7 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43754375ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43764376ac_compiler_gnu=$ac_cv_c_compiler_gnu
43774377if test -n "$ac_tool_prefix"; then
4378- for ac_prog in gcc clang cc icc icl cl cc xlc xlc_r pgcc
4378+ for ac_prog in gcc clang cc icx icc icl cl cc xlc xlc_r pgcc
43794379 do
43804380 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
43814381set dummy $ac_tool_prefix$ac_prog; ac_word=$2
44254425fi
44264426if test -z "$CC"; then
44274427 ac_ct_CC=$CC
4428- for ac_prog in gcc clang cc icc icl cl cc xlc xlc_r pgcc
4428+ for ac_prog in gcc clang cc icx icc icl cl cc xlc xlc_r pgcc
44294429do
44304430 # Extract the first word of "$ac_prog", so it can be a program name with args.
44314431set dummy $ac_prog; ac_word=$2
52695269
52705270
52715271 if test $enable_msvc = yes ; then
5272- for ac_prog in icl cl
5272+ for ac_prog in icx icl cl
52735273do
52745274 # Extract the first word of "$ac_prog", so it can be a program name with args.
52755275set dummy $ac_prog; ac_word=$2
@@ -5337,7 +5337,7 @@ if test -z "$CXX"; then
53375337 CXX=$CCC
53385338 else
53395339 if test -n "$ac_tool_prefix"; then
5340- for ac_prog in g++ clang++ c++ pgCC icpc gpp cxx cc++ icl cl FCC KCC RCC xlC_r aCC CC
5340+ for ac_prog in g++ clang++ c++ pgCC icx icpc gpp cxx cc++ icl cl FCC KCC RCC xlC_r aCC CC
53415341 do
53425342 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
53435343set dummy $ac_tool_prefix$ac_prog; ac_word=$2
53875387fi
53885388if test -z "$CXX"; then
53895389 ac_ct_CXX=$CXX
5390- for ac_prog in g++ clang++ c++ pgCC icpc gpp cxx cc++ icl cl FCC KCC RCC xlC_r aCC CC
5390+ for ac_prog in g++ clang++ c++ pgCC icx icpc gpp cxx cc++ icl cl FCC KCC RCC xlC_r aCC CC
53915391do
53925392 # Extract the first word of "$ac_prog", so it can be a program name with args.
53935393set dummy $ac_prog; ac_word=$2
@@ -12223,8 +12223,8 @@ fi
1222312223 # hardcode_libdir_flag_spec is actually meaningless, as there is
1222412224 # no search path for DLLs.
1222512225 case $cc_basename in
12226- cl* | icl* | ifort*)
12227- # Native MSVC or ICC or IFORT
12226+ cl* | icl* | ifort* | icx* | ifx* )
12227+ # Native MSVC or classic or new Intel Compilers
1222812228 hardcode_libdir_flag_spec=' '
1222912229 allow_undefined_flag=unsupported
1223012230 always_export_symbols=yes
@@ -12265,7 +12265,7 @@ fi
1226512265 fi'
1226612266 ;;
1226712267 *)
12268- # Assume MSVC and ICC and IFORT wrapper
12268+ # Assume MSVC and Intel compilers wrapper
1226912269 hardcode_libdir_flag_spec=' '
1227012270 allow_undefined_flag=unsupported
1227112271 # Tell ltmain to make .lib files, not .a files.
@@ -13326,8 +13326,8 @@ cygwin* | mingw* | windows* | pw32* | cegcc*)
1332613326 dynamic_linker='Win32 ld.exe'
1332713327 ;;
1332813328
13329- *,cl* | *,icl* | *,ifort*)
13330- # Native MSVC or ICC or IFORT
13329+ *,cl* | *,icl* | *,ifort* | *,icx* | *,ifx* )
13330+ # Native MSVC or classic or new Intel Compilers
1333113331 libname_spec='$name'
1333213332 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
1333313333 library_names_spec='$libname.dll.lib'
@@ -15980,8 +15980,8 @@ fi
1598015980
1598115981 cygwin* | mingw* | windows* | pw32* | cegcc*)
1598215982 case $GXX,$cc_basename in
15983- ,cl* | no,cl* | ,icl* | no,icl* | ,ifort* | no,ifort* )
15984- # Native MSVC or ICC or IFORT
15983+ ,cl* | no,cl* | ,icl* | no,icl* | ,ifort* | no,ifort* | ,icx* | no,icx* | ,ifx* | no,ifx* )
15984+ # Native MSVC or classic or new Intel compilers
1598515985 # hardcode_libdir_flag_spec is actually meaningless, as there is
1598615986 # no search path for DLLs.
1598715987 hardcode_libdir_flag_spec_CXX=' '
@@ -17578,7 +17578,7 @@ printf %s "checking whether the $compiler linker ($LD) supports shared libraries
1757817578 ;;
1757917579 cygwin* | mingw* | windows* | cegcc*)
1758017580 case $cc_basename in
17581- cl* | icl* | ifort*)
17581+ cl* | icl* | ifort* | icx* | ifx* )
1758217582 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
1758317583 ;;
1758417584 *)
@@ -17956,8 +17956,8 @@ cygwin* | mingw* | windows* | pw32* | cegcc*)
1795617956 dynamic_linker='Win32 ld.exe'
1795717957 ;;
1795817958
17959- *,cl* | *,icl* | *,ifort*)
17960- # Native MSVC or ICC or IFORT
17959+ *,cl* | *,icl* | *,ifort* | *,icx* | *,ifx* )
17960+ # Native MSVC or classic or new Intel Compilers
1796117961 libname_spec='$name'
1796217962 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
1796317963 library_names_spec='$libname.dll.lib'
0 commit comments