set absolute path in CC and CXX

This commit is contained in:
2011-06-16 14:06:51 +00:00
parent cfc13be3af
commit 562f9ac3e3
+2
View File
@@ -146,6 +146,8 @@ if test "x$USE_PARALLEL" = "xyes"; then
else
AC_PROG_CC(pgcc pathcc icc cc_r gcc cc)
AC_PROG_CXX(pgCC pathCC icc cc_r g++ gcc cc)
CC=`which $CC`
CXX=`which $CXX`
fi
# Set output variable INSTALL to the path of a BSD-compatible install program,