diff options
author | Akim Demaille <akim@epita.fr> | 2000-08-02 08:59:16 +0000 |
---|---|---|
committer | Akim Demaille <akim@epita.fr> | 2000-08-02 08:59:16 +0000 |
commit | 4b893ecec7069c9fbba3fc5e2e91b660108a7846 (patch) | |
tree | e40e03fdea9f3ec8c2d33f63c1985bd8cce3aa09 /m4/depend.m4 | |
parent | 4dcad717d7aba3bff076c7db3bf6e6ec527d3a12 (diff) | |
download | automake-4b893ecec7069c9fbba3fc5e2e91b660108a7846.tar.gz |
* m4: Quote properly the name of the macros being defined.
Use `#' instead of `dnl' where appropriate.
* m4/header.m4 (AM_CONFIG_HEADER): Get rid of changequote, just
quote.
Don't quote passive characters.
Pull the AC_PREREQ outside the macro.
* m4/init.m4: Pull the AC_PREREQ outside the macro.
Diffstat (limited to 'm4/depend.m4')
-rw-r--r-- | m4/depend.m4 | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/m4/depend.m4 b/m4/depend.m4 index c768e68c6..fb8f07ebe 100644 --- a/m4/depend.m4 +++ b/m4/depend.m4 @@ -1,11 +1,11 @@ -dnl See how the compiler implements dependency checking. -dnl Usage: -dnl AM_DEPENDENCIES(NAME) -dnl NAME is "CC", "CXX" or "OBJC". +# See how the compiler implements dependency checking. +# Usage: +# AM_DEPENDENCIES(NAME) +# NAME is "CC", "CXX" or "OBJC". -dnl We try a few techniques and use that to set a single cache variable. +# We try a few techniques and use that to set a single cache variable. -AC_DEFUN(AM_DEPENDENCIES,[ +AC_DEFUN([AM_DEPENDENCIES],[ AC_REQUIRE([AM_SET_DEPDIR]) AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS]) ifelse([$1],CC,[ @@ -61,10 +61,10 @@ AC_MSG_RESULT($am_cv_[$1]_dependencies_compiler_type) AC_SUBST([$1]DEPMODE) ]) -dnl Choose a directory name for dependency files. -dnl This macro is AC_REQUIREd in AM_DEPENDENCIES +# Choose a directory name for dependency files. +# This macro is AC_REQUIREd in AM_DEPENDENCIES -AC_DEFUN(AM_SET_DEPDIR,[ +AC_DEFUN([AM_SET_DEPDIR],[ if test -d .deps || mkdir .deps 2> /dev/null || test -d .deps; then DEPDIR=.deps else @@ -73,7 +73,7 @@ fi AC_SUBST(DEPDIR) ]) -AC_DEFUN(AM_DEP_TRACK,[ +AC_DEFUN([AM_DEP_TRACK],[ AC_ARG_ENABLE(dependency-tracking, [ --disable-dependency-tracking Speeds up one-time builds --enable-dependency-tracking Do not reject slow dependency extractors]) |