mirror of
https://github.com/transmission/transmission
synced 2024-12-24 08:43:27 +00:00
better fix for #4826 because r13268 introduced a regression with not finding relative-path compilers. d'oh
This commit is contained in:
parent
1c4a5037c2
commit
65e72938ca
1 changed files with 7 additions and 5 deletions
12
configure.ac
12
configure.ac
|
@ -73,13 +73,15 @@ AC_SUBST(LIBAPPINDICATOR_MINIMUM)
|
|||
|
||||
AC_PROG_CC
|
||||
AC_PROG_CXX
|
||||
AC_MSG_CHECKING([for $CXX])
|
||||
if test -f "$CXX"; then
|
||||
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"
|
||||
else
|
||||
HAVE_CXX="no"
|
||||
AC_MSG_RESULT([$HAVE_CXX])
|
||||
else
|
||||
AC_CHECK_PROG([HAVE_CXX],[$CXX],[yes],[no])
|
||||
fi
|
||||
fi
|
||||
AC_MSG_RESULT([$HAVE_CXX])
|
||||
AC_C_INLINE
|
||||
if test "x$GCC" = "xyes" ; then
|
||||
|
||||
|
|
Loading…
Reference in a new issue