Only generate depends if the compiler supports it.
For assembly files, AS_DEPENDS needs to be set. As usually AS is set to CC, it can be done using AS_DEPENDS = ${CC_DEPENDS}.
This commit is contained in:
parent
514e0e32be
commit
bd9b6c0825
2 changed files with 38 additions and 3 deletions
|
@ -22,6 +22,11 @@ dnl POSSIBILITY OF SUCH DAMAGE.
|
|||
dnl
|
||||
|
||||
AC_DEFUN([BUILDSYS_INIT], [
|
||||
AC_SUBST(CC_DEPENDS, $GCC)
|
||||
AC_SUBST(CXX_DEPENDS, $GXX)
|
||||
AC_SUBST(OBJC_DEPENDS, $GOBJC)
|
||||
AC_SUBST(OBJCXX_DEPENDS, $GOBJCXX)
|
||||
|
||||
AC_PATH_PROG(TPUT, tput)
|
||||
|
||||
AS_IF([test x"$TPUT" != x""], [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue