773 |
|
fi |
774 |
|
fi |
775 |
|
|
776 |
+ |
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
777 |
+ |
echo "configure:778: checking how to run the C preprocessor" >&5 |
778 |
+ |
# On Suns, sometimes $CPP names a directory. |
779 |
+ |
if test -n "$CPP" && test -d "$CPP"; then |
780 |
+ |
CPP= |
781 |
+ |
fi |
782 |
+ |
if test -z "$CPP"; then |
783 |
+ |
if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then |
784 |
+ |
echo $ac_n "(cached) $ac_c" 1>&6 |
785 |
+ |
else |
786 |
+ |
# This must be in double quotes, not single quotes, because CPP may get |
787 |
+ |
# substituted into the Makefile and "${CC-cc}" will confuse make. |
788 |
+ |
CPP="${CC-cc} -E" |
789 |
+ |
# On the NeXT, cc -E runs the code through the compiler's parser, |
790 |
+ |
# not just through cpp. |
791 |
+ |
cat > conftest.$ac_ext <<EOF |
792 |
+ |
#line 793 "configure" |
793 |
+ |
#include "confdefs.h" |
794 |
+ |
#include <assert.h> |
795 |
+ |
Syntax Error |
796 |
+ |
EOF |
797 |
+ |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
798 |
+ |
{ (eval echo configure:799: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
799 |
+ |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
800 |
+ |
if test -z "$ac_err"; then |
801 |
+ |
: |
802 |
+ |
else |
803 |
+ |
echo "$ac_err" >&5 |
804 |
+ |
echo "configure: failed program was:" >&5 |
805 |
+ |
cat conftest.$ac_ext >&5 |
806 |
+ |
rm -rf conftest* |
807 |
+ |
CPP="${CC-cc} -E -traditional-cpp" |
808 |
+ |
cat > conftest.$ac_ext <<EOF |
809 |
+ |
#line 810 "configure" |
810 |
+ |
#include "confdefs.h" |
811 |
+ |
#include <assert.h> |
812 |
+ |
Syntax Error |
813 |
+ |
EOF |
814 |
+ |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
815 |
+ |
{ (eval echo configure:816: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
816 |
+ |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
817 |
+ |
if test -z "$ac_err"; then |
818 |
+ |
: |
819 |
+ |
else |
820 |
+ |
echo "$ac_err" >&5 |
821 |
+ |
echo "configure: failed program was:" >&5 |
822 |
+ |
cat conftest.$ac_ext >&5 |
823 |
+ |
rm -rf conftest* |
824 |
+ |
CPP="${CC-cc} -nologo -E" |
825 |
+ |
cat > conftest.$ac_ext <<EOF |
826 |
+ |
#line 827 "configure" |
827 |
+ |
#include "confdefs.h" |
828 |
+ |
#include <assert.h> |
829 |
+ |
Syntax Error |
830 |
+ |
EOF |
831 |
+ |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
832 |
+ |
{ (eval echo configure:833: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
833 |
+ |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
834 |
+ |
if test -z "$ac_err"; then |
835 |
+ |
: |
836 |
+ |
else |
837 |
+ |
echo "$ac_err" >&5 |
838 |
+ |
echo "configure: failed program was:" >&5 |
839 |
+ |
cat conftest.$ac_ext >&5 |
840 |
+ |
rm -rf conftest* |
841 |
+ |
CPP=/lib/cpp |
842 |
+ |
fi |
843 |
+ |
rm -f conftest* |
844 |
+ |
fi |
845 |
+ |
rm -f conftest* |
846 |
+ |
fi |
847 |
+ |
rm -f conftest* |
848 |
+ |
ac_cv_prog_CPP="$CPP" |
849 |
+ |
fi |
850 |
+ |
CPP="$ac_cv_prog_CPP" |
851 |
+ |
else |
852 |
+ |
ac_cv_prog_CPP="$CPP" |
853 |
+ |
fi |
854 |
+ |
echo "$ac_t""$CPP" 1>&6 |
855 |
+ |
|
856 |
|
for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl |
857 |
|
do |
858 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
859 |
|
set dummy $ac_prog; ac_word=$2 |
860 |
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
861 |
< |
echo "configure:782: checking for $ac_word" >&5 |
861 |
> |
echo "configure:862: checking for $ac_word" >&5 |
862 |
|
if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then |
863 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
864 |
|
else |
890 |
|
|
891 |
|
|
892 |
|
echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
893 |
< |
echo "configure:814: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 |
893 |
> |
echo "configure:894: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 |
894 |
|
|
895 |
|
ac_ext=C |
896 |
|
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
901 |
|
|
902 |
|
cat > conftest.$ac_ext << EOF |
903 |
|
|
904 |
< |
#line 825 "configure" |
904 |
> |
#line 905 "configure" |
905 |
|
#include "confdefs.h" |
906 |
|
|
907 |
|
int main(){return(0);} |
908 |
|
EOF |
909 |
< |
if { (eval echo configure:830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
909 |
> |
if { (eval echo configure:910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
910 |
|
ac_cv_prog_cxx_works=yes |
911 |
|
# If we can't run a trivial program, we are probably using a cross compiler. |
912 |
|
if (./conftest; exit) 2>/dev/null; then |
932 |
|
{ echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; } |
933 |
|
fi |
934 |
|
echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
935 |
< |
echo "configure:856: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 |
935 |
> |
echo "configure:936: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 |
936 |
|
echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6 |
937 |
|
cross_compiling=$ac_cv_prog_cxx_cross |
938 |
|
|
939 |
|
echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6 |
940 |
< |
echo "configure:861: checking whether we are using GNU C++" >&5 |
940 |
> |
echo "configure:941: checking whether we are using GNU C++" >&5 |
941 |
|
if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then |
942 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
943 |
|
else |
946 |
|
yes; |
947 |
|
#endif |
948 |
|
EOF |
949 |
< |
if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:870: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
949 |
> |
if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:950: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
950 |
|
ac_cv_prog_gxx=yes |
951 |
|
else |
952 |
|
ac_cv_prog_gxx=no |
965 |
|
ac_save_CXXFLAGS="$CXXFLAGS" |
966 |
|
CXXFLAGS= |
967 |
|
echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6 |
968 |
< |
echo "configure:889: checking whether ${CXX-g++} accepts -g" >&5 |
968 |
> |
echo "configure:969: checking whether ${CXX-g++} accepts -g" >&5 |
969 |
|
if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then |
970 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
971 |
|
else |
996 |
|
fi |
997 |
|
fi |
998 |
|
|
919 |
– |
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
920 |
– |
echo "configure:921: checking how to run the C preprocessor" >&5 |
921 |
– |
# On Suns, sometimes $CPP names a directory. |
922 |
– |
if test -n "$CPP" && test -d "$CPP"; then |
923 |
– |
CPP= |
924 |
– |
fi |
925 |
– |
if test -z "$CPP"; then |
926 |
– |
if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then |
927 |
– |
echo $ac_n "(cached) $ac_c" 1>&6 |
928 |
– |
else |
929 |
– |
# This must be in double quotes, not single quotes, because CPP may get |
930 |
– |
# substituted into the Makefile and "${CC-cc}" will confuse make. |
931 |
– |
CPP="${CC-cc} -E" |
932 |
– |
# On the NeXT, cc -E runs the code through the compiler's parser, |
933 |
– |
# not just through cpp. |
934 |
– |
cat > conftest.$ac_ext <<EOF |
935 |
– |
#line 936 "configure" |
936 |
– |
#include "confdefs.h" |
937 |
– |
#include <assert.h> |
938 |
– |
Syntax Error |
939 |
– |
EOF |
940 |
– |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
941 |
– |
{ (eval echo configure:942: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
942 |
– |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
943 |
– |
if test -z "$ac_err"; then |
944 |
– |
: |
945 |
– |
else |
946 |
– |
echo "$ac_err" >&5 |
947 |
– |
echo "configure: failed program was:" >&5 |
948 |
– |
cat conftest.$ac_ext >&5 |
949 |
– |
rm -rf conftest* |
950 |
– |
CPP="${CC-cc} -E -traditional-cpp" |
951 |
– |
cat > conftest.$ac_ext <<EOF |
952 |
– |
#line 953 "configure" |
953 |
– |
#include "confdefs.h" |
954 |
– |
#include <assert.h> |
955 |
– |
Syntax Error |
956 |
– |
EOF |
957 |
– |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
958 |
– |
{ (eval echo configure:959: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
959 |
– |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
960 |
– |
if test -z "$ac_err"; then |
961 |
– |
: |
962 |
– |
else |
963 |
– |
echo "$ac_err" >&5 |
964 |
– |
echo "configure: failed program was:" >&5 |
965 |
– |
cat conftest.$ac_ext >&5 |
966 |
– |
rm -rf conftest* |
967 |
– |
CPP="${CC-cc} -nologo -E" |
968 |
– |
cat > conftest.$ac_ext <<EOF |
969 |
– |
#line 970 "configure" |
970 |
– |
#include "confdefs.h" |
971 |
– |
#include <assert.h> |
972 |
– |
Syntax Error |
973 |
– |
EOF |
974 |
– |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
975 |
– |
{ (eval echo configure:976: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
976 |
– |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
977 |
– |
if test -z "$ac_err"; then |
978 |
– |
: |
979 |
– |
else |
980 |
– |
echo "$ac_err" >&5 |
981 |
– |
echo "configure: failed program was:" >&5 |
982 |
– |
cat conftest.$ac_ext >&5 |
983 |
– |
rm -rf conftest* |
984 |
– |
CPP=/lib/cpp |
985 |
– |
fi |
986 |
– |
rm -f conftest* |
987 |
– |
fi |
988 |
– |
rm -f conftest* |
989 |
– |
fi |
990 |
– |
rm -f conftest* |
991 |
– |
ac_cv_prog_CPP="$CPP" |
992 |
– |
fi |
993 |
– |
CPP="$ac_cv_prog_CPP" |
994 |
– |
else |
995 |
– |
ac_cv_prog_CPP="$CPP" |
996 |
– |
fi |
997 |
– |
echo "$ac_t""$CPP" 1>&6 |
998 |
– |
|
999 |
|
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
1000 |
|
echo "configure:1001: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
1001 |
|
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
3769 |
|
s%@infodir@%$infodir%g |
3770 |
|
s%@mandir@%$mandir%g |
3771 |
|
s%@CC@%$CC%g |
3772 |
– |
s%@CXX@%$CXX%g |
3772 |
|
s%@CPP@%$CPP%g |
3773 |
+ |
s%@CXX@%$CXX%g |
3774 |
|
s%@SET_MAKE@%$SET_MAKE%g |
3775 |
|
s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g |
3776 |
|
s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g |