mirror of
https://github.com/reactos/CMake.git
synced 2024-11-24 20:19:53 +00:00
auto detect lang:std:
This commit is contained in:
parent
6a3138293b
commit
ed6e3e88e0
2
configure
vendored
2
configure
vendored
@ -1935,7 +1935,7 @@ case $system in
|
|||||||
fi
|
fi
|
||||||
rm -f conftest*
|
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 $ac_n "checking whether ${CC} accepts -LANG:std""... $ac_c" 1>&6
|
||||||
echo 'void f(){}' > conftest.c
|
echo 'void f(){}' > conftest.c
|
||||||
if test -z "`${CC} -LANG:std -c conftest.c 2>&1`"; then
|
if test -z "`${CC} -LANG:std -c conftest.c 2>&1`"; then
|
||||||
|
@ -31,7 +31,7 @@ case $system in
|
|||||||
fi
|
fi
|
||||||
rm -f conftest*
|
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 $ac_n "checking whether ${CC} accepts -LANG:std""... $ac_c" 1>&6
|
||||||
echo 'void f(){}' > conftest.c
|
echo 'void f(){}' > conftest.c
|
||||||
if test -z "`${CC} -LANG:std -c conftest.c 2>&1`"; then
|
if test -z "`${CC} -LANG:std -c conftest.c 2>&1`"; then
|
||||||
|
Loading…
Reference in New Issue
Block a user