From dfe895894ee6c1e8a1c1b6ccf031034de6cee55e Mon Sep 17 00:00:00 2001 From: David MacKenzie Date: Tue, 20 Sep 1994 18:38:30 +0000 Subject: [PATCH] move AC_PROGMAKE_SET description --- autoconf.texi | 42 +++++++++++++++++++++--------------------- doc/autoconf.texi | 42 +++++++++++++++++++++--------------------- 2 files changed, 42 insertions(+), 42 deletions(-) diff --git a/autoconf.texi b/autoconf.texi index dda8dcb7..3f2a52b2 100644 --- a/autoconf.texi +++ b/autoconf.texi @@ -770,6 +770,27 @@ substitutions performed on them in @code{configure}. You can use @var{extra-cmds}. @end defmac +If you run @code{make} on subdirectories, you should run it using the +@code{make} variable @code{MAKE}. Most versions of @code{make} set +@code{MAKE} to the name of the @code{make} program plus any options it +was given. However, some old versions do not set it. The following +macro allows you to use it even with those versions. + +@defmac AC_PROG_MAKE_SET +@maindex PROG_MAKE_SET +@ovindex SET_MAKE +If @code{make} predefines the variable @code{MAKE}, define output +variable @code{SET_MAKE} to be empty. Otherwise, define @code{SET_MAKE} +to contain @samp{MAKE=make}. Calls @code{AC_SUBST} for @code{SET_MAKE}. +@end defmac + +To use this macro, place a line like this in each @file{Makefile.in} +that runs @code{MAKE} on other directories: + +@example +@@SET_MAKE@@ +@end example + @node Makefile Substitutions, Configuration Headers, Output, Setup @section Substitutions in Makefiles @@ -1427,27 +1448,6 @@ and filesystem support symbolic links), set output variable @code{LN_S} to @samp{ln -s}, otherwise set it to @samp{ln}. @end defmac -@defmac AC_PROG_MAKE_SET -@maindex PROG_MAKE_SET -@ovindex SET_MAKE -If @code{make} predefines the variable @code{MAKE}, define output -variable @code{SET_MAKE} to be empty. Otherwise, define @code{SET_MAKE} -to contain @samp{MAKE=make}. Calls @code{AC_SUBST} for @code{SET_MAKE}. - -In recent versions of @code{make}, the variable @code{MAKE} contains the -name of the @code{make} program plus options it was given. It is used -when running @code{make} recursively in subdirectories. But some old -versions of @code{make} don't set the @code{MAKE} variable. -This macro allows use of @code{MAKE} on all systems. - -If you use this macro, simply place a line like this in your -@file{Makefile.in} file(s): - -@example -@@SET_MAKE@@ -@end example -@end defmac - @defmac AC_PROG_RANLIB @maindex PROG_RANLIB @ovindex RANLIB diff --git a/doc/autoconf.texi b/doc/autoconf.texi index dda8dcb7..3f2a52b2 100644 --- a/doc/autoconf.texi +++ b/doc/autoconf.texi @@ -770,6 +770,27 @@ substitutions performed on them in @code{configure}. You can use @var{extra-cmds}. @end defmac +If you run @code{make} on subdirectories, you should run it using the +@code{make} variable @code{MAKE}. Most versions of @code{make} set +@code{MAKE} to the name of the @code{make} program plus any options it +was given. However, some old versions do not set it. The following +macro allows you to use it even with those versions. + +@defmac AC_PROG_MAKE_SET +@maindex PROG_MAKE_SET +@ovindex SET_MAKE +If @code{make} predefines the variable @code{MAKE}, define output +variable @code{SET_MAKE} to be empty. Otherwise, define @code{SET_MAKE} +to contain @samp{MAKE=make}. Calls @code{AC_SUBST} for @code{SET_MAKE}. +@end defmac + +To use this macro, place a line like this in each @file{Makefile.in} +that runs @code{MAKE} on other directories: + +@example +@@SET_MAKE@@ +@end example + @node Makefile Substitutions, Configuration Headers, Output, Setup @section Substitutions in Makefiles @@ -1427,27 +1448,6 @@ and filesystem support symbolic links), set output variable @code{LN_S} to @samp{ln -s}, otherwise set it to @samp{ln}. @end defmac -@defmac AC_PROG_MAKE_SET -@maindex PROG_MAKE_SET -@ovindex SET_MAKE -If @code{make} predefines the variable @code{MAKE}, define output -variable @code{SET_MAKE} to be empty. Otherwise, define @code{SET_MAKE} -to contain @samp{MAKE=make}. Calls @code{AC_SUBST} for @code{SET_MAKE}. - -In recent versions of @code{make}, the variable @code{MAKE} contains the -name of the @code{make} program plus options it was given. It is used -when running @code{make} recursively in subdirectories. But some old -versions of @code{make} don't set the @code{MAKE} variable. -This macro allows use of @code{MAKE} on all systems. - -If you use this macro, simply place a line like this in your -@file{Makefile.in} file(s): - -@example -@@SET_MAKE@@ -@end example -@end defmac - @defmac AC_PROG_RANLIB @maindex PROG_RANLIB @ovindex RANLIB