mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-14 02:08:27 +08:00
auto detect lang:std:
This commit is contained in:
2
configure
vendored
2
configure
vendored
@@ -1935,7 +1935,7 @@ case $system in
|
||||
fi
|
||||
rm -f conftest*
|
||||
;;
|
||||
IRIX-6* | IRIX64-6* | IRIX-64-6*)
|
||||
IRIX-5* | IRIX-6* | IRIX64-6* | IRIX-64-6*)
|
||||
echo $ac_n "checking whether ${CC} accepts -LANG:std""... $ac_c" 1>&6
|
||||
echo 'void f(){}' > conftest.c
|
||||
if test -z "`${CC} -LANG:std -c conftest.c 2>&1`"; then
|
||||
|
@@ -31,7 +31,7 @@ case $system in
|
||||
fi
|
||||
rm -f conftest*
|
||||
;;
|
||||
IRIX-6* | IRIX64-6* | IRIX-64-6*)
|
||||
IRIX-5* | IRIX-6* | IRIX64-6* | IRIX-64-6*)
|
||||
echo $ac_n "checking whether ${CC} accepts -LANG:std""... $ac_c" 1>&6
|
||||
echo 'void f(){}' > conftest.c
|
||||
if test -z "`${CC} -LANG:std -c conftest.c 2>&1`"; then
|
||||
|
Reference in New Issue
Block a user