HP add Ae flag
This commit is contained in:
parent
799454198b
commit
ea8be7682f
|
@ -3310,7 +3310,14 @@ case $system in
|
||||||
echo 'void f(){}' > conftest.c
|
echo 'void f(){}' > conftest.c
|
||||||
if test -z "`${CC} -Aa -c conftest.c 2>&1`"; then
|
if test -z "`${CC} -Aa -c conftest.c 2>&1`"; then
|
||||||
echo "$ac_t""yes" 1>&6
|
echo "$ac_t""yes" 1>&6
|
||||||
CMAKE_ANSI_CFLAGS="-Aa"
|
CMAKE_ANSI_CFLAGS="$CMAKE_ANSI_CFLAGS -Aa"
|
||||||
|
else
|
||||||
|
echo "$ac_t""no" 1>&6
|
||||||
|
fi
|
||||||
|
echo $ac_n "checking whether ${CC} accepts -Ae""... $ac_c" 1>&6
|
||||||
|
if test -z "`${CC} -Ae -c conftest.c 2>&1`"; then
|
||||||
|
echo "$ac_t""yes" 1>&6
|
||||||
|
CMAKE_ANSI_CFLAGS="$CMAKE_ANSI_CFLAGS -Ae"
|
||||||
else
|
else
|
||||||
echo "$ac_t""no" 1>&6
|
echo "$ac_t""no" 1>&6
|
||||||
fi
|
fi
|
||||||
|
@ -3353,7 +3360,7 @@ fi
|
||||||
# ansi stream files (without the .h)
|
# ansi stream files (without the .h)
|
||||||
if test $ac_cv_prog_gxx = no; then
|
if test $ac_cv_prog_gxx = no; then
|
||||||
echo $ac_n "checking ansi standard C++ stream headers ""... $ac_c" 1>&6
|
echo $ac_n "checking ansi standard C++ stream headers ""... $ac_c" 1>&6
|
||||||
echo "configure:3357: checking ansi standard C++ stream headers " >&5
|
echo "configure:3364: checking ansi standard C++ stream headers " >&5
|
||||||
rm -rf conftest.*
|
rm -rf conftest.*
|
||||||
cat > conftest.cc <<!
|
cat > conftest.cc <<!
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
@ -3370,7 +3377,7 @@ fi
|
||||||
# check to see if stl is in the std namespace
|
# check to see if stl is in the std namespace
|
||||||
if test $ac_cv_prog_gxx = no; then
|
if test $ac_cv_prog_gxx = no; then
|
||||||
echo $ac_n "checking ansi standard namespace support ""... $ac_c" 1>&6
|
echo $ac_n "checking ansi standard namespace support ""... $ac_c" 1>&6
|
||||||
echo "configure:3374: checking ansi standard namespace support " >&5
|
echo "configure:3381: checking ansi standard namespace support " >&5
|
||||||
rm -rf conftest.*
|
rm -rf conftest.*
|
||||||
cat > conftest.cc <<!
|
cat > conftest.cc <<!
|
||||||
#include <list>
|
#include <list>
|
||||||
|
@ -3388,7 +3395,7 @@ fi
|
||||||
# check to see if for scoping is supported
|
# check to see if for scoping is supported
|
||||||
if test $ac_cv_prog_gxx = no; then
|
if test $ac_cv_prog_gxx = no; then
|
||||||
echo $ac_n "checking ansi for scope support ""... $ac_c" 1>&6
|
echo $ac_n "checking ansi for scope support ""... $ac_c" 1>&6
|
||||||
echo "configure:3392: checking ansi for scope support " >&5
|
echo "configure:3399: checking ansi for scope support " >&5
|
||||||
rm -rf conftest.*
|
rm -rf conftest.*
|
||||||
cat > conftest.cc <<!
|
cat > conftest.cc <<!
|
||||||
void foo() { for(int i;;); for(int i;;); }
|
void foo() { for(int i;;); for(int i;;); }
|
||||||
|
@ -3413,7 +3420,7 @@ do
|
||||||
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
||||||
set dummy $ac_prog; ac_word=$2
|
set dummy $ac_prog; ac_word=$2
|
||||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||||
echo "configure:3417: checking for $ac_word" >&5
|
echo "configure:3424: checking for $ac_word" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_path_RUNMAKE'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_path_RUNMAKE'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
|
@ -3453,7 +3460,7 @@ do
|
||||||
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
||||||
set dummy $ac_prog; ac_word=$2
|
set dummy $ac_prog; ac_word=$2
|
||||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||||
echo "configure:3457: checking for $ac_word" >&5
|
echo "configure:3464: checking for $ac_word" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_path_CMAKE_AR_TMP'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_path_CMAKE_AR_TMP'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue