X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=doc%2Fautomake.texi;h=cd33ad7c305122e6728cd4566a021ac31cebed02;hb=e5eb95ce956adc428b65414ebf28bb5b96d74b9f;hp=b7ae709695968cf846a3b67c090498b1e1ed85e4;hpb=0cca184f65b5397d9e52f32365ab962d5af2f7ea;p=platform%2Fupstream%2Fautomake.git diff --git a/doc/automake.texi b/doc/automake.texi index b7ae709..cd33ad7 100644 --- a/doc/automake.texi +++ b/doc/automake.texi @@ -3996,10 +3996,11 @@ choose the assembler for you (by default the C compiler) and set @item AM_PROG_CC_C_O @acindex AM_PROG_CC_C_O -@acindex AC_PROG_CC_C_O -This is an @emph{obsolete wrapper} around @code{AC_PROG_CC_C_O}. -New code needs not use this macro. It might be deprecated and -@emph{retired in future Automake versions}. +This is an obsolescent macro that checks that the C compiler supports +the @option{-c} and @option{-o} options together. Note that, since +Automake 1.14, the @code{AC_PROG_CC} is rewritten to implement such +checks itself, and thus the explicit use of @code{AM_PROG_CC_C_O} +should no longer be required. @item AM_PROG_LEX @acindex AM_PROG_LEX @@ -4070,13 +4071,6 @@ Invocation, , Using @command{autoupdate} to Modernize @table @code -@item AM_PROG_CC_C_O -@acindex AM_PROG_CC_C_O -@acindex AC_PROG_CC_C_O -This is an @emph{obsolete wrapper} around @code{AC_PROG_CC_C_O}. New -code needs not to use this macro. It will be deprecated, and then -removed, in future Automake versions. - @item AM_PROG_MKDIR_P @acindex AM_PROG_MKDIR_P @cindex @code{mkdir -p}, macro check @@ -4094,8 +4088,8 @@ the output variable @code{MKDIR_P} instead. In case you are still using the @code{AM_PROG_MKDIR_P} macro in your @file{configure.ac}, or its provided variable @code{$(mkdir_p)} in your @file{Makefile.am}, you are advised to switch ASAP to the more modern Autoconf-provided -interface instead; both the macro and the variable @emph{will be -removed} in the next major Automake release. +interface instead; both the macro and the variable might be removed +in a future major Automake release. @end table @@ -8562,11 +8556,18 @@ to supply additional flags to @command{configure}, define them in the @file{Makefile.am}. The user can still extend or override the flags provided there by defining the @code{DISTCHECK_CONFIGURE_FLAGS} variable, on the command line when invoking @command{make}. - -Still, developers are encouraged to strive to make their code buildable -without requiring any special configure option; thus, in general, you -shouldn't define @code{AM_DISTCHECK_CONFIGURE_FLAGS}. However, there -might be few scenarios in which the use of this variable is justified. +@c See automake bug#14991 for more details about how the following holds. +It's worth nothing that @command{make distcheck} needs complete control +over the @command{configure} options @option{--srcdir} and +@option{--prefix}, so those options cannot be overridden by +@code{AM_DISTCHECK_CONFIGURE_FLAGS} nor by +@code{DISTCHECK_CONFIGURE_FLAGS}. + +Also note that developers are encouraged to strive to make their code +buildable without requiring any special configure option; thus, in +general, you shouldn't define @code{AM_DISTCHECK_CONFIGURE_FLAGS}. +However, there might be few scenarios in which the use of this variable +is justified. GNU @command{m4} offers an example. GNU @command{m4} configures by default with its experimental and seldom used "changeword" feature disabled; so in its case it is useful to have @command{make distcheck} @@ -11734,9 +11735,9 @@ touch aclocal.m4 sleep 1 # autoconf-generated configure depends on aclocal.m4 and on # configure.ac -configure config.h.in +touch configure # so does autoheader-generated config.h.in -configure config.h.in +touch config.h.in # and all the automake-generated Makefile.in files touch `find . -name Makefile.in -print` # finally, the makeinfo-generated '.info' files depend on the