]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
move AC_PROGMAKE_SET description
authorDavid MacKenzie <djm@djmnet.org>
Tue, 20 Sep 1994 18:38:30 +0000 (18:38 +0000)
committerDavid MacKenzie <djm@djmnet.org>
Tue, 20 Sep 1994 18:38:30 +0000 (18:38 +0000)
autoconf.texi
doc/autoconf.texi

index dda8dcb7bab11ced4fe7bd603b9ff48aa06f38de..3f2a52b2911dd127d520af3a2313f3fcd985ff2c 100644 (file)
@@ -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
index dda8dcb7bab11ced4fe7bd603b9ff48aa06f38de..3f2a52b2911dd127d520af3a2313f3fcd985ff2c 100644 (file)
@@ -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