summaryrefslogtreecommitdiff
path: root/m4/depend.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/depend.m4')
-rw-r--r--m4/depend.m411
1 files changed, 4 insertions, 7 deletions
diff --git a/m4/depend.m4 b/m4/depend.m4
index 6478cb838..c95b5fcbe 100644
--- a/m4/depend.m4
+++ b/m4/depend.m4
@@ -27,7 +27,7 @@
# _AM_DEPENDENCIES(NAME)
-# ---------------------
+# ----------------------
# See how the compiler implements dependency checking.
# NAME is "CC", "CXX" or "OBJC".
# We try a few techniques and use that to set a single cache variable.
@@ -106,8 +106,7 @@ else
am_cv_$1_dependencies_compiler_type=none
fi
])
-$1DEPMODE="depmode=$am_cv_$1_dependencies_compiler_type"
-AC_SUBST([$1DEPMODE])
+AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
])
@@ -125,7 +124,7 @@ else
DEPDIR=_deps
fi
rmdir .deps 2>/dev/null
-AC_SUBST(DEPDIR)
+AC_SUBST([DEPDIR])
])
@@ -140,7 +139,5 @@ if test "x$enable_dependency_tracking" != xno; then
AMDEPBACKSLASH='\'
fi
AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
-pushdef([subst], defn([AC_SUBST]))
-subst(AMDEPBACKSLASH)
-popdef([subst])
+AC_SUBST([AMDEPBACKSLASH])
])