(trunk) #5612 'transmission incorrectly determines CXX when ccache is used' -- fixed with patch from patrickdepinguin
This commit is contained in:
parent
646c6e03b6
commit
34870bb938
11
configure.ac
11
configure.ac
|
@ -69,15 +69,6 @@ AC_SUBST(LIBAPPINDICATOR_MINIMUM)
|
||||||
|
|
||||||
AC_PROG_CC
|
AC_PROG_CC
|
||||||
AC_PROG_CXX
|
AC_PROG_CXX
|
||||||
if test "x$CXX" != "x"; then # CXX is set...
|
|
||||||
if test -f "$CXX"; then # maybe it's an absolute path passed in env variables...
|
|
||||||
AC_MSG_CHECKING([for $CXX])
|
|
||||||
HAVE_CXX="yes"
|
|
||||||
AC_MSG_RESULT([$HAVE_CXX])
|
|
||||||
else
|
|
||||||
AC_CHECK_PROG([HAVE_CXX],[$CXX],[yes],[no])
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
AC_C_INLINE
|
AC_C_INLINE
|
||||||
if test "x$GCC" = "xyes" ; then
|
if test "x$GCC" = "xyes" ; then
|
||||||
|
|
||||||
|
@ -216,7 +207,7 @@ AC_CHECK_LIB([rt],
|
||||||
|
|
||||||
AC_MSG_CHECKING([µTP])
|
AC_MSG_CHECKING([µTP])
|
||||||
build_utp="no"
|
build_utp="no"
|
||||||
if test "x$HAVE_CXX" = "xyes" ; then
|
if test "x$CXX" != "x" ; then
|
||||||
have_utp="yes"
|
have_utp="yes"
|
||||||
else
|
else
|
||||||
have_utp="no"
|
have_utp="no"
|
||||||
|
|
Loading…
Reference in New Issue