ChangeLog.03 117 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971
  1. 2003-12-31 Alexandre Duret-Lutz <adl@gnu.org>
  2. * automake.in (generate_makefile): Update misleading comment.
  3. * automake.in (handle_languages): Define %DEPBASE% conditionally
  4. on subdir-objects. Define SUBDIROBJ. Do not clean *_.c files
  5. here ...
  6. (lang_c_finish): ... do it here.
  7. (handle_single_transform_list): Do not output specific rules for
  8. subdir-objects files which are not renamed. This should reduce
  9. the size of Makefiles with lots of subdirectory sources.
  10. * lib/depcomp: Simplify computation of dependency output, and use
  11. DEPDIR.
  12. * lib/am/depend2.am (%EXT%.o, %EXT%.obj, %EXT%.lo): Adjust call
  13. to depcomp. Compute depbase on-the-fly in generic fastdep rules
  14. for subdir-objects.
  15. * tests/ansi9.test: Do not grep for an explicit rule that
  16. we no longer expect. Really run $MAKE to make sure the chain
  17. of rules works.
  18. * tests/yacc5.test: Do not grep for an explicit rule that
  19. we no longer expect. Adjust to use set -e.
  20. 2003-12-27 Alexandre Duret-Lutz <adl@gnu.org>
  21. * automake.in (@common_files): Move configure, configure.ac, and
  22. configure.in ...
  23. (@common_sometimes): ... here so that these files do not appear
  24. twice in DIST_COMMON.
  25. * automake.in (maybe_push_required_file): Add $(srcdir) in front
  26. a required files outside the current directory or its subdirectories.
  27. * lib/am/distdir.am (distdir): Update comment.
  28. Report from Nicolas Joly.
  29. 2003-12-26 Alexandre Duret-Lutz <adl@gnu.org>
  30. * doc/automake.texi (@copying): Do not repeat the version.
  31. (Top): Use @insertcopying. Add a @detailmenu, this works around
  32. Emacs 21's inability to lookup indices in sub-nodes (reported
  33. by Kevin Ryde).
  34. (C++ Support, Assembly Support, Fortran 77 Support, Java Support,
  35. Support for Other Languages, Preprocessing Fortran 77, Compiling
  36. Fortran 77 Files, Mixing Fortran 77 With C and C++, How the Linker
  37. is Chosen): Add missing descriptions in menus.
  38. (Fortran 77 and Autoconf): Remove, this node was just saying "use
  39. Autoconf 2.53 or greater".
  40. 2003-12-26 Santiago Vila <sanvila@unex.es> (tiny change)
  41. * NEWS: s/Gettext 1.12.1/Gettext 0.12.1/
  42. 2003-12-25 Nicolas Joly <njoly@pasteur.fr> (tiny change)
  43. * doc/automake.texi (Conditional Sources): Typo.
  44. 2003-12-25 Alexandre Duret-Lutz <adl@gnu.org>
  45. * lib/Automake/Config.in: Require Exporter.
  46. Report from Kevin Ryde (failure with Perl 5.005_03).
  47. 2003-12-15 Alexandre Duret-Lutz <adl@gnu.org>
  48. * tests/aclocal6.test: Check for autom4te.cache only if it has
  49. been created.
  50. * tests/maintclean.test: Update comment.
  51. Report from Bruno Haible.
  52. * tests/txinfo24.test, tests/txinfo25.test, tests/txinfo28.test:
  53. Require texi2dvi-o.
  54. Report from Václav Haisman.
  55. 2003-12-10 Alexandre Duret-Lutz <adl@gnu.org>
  56. * configure.ac, NEWS: Bump version to 1.8a.
  57. * configure.ac, NEWS: Bump version to 1.8.
  58. * lib/texinfo.tex: New upstream version.
  59. * Makefile.am (INSTALL): Copy the source from $(srcdir).
  60. 2003-12-09 Alexandre Duret-Lutz <adl@gnu.org>
  61. * lib/Automake/Rule.pm (define): Remove debugging traces.
  62. Report from Akim Demaille.
  63. 2003-12-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> (tiny change)
  64. Alexandre Duret-Lutz <adl@gnu.org>
  65. * Makefile.am (do_subst): Fix the substitution of @configure_input@.
  66. (automake, aclocal): Create the output atomically and make it
  67. read-only, as done in the Autoconf package.
  68. * lib/Automake/Makefile.am (do_subst): Fix the substitution of
  69. @configure_input@.
  70. (Config.pm): Create the output atomically and make it read-only.
  71. * m4/Makefile.am ($(top_srcdir)/m4/amversion.m4): Substitute
  72. @configure_input@ and make the output read-only.
  73. * lib/Automake/Config.in, m4/amversion.in, tests/aclocal.in,
  74. tests/automake.in, tests/defs.in: Add a @configure_input@ line.
  75. 2003-12-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> (tiny change)
  76. * doc/automake.texi (Local Macros, CVS): Typos.
  77. 2003-12-08 Alexandre Duret-Lutz <adl@gnu.org>
  78. * lib/Automake/Variable.pm (hook): Use $$ as prototype, not $\&.
  79. Perl 5.6.0 will not accept a reference sub reference for the
  80. latter.
  81. * automake.in (var_SUFFIXES_trigger): Adjust registration via
  82. Automake::Variable::hook.
  83. (handle_texinfo_helper): Make sure `inner_expand => 1' appears
  84. on one line, so that Perl 5.6.0 does not complain about
  85. inner_expand being a bare identifier.
  86. 2003-12-05 Alexandre Duret-Lutz <adl@gnu.org>
  87. * aclocal.in (check_acinclude, scan_file): Output `warning:' in
  88. front of warnings.
  89. Report from Pavel Roskin.
  90. 2003-12-04 Alexandre Duret-Lutz <adl@gnu.org>
  91. * TODO: Remove some old entries.
  92. * doc/automake.texi (Rebuilding): Document CONFIGURE_DEPENDENCIES
  93. and CONFIG_STATUS_DEPENDENCIES. Move this sections later
  94. in the manual since it's pretty advanced material.
  95. * automake.in ($config_header_location): Remove. Use
  96. %ac_config_files_location instead.
  97. (rewrite_inputs_into_dependencies): Do not prepend $(top_builddir)/
  98. at the top-level.
  99. (handle_configure): Use rewrite_inputs_into_dependencies to
  100. distribute and compute AC_CONFIG_HEADERS dependencies.
  101. (scan_autoconf_traces) <AC_CONFIG_HEADERS>: Fill
  102. %ac_config_files_location.
  103. * lib/am/remake-hdr.am ($(srcdir)/%CONFIG_HIN%): Rename as ...
  104. (%CONFIG_HIN%): ... this. $(srcdir) is already added in
  105. scan_autoconf_traces.
  106. * tests/Makefile.am (TESTS): Add confh5.test.
  107. * tests/confh5.test: New file.
  108. * tests/ltlibsrc.test: Fix the zoo_d_old2_la.c rule in Makefile.am,
  109. $< is not portable and the source is in $(srcdir).
  110. 2003-12-03 Paolo Bonzini <bonzini@gnu.org>
  111. Alexandre Duret-Lutz <adl@gnu.org>
  112. * automake.in (handle_configure): Do not require link sources if
  113. they contain a dollar, or if they were built. Likewise, do not
  114. clean link destination if they contain a dollar.
  115. (scan_autoconf_traces) <AC_CONFIG_LINKS>: Populate
  116. %ac_config_files_location with link destinations. Do not
  117. store locations in @config_links, now that %ac_config_files_location
  118. have them.
  119. * tests/conflnk3.test: New file.
  120. * tests/Makefile.am (TESTS): Add conflnk3.test.
  121. 2003-12-02 Alexandre Duret-Lutz <adl@gnu.org>
  122. * configure.ac, NEWS: Bump version to 1.7i.
  123. * configure.ac, NEWS: Bump version to 1.7h.
  124. * doc/automake.texi (Default _SOURCES): Fix reference to true.
  125. * lib/texinfo.tex: New upstream version.
  126. 2003-11-30 Alexandre Duret-Lutz <adl@gnu.org>
  127. * automake.in (handle_source_transform): If it's present, use
  128. libfoo_la.c instead of libfoo.c as the default source of
  129. libfoo.la, and issue an -Wobsolete diagnostic. Do not be
  130. greedy in the suffix replacement regex.
  131. * doc/automake.texi (Default _SOURCES): New node.
  132. (Program Sources, Libtool Modules): Refer to it.
  133. * tests/ltlibsrc.test: Update to check for old default source files.
  134. 2003-11-30 Gary V. Vaughan <gary@gnu.org>
  135. * automake.in (&handle_source_transform): Calculate a default file
  136. for use in the absence of an appropriate _SOURCES declaration by
  137. first stripping any suffix from the unxformed target name, and
  138. appending `.c'.
  139. * doc/automake.texi (Program Sources, Libtool Modules): Document this.
  140. * tests/ltlibsrc.test: New file.
  141. * tests/Makefile.am (TESTS): Add ltlibsrc.test.
  142. 2003-11-29 Alexandre Duret-Lutz <adl@gnu.org>
  143. * lib/Automake/Variable.pm (loc_and_value_as_list_recursive,
  144. _value_as_list_recursive_worker): Merge into ...
  145. (value_as_list_recursive): ... this function. Pass options
  146. as a hash argument, and use the `location' option to trigger
  147. the behavior of loc_and_value_as_list_recursive.
  148. (traverse_recursively, transform_variable_recursively): Take
  149. options as a %options argument.
  150. (_do_recursive_traversal): Perform expansion of inner variables
  151. (as in `$(FILE).ext') on request.
  152. * automake.in (handle_options, check_libobjs_sources)
  153. (handle_source_transform, handle_LIBOBJS, handle_ltlibraries)
  154. (handle_ltlibraries, handle_man_pages, handle_dist)
  155. (handle_gettext, am_install_var): Adjust usage of
  156. value_as_list_recursive.
  157. (handle_texinfo_helper): Pass inner_expand to
  158. value_as_list_recursive.
  159. * tests/txinfo28.test: New file.
  160. * tests/Makefile.am (TESTS): Add txinfo28.test.
  161. Report from Ralf Corsepius.
  162. * lib/Automake/Variable.pm (_do_recursive_traversal): Do not
  163. update @_substfroms and @_substfroms for undefined variables.
  164. * tests/substre2.test: New file.
  165. * tests/Makefile.am (TESTS): Add substre2.test.
  166. * lib/Automake/VarDef.pm (value): Rename as ...
  167. (raw_value): ... this.
  168. (value): New method, strip # and \\\n.
  169. (dump): Use raw_value.
  170. * lib/Automake/Variable.pm (output): Use raw_value.
  171. (value_as_list): Simplify, now that backslash and comments
  172. are already removed.
  173. * tests/txinfo22.test: Make sure Automake isn't confused
  174. by comments in variables.
  175. 2003-11-27 Alexandre Duret-Lutz <adl@gnu.org>
  176. * doc/automake.texi: More target vs. rule editing. Back out some
  177. of the previous changes. It's OK to talk about targets as "entry
  178. points", or as thing to build, but targets cannot be run: rules
  179. are run.
  180. * doc/automake.texi: s/target/rule/ where appropriate. A target
  181. is the destination of a target rule, not the rule itself.
  182. Suggested by Bruno Haible.
  183. 2003-11-25 Alexandre Duret-Lutz <adl@gnu.org>
  184. * configure.ac, NEWS: Bump version to 1.7g.
  185. * configure.ac, NEWS: Bump version to 1.7f.
  186. * automake.in (prepend_srcdir): Parenthesize @inputs to remove
  187. a maintainer-check warning.
  188. * tests/subst2.test: Rewrite the $MAKE invocation to please
  189. maintainer-check.
  190. * lib/config.sub, lib/config.guess, lib/texinfo.tex: New upstream
  191. versions.
  192. * doc/automake.texi (Program variables): Mention per-target
  193. _CPPFLAGS in the documentation of INCLUDES.
  194. * automake.in (generate_makefile): Likewise in the INCLUDES diagnostic.
  195. Report from Bob Friesenhahn.
  196. * doc/automake.texi (Extending): Elaborate on overriding.
  197. * NEWS: Likewise.
  198. Suggested by Bruno Haible.
  199. 2003-11-24 Alexandre Duret-Lutz <adl@gnu.org>
  200. * lib/Automake/Variable.pm (output): Add $(am__empty) to variable
  201. definitions that end with a line full of @substitutions@ that
  202. would confuse HP-UX Make if it were blank.
  203. (transform_variable_recursively): Make sure not to erase empty
  204. variables.
  205. * tests/Makefile.am (TESTS): Add subst2.test.
  206. * tests/subst2.test: New file.
  207. Report from Harlan Stenn.
  208. * lib/am/texibuild.am (%SOURCE_SUFFIX%.html): Work around a
  209. Texinfo 4.1 bug.
  210. Report from Dalibor Topic.
  211. 2003-11-22 Alexandre Duret-Lutz <adl@gnu.org>
  212. Fix for PR automake/411:
  213. * automake.in (rewrite_inputs_into_dependencies): Simplify, and rename
  214. into ...
  215. (prepend_srcdir): ... this.
  216. (rewrite_inputs_into_dependencies): New function, extracted from ...
  217. (handle_configure): ... here. Adjust to use prepend_srcdir
  218. or rewrite_inputs_into_dependencies where needed. Especially,
  219. using (the new) rewrite_inputs_into_dependencies to compute
  220. Makefile dependencies will fix PR/411.
  221. * lib/am/configure.am (DIST_COMMON): Remove %MAKEFILE-IN%, it's
  222. already distributed by rewrite_inputs_into_dependencies.
  223. * tests/Makefile.am (TESTS): Add output10.test, remove distcom.test.
  224. * tests/colon3.test: Use set -e. Don't allow any AUTOMAKE
  225. invocation refer to zardoz. Make sure two.in and three.in
  226. appear as $(srcdir)/two.in and $(srcdir)/three.in dependencies.
  227. * tests/distcom.test: Delete. This is covered by tests/output9.test.
  228. * tests/output10.test: New file, for PR/411.
  229. 2003-11-21 Alexandre Duret-Lutz <adl@gnu.org>
  230. * automake.in (append_exeext): Do not append $(EXEEXT) to
  231. @substitutions@.
  232. * tests/exeext4.test: New file.
  233. * tests/Makefile.am (TESTS): Add exeext4.test.
  234. 2003-11-19 Alexandre Duret-Lutz <adl@gnu.org>
  235. * lib/am/configure.am (%MAKEFILE%): Remove %MAINTAINER-MODE%,
  236. mistakenly added on 2001-03-05.
  237. * tests/remake5.test: New file.
  238. * tests/Makefile.am (TESTS): Add remake5.test.
  239. Report from Ralf Corsepius.
  240. 2003-11-18 Alexandre Duret-Lutz <adl@gnu.org>
  241. * configure.ac, NEWS: Bump version to 1.7e.
  242. * configure.ac, NEWS: Bump version to 1.7d.
  243. * lib/config.sub, lib/config.guess, lib/texinfo.tex: New
  244. upstream versions.
  245. 2003-11-18 Maciej W. Rozycki <macro@ds2.pg.gda.pl> (tiny change)
  246. Alexandre Duret-Lutz <adl@gnu.org>
  247. * lib/am/texinfos.am (install-info): Depend on
  248. install-info-recursive or install-info-am even if no-installinfo.
  249. * tests/txinfo27.test: New file.
  250. * tests/Makefile.am (TESTS): Add txinfo26.test.
  251. 2003-11-18 Paolo Bonzini <bonzini@gnu.org>
  252. Alexandre Duret-Lutz <adl@gnu.org>
  253. * lib/ylwrap: Do not overwrite headers if they haven't changed.
  254. Fix the include guard substitution.
  255. * tests/yacc6.test: Augment to run ylwrap, and make sure it
  256. does not needlessly update headers.
  257. * tests/yacc8.test: Make sure headers are not needlessly updated
  258. with ylwrap is not used. Move `test -f foo.o' into the
  259. Makefile as `test -f foo.$(OBJEXT)' for portability.
  260. 2003-11-17 Alexandre Duret-Lutz <adl@gnu.org>
  261. * automake.in (generate_makefile): Define SUBDIRS if it is
  262. not defined and DIST_SUBDIRS is.
  263. * tests/subpkg2.test: New file.
  264. * tests/Makefile.am (TESTS): Add subpkg2.test.
  265. Report from Gary V. Vaughan.
  266. * tests/suffix11.test: Check for suffixes containing `-'.
  267. * lib/Automake/Rule.pm ($_SUFFIX_RULE_PATTERN): Accept `-' in
  268. suffixes.
  269. * lib/Automake/Rule.pm (define): Suggest using target-local instead
  270. of target-am, not target-am-local.
  271. * tests/overrid.test: Check the diagnostic for clean-am.
  272. Report from Bruno Haible.
  273. 2003-11-17 Jim Meyering <jim@meyering.net>
  274. * bootstrap: Require not only that `perl' have the executable
  275. bit set, but also that it is not a directory.
  276. * lib/am/configure.am: Mark %MAKEFILE% as `.PRECIOUS'.
  277. 2003-11-17 Alexandre Duret-Lutz <adl@gnu.org>
  278. * automake.in (ac_config_files_location): Declare as a hash.
  279. (handle_configure): Rewrite the computation of AC_CONFIG_FILES
  280. dependencies; make sure we don't use $(srcdir) or $(top_srcdir)
  281. for inputs which are also outputs, and do not check inputs
  282. relatively to the current directory.
  283. (scan_autoconf_config_files): Take $where as argument, and
  284. fill $ac_config_files_location.
  285. * tests/output8.test, tests/output9.test: New files.
  286. * tests/Makefile.am (TESTS): Add output8.test and output9.test.
  287. Report from Bruno Haible.
  288. 2003-11-14 Alexandre Duret-Lutz <adl@gnu.org>
  289. * tests/aclibobj.test, tests/aclocal.test, tests/aclocal3.test,
  290. tests/acoutbs.test, tests/acoutbs2.test, tests/acoutnoq.test,
  291. tests/acoutpt.test, tests/acoutpt2.test, tests/acoutqnl.test,
  292. tests/acsilent.test, tests/acsubst.test, tests/acsubst2.test,
  293. tests/all.test, tests/alpha.test, tests/amassign.test,
  294. tests/ammissing.test, tests/ansi.test, tests/ansi10.test,
  295. tests/ansi2.test, tests/ansi3.test, tests/ansi3b.test,
  296. tests/ansi4.test, tests/ansi5.test, tests/ansi6.test,
  297. tests/ansi7.test, tests/ansi9.test, tests/ar.test,
  298. tests/autohdr.test, tests/autohdr2.test, tests/auxdir.test,
  299. tests/auxdir2.test, tests/backsl.test, tests/backsl2.test,
  300. tests/badprog.test, tests/block.test, tests/canon2.test,
  301. tests/canon3.test, tests/canon4.test, tests/canon5.test,
  302. tests/ccnoco.test, tests/check.test, tests/check2.test,
  303. tests/check3.test, tests/checkall.test, tests/clean.test,
  304. tests/colneq2.test, tests/colon.test, tests/colon2.test,
  305. tests/colon3.test, tests/colon4.test, tests/colon5.test,
  306. tests/colon6.test, tests/colon7.test, tests/comment.test,
  307. tests/comment2.test, tests/comment4.test, tests/comment6.test,
  308. tests/comment7.test, tests/compile_f_c_cxx.test, tests/cond.test,
  309. tests/cond10.test, tests/cond11.test, tests/cond13.test,
  310. tests/cond14.test, tests/cond15.test, tests/cond16.test,
  311. tests/cond17.test, tests/cond18.test, tests/cond19.test,
  312. tests/cond21.test, tests/cond22.test, tests/cond25.test,
  313. tests/cond26.test, tests/cond28.test, tests/cond3.test,
  314. tests/cond4.test, tests/cond5.test, tests/cond6.test,
  315. tests/cond7.test, tests/cond8.test, tests/cond9.test,
  316. tests/condd.test, tests/condinc.test, tests/condlib.test,
  317. tests/condman.test, tests/condman2.test, tests/conf2.test,
  318. tests/confdeps.test, tests/confh.test, tests/confh4.test,
  319. tests/config.test, tests/confincl.test, tests/conflnk.test,
  320. tests/conflnk2.test, tests/confsub.test, tests/confvar.test,
  321. tests/confvar2.test, tests/copy.test, tests/ctarget1.test,
  322. tests/cxx.test, tests/cxxansi.test, tests/cxxcpp.test,
  323. tests/cxxlibobj.test, tests/cxxlink.test, tests/cxxnoc.test,
  324. tests/cxxo.test, tests/cygwin32.test, tests/dash.test,
  325. tests/defun.test, tests/defun2.test, tests/dejagnu.test,
  326. tests/dejagnu3.test, tests/dejagnu4.test, tests/dejagnu5.test,
  327. tests/dejagnu6.test, tests/dejagnu7.test, tests/depacl2.test,
  328. tests/depcomp.test, tests/depcomp2.test, tests/depcomp4.test,
  329. tests/depdist.test, tests/depend.test, tests/depend2.test,
  330. tests/depend3.test, tests/depend4.test, tests/destdir.test,
  331. tests/dirlist.test, tests/discover.test, tests/distcom.test,
  332. tests/distcom2.test, tests/distdir.test, tests/distname.test,
  333. tests/dollar.test, tests/double.test, tests/dup2.test,
  334. tests/empty.test, tests/empty2.test, tests/empty3.test,
  335. tests/empty4.test, tests/error.test, tests/exdir.test,
  336. tests/exeext.test, tests/exeext3.test, tests/exsource.test,
  337. tests/ext.test, tests/ext2.test, tests/extra.test,
  338. tests/extra2.test, tests/extra3.test, tests/extra4.test,
  339. tests/extra5.test, tests/extra6.test, tests/extra7.test,
  340. tests/flibs.test, tests/fnoc.test, tests/fo.test,
  341. tests/fonly.test, tests/fortdep.test, tests/fpinst2.test,
  342. tests/fpinstall.test, tests/gcj.test, tests/gcj3.test,
  343. tests/gcj4.test, tests/gnits2.test, tests/gnits3.test,
  344. tests/header.test, tests/implicit.test, tests/include.test,
  345. tests/include2.test, tests/info.test, tests/insh2.test,
  346. tests/install2.test, tests/installdir.test, tests/instdat.test,
  347. tests/instdat2.test, tests/instexec.test, tests/insthook.test,
  348. tests/instman.test, tests/instman2.test, tests/instsh.test,
  349. tests/instsh2.test, tests/interp.test, tests/interp2.test,
  350. tests/java.test, tests/java2.test, tests/javaprim.test,
  351. tests/javasubst.test, tests/ldadd.test, tests/ldflags.test,
  352. tests/lex.test, tests/lex3.test, tests/lex4.test, tests/lex5.test,
  353. tests/libobj11.test, tests/libobj2.test, tests/libobj4.test,
  354. tests/libobj5.test, tests/libobj7.test, tests/libobj8.test,
  355. tests/library.test, tests/libtool.test, tests/libtool2.test,
  356. tests/libtool3.test, tests/libtool5.test, tests/link_c_cxx.test,
  357. tests/link_dist.test, tests/link_f_only.test, tests/link_fc.test,
  358. tests/link_fccxx.test, tests/link_fcxx.test, tests/lisp.test,
  359. tests/listval.test, tests/ltdeps.test, tests/ltlibobjs.test,
  360. tests/maintclean.test, tests/make.test, tests/makej.test,
  361. tests/makevars.test, tests/man.test, tests/man2.test,
  362. tests/mclean.test, tests/mdate.test, tests/mdate2.test,
  363. tests/mdate3.test, tests/mdate4.test, tests/mkinst2.test,
  364. tests/mkinstall.test, tests/nobase.test, tests/nodef.test,
  365. tests/nodef2.test, tests/nodep.test, tests/nodepcomp.test,
  366. tests/nodist.test, tests/nodist2.test, tests/nodist3.test,
  367. tests/noinst.test, tests/noinstdir.test, tests/nolink.test,
  368. tests/nostdinc.test, tests/number.test, tests/obsolete.test,
  369. tests/order.test, tests/outdir.test, tests/output.test,
  370. tests/output2.test, tests/output3.test, tests/output4.test,
  371. tests/parse.test, tests/phony.test, tests/pluseq.test,
  372. tests/pluseq10.test, tests/pluseq2.test, tests/pluseq3.test,
  373. tests/pluseq4.test, tests/pluseq6.test, tests/pluseq8.test,
  374. tests/postproc.test, tests/ppf77.test, tests/pr2.test,
  375. tests/pr204.test, tests/pr220.test, tests/pr224.test,
  376. tests/pr229.test, tests/pr243.test, tests/pr266.test,
  377. tests/pr279-2.test, tests/pr279.test, tests/pr287.test,
  378. tests/pr300-lib.test, tests/pr300-ltlib.test,
  379. tests/pr300-prog.test, tests/pr307.test, tests/pr72.test,
  380. tests/pr87.test, tests/pr9.test, tests/prefix.test,
  381. tests/proginst.test, tests/python.test, tests/python3.test,
  382. tests/python4.test, tests/python5.test, tests/python6.test,
  383. tests/python7.test, tests/python8.test, tests/python9.test,
  384. tests/recurs2.test, tests/remake.test, tests/remake2.test,
  385. tests/remake3.test, tests/req.test, tests/reqd.test,
  386. tests/rulepat.test, tests/scripts.test, tests/sinclude.test,
  387. tests/space.test, tests/specflg3.test, tests/specflg6.test,
  388. tests/specflg7.test, tests/specflg8.test, tests/specflg9.test,
  389. tests/spell3.test, tests/spelling.test, tests/spy.test,
  390. tests/stamph2.test, tests/stdlib2.test, tests/strip.test,
  391. tests/subcond.test, tests/subcond2.test, tests/subcond3.test,
  392. tests/subdir.test, tests/subdir2.test, tests/subdir3.test,
  393. tests/subdir4.test, tests/subdir5.test, tests/subdir6.test,
  394. tests/subdirbuiltsources.test, tests/subobj.test,
  395. tests/subobj2.test, tests/subobj3.test, tests/subobj4.test,
  396. tests/subobj5.test, tests/subobj6.test, tests/subobj7.test,
  397. tests/subobj8.test, tests/subobj9.test, tests/subobjname.test,
  398. tests/subpkg.test, tests/subst.test, tests/substref.test,
  399. tests/suffix.test, tests/suffix10.test, tests/suffix2.test,
  400. tests/suffix3.test, tests/suffix4.test, tests/suffix5.test,
  401. tests/suffix6.test, tests/suffix7.test, tests/suffix8.test,
  402. tests/suffix9.test, tests/symlink2.test, tests/symlink3.test,
  403. tests/tags.test, tests/tagsub.test, tests/target-cflags.test,
  404. tests/transform.test, tests/txinfo.test, tests/txinfo10.test,
  405. tests/txinfo13.test, tests/txinfo16.test, tests/txinfo17.test,
  406. tests/txinfo18.test, tests/txinfo2.test, tests/txinfo23.test,
  407. tests/txinfo24.test, tests/txinfo25.test, tests/txinfo26.test,
  408. tests/txinfo3.test, tests/txinfo5.test, tests/txinfo6.test,
  409. tests/txinfo7.test, tests/txinfo8.test, tests/txinfo9.test,
  410. tests/unused.test, tests/vars.test, tests/vars3.test,
  411. tests/vartar.test, tests/version.test, tests/version2.test,
  412. tests/version4.test, tests/version6.test, tests/version7.test,
  413. tests/vpath.test, tests/vtexi.test, tests/vtexi2.test,
  414. tests/werror.test, tests/whoami.test, tests/yacc.test,
  415. tests/yacc3.test, tests/yacc4.test, tests/yacc5.test,
  416. tests/yacc6.test, tests/yacc7.test, tests/yacc8.test,
  417. tests/yaccpp.test, tests/yaccvpath.test: Fix license to refer
  418. to Automake, not autoconf.
  419. Fix for PR automake/408:
  420. * lib/am/texinfos.am (install-info-am): Strip any $(srcdir)/ prefix
  421. from $file, as already done for dist-info.
  422. * tests/Makefile.am (TESTS): Add txinfo26.test.
  423. * tests/txinfo26.test: New file.
  424. Report from Nicholas Wourms.
  425. 2003-11-13 Alexandre Duret-Lutz <adl@gnu.org>
  426. * m4/lispdir.m4 (AM_PATH_LISPDIR): If EMACS=t, empty it before
  427. running AC_CHECK_PROGS(EMACS).
  428. * lib/am/lisp.am (elc-stamp): Quote $(EMACS).
  429. Report from Jens Petersen.
  430. * tests/mkinst2.test: Rewrite.
  431. * m4/mkdirp.m4: Do not require AM_AUX_DIR_EXPAND.
  432. 2003-11-12 Alexandre Duret-Lutz <adl@gnu.org>
  433. * automake.in (scan_autoconf_traces): Honor sinclude.
  434. * tests/sinclude.test: Check for sinclude.
  435. Report from Roberto Bagnara.
  436. 2003-11-11 Alexandre Duret-Lutz <adl@gnu.org>
  437. * Makefile.am: Do not rerun `make dist' after tagging, `make distcheck'
  438. already build the tarballs. Commit files right before tagging.
  439. Check NEWS before running distcheck.
  440. * m4/amversion.in (AM_AUTOMAKE_VERSION): Missing cosmetic space.
  441. * configure.ac, NEWS: Bump version to 1.7c.
  442. * configure.ac, NEWS: Bump version to 1.7b.
  443. * Makefile.am (maintainer-check): Ignore comments while
  444. scanning for rm without -f.
  445. * Makefile.am (fetch): Get all files from savannah. Do not
  446. postprocess Struct.pm and XFiles.pm, since we now are the master
  447. of these.
  448. * lib/config.sub, lib/config.guess, lib/config-ml.in,
  449. lib/texinfo.tex: New upstream versions.
  450. * configure.ac: Check that autoconf is installed, that it works,
  451. and that it is recent enough in three steps, not one.
  452. * NEWS: Minor edits.
  453. * lib/Makefile.am (dist_script_DATA): Move config-ml.in ...
  454. (dist_pkgvdata_DATA): ... here.
  455. * tests/spy.test: Document overlapping ::-rules incompatibilities,
  456. and check only non-overlapping ::-rules.
  457. * doc/automake.texi (Texinfo): Define MAKEINFO, MAKEINFOHTML,
  458. MAKEINFOFLAGS, AM_MAKEINFOFLAGS, AM_MAKEINFOHTMLFLAGS, TEXI2DVI,
  459. TEXI2PDF, DVIPS, and TEXINFO_TEX in a table.
  460. (Uniform): Do not speak of missing HTML support, this is
  461. confusing.
  462. * lib/Automake/Variable.pm (_silent_variable_override): Add
  463. AM_MAKEINFOHTMLFLAGS.
  464. * lib/am/texibuild.am (%SOURCE_SUFFIX%.html): Use MAKEINFOHTML and
  465. AM_MAKEINFOHTMLFLAGS instead of MAKEINFO and AM_MAKEINFOFLAGS.
  466. * lib/am/texinfos.am (MAKEINFOHTML, AM_MAKEINFOHTMLFLAGS): Define.
  467. * tests/txinfo21.test: Add a test with AM_MAKEINFOHTMLFLAGS.
  468. 2003-11-10 Alexandre Duret-Lutz <adl@gnu.org>
  469. * tests/spy.test: New file.
  470. * tests/Makefile.am (TESTS): Add spy.test.
  471. * automake.in (handle_configure): Distribute and define mkinstalldirs
  472. only if it is already present in the package.
  473. (scan_autoconf_files): Do not require mkinstalldirs.
  474. (require_build_directory): Use $(mkdir_p), not $(mkinstalldirs).
  475. * lib/am/data.am, lib/am/distdir.am, lib/am/install.am,
  476. lib/am/java.am, lib/am/libs.am, lib/am/lisp.am, lib/am/mans.am,
  477. lib/am/progs.am, lib/am/python.am, lib/am/scripts.am,
  478. lib/am/texinfos.am: Use $(mkdir_p) instead of $(mkinstalldirs).
  479. * m4/mkdirp.m4: New file.
  480. * m4/Makefile.am (dist_m4data_DATA): Add mkdirp.m4.
  481. * m4/init.m4 (AM_INIT_AUTOMAKE): Call AM_PROG_MKDIR_P.
  482. * tests/Makefile.am (TESTS): Remove insh.test.
  483. * tests/insh.test: Delete.
  484. * tests/defs.in, tests/instsh.test: Do not install mkinstalldirs.
  485. * tests/auxdir.test: Install mkinstalldirs.
  486. * tests/distdir.test, tests/instman.test, tests/pr2.test: Use
  487. $(mkdir_p), not $(mkinstalldirs).
  488. * tests/empty.test: Run configure, do not substitute things by hand.
  489. * doc/automake.texi (Optional) <AC_CONFIG_FILES>: Take install-sh
  490. as an example, not mkinstalldirs.
  491. (Auxiliary Programs) <mkinstalldirs>: Update.
  492. * tests/defs.in: Handle required=bzip2.
  493. * tests/defs.in: Export SHELL.
  494. * tests/cond11.test: Missing quotes.
  495. * tests/nogzip2.test: Require bzip2.
  496. 2003-11-09 Alexandre Duret-Lutz <adl@gnu.org>
  497. * NEWS: Add news entries from 1.6.x and 1.7.x.
  498. * automake.texi (Optional) <AC_SUBST>: Grammar fixes.
  499. * automake.in (check_gnu_standards): Install COPYING only if
  500. none of COPYING, COPYING.LIB, or COPYING.LESSER exist. Do not
  501. overwrite the license otherwise.
  502. * tests/Makefile.am (TESTS): Add license.test.
  503. * tests/license.test: New file.
  504. * lib/mkinstalldirs: Mention automake-patches@gnu.org and
  505. bug-automake@gnu.org.
  506. * lib/compile, lib/depcomp, lib/elisp-comp, lib/mdate-sh:
  507. Likewise. Also add support for --help and --version.
  508. * lib/py-compile, lib/ylwrap: Likewise, and reindent.
  509. 2003-11-08 Alexandre Duret-Lutz <adl@gnu.org>
  510. * lib/am/tags.am (ETAGSFLAGS, CTAGSFLAGS): Remove.
  511. * lib/am/dejagnu.am (RUNTESTFLAGS): Remove.
  512. * lib/am/java.am (JAVACFLAGS): Remove.
  513. * tests/dejagnu3.test: Check that the environment value
  514. of RUNTESTFLAGS get passed down to runtest.
  515. Suggested by Mark Mitchell.
  516. * lib/am/depend2.am (?GENERIC?%EXT%.o, ?GENERIC?%EXT%.obj)
  517. (?GENERIC?%EXT%.lo): Do not echo compile command manually, this
  518. breaks `make -s'. Instead, fold the compile command on two lines,
  519. so that it take less space on the display.
  520. Suggested by Karl Berry and William Fulton.
  521. * lib/am/texibuild.am (%DEST_PREFIX%%DEST_SUFFIX%): Rename as ...
  522. (%DEST_INFO_PREFIX%%DEST_SUFFIX%): ... this, and honor ?INSRC?
  523. to select $(srcdir) or `.' builds.
  524. (INFO_DEPS): Define here.
  525. * lib/am/texinfos.am (dist-info): Strip filename starting with
  526. "$(srcdir)/".
  527. * automake.in (output_texinfo_build_rules): Take a new argument
  528. $insrc, and adjust substitutions in 'texibuild'.
  529. (handle_texinfo_helper): Compute a regex of all user-cleaned
  530. files, and use this to select whether to build .info files in `.'
  531. or $(srcdir). Give an account of the $(srcdir) vs `.' debacle.
  532. Alway build the version.texi and stamp files in $(srcdir). Do not
  533. define INFO_DEPS.
  534. * tests/Makefile.am (TESTS): Add txinfo23.test, txinfo24.test,
  535. and txinfo25.test.
  536. * tests/txinfo23.test, tests/txinfo24.test, tests/txinfo25.test:
  537. New files.
  538. * tests/txinfo13.test, tests/txinfo16.test, tests/txinfo3.test,
  539. tests/vtexi.test: Adjust to new rules.
  540. 2003-11-05 Alexandre Duret-Lutz <adl@gnu.org>
  541. * m4/init.m4 (AM_INIT_AUTOMAKE): Require Autoconf 2.58.
  542. * configure.ac: Require Autoconf 2.58a, and check for 2.58.
  543. 2003-10-27 Alexandre Duret-Lutz <adl@gnu.org>
  544. * lib/am/remake-hdr.am ($(srcdir)/%CONFIG_HIN%): Erase %STAMP%.
  545. * tests/Makefile.am (TESTS): Add autohdr3.test
  546. * tests/autohdr3.test: New file.
  547. * automake.in (handle_configure): Rename am__configure_deps
  548. as am__aclocal_m4_deps and include $(ACLOCAL_M4_SOURCES) and
  549. $configure_ac. Define am__configure_deps as am__aclocal_m4_deps
  550. + $(CONFIGURE_DEPENDENCIES) + $(ACLOCAL_M4). Do not define
  551. ACLOCAL_M4_DEPS while processing configure.am.
  552. (make_paragraphs): Do not define %CONFIGURE_AC%, now unused.
  553. (scan_aclocal_m4): Do not distribute aclocal.m4, this
  554. is done from lib/am/configure.am.
  555. * lib/am/configure.am (%MAKEFILE-IN%, DIST_COMMON,
  556. $(top_srcdir)/configure, $(ACLOCAL_M4)): Simplify using
  557. $(am__configure_deps) or $(am__aclocal_m4_deps).
  558. * lib/am/remake-hdr.am ($(srcdir)/%CONFIG_HIN%): Likewise.
  559. 2003-10-26 Alexandre Duret-Lutz <adl@gnu.org>
  560. * lib/am/remake-hdr.am ($(srcdir)/%CONFIG_HIN%): Depend on
  561. $(am__configure_deps).
  562. * automake.in (handle_configure): Distribute all AC_CONFIG_HEADERS
  563. sources, and without using require_file. Define %CONFIG_H_DEPS%
  564. and %FIRST_CONFIG_HIN% while processing remake-hdr.am.
  565. * lib/am/remake-hdr.am (%STAMP%): Use %CONFIG_H_DEPS% instead
  566. of (srcdir)/%CONFIG_HIN%. Output the $(srcdir)/%CONFIG_HIN%
  567. rule only for the first header (i.e., if %FIRST_CONFIG_HIN%).
  568. * tests/autohdr4.test: New file.
  569. * tests/Makefile.am (TESTS): Add autohdr4.test.
  570. * tests/config.test: Do not grep, run things to see if they work.
  571. 2003-10-25 Alexandre Duret-Lutz <adl@gnu.org>
  572. * tests/output7.test: Populate sub/ with a dummy file, so that it
  573. is not empty. This fixes a failure reported by Patrick Welche.
  574. * lib/am/distdir.am: Add note about tar's `-o' option and empty
  575. directories.
  576. 2003-10-24 Didier Cassirame <faded@free.fr> (tiny change)
  577. * lib/ylwrap: Typo in regex.
  578. 2003-10-23 Paul Eggert <eggert@twinsun.com>
  579. * lib/Automake/XFile.pm: Don't assume -j is solo.
  580. Issue a more-informative diagnostic.
  581. Problems reported by Eric Sunshine.
  582. 2003-10-21 Alexandre Duret-Lutz <adl@gnu.org>
  583. * m4/lispdir.m4 (AM_PATH_LISPDIR): Always check for Emacs.
  584. Always define lispdir.
  585. * lib/am/lisp.am (install-%DIR%LISP, uninstall-%DIR%LISP): Check
  586. $(EMACS) to decide whether _LISP files must be installed,
  587. not $(lispdir).
  588. * doc/automake.texi (Emacs Lisp): Mention the two ways to install
  589. non byte-compiled Emacs lisp files.
  590. * tests/lisp4.test, tests/lisp5.test: Check "make install"
  591. when EMACS=no.
  592. Suggested by Simon Josefsson.
  593. * NEWS: Clarify the entry about multiple conditional definitions
  594. of _PROGRAMS, _LDADD, and _LIBADD.
  595. Report from Simon Josefsson.
  596. * lib/am/install.am (install-strip): Override install_sh_PROGRAM
  597. too.
  598. Report from Elmar Hoffmann.
  599. 2003-10-07 Alexandre Duret-Lutz <adl@gnu.org>
  600. * aclocal.in ("MAIN", usage, parse_arguments): Move near
  601. the end, so "MAIN" can use prototypes.
  602. (scan_configure): Move later too, for the sake of prototypes.
  603. (scan_configure_dep): Fix setting of $scanned_configure_dep.
  604. (trace_used_macros): Do not take any argument.
  605. 2003-10-06 Alexandre Duret-Lutz <adl@gnu.org>
  606. * tests/stdlib2.test: Check AM_LDFLAGS alone.
  607. * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
  608. versions.
  609. * automake.in (handle_ltlibraries): Also grep AM_LDFLAGS for `-module'.
  610. * tests/stdlib2.test: New file.
  611. * tests/Makefile.am (TESTS): Add stdlib2.test.
  612. Report from Kevin P. Fleming.
  613. 2003-10-03 Richard Dawe <rich@phekda.freeserve.co.uk> (tiny change)
  614. * tests/defs.in: For required=runtest, check that we are using
  615. a DejaGnu that supports specifying the program on the command-line.
  616. 2003-10-03 Alexandre Duret-Lutz <adl@gnu.org>
  617. For Debian Bug #213524:
  618. * lib/am/texinfos.am (install-info-am, uninstall-info-am): Merge
  619. stderr and stdout, and grep only the first line while testing
  620. install-info --version's output. This revert part of the change
  621. from 2001-05-18.
  622. 2003-10-01 Akim Demaille <akim@epita.fr>
  623. * m4/amversion.in: Add (C) to the Copyright notice.
  624. 2003-10-01 Paul Eggert <eggert@twinsun.com>
  625. * lib/Automake/XFile.pm: Use Errno.
  626. (lock): Ignore ENOLCK errors. Problem reported Andreas Schwab in
  627. <http://mail.gnu.org/archive/html/bug-autoconf/2003-09/msg00141.html>.
  628. 2003-09-30 Tom Tromey <tromey@redhat.com>
  629. * lib/Automake/Options.pm (_process_option_list): Recognize
  630. no-dist.
  631. * NEWS: Update.
  632. * doc/automake.texi (Options): Document no-dist.
  633. * automake.in (check_cygnus): Set no-dist option.
  634. (handle_dist): Recognize no-dist.
  635. * tests/nodist3.test: New file.
  636. * tests/Makefile.am (TESTS): Added nodist3.test.
  637. 2003-09-29 Alexandre Duret-Lutz <adl@gnu.org>
  638. * automake.in (handle_clean): Take $makefile as argument, and
  639. define %MAKEFILE% while processing clean.am.
  640. (generate_makefile): Pass $makefile to handle_clean.
  641. * lib/am/clean.am (distclean, maintainer-clean): Erase %MAKEFILE%,
  642. not Makefile.
  643. * tests/gnumake.test: New file.
  644. * tests/Makefile.am (TESTS): Add gnumake.test.
  645. Report from Braden N. McDaniel.
  646. 2003-09-26 Alexandre Duret-Lutz <adl@gnu.org>
  647. * doc/automake.texi (Scripts): Update the example about automake.
  648. Mention `dist_' for distributed scripts.
  649. * lib/mkinstalldirs: Clean up after NextStep and OpenStep mkdir.
  650. Suggested by Eric Sunshine.
  651. 2003-09-25 Alexandre Duret-Lutz <adl@gnu.org>
  652. * README: More mailing lists.
  653. * NEWS: Mention the switch to GNU FDL for the manual.
  654. 2003-09-24 Alexandre Duret-Lutz <adl@gnu.org>
  655. * lib/install-sh (src, dst): Protect names starting with `-',
  656. as in mkinstalldirs.
  657. * configure.in: Rename as ...
  658. * configure.ac: ... this.
  659. * README: s/configure.in/configure.ac/.
  660. * doc/fdl.texi: New file.
  661. * doc/Makefile.am (automake_TEXINFOS): New variable.
  662. * doc/automake.texi (Copying This Manual): New appendix, include
  663. fdl.texi.
  664. (Macro and Variable Index, General Index): Move as subsections of ...
  665. (Indices): This new appendix.
  666. * doc/automake.texi: Refer to configure.ac instead of configure.in.
  667. * automake.texi: Move ...
  668. * doc/automake.texi: ... here.
  669. * doc/Makefile.am: New file.
  670. * configure.in: Output doc/Makefile.
  671. * Makefile.am (SUBDIRS): Add doc.
  672. (ETAGS_ARGS, TAGS_DEPENDENCIES): Move to doc/Makefile.am.
  673. 2003-09-23 Alexandre Duret-Lutz <adl@gnu.org>
  674. * aclocal.in (write_aclocal): Consider files with relative
  675. paths as local to the project, i.e., subject to m4_include.
  676. * tests/subpkg.test (ACLOCAL_AMFLAGS): Make sure m4_include
  677. is also used for .m4 files in the outer project.
  678. Support for multiple inputs in AC_CONFIG_FILES.
  679. Requested long ago by Harlan Stenn.
  680. * automake.in (handle_dist): Remove unused argument $makefile.
  681. (handle_subdirs): Expect SUBDIRS elements in $relative_dir,
  682. not $am_relative_dir.
  683. (rewrite_inputs_into_dependencies): Allow $add_srcdir to
  684. be a filename that must always be prefixed by $(srcdir) or
  685. $(top_srcdir).
  686. (handle_configure, generate_makefile): Revamp to make the
  687. Makefile.am, Makefile.in, Makefile more independent.
  688. (locate_am): New function.
  689. (scan_configure_dep, parse_arguments): Use locate_am.
  690. (MAIN): Adjust call to generate_makefile.
  691. * lib/am/configure.am: Remove %MAKEFILE-IN% from the dependencies
  692. of %MAKEFILE%. %MAKEFILE-IN% is already in %MAKEFILE-DEPS%.
  693. * tests/output6.test, tests/output7.test: New files.
  694. * tests/Makefile.am (TESTS): Add them.
  695. * automake.texi (Requirements) <AC_CONFIG_FILES>: Document how
  696. multiple inputs are scanned.
  697. 2003-09-13 Alexandre Duret-Lutz <adl@gnu.org>
  698. * Makefile.am (FETCHFILES, fetch): Do not fetch lib/Automake/XFile.pm
  699. and lib/Automake/Struct.pm from Autoconf.
  700. * lib/Automake/XFile.pm: Update comment, Automake is now
  701. the master for this file. Cosmetic changes.
  702. 2003-09-09 Akim Demaille <akim@epita.fr>
  703. * lib/Automake/FileUtils.pm (&update_file): s/cannot not/cannot/g.
  704. Reported by Gary Vaughan.
  705. (&find_file): Walk the @include in forward order.
  706. 2003-09-09 Akim Demaille <akim@epita.fr>
  707. * lib/Automake/FileUtils.pm (&update_file): Be sure not to leave
  708. trailing files.
  709. 2003-09-07 Alexandre Duret-Lutz <adl@gnu.org>
  710. Changes to m4_included files should also cause aclocal.m4 to change.
  711. * aclocal.in (m4_include_rx): New variable.
  712. (scan_configure_dep): New function.
  713. (scan_configure, add_file): Simplify using scan_configure_dep.
  714. * tests/Makefile.am (TESTS): Add acloca13.test.
  715. * tests/aclocal13.test: New file.
  716. * tests/instsh.test: Do not reset $ACLOCAL and $AUTOMAKE now
  717. that we have fake version in the $PATH.
  718. * aclocal.in (add_file): Remove useless filling of $output, probably
  719. left a after CVS conflict. This code is now in write_aclocal.
  720. * aclocal.in (configure_ac): Do not call require_configure_ac
  721. before parsing the options.
  722. * automake.in (configure_ac): Likewise.
  723. * lib/Automake/Variable.pm (configure_ac): Do not require configure.ac,
  724. find it.
  725. * lib/Automake/Configure_ac.pm (require_configure_ac):
  726. find_configure_ac never return an undefined value, so test
  727. the file's existence instead.
  728. * tests/Makefile.am (TESTS): Add help.test.
  729. * tests/help.test: New file.
  730. 2003-09-06 Alexandre Duret-Lutz <adl@gnu.org>
  731. * lib/Automake/XFile.pm: Update to use ChannelDefs.
  732. (close): Call Automake::FileUtils::handle_exec_errors on errors.
  733. * automake.in (scan_autoconf_files): Exit with $?=63 on version
  734. mismatch.
  735. (scan_autoconf_traces): Likewise. Close the autoconf pipe to
  736. capture abnormal exits.
  737. * aclocal.in ($exit_status): Remove, and use Channels.pm's $exit_code
  738. instead.
  739. (trace_used_macros): Close the autom4te pipe to capture abnormal exits.
  740. * lib/missing: When a tool has run and exited with $?=63, emulate
  741. it. Adjust the diagnostic and pretend the tool is tool old in this
  742. case. Use an emacs-updated "scriptversion" variable.
  743. * configure.in: Output tests/aclocal-${APIVERSION} and
  744. tests/automake-${APIVERSION}.
  745. * tests/aclocal.in, tests/automake.in,
  746. tests/missing.test, tests/missing2.test: New files.
  747. * tests/defs.in (AUTOMAKE, ACLOCAL, PATH): Define
  748. to use tests/aclocal-$APIVERSION and tests/automake-$APIVERSION.
  749. * tests/dup3.test: Remove. alocal9.test, acloca10.test, and others are
  750. already testing for this.
  751. * tests/depacl2.test, tests/dup2.test, tests/order.test: Fix
  752. configure.in so that aclocal works.
  753. * tests/defun.test: Quote the AC_DEFUN body.
  754. * tests/Makefile.am (TESTS): Add missing.test and missing2.test,
  755. and remove dup3.test.
  756. (check_SCRIPTS): Add aclocal and automake.
  757. * tests/unused.test: Quote AC_DEFUN arguments.
  758. 2003-09-05 Paul Eggert <eggert@twinsun.com>
  759. * NEWS, aclocal.in, automake.in, automake.texi, lib/ansi2knr.c,
  760. lib/depcomp, lib/missing, lib/py-compile,
  761. lib/Automake/Channels.pm, lib/Automake/Rule.pm,
  762. lib/Automake/Variable.pm, lib/Automake/tests/Condition.pl,
  763. lib/am/dejagnu.am, lib/am/depend.am, lib/am/lisp.am,
  764. lib/am/remake-hdr.am, lib/am/texi-vers.am, m4/obsolete.m4,
  765. m4/python.m4, tests/backsl4.test, tests/defs.in,
  766. tests/dejagnu7.test, tests/depacl2.test, tests/dirlist.test,
  767. tests/error.test, tests/getopt.test, tests/gnuwarn.test,
  768. tests/include2.test, tests/libobj10.test, tests/libtool5.test,
  769. tests/libtool6.test, tests/lisp3.test, tests/phony.test,
  770. tests/pr220.test, tests/subcond2.test, tests/subcond3.test,
  771. tests/vtexi.test:
  772. Spelling and minor grammar fixes.
  773. 2003-09-01 Alexandre Duret-Lutz <adl@gnu.org>
  774. * lib/config.sub, lib/config.guess, lib/texinfo.tex,
  775. lib/config-ml.in, lib/symlink-tree: New upstream versions.
  776. 2003-08-31 Thien-Thi Nguyen <ttn@gnu.org> (tiny change)
  777. * tests/yacc7.test: Require bison.
  778. 2003-08-31 Alexandre Duret-Lutz <adl@gnu.org>
  779. * aclocal.in (scan_file): Warn about underquoted AC_DEFUN.
  780. ($underquoted_manual_once): New variable.
  781. * automake.texi (Extending aclocal): Document this.
  782. 2003-08-29 Alexandre Duret-Lutz <adl@gnu.org>
  783. * aclocal.in (@file_order): New variable, to make sure
  784. files are output in the opposite order of the -I arguments.
  785. (scan_file): Fill it.
  786. (trace_used_macros, write_aclocal): Use it.
  787. (scan_m4_files): Reverse the directory contents, so that
  788. macros from the lexicographically greatest files are preferred.
  789. * tests/aclocal9.test, tests/acloca10.test, tests/acloca11.test:
  790. New files.
  791. * tests/Makefile.am (TESTS): Add them.
  792. 2003-08-24 Alexandre Duret-Lutz <adl@gnu.org>
  793. For Debian Bug #206299:
  794. * automake.in ($configure_deps_greatest_timestamp,
  795. $output_deps_greatest_timestamp): New variables.
  796. (initialize_per_input): Reset $output_deps_greatest_timestamp.
  797. (scan_autoconf_traces, scan_autoconf_files, read_am_file):
  798. Update $configure_deps_greatest_timestamp and
  799. $output_deps_greatest_timestamp
  800. (generate_makefile): Rewrite the logic to decide whether
  801. to rewrite the output. Move the leading dup_channel_setup
  802. and trailing drop_channel_setup to MAIN, so that
  803. drop_channel_setup is executed for all exit paths.
  804. * tests/aclocal7.test: Update to check for $AUTOMAKE --no-force
  805. * tests/distcom6.test: New file. Report from Scott James Remnant.
  806. * tests/Makefile.am (TESTS): Add distcom6.test.
  807. * configure.in: Require Autoconf 2.57b to be sure
  808. aclocal can use autom4te --language Autoconf-without-aclocal-m4.
  809. * m4/init.m4: Likewise. Move the AC_PREREQ and m4_pattern_allow
  810. calls inside the AM_INIT_AUTOMAKE macro.
  811. * m4/auxdir.m4, m4/cond.m4, m4/lex.m4, m4/regex.m4: Move
  812. AC_PREREQ calls inside the macros.
  813. * m4/header.m4: Remove AC_PREREQ.
  814. * automake.in (file_contents_internal): Do not add newlines before
  815. empty actions.
  816. * aclocal.in (write_aclocal): Take an output file and list of
  817. used macros in arguments and make up the file contents here.
  818. (trace_used_macros): New function.
  819. (add_file): Do not update $output.
  820. ($output): Delete.
  821. (MAIN): Call trace_used_macros. Then rewrite aclocal.m4 only
  822. for these traced macros. This should shorten aclocal.m4 by
  823. stripping out unused macros.
  824. * automake.texi (Invoking aclocal): Document ${AUTOM4TE}.
  825. * tests/aclibobj.test: Make sure configure.in exists by the time
  826. aclocal runs.
  827. * tests/aclocal8.test: New file.
  828. * tests/Makefile.am (TESTS): Add aclocal8.test.
  829. Suggested by Bruno Haible and Akim Demaille.
  830. 2003-08-21 Akim Demaille <akim@epita.fr>
  831. * lib/Automake/Configure_ac.pm (&find_configure_ac)
  832. (&require_configure_ac): Accept an optional directory argument.
  833. ($configure_ac): Remove.
  834. * aclocal.in, automake.in ($configure_ac): New.
  835. * lib/Automake/Variable.pm: Don't use $configure_ac, just
  836. configure.ac.
  837. 2003-08-20 Akim Demaille <akim@epita.fr>
  838. * lib/Automake/FileUtils.pm: More perldoc.
  839. (&up_to_date_p): New.
  840. 2003-08-17 Alexandre Duret-Lutz <adl@gnu.org>
  841. Fix for PR automake/398:
  842. * m4/python.m4: Do not call AC_PATH_PROGS if $PYTHON is already
  843. set. Display `none' instead of `:' and $PYTHON is set to `:'
  844. when no suitable interpreter is found. Honor ACTION-IF-FOUND and
  845. ACTION-IF-NOT-FOUND.
  846. * automake.texi (Python): Document ACTION-IF-FOUND and
  847. ACTION-IF-NOT-FOUND.
  848. * tests/python4.test, tests/python5.test, tests/python6.test,
  849. tests/python7.test, tests/python8.test, tests/python9.test: New
  850. files.
  851. * tests/Makefile.am (TESTS): Add them.
  852. Report from Per Cederqvist.
  853. 2003-08-13 Alexandre Duret-Lutz <adl@gnu.org>
  854. Fix for PR automake/399:
  855. * m4/python.m4: Use AC_PATH_PROGS, not AC_PATH_PROG.
  856. Report from Per Cederqvist.
  857. 2003-08-12 Raja R Harinath <harinath@acm.org>
  858. * lib/Automake/Condition.pm (strip): Replace loop with 'grep'.
  859. (not): Replace loop with 'map'.
  860. * lib/Automake/DisjConditions.pm (sub_conditions): Likewise.
  861. * lib/Automake/Item.pm (not_alwasy_defined_in_cond):
  862. Don't 'simplify' result of 'invert', since it's already in
  863. canonical form.
  864. * lib/Automake/Rule.pm (define): Replace loop with
  865. 'not_always_defined_in_cond'.
  866. * lib/Automake/DisjConditions.pm (ambiguous_p): Typo in comment.
  867. * lib/Automake/Rule.pm (accept_extensions, msg_cond_rule): Likewise.
  868. (define): Reword comment slightly.
  869. * Variable.pm (_var_order, msg_cond_var): Typo in comment.
  870. * tests/cond20.test (var2): Use foo.c instead of foo.cc to avoid
  871. spurious automake error exit.
  872. 2003-08-12 Alexandre Duret-Lutz <adl@gnu.org>
  873. * lib/Automake/Item.pm, lib/Automake/ItemDef.pm: New files.
  874. * lib/Automake/Rule.pm, lib/Automake/RuleDef.pm: New files.
  875. * lib/Automake/Makefile.am (dist_perllib_DATA): Add them.
  876. * lib/Automake/VarDef.pm: Make this a subclass of Automake::ItemDef.
  877. (new): Adjust to call Automake::ItemDef::new.
  878. (comment, location, owner): Delete. Now inherited from ItemDef.
  879. * lib/Automake/Variable.pm: Make this a subclass of Automake::Item.
  880. (_new): Adjust to call Automake::Item::new.
  881. (name, def, rdef, _set, conditions, not_always_defined_in_cond):
  882. Delete. How inherited from Item, where `_set' is called `set'.
  883. * automake.in (SUFFIX_RULE_PATTERN): Delete. Now in Automake::Rule.
  884. (suffix_rules_default): Delete. Now
  885. Automake::Rule::_suffix_rules_default
  886. (suffixes): Delete. Now Automake::Rule::suffixes.
  887. (TARGET_AUTOMAKE, TARGET_USER): Delete. Now
  888. Automake::RuleDef::RULE_AUTOMAKE and Automake::RuleDef::RULE_USER.
  889. (%targets, %target_source, %target_name, %target_owner): Delete,
  890. replaced by the Rule and RuleDef classes.
  891. (dependencies, depend, actions): Delete. Now in Automake::Rule.
  892. (suffix_rules, register_suffix_rule): Likewise.
  893. (KNOWN_EXTENSIONS_PATTERN, accept_extensions): Likewise.
  894. (known_extensions_list): Delete. Now
  895. Automake::Rule::_known_extensions_list.
  896. (target_conditions): Delete. Now inherited by Automake::Rule
  897. from Automake::Item::conditions.
  898. (rule_define): Delete. Now Automake::Rule::define. Adjust all
  899. callers.
  900. (target_defined): Delete. Now Automake::Rule::rule. Adjust all
  901. callers.
  902. (initialize_per_input): Adjust to call Automake::Rule::reset.
  903. (err_target, err_cond_target, msg_cond_target, msg_target,
  904. reject_target): Delete. Now defined in Automake::Rule as
  905. err_rule, err_cond_rule, msg_cond_rule, msg_rule and reject_target.
  906. Adjust all callers.
  907. (handle_languages): Call suffix_rules_count.
  908. * tests/location.test: Adjust expected diagnostics. We now display
  909. $(EXEEXT) accurately.
  910. 2003-08-10 Alexandre Duret-Lutz <adl@gnu.org>
  911. Revert the fix for PR automake/291:
  912. * lib/Automake/Variable.pm (define): Do not warn about variables
  913. starting with `_' which are an issue on NEWS-OS 4.2R. According
  914. to Paul Eggert, NEWS-OS 4.2R is ten years old, the latest version
  915. was released on 1996 and is not in wide use. On the other hand,
  916. variables starting with `_' are mandatory in several situations,
  917. so diagnosing them is more annoying than useful.
  918. * tests/canon5.test: Do not use -Wno-portability.
  919. * tests/vars2.test: Delete.
  920. * tests/Makefile.am (TESTS): Remove vars2.test.
  921. Suggested by Jim Meyering.
  922. 2003-08-09 Raja R Harinath <harinath@acm.org>
  923. * lib/Automake/DisjConditions.pm (ambiguous_p): Simplify slightly.
  924. * lib/Automake/tests/DisjConditions.pl (test_ambig): Test
  925. Automake::Disjunctions::ambiguous_p.
  926. 2003-08-07 Alexandre Duret-Lutz <adl@gnu.org>
  927. * lib/Automake/Variable.pm (condition_ambiguous_p): Move ...
  928. * lib/Automake/DisjConditions.pm (ambiguous_p): ... here.
  929. * automake.in (rule_define): Adjust usage.
  930. * lib/Automake/Variable.pm (_check_ambiguous_condition): Likewise.
  931. * lib/Automake/Options.pm: New file.
  932. * lib/Automake/Makefile.am (dist_perllib_DATA): Add Options.pm.
  933. * automake.in (FOREIGN, GNU, GNITS, $default_strictness)
  934. ($default_strictness_name, $strictness, $strictness_name)
  935. (%options, %global_options, process_option_list)
  936. (set_strictness): Remove, now in Options.pm.
  937. (initialize_per_input): Call Automake::Options::reset.
  938. (handle_options, get_object_extension, get_object_extension)
  939. (handle_languages, handle_single_transform_list, handle_compile)
  940. (handle_texinfo_helper, handle_man_pages, handle_dist)
  941. (handle_configure, do_check_merge_target)
  942. (handle_factored_dependencies, handle_tests)
  943. (handle_minor_options, scan_autoconf_traces, check_cygnus)
  944. (lang_sub_obj, lang_c_rewrite, lang_c_finish, rule_define)
  945. (make_paragraphs, am_install_var, parse_arguments): Adjust
  946. to set and read options via the new interface.
  947. 2003-08-07 Raja R Harinath <harinath@acm.org>
  948. * Makefile.am (maintainer-check): Update perllibdir.
  949. * lib/Automake/Makefile.am (Config.pm): Depend on Makefile too.
  950. (EXTRA_DIST): Add Config.in.
  951. * Makefile.in, lib/Automake/Makefile.in: Regenerate.
  952. * tests/defs.in (AUTOMAKE, ACLOCAL): Use absolute paths in
  953. $perllibdir.
  954. 2003-08-06 Raja R Harinath <harinath@acm.org>
  955. * configure.in (AUTOMAKE, ACLOCAL): Search the 'lib' directory
  956. from the builddir too, to pick up Automake::Config.
  957. * tests/defs.in (AUTOMAKE, ACLOCAL): Likewise.
  958. * configure: Regenerate.
  959. * automake.in (BEGIN): Handle multiple directories in $perllibdir.
  960. * aclocal.in (BEGIN): Likewise.
  961. 2003-08-07 Alexandre Duret-Lutz <adl@gnu.org>
  962. * tests/ltcond.test: Thinko.
  963. 2003-08-06 Alexandre Duret-Lutz <adl@gnu.org>
  964. * lib/Automake/Config.in: New file.
  965. * lib/Automake/Makefile.am (nodist_perllib_DATA, do_subst,
  966. CLEANFILES): New variables.
  967. (Config.pm): New rule.
  968. * Makefile.am (maintainer-check): Adjust expected differences
  969. between automake.in and automake.
  970. * aclocal.in, automake.in: Use Automake::Config.
  971. 2003-08-05 Alexandre Duret-Lutz <adl@gnu.org>
  972. * tests/ltconv.test: s/rm/rm -f/ to placate maintainer-check.
  973. * automake.in (handle_texinfo_helper): Use the user definition
  974. of TEXINFO_TEX before checking for cygnus or AC_CONFIG_AUX_DIR.
  975. * tests/txinfo22.test: New file.
  976. * tests/Makefile.am (TESTS): Add txinfo22.test.
  977. Report from Tom Tromey.
  978. 2003-08-03 Raja R Harinath <harinath@acm.org>
  979. * lib/Automake/Variable.pm (@EXPORT): Remove
  980. traverse_variable_recursively and
  981. require_variables_for_variable.
  982. (require_variables_for_variable, traverse_variable_recursively)
  983. (_traverse_variable_recursively_worker): Convert to
  984. Automake::Variable methods, remove support for being
  985. invoked with variable names, and rename to ...
  986. (requires_variables, traverse_recursively)
  987. (_do_recursive_traversal): ... these.
  988. (_value_as_list_recursive_worker, transform_variable_recursively):
  989. Update to reflect changes.
  990. * automake.in (handle_LIBOBJS, handle_ALLOCA)
  991. (handle_libraries, handle_ltlibraries, am_primary_prefixes):
  992. Likewise.
  993. (define_objects_from_sources): Fix typo in comment.
  994. 2003-08-02 Raja R Harinath <harinath@acm.org>
  995. * automake.in (handle_source_transform): Replace 'grep' with 'map'.
  996. (register_language): Replace 'grep' with 'foreach' modifier.
  997. 2003-08-01 Raja R Harinath <harinath@acm.org>
  998. * lib/Automake/Variables.pm (variables): Return a list of
  999. Automake::Variable instances, not a list of strings.
  1000. (dump): Remove support for being invoked with a string.
  1001. (variables_dump): Adapt to these changes.
  1002. * automake.in (check_typos): Likewise.
  1003. (am_primary_prefixes): Likewise.
  1004. 2003-07-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> (tiny change)
  1005. * lib/depcomp (aix): Support AIX Compiler version 6.
  1006. 2003-07-31 Alexandre Duret-Lutz <adl@gnu.org>
  1007. * automake.texi (A Shared Library): Rewrite and split into
  1008. subsections. Valuable comments from Norman Gray, Harlan Stenn,
  1009. Tim Van Holder, and Guido Draheim.
  1010. * tests/ltcond.test, tests/ltcond2.test, tests/ltconv.test: New files.
  1011. * tests/Makefile.am (TESTS): Add them.
  1012. 2003-07-30 Alexandre Duret-Lutz <adl@gnu.org>
  1013. * automake.in (handle_single_transform_list): Complain about
  1014. foo.$(OBJEXT) being created both with libtool and without, not
  1015. about foo.lo.
  1016. Report from Tim Van Holder.
  1017. 2003-07-29 Alexandre Duret-Lutz <adl@gnu.org>
  1018. * Makefile.am (FETCHFILES, fetch): Add config-ml.in and
  1019. symlink-tree.
  1020. * lib/config.sub, lib/config-ml.in, lib/texinfo.tex: New
  1021. upstream versions.
  1022. 2003-07-28 Alexandre Duret-Lutz <adl@gnu.org>
  1023. * automake.in (handle_configure): Cosmetic change to avoid
  1024. a maintainer-check complaint.
  1025. 2003-07-27 Alexandre Duret-Lutz <adl@gnu.org>
  1026. * lib/Automake/Variable.pm (@EXPORT): Remove variable_dump.
  1027. (variable_dump): Replace by ...
  1028. (dump): ... this method.
  1029. (rdef, _check_ambiguous_condition): Adjust to use ->dump.
  1030. (define, variables_dump): Adjust to use Automake::Variable::dump
  1031. * lib/am/compile.am (mostlyclean-compile): Do not erase core dumps.
  1032. * automake.texi (Built sources example): Adjust example.
  1033. 2003-07-26 Alexandre Duret-Lutz <adl@gnu.org>
  1034. * automake.in (get_object_extension, handle_languages)
  1035. (handle_single_transform_list, handle_compile, handle_compile)
  1036. (handle_texinfo_helper, handle_texinfo_helper, handle_man_pages)
  1037. (handle_tests, handle_minor_options, check_gnu_standards)
  1038. (lang_sub_obj, lang_c_rewrite, lang_c_finish, rule_define):
  1039. Simplify "if (defined $options{'X'})" into "if ($options{'X'})".
  1040. Complete changes from 2003-07-08.
  1041. * automake.in ($cmdline_use_dependencies, $use_dependencies): Remove,
  1042. replaced by $options{'no-dependencies'}.
  1043. ($global_options): Remove.
  1044. (%global_options): New variable.
  1045. (initialize_per_input): Empty %options.
  1046. (process_option_list): Take a location and %options ref argument,
  1047. process no-dependencies as other options.
  1048. (handle_options): Do not reparse the global options, just initialize
  1049. %options from %global_options and fill it with local options.
  1050. (handle_languages, handle_single_transform_list)
  1051. (handle_configure, check_cygnus): Adjust usage of
  1052. $options{'no-dependencies'}.
  1053. (make_paragraphs): Adjust usage of $options{'cygnus'}.
  1054. (parse_arguments): Set cygnus and no-dependencies in %global_options.
  1055. (scan_autoconf_traces) <AM_INIT_AUTOMAKE>: Call process_option_list
  1056. to fill %global_options.
  1057. 2003-07-25 Alexandre Duret-Lutz <adl@gnu.org>
  1058. * tests/remake4.test: Use `$MAKE distdir' instead of `$MAKE dist' to
  1059. avoid the use of tar.
  1060. 2003-07-24 Alexandre Duret-Lutz <adl@gnu.org>
  1061. * tests/gnuwarn2.test: Typo.
  1062. * tests/insthook.test: Use $MAKE, not make.
  1063. Fix missing rebuilds during `make dist' with BSD make.
  1064. * automake.in (generate_makefile): Do not push Makefile.in, and
  1065. Makefile.am into DIST_COMMON here.
  1066. * lib/am/configure.am (DIST_COMMON): Do it here, and use
  1067. %MAKEFILE-AM% and %MAKEFILE-IN% so that items in DIST_COMMON
  1068. actually match the targets. Prefix `configure' with `$(srcdir)/'
  1069. to match the target.
  1070. * tests/remake4.test: New file.
  1071. * tests/Makefile.am (TESTS): Add remake4.test.
  1072. Report from Akim Demaille.
  1073. 2003-07-23 Alexandre Duret-Lutz <adl@gnu.org>
  1074. * automake.in (handle_multilib): Register all-multi.
  1075. (file_contents_internal): Insert \n when concatenating actions
  1076. from "factored" rules.
  1077. * lib/config-ml.in: New file, from GCC, including a patch
  1078. from Ralf Corsepius (see GCC's PR 11526).
  1079. * lib/symlink-tree.in: New file, from GCC.
  1080. * lib/Makefile.am (dist_script_DATA): Add config-ml.in and
  1081. symlink-tree.
  1082. * lib/am/clean.am (distclean-generic): Do not delete Makefile here...
  1083. (distclean, maintainer-clean): ... do it here.
  1084. * lib/am/depend.am (distclean-depend): Likewise, replace by
  1085. (distclean, maintainer-clean): ... these.
  1086. * lib/am/multilib.am (all-recursive, install-recursive,
  1087. mostlyclean-recursive, clean-recursive, distclean-recursive,
  1088. maintainer-clean-recursive): Remove these rules.
  1089. (mostlyclean-am, clean-am, distclean-am, maintainer-clean-am): Replace
  1090. by ...
  1091. (mostlyclean, clean, distclean, maintainer-clean): ... these.
  1092. (all-am): Remove, done in handle_multilib.
  1093. (install-am): Replace by ...
  1094. (install-exec-am): ... this.
  1095. * tests/Makefile.am (TESTS): Add multlib.test.
  1096. * tests/multlib.test: New file, based on a test case by
  1097. Ralf Corsepius
  1098. 2003-07-23 Tom Tromey <tromey@redhat.com>
  1099. * lib/missing (autom4te): Typo.
  1100. 2003-07-16 Derek Price <derek@ximbiot.com>
  1101. * automake.in (scan_autoconf_traces): Handle AC_CONFIG_LINKS.
  1102. (handle_configure): Handle adding AC_CONFIG_LINKS arguments to
  1103. distclean targets (CONFIG_CLEAN_FILES makefile var).
  1104. * NEWS: Note new handling of AC_CONFIG_LINKS.
  1105. * automake.texi (Other things Automake recognizes): Ditto.
  1106. * tests/Makefile.am (TESTS): Add new tests.
  1107. * tests/conflnk.test: New test that links are cleaned on distclean.
  1108. * tests/conflnk2.test: New test that source files for links are
  1109. distributed.
  1110. 2003-07-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (tiny change)
  1111. * automake.in (scan_autoconf_traces): Trace AM_ENABLE_MULTILIB to
  1112. render $seen_multilib functional again.
  1113. 2003-07-10 Raja R Harinath <harinath@cs.umn.edu>
  1114. Avoid using refs as hash keys.
  1115. * lib/Automake/Variable.pm ($_traversal): New.
  1116. (reset): Reset $_traversal.
  1117. (_new): New attribute 'scanned'.
  1118. (%_vars_scanned): Remove.
  1119. (traverse_variable_recursively)
  1120. (traverse_variable_recursively_worker):
  1121. Use $_traversal instead of %_vars_scanned to detect recursively
  1122. defined variables.
  1123. * lib/am/configure.am (am--refresh): Silence.
  1124. 2003-07-10 Alexandre Duret-Lutz <adl@gnu.org>
  1125. * lib/Automake/Variable.pm (define): Make clear the diagnostic
  1126. about variable names starting with `_' is about *Make* variables.
  1127. For Debian Bug #193907:
  1128. * automake.texi (Clean): make maintainer-clean should still
  1129. allow ./configure && make to run.
  1130. * automake.texi (CVS): Typo.
  1131. 2003-07-09 Alexandre Duret-Lutz <adl@gnu.org>
  1132. * aclocal.in: Use Automake::FileUtils.
  1133. (parse_arguments, scan_configure, scan_m4_files): Never call
  1134. "die" to print an error message. Use print and exit.
  1135. * automake.in: Use Automake::FileUtils.
  1136. * lib/Automake/General.pm ($debug, $help, $tmp, $verbose,
  1137. $version, &debug, &getopt, &mktmpdir, &verbose): Remove.
  1138. (END): Do not massage Perl's exit code. Do not clean any temporary
  1139. directory.
  1140. (find_file, mtime, update_file, xsystem, contents): Move to ...
  1141. * lib/Automake/FileUtils.pm: ... this new file. Adjust to
  1142. report errors using Channels.
  1143. (handle_exec_errors, xqx): New functions, from Autoconf.
  1144. * lib/Automake/Makefile.am (dist_perllib_DATA): Add FileUtils.pm.
  1145. * lib/Automake/Variable.pm (_traverse_variable_recursively_worker):
  1146. Return the empty list on recursively defined variable. This
  1147. supersedes my change of 2003-07-02.
  1148. 2003-07-08 Akim Demaille <akim@epita.fr>
  1149. * automake.in ($cygnus_mode): Replace with $options{'cygnus'}.
  1150. Adjust all dependencies.
  1151. (&depend): Move next to %dependencies and prototype.
  1152. (&initialize_per_input): Initialize the 'cygnus' field of
  1153. '%options' to spare the code from 'exists' or 'defined' when
  1154. testing it.
  1155. (&handle_configure, &do_check_merge_target, &check_cygnus): Prototype.
  1156. (&parse_arguments): Rename '%options' and '%options_1st_pass' as
  1157. '%cli_options' and '%cli_options_1st_pass' to avoid clashes and
  1158. inconsistencies.
  1159. 2003-07-07 Alexandre Duret-Lutz <adl@gnu.org>
  1160. * automake.in (generate_makefile): Move near the end of the
  1161. file, after the definition of all called functions, so that
  1162. prototypes can be enforced.
  1163. 2003-07-06 Akim Demaille <akim@epita.fr>
  1164. * lib/am/subdirs.am (RECURSIVE_TARGETS): Move install-recursive,
  1165. install-exec-recursive, install-data-recursive and
  1166. uninstall-recursive addition to...
  1167. * lib/am/install.am: here.
  1168. * lib/am/texinfos.am, lib/am/subdirs.am: Remove the .PHONY
  1169. declaration of RECURSIVE_TARGETS.
  1170. 2003-07-06 Akim Demaille <akim@epita.fr>
  1171. * lib/Automake/Variable.pm, lib/Automake/VarDef.pm (VAR_SORTED):
  1172. New variable type.
  1173. Handle it.
  1174. * automake.in (&handle_subdirs): Prototype.
  1175. Adjust callers.
  1176. Make RECURSIVE_TARGETS a VAR_SORTED.
  1177. 2003-07-06 Akim Demaille <akim@epita.fr>
  1178. * automake.in (&define_files_variable): New.
  1179. (&handle_texinfo_helper): Move the handling of user variables from
  1180. here, to...
  1181. (&handle_texinfo): here.
  1182. This is to balance the size of these functions, and to match the
  1183. convention of other _helper functions.
  1184. (&handle_texinfo_helper): Use &define_files_variable.
  1185. Move some code to use less variables.
  1186. Rename $info_cursor as $texi.
  1187. (&handle_texinfo): Do not call handle_texinfo_helper if there are
  1188. no TEXINFOS.
  1189. * lib/am/texinfos.am: Sort the occurrences of dvi, info, pdf, ps
  1190. and html.
  1191. Remove *-recursive targets from .PHONY, they are part of
  1192. $(RECURSIVE_TARGETS) anyway.
  1193. (install-info, mostlyclean-aminfo): Are .PHONY.
  1194. 2003-07-05 Akim Demaille <akim@epita.fr>
  1195. * lib/am/distdir.am: Use ';' as a terminator, not a separator, for
  1196. sed complex commands, as required by NetBSD sed.
  1197. Reported by Patrick Welche.
  1198. 2003-07-05 Alexandre Duret-Lutz <adl@gnu.org>
  1199. * lib/config.guess, lib/config.sub: New upstream version.
  1200. 2003-07-04 Alexandre Duret-Lutz <adl@gnu.org>
  1201. * automake.texi (Optional, Dist): AC_CONFIG_AUX_DIR files
  1202. are automatically distributed.
  1203. * lib/depcomp (icc): Update to grok ICC 7.1's output.
  1204. * m4/depend.m4 (_AM_DEPENDENCIES): Check dependency generation
  1205. in a subdirectory, and with many dependencies. This
  1206. catches more failures of depcomp.
  1207. Reports from Ralf Wildenhues and Akim Demaille.
  1208. 2003-07-04 Akim Demaille <akim@epita.fr>
  1209. * automake.in (&scan_texinfo_file, &output_texinfo_build_rules,
  1210. (&handle_texinfo_helper, &handle_texinfo): Formatting changes.
  1211. Prototype properly.
  1212. Don't use & when calling functions.
  1213. 2003-07-03 Alexandre Duret-Lutz <adl@gnu.org>
  1214. * NEWS: Categorize entries.
  1215. Suggested by Jim Meyering.
  1216. * Makefile.am (maintainer-clean): Disallow '$AUTOMAKE && exit 1'.
  1217. Ignore @...@ substitutions in comments.
  1218. * tests/defs.in: Try to make the shell more POSIX compliant.
  1219. (AUTOMAKE_run, AUTOMAKE_fails): New functions.
  1220. * tests/README: Mention AUTOMAKE_fails.
  1221. * tests/alloca.test, tests/alloca2.test, tests/ansi8.test,
  1222. * tests/asm.test, tests/backsl3.test, tests/backsl4.test,
  1223. * tests/badline.test, tests/badopt.test, tests/canon.test,
  1224. * tests/canon5.test, tests/colneq.test, tests/comment3.test,
  1225. * tests/comment5.test, tests/cond2.test, tests/cond20.test,
  1226. * tests/cond23.test, tests/cond24.test, tests/cond27.test,
  1227. * tests/condinc2.test, tests/conff2.test, tests/cxx2.test,
  1228. * tests/dejagnu2.test, tests/dirforbid.test,
  1229. * tests/distcom3.test, tests/else.test, tests/exdir2.test,
  1230. * tests/exeext2.test, tests/gcj2.test, tests/gcj5.test,
  1231. * tests/getopt.test, tests/gettext.test, tests/gettext2.test,
  1232. * tests/gnits.test, tests/gnuwarn.test, tests/gnuwarn2.test,
  1233. * tests/insh.test, tests/lex2.test, tests/libobj10.test,
  1234. * tests/libobj12.test, tests/libobj13.test,
  1235. * tests/libobj3.test, tests/library2.test,
  1236. * tests/library3.test, tests/libtool4.test,
  1237. * tests/libtool6.test, tests/lisp2.test, tests/location.test,
  1238. * tests/nogzip2.test, tests/output5.test, tests/overrid.test,
  1239. * tests/percent.test, tests/percent2.test,
  1240. * tests/pluseq5.test, tests/pluseq7.test, tests/pluseq9.test,
  1241. * tests/pr211.test, tests/primary.test, tests/primary2.test,
  1242. * tests/python2.test, tests/recurs.test, tests/reqd2.test,
  1243. * tests/seenc.test, tests/specflg.test, tests/specflg2.test,
  1244. * tests/spell.test, tests/spell2.test, tests/srcsub.test,
  1245. * tests/srcsub2.test, tests/stdlib.test, tests/subdir7.test,
  1246. * tests/substtarg.test, tests/suffix11.test,
  1247. * tests/symlink.test, tests/syntax.test,
  1248. * tests/targetclash.test, tests/txinfo4.test,
  1249. * tests/version3.test, tests/warnopts.test,
  1250. * tests/xsource.test, tests/yacc2.test: Use set -e,
  1251. AUTOMAKE_fails, and always grep error message.
  1252. * automake.in (handle_ltlibraries): Fix call to msg.
  1253. * tests/stamph.test: Delete.
  1254. * tests/Makefile.am (TESTS): Remove stamph.test.
  1255. * automake.in (handle_single_transform_list): Use $var->name
  1256. to print variable in the configure-substitution diagnostic.
  1257. Do not mention the parent when it is the variable itself.
  1258. * tests/package.test: Delete.
  1259. * tests/Makefile.am (TESTS): Remove package.test.
  1260. * automake.in (cond_stack_else): Return FALSE if `if' was not
  1261. used.
  1262. (cond_stack_endif): Return TRUE if `if' was not used. Do not
  1263. display $negate and $cond, they are irrelevant and maybe undefined.
  1264. 2003-07-02 Alexandre Duret-Lutz <adl@gnu.org>
  1265. * lib/Automake/Variable.pm (_traverse_variable_recursively_worker):
  1266. Do not return undef when a variable is recursively defined, this
  1267. causes warnings all over the place. Return the empty string instead.
  1268. * lib/am/distdir.am (distcheck): Protect loop of DIST_ARCHIVES
  1269. from empty DIST_ARCHIVES.
  1270. 2003-07-01 Alexandre Duret-Lutz <adl@gnu.org>
  1271. * automake.in (scan_autoconf_traces): Check the expected
  1272. number of arguments of each traced macro.
  1273. * tests/overrid.test: Fix call to AM_CONDITIONAL.
  1274. * tests/conff2.test: New files.
  1275. * tests/Makefile.am (TESTS): Add conff2.test.
  1276. Report from Paolo Bonzini.
  1277. 2003-06-30 Alexandre Duret-Lutz <adl@gnu.org>
  1278. * automake.in ($SUBST_REF_PATTERN): Do not define.
  1279. (%gen_varname): Move to Variable.pm, as %_gen_varname.
  1280. (initialize_per_input): Do not clean %gen_varname.
  1281. (handle_options, check_libobjs_sources, handle_source_transform,
  1282. handle_LIBOBJS, handle_ltlibraries, handle_texinfo_helper,
  1283. handle_man_pages, handle_dist, handle_subdirs, handle_gettext,
  1284. am_install_var): Adjust to use value_as_list_recursive,
  1285. loc_and_value_as_list_recursive, and has_conditional_contents.
  1286. (require_file_with_macro): Accept an Automake::Variable as argument.
  1287. (traverse_variable_recursively,
  1288. traverse_variable_recursively_worker, gen_varname,
  1289. transform_variable_recursively): Move ...
  1290. * lib/Automake/Variable.pm (traverse_variable_recursively,
  1291. _traverse_variable_recursively_worker,
  1292. _gen_varname, transform_variable_recursively): ... here.
  1293. * automake.in (variable_conditionally_defined,
  1294. variable_value_as_list_recursive_worker,
  1295. variable_value_as_list_recursive
  1296. variable_loc_and_value_as_list_recursive): Move ...
  1297. * lib/Automake/Variable.pm (has_conditional_contents,
  1298. _value_as_list_recursive_worker,
  1299. value_as_list_recursive, loc_and_value_as_list_recursive): ... here.
  1300. (reset): Reset %_gen_varname.
  1301. (require_variables_for_variable): Accept an Automake::Variable
  1302. as argument.
  1303. 2003-06-27 Alexandre Duret-Lutz <adl@gnu.org>
  1304. * tests/aclocal6.test: Test maintainer-clean in VPATH
  1305. builds. (For Ralf's fix.)
  1306. 2003-06-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (tiny change)
  1307. * lib/am/configure.am (maintainer-clean): Remove
  1308. $(top_srcdir)/autom4te.cache, not autom4te.cache.
  1309. 2003-06-27 Akim Demaille <akim@epita.fr>
  1310. * automake.texi: Use @node with a single argument.
  1311. 2003-06-27 Alexandre Duret-Lutz <adl@gnu.org>
  1312. * m4/Makefile.am (dist_m4data_DATA): Add $(top_srcdir)/m4/amversion.m4.
  1313. * lib/am/distdir.am (distcheck): Run $(am__remove_distdir)
  1314. at the end of distcheck. This was mistakenly removed on
  1315. 2003-06-15.
  1316. * tests/subpkg.test: Make sure distcheck cleans up after itself.
  1317. * m4/Makefile.am ($(srcdir)/amversion.m4): Rename as ...
  1318. ($(top_srcdir)/m4/amversion.m4): ... this.
  1319. (DISTCLEANFILES): Remove.
  1320. (nodist_m4data_DATA): Remove. amversion.m4 is automatically
  1321. distributed.
  1322. (EXTRA_DIST): Add amversion.in.
  1323. 2003-06-25 Akim Demaille <akim@epita.fr>
  1324. * automake.texi (Top): Use @copying and @insertcopying.
  1325. Make Alexandre an author.
  1326. * automake.in ($gen_copyright): Add the "(C)" to Copyright.
  1327. * lib/depcomp: Likewise.
  1328. 2003-06-23 Alexandre Duret-Lutz <adl@gnu.org>
  1329. * lib/Automake/Variable.pm (vardef, rvardef, set_seen): New functions.
  1330. (variable_defined, examine_variable): Remove.
  1331. (%_ac_macro_for_var): Add an entry for ALLOCA.
  1332. (require_variables): Use vardef instead of variable_defined.
  1333. Do not use _cvar.
  1334. * automake.in (generate_makefile): Do not push $(SOURCE) into
  1335. @sources. Use define_pretty_variable to define SOURCES.
  1336. (handle_LIBOBJS, handle_ALLOCA): Use require_variables_for_variable
  1337. to require LIBOBJS, LTLIBOBJS and ALLOCA.
  1338. (handle_programs, handle_ltlibraries): Do not define an empty
  1339. _DEPENDENCIES or _LDFLAGS variable when none is defined.
  1340. (define_configure_variable): Do not check whether the variable
  1341. already exists (it's Automake::Variable::define's job).
  1342. (require_build_directory): Likewise, do not check
  1343. the existence of am__dirstamp.
  1344. (generate_makefile, handle_options, handle_languages)
  1345. (check_libobjs_sources, handle_single_transform_list)
  1346. (traverse_variable_recursively_worker, handle_source_transform)
  1347. (handle_lib_objects, handle_LIBOBJS, handle_compile)
  1348. (handle_libtool, handle_programs, handle_libraries)
  1349. (handle_ltlibraries, check_typos, handle_texinfo_helper)
  1350. (handle_man_pages, handle_tags, handle_dist, handle_subdirs)
  1351. (scan_aclocal_m4, handle_gettext, handle_footer, handle_install)
  1352. (handle_all, do_check_merge_target, handle_clean, lang_c_finish)
  1353. (handle_tests, lang_yacc_target_hook, define_pretty_variable)
  1354. (define_compiler_variable, define_linker_variable)
  1355. (make_paragraphs, am_primary_prefixes, am_install_var): Adjust to
  1356. call var, vardef, or set_seen, instead of variable_defined. Use
  1357. set_seen only for variables which are actually checked by
  1358. check_typos.
  1359. * tests/target.test: Delete.
  1360. * tests/alloca.test, tests/alloca2.test: New files.
  1361. * tests/libobj3.test: Check error message.
  1362. * tests/distcom4.test: Make sure configure is in DIST_COMMON.
  1363. This replace confdist.test.
  1364. * tests/Makefile.am (TESTS, XFAIL_TESTS): Remove target.test.
  1365. (TESTS): Add alloca.test and alloca2.test. Remove confdist.test.
  1366. 2003-06-20 Alexandre Duret-Lutz <adl@gnu.org>
  1367. * automake.in (handle_dist): Delete DIST_COMMON before redefining
  1368. it. Bug report from Akim Demaille.
  1369. (rewrite_inputs_into_dependencies): Make sure we always return
  1370. something, even when $add_srcdir is 0.
  1371. * tests/distcom4.test, tests/distcom5.test: New files.
  1372. * tests/Makefile.am (TESTS): Add distcom4.test and distcom5.test.
  1373. * tests/cond29.test: Also check for _SOURCES.
  1374. Report from Paolo Bonzini.
  1375. 2003-06-20 Akim Demaille <akim@epita.fr>
  1376. * lib/am/configure.am: Replace leading spaces with a real tab.
  1377. 2003-06-15 Alexandre Duret-Lutz <adl@gnu.org>
  1378. * tests/nogzip.test, tests/nogzip2.test: New files.
  1379. * tests/Makefile.am (TESTS): Add nogzip.test and nogzip2.test
  1380. 2003-06-15 Akim Demaille <akim@epita.fr>
  1381. * automake.in (&make_paragraphs): Define %GZIP%.
  1382. (&process_option_list): Accept no-dist-gzip2.
  1383. (&handle_dist): Complain when no archive format is enabled.
  1384. * lib/am/distdir.am (DIST_ARCHIVES): New variable.
  1385. (dist-gzip, dist-bzip2, dist-tarZ, dist-zip): No longer
  1386. conditioned.
  1387. (dist): Build $(distdir).tar.gz conditionally.
  1388. (distcheck): Use DIST_ARCHIVES to find an archive to unpack, and
  1389. to list built archives. Run $(MAKE) dist instead of dist-gzip.
  1390. * automake.texi (Options, The types of distributions): Adjust.
  1391. 2003-06-15 Jens Elkner <elkner@imsgroup.de> (tiny change)
  1392. * m4/lispdir.m4 (AM_PATH_LISPDIR): Fix sed commands to work with
  1393. POSIXLY_CORRECT=1.
  1394. 2003-06-14 Karl Berry <karl@gnu.org>
  1395. Alexandre Duret-Lutz <adl@gnu.org>
  1396. * mkinstalldirs (scriptversion): New variable. Setup emacs hooks
  1397. to update it each time the file is written, as in install-sh.
  1398. (usage): Improve message.
  1399. (--version): New option.
  1400. (--help): Output to stdout, not stderr.
  1401. 2003-06-13 Paul Eggert <eggert@twinsun.com>
  1402. * lib/install-sh (dsttmp, rmtmp): Do not use '#' in file names;
  1403. it's not guaranteed by POSIX and it doesn't work on OpenVMS.
  1404. Bug reported by Bernard Giroud in:
  1405. http://mail.gnu.org/archive/html/autoconf-patches/2003-06/msg00013.html
  1406. 2003-06-05 Alexandre Duret-Lutz <adl@gnu.org>
  1407. * automake.in (check_gnu_standards): Use no-installman and
  1408. no-installinfo's locations.
  1409. (process_option_list): Fill %options with locations.
  1410. (check_cygnus) Fill $options{'no-installinfo'} and
  1411. $options{'no-dependencies'} with $cygnus_mode, so that it
  1412. remains a Location.
  1413. * tests/gnuwarn2.test: New file.
  1414. * tests/Makefile.am (TESTS): Add gnuwarn2.test.
  1415. 2003-06-04 Alexandre Duret-Lutz <adl@gnu.org>
  1416. * automake.in (process_option_list): Record the location
  1417. of ansi2knr's definition.
  1418. (handle_compile): Use it.
  1419. * tests/ansi3.test: Make sure the location appears correctly.
  1420. Update to use set -e.
  1421. * tests/ansi3b.test: New file.
  1422. * tests/Makefile.am (TESTS): Add ansi3b.test.
  1423. * tests/alpha.test: Really run $MAKE. Augment to test
  1424. subdirectories, and check-news report.
  1425. * tests/alpha2.test: New file. Bug report from Akim Demaille.
  1426. * tests/gnits2.test: Make sure README-alpha is not distributed.
  1427. * tests/Makefile.am (TESTS): Add alpha2.test.
  1428. * automake.in (handle_minor_options): Distribute README-alpha
  1429. using push_dist_common, not require_file_with_macro.
  1430. 2003-06-03 Alexandre Duret-Lutz <adl@gnu.org>
  1431. * lib/Automake/Configure_ac.pm
  1432. (search_configure_ac, find_configure_ac): Rename as ...
  1433. (find_configure_ac, require_configure_ac): ... these.
  1434. * aclocal.in (scan_configure): Adjust call to require_configure_ac.
  1435. * automake.in (scan_autoconf_files): Likewise.
  1436. Suggested by Tim Van Holder.
  1437. * alocal.in: Use Automake::Configure_ac.
  1438. ($configure_ac): Delete.
  1439. (scan_configure): Adjust use of find_configure_ac;
  1440. * automake.in: Use Automake::Configure_ac.
  1441. ($configure_ac): Delete.
  1442. (scan_autoconf_files): Adjust use of find_configure_ac;
  1443. * lib/Automake/Configure_ac.pm: New file.
  1444. * lib/Automake/General.pm (find_configure_ac): Delete. Now
  1445. replaced by Automake::Configure_ac::search_configure_ac.
  1446. * lib/Automake/Makefile.am (dist_perllib_DATA): Add Configure_ac.pm.
  1447. * lib/Automake/Variable.pm: Use Automake::Configure_ac.
  1448. (require_variables): Adjust use of $configure_ac.
  1449. 2003-06-02 Akim Demaille <akim@epita.fr>
  1450. * lib/am/texi-vers.am, lib/am/subdirs.am, lib/am/scripts.am,
  1451. * lib/am/remake-hdr.am, lib/am/python.am, lib/am/progs.am,
  1452. * lib/am/program.am, lib/am/multilib.am, lib/am/mans.am,
  1453. * lib/am/mans-vars.am, lib/am/ltlibrary.am, lib/am/ltlib.am,
  1454. * lib/am/lisp.am, lib/am/libtool.am, lib/am/library.am,
  1455. * lib/am/lang-compile.am, lib/am/java.am, lib/am/header.am,
  1456. * lib/am/header-vars.am, lib/am/footer.am, lib/am/depend.am,
  1457. * lib/am/dejagnu.am, lib/am/data.am, lib/am/compile.am,
  1458. * lib/am/clean.am, lib/am/clean-hdr.am, lib/am/check.am,
  1459. * lib/am/ansi2knr.am, lib/am/Makefile.am, lib/Makefile.am,
  1460. * m4/strip.m4, m4/sanity.m4, m4/runlog.m4, m4/regex.m4,
  1461. * m4/python.m4, m4/protos.m4, m4/options.m4, m4/obsolete.m4,
  1462. * m4/obsol-lt.m4, m4/obsol-gt.m4, m4/multi.m4, m4/missing.m4,
  1463. * m4/minuso.m4, m4/maintainer.m4, m4/lispdir.m4, m4/lex.m4,
  1464. * m4/install-sh.m4, m4/header.m4, m4/gcj.m4, m4/dmalloc.m4,
  1465. * m4/depout.m4, m4/cond.m4, m4/ccstdc.m4, m4/auxdir.m4, m4/as.m4,
  1466. * m4/Makefile.am: White space changes and Copyright updates.
  1467. 2003-05-29 Alexandre Duret-Lutz <adl@gnu.org>
  1468. * lib/Automake/Variable.pm (check_defined_unconditionally): Add
  1469. the $parent_cond argument.
  1470. (output): Use $self->name in diagnostic not $self.
  1471. (variable_value_as_list): Rename as ...
  1472. (value_as_list): ... this. Declare as a method. Take a $parent_cond
  1473. argument and pass it to check_defined_unconditionally. Do not call
  1474. variable_assert, now that this is a method.
  1475. (variable_assert): Delete (unused).
  1476. * automake.in (traverse_variable_recursively_worker): Adjust to
  1477. use check_defined_unconditionally and value_as_list as a methods.
  1478. * lib/Automake/Variable.pm (output): Declare as a method, since it
  1479. is only used this way.
  1480. (define): Fix documentation of $cond.
  1481. Suggested by Raja R. Harinath.
  1482. 2003-05-25 Alexandre Duret-Lutz <adl@gnu.org>
  1483. * lib/Automake/Variable.pm, lib/Automake/VarDef.pm: New files.
  1484. * lib/Automake/Makefile.am (dist_perllib_DATA): Add Variable.pm
  1485. and VarDef.pm.
  1486. * automake.in: Use Automake::Variable and Automake::VarDef.
  1487. (MACRO_PATTERN): Delete. Now Automake::Variable::_MACRO_PATTERN.
  1488. (am_macro_for_var): Delete. Now Automake::Variable::_am_macro_for_var.
  1489. (ac_macro_for_var): Delete. Now Automake::Variable::_ac_macro_for_var.
  1490. (silent_variable_override): Delete. Now
  1491. Automake::Variable::_silent_variable_override.
  1492. (var_value, var_location, var_comment, var_type, var_owner,
  1493. var_pretty, content_seen): Delete. This functionality is now
  1494. offered by Automake::Variable and Automake::VarDef.
  1495. (VAR_AUTOMAKE, VAR_CONFIGURE, VAR_MAKEFILE, VAR_ASIS, VAR_PRETTY):
  1496. Delete. Now defined in Automake::VarDef.
  1497. (var_order): Delete. Now Automake::Variable::_var_order.
  1498. (appendvar): Delete. Now Automake::Variable::_appendvar.
  1499. (var_SUFFIX_trigger): Register using Automake::Variable::hook.
  1500. (initialize_per_input): Call Automake::Variable::reset.
  1501. (err_var, msg_cond_var, msg_var, reject_var): Delete. Now
  1502. defined in Automake::Variable.
  1503. (generate_makefile, process_option_list, handle_languages)
  1504. (traverse_variable_recursively_worker)
  1505. (transform_variable_recursively, handle_compile)
  1506. (handle_libraries, handle_ltlibraries)
  1507. (check_typos, handle_dist, handle_subdirs, scan_autoconf_files):
  1508. Adjust to use Automake::Variable functions.
  1509. (check_ambiguous_condition): Delete. Now
  1510. Automake::Variable::_check_ambiguous_condition.
  1511. (condition_ambiguous_p): Delete. Now
  1512. Automake::Variable::condition_ambiguous_p.
  1513. (variable_not_always_defined_in_cond): Delete. Now
  1514. Automake::Variable::not_always_defined_in_cond.
  1515. (macro_define): Delete. Now Automake::Variable::define.
  1516. (macro_delete): Delete. Now Automake::Variable::variable_delete.
  1517. (macro_dump): Delete. Now Automake::Variable::variable_dump.
  1518. (macros_dump): Delete. Now Automake::Variable::variables_dump.
  1519. (variable_defined): Delete. Now
  1520. Automake::Variable::variable_defined, with the target check
  1521. temporarily disabled.
  1522. (variable_assert): Delete. Now Automake::Variable::variable_assert.
  1523. (examine_variable): Delete. Now
  1524. Automake::Variable::examine_variable.
  1525. (variable_conditions): Delete. Now Automake::Variable::conditions.
  1526. (scan_variable_expansions): Delete. Now
  1527. Automake::Variable::scan_variable_expansions.
  1528. (check_variable_expansions): Delete. Now
  1529. Automake::Variable::check_variable_expansions.
  1530. (check_variable_defined_unconditionally): Delete. Now
  1531. Automake::Variable::check_defined_unconditionally.
  1532. (variable_value): Delete. Now Automake::Variable::variable_value.
  1533. (variable_value_as_list): Delete. Now
  1534. Automake::Variable::variable_value_as_list.
  1535. (variable_value_as_list_recursive_worker): Adjust to use
  1536. Automake::Variable functions.
  1537. (variable_output): Delete. Now Automake::Variable::output.
  1538. (define_pretty_variable, define_configure_variable, read_am_file)
  1539. (define_standard_variables, read_main_am_file): Adjust to use
  1540. Automake::Variable functions.
  1541. (handle_variables): Delete. Now Automake::Variable::output_variables.
  1542. (file_contents_internal, am_primary_prefixes, am_install_var)
  1543. (require_file_with_macro, require_conf_file_with_macro)
  1544. (push_dist_common): : Adjust to use
  1545. Automake::Variable functions.
  1546. (require_variables): Delete. Now
  1547. Automake::Variable::require_variables.
  1548. (require_variables_for_macro): Delete. Now
  1549. Automake::Variable::require_variables_for_variable.
  1550. * tests/Makefile.am (XFAIL_TESTS): Add target.test.
  1551. 2003-05-25 Christian Cornelssen <ccorn@cs.tu-berlin.de> (tiny change)
  1552. * tests/dejagnu7.test: Check if runtest supports --status.
  1553. 2003-05-23 Alexandre Duret-Lutz <adl@gnu.org>
  1554. * lib/Automake/Location.pm (dump): Output 'INTERNAL' when position
  1555. is undefined.
  1556. * lib/Automake/DisjConditions.pm (human): Fix infinite loop when
  1557. $self contains only one Condition.
  1558. * automake.in: Use plain strict, including refs.
  1559. (macro_define, handle_single_transform_list): Use \&{'name'} to
  1560. build references to named subroutines.
  1561. 2003-05-22 Karl Berry <karl@gnu.org>
  1562. * automake.texi: Update @dircategory to match the Free Software
  1563. Directory. End directory entries with dots.
  1564. 2003-05-22 Alexandre Duret-Lutz <adl@gnu.org>
  1565. * automake.texi (maintainer-mode): s/François/Fran@,{c}ois/.
  1566. * lib/elisp-comp: s/François/Franc,ois/.
  1567. Suggested by Paul Eggert.
  1568. * automake.in: Move the "main" code at the end.
  1569. (parse_arguments): Move near the end.
  1570. ($KNOWN_EXTENSIONS_PATTERN, @known_extensions_list,
  1571. accept_extensions, var_SUFFIXES_trigger): Move these definitions
  1572. before any call to register_language.
  1573. (am_file): Move the definition with all other global variables,
  1574. do not use local to define it.
  1575. * Makefile.am (maintainer-check): Expect no `local' in Automake.
  1576. 2003-05-21 Alexandre Duret-Lutz <adl@gnu.org>
  1577. * lib/Automake/Wrap.pm, lib/Automake/tests/Wrap.pl: New files.
  1578. * lib/Automake/Makefile.am (dist_perllib_DATA): Add Wrap.pm.
  1579. * lib/Automake/tests/Makefile.am (TESTS): Add Wrap.pl.
  1580. * automake.in (handle_texinfo_helper, pretty_print_rule)
  1581. (variable_output): Adjust to use makefile_wrap instead of
  1582. pretty_print_internal.
  1583. (pretty_print_internal): Remove. Renamed as Automake::Wrap::wrap
  1584. and augmented to accept the $eol and $max_len arguments.
  1585. 2003-05-18 Alexandre Duret-Lutz <adl@gnu.org>
  1586. * lib/Autom4te/XFile.pm, lib/config.guess, lib/config.sub,
  1587. lib/texinfo.tex: New upstream versions.
  1588. 2003-05-17 Alexandre Duret-Lutz <adl@gnu.org>
  1589. * lib/am/install.am (install, install-exec, install-data, uninstall):
  1590. Declare conditionally using a if/else/endif block instead of
  1591. using ?SUBDIRS?-style conditions. The latter fail when
  1592. %maybe_BUILT_SOURCES% is replaced by several lines.
  1593. This fixes a bug introduced on 2003-04-06.
  1594. * tests/bsource.test: New file.
  1595. * tests/Makefile.am (TESTS): Add bsource.test.
  1596. Reported by Bruno Haible.
  1597. 2003-05-11 Alexandre Duret-Lutz <adl@gnu.org>
  1598. * automake.texi (renamed objects): New node.
  1599. (Program and Library Variables): Move maude_DEPENDENCIES closer
  1600. to maude_LDADD. Define and use `per-target compilation flags' in the
  1601. explanation for maude_CFLAGS et al. Link to the `renamed objects'
  1602. node. Illustrate maude_SHORTNAME.
  1603. 2003-05-09 Alexandre Duret-Lutz <adl@gnu.org>
  1604. * lib/install-sh: Update copyright notice and license to that of
  1605. X11R6. This removes an advertising clause reported as Debian bug
  1606. #191717.
  1607. 2003-05-07 Alexandre Duret-Lutz <adl@gnu.org>
  1608. * configure.in (ACLOCAL): Do not use -I, --acdir is enough.
  1609. * m4/make.m4: Rename the doit target as am__doit,
  1610. and make it phony.
  1611. Reported by Philip S Tellis.
  1612. 2003-05-07 Alexandre Duret-Lutz <adl@gnu.org>
  1613. * lib/am/configure.am (%MAKEFILE-IN%): Propagate automake's exit
  1614. status.
  1615. * tests/makej.test: New file (test Autom4te's cache locking,
  1616. new in CVS Autoconf).
  1617. * tests/Makefile.am (TESTS): Add makej.test.
  1618. 2003-05-06 Alexandre Duret-Lutz <adl@gnu.org>
  1619. * lib/Automake/General.pm (contents): New function.
  1620. * aclocal.in (greatest_mtime, force_output): New globals.
  1621. (scan_configure, add_file): Update $greatest_mtime.
  1622. (parse_arguments): Parse --force.
  1623. (write_aclocal): Do not overwrite $output_file unless needed.
  1624. * automake.texi (aclocal options): Document --force.
  1625. * tests/aclocal7.test: New file.
  1626. * tests/Makefile.am (TESTS): Add aclocal7.test.
  1627. 2003-05-05 Alexandre Duret-Lutz <adl@gnu.org>
  1628. * automake.texi (Optional): Document m4_include.
  1629. (Invoking aclocal): Shake a bit to introduce the various uses
  1630. of aclocal and explain that aclocal will use m4_include for
  1631. local files.
  1632. (Extending aclocal): Show how to install installable macros
  1633. in $(datadir)/aclocal, and make it clearer that writing installable
  1634. macros is not the only way to extend aclocal.
  1635. (Local Macros, Future of aclocal): New sections.
  1636. 2003-04-27 Alexandre Duret-Lutz <adl@gnu.org>
  1637. * automake.in (@common_files): Remove acinclude.m4 since
  1638. it will be m4_included by aclocal.m4 and files are always
  1639. distributed.
  1640. (scan_aclocal_m4): Do not bother about acinclude.m4 anymore.
  1641. We will get this dependency when tracing m4_includes.
  1642. * tests/aclocal6.test: Make sure acinclude.m4 is distributed
  1643. when used.
  1644. * tests/acinclude.test: Delete.
  1645. * tests/Makefile.am (TESTS): Remove acinclude.test.
  1646. 2003-04-25 Alexandre Duret-Lutz <adl@gnu.org>
  1647. * automake.in (handle_configure): Don't add @configure_deps to
  1648. DIST_COMMON, we do this from lib/am/configure.am now.
  1649. Define the am__configure_deps variable instead of substituing
  1650. %CONFIGURE_DEPS%.
  1651. * lib/am/configure.am (%MAKEFILE-IN%, $(top_srcdir)/configure,
  1652. $(ACLOCAL_M4)): Use $(am__configure_deps) instead of %CONFIGURE_DEPS%.
  1653. (DIST_COMMON): Add $(am__configure_deps).
  1654. * tests/aclocal6.test: New file.
  1655. * lib/am/configure.am (am--refresh): New rule.
  1656. (%MAKEFILE-IN%, %MAKEFILE%, $(top_builddir)/config.status,
  1657. $(top_srcdir)/configure): Call the top-level am--refresh from
  1658. subdirectories.
  1659. ($(ACLOCAL_M4)): Depend upon %CONFIGURE_DEPS%. Call the
  1660. top-level am--refresh when not in the top-level directory.
  1661. Fix jump directories for VPATH builds.
  1662. Suggested by Raja R. Harinath.
  1663. 2003-04-24 Alexandre Duret-Lutz <adl@gnu.org>
  1664. * automake.in (scan_aclocal_m4): Do not parse ACLOCAL_AMFLAGS
  1665. and glob for m4_files (We've got all local m4 files while
  1666. tracing m4_include's). Diagnose ACLOCAL_M4_SOURCES as obsolete.
  1667. Distribute aclocal.m4 only at the top-level.
  1668. (my_glob): Remove. This fixes PR automake/11.
  1669. (handle_dist): Strip leading `./' from directories.
  1670. * aclocal.in (add_file): Output 'm4_include([file.m4])' instead
  1671. of copying local files.
  1672. (write_aclocal, parse_arguments): Bump copyright date.
  1673. * configure.in: De not build m4/amversion.m4 from here ...
  1674. * m4/Makefile.am ($(srcdir)/amversion.m4): ... do this here.
  1675. (nodist_m4data_DATA): Use $(srcdir)/amversion.m4 instead
  1676. of amversion.m4.
  1677. * tests/Makefile.am (XFAIL_TESTS): Remove aclocal5.test.
  1678. (TESTS): Remove aclocal2.test. Do not test aclocal.test twice.
  1679. * tests/aclocal2.test: Delete (pointless).
  1680. * tests/aclocal5.test: Make sure configure's dependencies are
  1681. distributed.
  1682. * tests/acinclude.test: Adjust to search for m4_include.
  1683. * tests/dirlist.test, tests/dup3.test: Run $AUTOCONF and grep
  1684. configure instead of aclocal.m4.
  1685. For PR automake/46:
  1686. * automake.in (scan_aclocal_m4): Work in all directories, not only
  1687. the top-level. Prepend $(top_srcdir) in front of each aclocal.m4
  1688. dependency.
  1689. * lib/am/configure.am (config.status, configure, $(ACLOCAL_M4)):
  1690. Define rebuild rules in each directory.
  1691. * tests/subdir8.test: Augment to exercise aclocal.m4's dependencies
  1692. from the top-level directory.
  1693. * tests/aclocal5.test: New file. Exercise aclocal.m4's dependencies
  1694. from a subdirectory.
  1695. * tests/Makefile.am (TESTS): Add aclocal5.test.
  1696. (XFAIL_TESTS): Replace subdir8.test by aclocal5.test.
  1697. 2003-04-24 Akim Demaille <akim@epita.fr>
  1698. Alexandre Duret-Lutz <adl@gnu.org>
  1699. For PR automake/46:
  1700. * lib/am/configure.am (%MAKEFILE-IN%): If Makefile.in is rebuilt
  1701. because of one of configure's dependencies, run automake without
  1702. argument to update the whole tree at once. Depend upon
  1703. %CONFIGURE_DEPS%.
  1704. (%MAKEFILE%): If Makefile is rebuilt because config.status has
  1705. been updated, run config.status without arguments.
  1706. * automake.in (scan_autoconf_traces): Prepend $(top_srcdir)
  1707. before all files in @configure_deps.
  1708. * tests/subdir5.test: Modernize configure.in, make sure
  1709. maude/Makefile was actually created, and exercise %CONFIGURE_DEPS%.
  1710. * tests/subdir8.test: New file.
  1711. * tests/Makefile.am (TESTS): Add subdir8.test.
  1712. (XFAIL_TESTS): Replace subdir5.test by subdir8.test.
  1713. 2003-04-23 Alexandre Duret-Lutz <adl@gnu.org>
  1714. * automake.texi (Requirements): Typo in index
  1715. s/AC_CONFIG_FILE/AC_CONFIG_FILES/.
  1716. * lib/texinfo.tex: New upstream version.
  1717. 2003-04-21 Jim Meyering <jim@meyering.net>
  1718. * lib/mkinstalldirs: Remove each sequence of spaces before a
  1719. TAB character.
  1720. * lib/depcomp: Search for TAB-SPC, not SPC-TAB.
  1721. 2003-04-19 Alexandre Duret-Lutz <adl@gnu.org>
  1722. Fix for PR automake/389:
  1723. * automake.in (handle_configure): Don't put $colon_infile in
  1724. CONFIG-MAKEFILE.
  1725. * tests/conff.test: New file.
  1726. * tests/Makefile.am (TESTS): Add conff.test.
  1727. Reported by Alexander Turbov.
  1728. 2003-04-18 Alexandre Duret-Lutz <adl@gnu.org>
  1729. * tests/defs.in: Handle required=etags to work around
  1730. Exuberant Ctags.
  1731. * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
  1732. versions.
  1733. * tests/dejagnu3.test, tests/dejagnu4.test, tests/dejagnu5.test:
  1734. Distribute dejagnu test cases, so that distcheck actually runs them.
  1735. 2003-04-18 Richard Dawe <rich@phekda.freeserve.co.uk>
  1736. * lib/am/dejagnu.am (site.exp): Don't define tool in site.exp,
  1737. because we set that by invoking runtest with --tool.
  1738. * tests/Makefile.am (TESTS): Add dejagnu4.test, dejagnu5.test,
  1739. dejagnu6.test, dejagnu7.test.
  1740. * tests/dejagnu4.test: New test.
  1741. * tests/dejagnu5.test: New test.
  1742. * tests/dejagnu6.test: New test.
  1743. * tests/dejagnu7.test: New test.
  1744. * tests/dejagnu3.test: Make sure the DejaGnu test is actually run.
  1745. 2003-04-18 Jim Meyering <jim@meyering.net>
  1746. * automake.in (variable_output): Fix typo in comment s/is/if/.
  1747. * lib/am/yacc.am (?!GENERIC?%OBJ% aka .y.c): Don't redirect
  1748. directly to $@. Instead, redirect to $@t and rename upon success.
  1749. Also, move the commands that update $@ so they are last. Otherwise,
  1750. this rule could leave the user with an up to date target (.c file)
  1751. but with a missing or corrupted corresponding .h file.
  1752. 2003-04-17 Richard Dawe <rich@phekda.freeserve.co.uk>
  1753. * tests/defs.in: Handle required=runtest, to detect runtest
  1754. from DejaGnu.
  1755. * tests/Makefile.am (TESTS): Add dejagnu3.test.
  1756. * tests/dejagnu3.test: New test.
  1757. 2003-04-16 Alexandre Duret-Lutz <adl@gnu.org>
  1758. * automake.in (rule_define): If the user tries to override
  1759. an Automake which has a -local variant, suggest using the
  1760. -local variant in the -Woverride diagnostic.
  1761. (handle_factored_dependencies): Register factored
  1762. rules with rule_define, and define them only in undefined
  1763. conditions.
  1764. * tests/Makefile.am (TESTS): Add override.test.
  1765. * tests/overrid.test: New file.
  1766. * tests/phony.test: Count the number of .PHONY targets.
  1767. 2003-04-15 Alexandre Duret-Lutz <adl@gnu.org>
  1768. * lib/am/distdir.am (distuninstallcheck, distcleancheck): Silence
  1769. these rules, so that we don't confuse users by echoing
  1770. "echo ERROR:" commands which are not run.
  1771. 2003-03-14 Richard Dawe <rich@phekda.freeserve.co.uk>
  1772. Alexandre Duret-Lutz <adl@gnu.org>
  1773. * automake.in (output_texinfo_build_rules, handle_texinfo_helper,
  1774. initialize_per_input): Add infrastructure for generating HTML
  1775. documentation from texinfo source.
  1776. * lib/am/texinfos.am: Add rules for building HTML documentation
  1777. from texinfo source.
  1778. * lib/am/texibuild.am: Likewise.
  1779. * automake.texi (Texinfo): Document rules for building
  1780. HTML documentation from texinfo source.
  1781. * tests/txinfo21.test: New file.
  1782. * tests/Makefile.am (TESTS): Add txinfo21.test.
  1783. * tests/defs.in: Handle required=makeinfo-html.
  1784. 2003-04-14 Alexandre Duret-Lutz <adl@gnu.org>
  1785. * automake.in (%silent_variable_override): New variable.
  1786. (macro_define): Warn about variable definitions overriding
  1787. Automake variables.
  1788. (rule_define): Warn about target definitions overriding
  1789. Automake variables. Fix $condmsg definition.
  1790. * automake.texi (Invoking Automake): Document the `override'
  1791. category.
  1792. * lib/Automake/ChannelDefs.pm (usage): Likewise.
  1793. * lib/am/texinfos.am [!%?CYGNUS] (MAKEINFO): Do not define,
  1794. this is already done in m4/init.m4.
  1795. * tests/dejagnu2.test: Run $MAKE, don't only grep. Use
  1796. -Wno-override, and make sure we get a warning without.
  1797. * tests/exeext2.test, tests/substtarg.test: Use -Wno-override,
  1798. and make sure we get a warning without.
  1799. * tests/exeext3.test, tests/java2.test, tests/nolink.test,
  1800. tests/subpkg.test, tests/vartest.test: Use -Wno-override.
  1801. * tests/txinfo13.test: Use installcheck-local instead of overriding
  1802. installcheck.
  1803. * tests/txinfo2.test: Run $MAKE on the real Makefile (this test
  1804. used to succeed thanks to a failure...)
  1805. * tests/location.test: Adjust expected messages.
  1806. * tests/Makefile.am (XFAIL_TESTS): Add txinfo5.test.
  1807. 2003-04-12 Raja R Harinath <harinath@acm.org>
  1808. * lib/Automake/DisjConditions.pm (true): Don't cache answer.
  1809. (invert): Update comment.
  1810. (_simplify): Remove.
  1811. (simplify): Implement using invert().
  1812. * lib/Automake/tests/DisjConditions.pl (test_simplify):
  1813. Update to reflect changes.
  1814. 2003-04-12 Alexandre Duret-Lutz <adl@gnu.org>
  1815. * automake.in (scan_autoconf_files): Augment the error message
  1816. about AM_INIT_AUTOMAKE not found.
  1817. Suggested by Bruno Haible.
  1818. * lib/Automake/Version.pm: New file.
  1819. * lib/Automake/Makefile.am (dist_perllib_DATA): Add Version.pm.
  1820. * lib/Automake/tests/Version.pl: New file.
  1821. * lib/Automake/tests/Makefile.am (TESTS): Add Version.pl.
  1822. * tests/Makefile.am (TESTS): Remove version5.test.
  1823. * tests/version5.test: Delete. Move the tests to Version.pl.
  1824. * automake.in (version_split, version_compare, version_check): Move ...
  1825. * lib/Automake/Version.pm (split, compare, check): ... here.
  1826. 2003-04-11 Alexandre Duret-Lutz <adl@gnu.org>
  1827. * lib/Automake/tests/Condition.pl (test_reduce_and)
  1828. (test_reduce_or): Cosmetics.
  1829. * lib/Automake/tests/DisjConditions.pl (test_sub_conditions):
  1830. Fix a comment.
  1831. * lib/Automake/DisjConditions.pm (sub_conditions): Add missing C<...>
  1832. in comment.
  1833. * tests/yacc8.test, configure.in: Update copyright year.
  1834. 2003-04-10 Richard Dawe <rich@phekda.freeserve.co.uk>
  1835. * configure.in: Get the build platform name. Define
  1836. MODIFICATION_DELAY as the time to wait after modifying a file,
  1837. to cope with timestamp granularity issues, depending
  1838. on the platform.
  1839. * tests/defs.in: Define `sleep' using MODIFICATION_DELAY.
  1840. 2003-04-10 Eric Siegerman <eric_97@pobox.com> (tiny change)
  1841. * automake.texi (Public macros): Clarify that the new
  1842. AM_INIT_AUTOMAKE variant is preferred, and the old one
  1843. deprecated. Copy-edit the rest of the AM_INIT_AUTOMAKE item.
  1844. (Hello): Caution that the example uses the deprecated
  1845. AC_INIT/AM_INIT_AUTOMAKE syntax, and xref to the discussion.
  1846. 2003-04-10 Alexandre Duret-Lutz <adl@gnu.org>
  1847. Retain all variable definitions until the whole Makefile.am has
  1848. been processed, then output all variables in one step, at the top
  1849. of Makefile.in. (Older revisions used to output user variables
  1850. before generating Automake targets, and to mix Automake variables
  1851. with Automake targets, preventing redefinitions of previously
  1852. output variables.)
  1853. * automake.in (%var_pretty): New variable.
  1854. (VAR_ASIS, VAR_PRETTY): New constants.
  1855. (@var_list): Rename as ...
  1856. (@var_order): ... this.
  1857. (initialize_per_input): Clear %var_pretty.
  1858. (handle_variables): New function, extracted from ...
  1859. (read_main_am_file): ... here.
  1860. (generate_makefile): Call handle_variable after everything else.
  1861. (handle_dist): Use define_pretty_variable, not pretty_print.
  1862. (pretty_print): Delete.
  1863. (macro_define): Augment with $COMMENT and $PRETTY parameters.
  1864. Update %var_comment, %var_pretty, and @var_order. Adjust callers.
  1865. (variable_pretty_output): Merge with ...
  1866. (variable_output): ... this, and choose the prettiness on a
  1867. per-condition basis.
  1868. (append_comments): Delete. This work is now done by macro_define.
  1869. (read_am_file, file_contents_internal): Don't call append_comments
  1870. nor update @var_list, adjust calls to macro_define.
  1871. (handle_subdirs): Don't explicitly output RECURSIVE_TARGETS,
  1872. just mark it as VAR_PRETTY.
  1873. * tests/exeext.test: Make sure bin_PROGRAMS is output only once.
  1874. Report from Jim Meyering.
  1875. 2003-04-06 Alexandre Duret-Lutz <adl@gnu.org>
  1876. * automake.in (handle_installdirs): Rename as ...
  1877. (handle_install): ... this. Define maybe_BUILT_SOURCES.
  1878. (generate_makefile): Adjust call to handle_install.
  1879. * lib/am/install.am (install): Use %maybe_BUILT_SOURCES%.
  1880. * automake.texi (Sources, Built sources example): BUILT_SOURCES
  1881. is honored by `make install' too.
  1882. * tests/check3.test: Make sure that `make install' also depends
  1883. upon BUILT_SOURCES.
  1884. Report from Alexander Turbov.
  1885. * lib/am/libs.am (ARFLAGS): Define.
  1886. * automake.in (handle_libraries): Use `$(ARFLAGS)' instead of
  1887. hard-coding `cru'.
  1888. * automake.texi (A Library): Explain how AR, ARFLAGS and RANLIB
  1889. are used, and how they can be overridden.
  1890. (Program and Library Variables): Adjust to show `$(ARFLAGS)'
  1891. instead of `cru'
  1892. * tests/ar.test: Rewrite to test for AR, ARFLAGS, and RANLIB.
  1893. * tests/ranlib.test: Delete, obsoleted by ar.test.
  1894. * tests/Makefile.am (TESTS): Remove ranlib.test.
  1895. Report from Paul Thomas.
  1896. 2003-04-03 Alexandre Duret-Lutz <adl@gnu.org>
  1897. * automake.in (check_trailing_slash): New function (variation on
  1898. a patch by Peter Muir). Diagnose whitespaces following trailing
  1899. backslash.
  1900. (read_am_file): Use it.
  1901. * tests/backsl4.test: New file.
  1902. * tests/Makefile.am (TESTS): Add backsl4.test.
  1903. Reported by Peter Muir.
  1904. 2003-03-29 Raja R Harinath <harinath@acm.org>
  1905. Speedup Automake::DisjConditions::invert().
  1906. * lib/Automake/Condition.pm (multiply): New.
  1907. * lib/Automake/DisjConditions.pm (_multiply): Use it.
  1908. (sub_conditions): Likewise.
  1909. * lib/Automake/Condition.pm (reduce): Rename to ...
  1910. (reduce_and): ... this.
  1911. (reduce_or): New.
  1912. * lib/Automake/DisjConditions.pm (_multiply): Use reduce_or().
  1913. * lib/Automake/tests/Condition.pl (test_reduce): Rename to ...
  1914. (test_reduce_and): ... this.
  1915. (test_reduce_or): New.
  1916. * lib/Automake/tests/DisjConditions.pl
  1917. (test_invert): Update to reflect effect of reduce_or().
  1918. (test_simplify): Don't skip invert() on larger inputs.
  1919. 2003-03-29 Raja R Harinath <harinath@cs.umn.edu>
  1920. * tests/yacc8.test: Add a $sleep before modifying Makefile.am so
  1921. that timestamp will change.
  1922. 2003-03-23 Akim Demaille <akim@epita.fr>
  1923. Alexandre Duret-Lutz <adl@gnu.org>
  1924. * lib/am/tags.am (TAGS): Use --etags-include instead of --include,
  1925. when supported by etags (Exuberant Ctags).
  1926. * tests/tagsub.test: Rewrite to _run_ the `tags' rule.
  1927. 2003-03-20 Alexandre Duret-Lutz <adl@gnu.org>
  1928. For Debian Bug #185388:
  1929. * automake.texi (Extending): Augment the install-exec-hook
  1930. discussion with an example how to symlink a versioned binary.
  1931. * tests/insthook.test: Rewrite to test the above example.
  1932. Report from James R. Van Zandt.
  1933. 2003-03-19 Alexandre Duret-Lutz <adl@gnu.org>
  1934. * Makefile.am (maintainer-check): Allow `automake:' tokens,
  1935. occurring in location.test. Automake now has 5 legitimate
  1936. unsubstituted @strings@.
  1937. * tests/aclocal4.test: Require GNU make.
  1938. 2003-03-14 Alexandre Duret-Lutz <adl@gnu.org>
  1939. * tests/aclocal4.test: New file. Test for the ACLOCAL_M4 bug below.
  1940. * tests/Makefile.am (TESTS): Add aclocal4.test.
  1941. 2003-03-14 Jim Meyering <jim@meyering.net>
  1942. * automake.in (scan_aclocal_m4): Define ACLOCAL_M4 even in
  1943. subdirectories. Makefile.in depends on that variable.
  1944. 2003-03-13 Alexandre Duret-Lutz <adl@gnu.org>
  1945. * m4/init.m4: Remove a leftover comment from the pre-1.7 era.
  1946. Fix for PR automake/386:
  1947. * m4/init.m4: Require Autoconf 2.55.
  1948. Reported by Owen Taylor.
  1949. * lib/am/depend2.am (?GENERIC?%EXT%.o, ?GENERIC?%EXT%.obj)
  1950. (?GENERIC?%EXT%.lo): Use `mv -f' instead of `mv' in FASTDEP mode.
  1951. Suggested by Matthias Andree.
  1952. * tests/README: Typo.
  1953. 2003-03-08 Alexandre Duret-Lutz <adl@gnu.org>
  1954. * lib/am/depend2.am (?GENERIC?%EXT%.o, ?GENERIC?%EXT%.obj)
  1955. (?GENERIC?%EXT%.lo): Hide the if/then/else machinery for FASTDEP.
  1956. Just echo the gcc command.
  1957. Suggested by Karl Berry.
  1958. 2003-03-06 Alexandre Duret-Lutz <adl@gnu.org>
  1959. * lib/am/depend2.am (?GENERIC?%EXT%.lo): Do not use
  1960. `test -f foo || echo $(srcdir)/` to emulate a VPATH search when
  1961. outputing suffix rules. This follows 2003-02-25's change.
  1962. * lib/am/lex.am (?GENERIC?%EXT%%DERIVED-EXT%): Likewise.
  1963. * lib/am/yacc.am (?GENERIC?%EXT%%DERIVED-EXT%): Likewise.
  1964. 2003-03-05 Alexandre Duret-Lutz <adl@gnu.org>
  1965. * automake.texi (Requirements) <AC_CONFIG_FILES>: Files listed
  1966. with AC_CONFIG_FILES are cleaned by `make distclean'. Don't
  1967. pretend otherwise.
  1968. Reported by Rafael Laboissiere.
  1969. 2003-03-04 Andreas Buening <andreas.buening@nexgo.de>
  1970. * lib/mdate-sh: Find out which column of the ls -l output contains
  1971. the month. Do not assume it is at least the fifth column.
  1972. 2003-02-26 Alexandre Duret-Lutz <adl@gnu.org>
  1973. * automake.texi (Emacs Lisp): Mention that `dist_' can be used.
  1974. * automake.texi (Emacs Lisp): Instruct people to use lisp_DATA
  1975. instead of lisp_LISP when they don't want byte-compilation.
  1976. Don't mention ELCFILES anymore.
  1977. * automake.in (handle_data): Allow lisp_DATA.
  1978. * tests/lisp5.test: New file.
  1979. * tests/Makefile.am (TESTS): Add lisp5.test.
  1980. * automake.in (handle_emacs_lisp): Don't build *.elc files
  1981. if ELCFILES was set empty.
  1982. * tests/lisp4.test: New file.
  1983. * tests/Makefile.am (TESTS): Add lisp4.test.
  1984. Reported by Simon Josefsson.
  1985. * tests/lex3.test, tests/lex5.test: Require flex.
  1986. Reported by Leo Davis.
  1987. 2003-02-25 Alexandre Duret-Lutz <adl@gnu.org>
  1988. * lib/am/depend2.am (?GENERIC?%EXT%.o, ?GENERIC?%EXT%.obj): Do not
  1989. use the `test -f foo || echo $(srcdir)/` to emulate a VPATH search
  1990. when outputing suffix rules.
  1991. * lib/am/texibuild.am (?GENERIC?%SOURCE_SUFFIX%.dvi)
  1992. (?GENERIC?%SOURCE_SUFFIX%.pdf): Likewise.
  1993. Suggested by Bruno Haible.
  1994. * automake.in (read_am_file): Catch trailing backslashes on last line.
  1995. * tests/backsl3.test: New file.
  1996. * tests/Makefile.am (TESTS): Add backsl3.test.
  1997. Reported by Akim Demaille.
  1998. 2003-02-24 Alexandre Duret-Lutz <adl@gnu.org>
  1999. * ChangeLog: Move 2002's entries to ...
  2000. * ChangeLog.02: ... this new file.
  2001. * Makefile.am (EXTRA_DIST): Add ChangeLog.02.
  2002. 2003-02-24 Richard Dawe <rich@phekda.freeserve.co.uk>
  2003. * tests/version7.test: Use $sleep to sleep before updating
  2004. the version, to work around timestamp inconsistencies in Windows.
  2005. 2003-02-24 Bruno Haible <bruno@clisp.org>
  2006. Alexandre Duret-Lutz <adl@gnu.org>
  2007. * lib/am/texibuild.am: Don't remove the target info files. Instead,
  2008. back up and restore them if makeinfo fails.
  2009. * tests/txinfo20.test: New file.
  2010. * tests/Makefile.am (TESTS): Add txinfo20.test.
  2011. 2003-02-23 Alexandre Duret-Lutz <adl@gnu.org>
  2012. * automake.texi (FAQ, CVS, maintainer-mode, wildcards)
  2013. (distcleancheck): Fix typos and other errors reported by Karl
  2014. Berry.
  2015. 2003-02-20 Alexandre Duret-Lutz <adl@gnu.org>
  2016. * lib/am/texibuild.am (%SOURCE_SUFFIX%%DEST_SUFFIX%): Use $(...)
  2017. instead of ${...}.
  2018. * tests/defs.in: Handle required=ro-dir.
  2019. * tests/destdir.test: Use this.
  2020. 2003-02-19 Richard Dawe <rich@phekda.freeserve.co.uk>
  2021. * lib/am/distdir.am (distcheck): Strip any leading DOS drive
  2022. from dc_install_base.
  2023. 2003-02-19 Alexandre Duret-Lutz <adl@gnu.org>
  2024. * lib/am/texinfos.am (install-info-am, uninstall-info-am): Install
  2025. DJGPP-style *.iNN info files.
  2026. (maintainer-clean-aminfo): Rewrite using the same pattern
  2027. as in uninstall-info-am.
  2028. * lib/am/texibuild.am (%SOURCE_SUFFIX%%DEST_SUFFIX%): Erase
  2029. DJGPP-style *.iNN info files before running $(MAKEINFO).
  2030. * tests/txinfo19.test: New file.
  2031. * tests/Makefile.am (TESTS): Add txinfo19.test.
  2032. 2003-02-18 Richard Dawe <rich@phekda.freeserve.co.uk>
  2033. * lib/depcomp (dashmstdout): Cope with DOS filenames in
  2034. dependencies.
  2035. 2003-02-17 Alexandre Duret-Lutz <adl@gnu.org>
  2036. * lib/depcomp (makedepend): Don't pass $object to makedepend.
  2037. Reported by Stepan Kasal.
  2038. 2003-02-12 Alexandre Duret-Lutz <adl@gnu.org>
  2039. * tests/defs.in: Handle required=makedepend.
  2040. * Makefile.am (maintainer-check): Update the diff check
  2041. to account for the recent @SHELL@ substitution.
  2042. 2003-02-11 Alexandre Duret-Lutz <adl@gnu.org>
  2043. * lib/depcomp: Do not put comments on the `icc)' line.
  2044. * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
  2045. versions.
  2046. Fix for PR automake/381:
  2047. * automake.in (handle_gettext): Do not print diagnostics
  2048. about po/ and intl/ missing from SUBDIRS if po/ does not
  2049. exist. Warn if `SUBDIRS = intl' is used although libintl
  2050. is 'external'.
  2051. * tests/gettext.test: Make sure diagnostics are not output
  2052. when po/ does not exist.
  2053. * tests/gettext2.test: Test for unwanted intl/.
  2054. PR from Alexander Turbov, fix suggested by Bruno Haible.
  2055. * m4/depend.m4: Grep depcomp's stderr for icc warnings about
  2056. ignored options.
  2057. * lib/depcomp (icc): New mode.
  2058. * tests/depcomp5.test: New file.
  2059. * tests/defs.in: Handle required=icc.
  2060. * tests/Makefile.am (TESTS): Add it.
  2061. Temporary hack for PR automake/381:
  2062. * automake.in (handle_gettext): Turn missing po/ and intl/ errors
  2063. into -Wsyntax warnings.
  2064. 2003-02-10 Richard Dawe <rich@phekda.freeserve.co.uk>
  2065. * Makefile.am: Substitute @SHELL@ in automake.in and aclocal.in.
  2066. This makes the setting of SHELL work for DJGPP.
  2067. 2003-02-10 Alexandre Duret-Lutz <adl@gnu.org>
  2068. For PR automake/385:
  2069. * lib/depcomp (makedepend): Strip any libtool call, before
  2070. running makedepends.
  2071. * tests/depcomp4.test: New file.
  2072. * tests/Makefile.am (TESTS): Add it.
  2073. Reported by Jeff Squyres.
  2074. Related to PR automake/385:
  2075. * lib/depcomp (dashmstdout): Do not use `-o /dev/null', or gcc will
  2076. write dependencies to /dev/null. `-o /dev/null' was added
  2077. on 2002-06-13 just because I tried to replace `-o foo.o' by something
  2078. else and didn't thought about removing it entirely.
  2079. * tests/depcomp3.test: New file.
  2080. * tests/Makefile.am (TESTS): Add it.
  2081. * automake.in (BEGIN): Override $ENV{'SHELL'} with ./configure's
  2082. SHELL for DJGPP.
  2083. Suggested by Richard Dawe.
  2084. 2003-02-09 Alexandre Duret-Lutz <adl@gnu.org>
  2085. * automake.texi (FAQ, CVS, maintainer-mode, wildcards)
  2086. (distcleancheck): New nodes.
  2087. 2003-02-06 Alexandre Duret-Lutz <adl@gnu.org>
  2088. * automake.in (scan_autoconf_files): Don't complain that
  2089. AM_INIT_AUTOMAKE comes from an old version if it was not found.
  2090. 2003-02-05 Alexandre Duret-Lutz <adl@gnu.org>
  2091. * automake.in (am_install_var): Simplify filtering of
  2092. variable_loc_and_value_as_list_recursive's output.
  2093. 2003-02-04 Alexandre Duret-Lutz <adl@gnu.org>
  2094. * m4/init.m4 (_AC_AM_CONFIG_HEADER_HOOK): Recompute
  2095. indexes of header files so we create stamp files with
  2096. the right numbers when config.status is run on some headers.
  2097. * tests/stamph2.test: Check for this.
  2098. Reported by Sander Niemeijer.
  2099. 2003-02-02 Alexandre Duret-Lutz <adl@gnu.org>
  2100. * automake.in (vars_scanned): Move near traverse_variable_recursively.
  2101. (traverse_variable_recursively,
  2102. traverse_variable_recursively_worker): Accept a $COND_FILTER argument
  2103. to filter out conditions during recursion. Don't recurse into
  2104. undefined variables. Don't pass empty results to &FUN_COLLECT.
  2105. (value_to_list): Remove, was used by
  2106. variable_value_as_list_recursive_worker only.
  2107. (variable_value_as_list_recursive_worker): Rewrite using
  2108. traverse_variable_recursively. Remove the $parent argument.
  2109. (variable_value_as_list_recursive,
  2110. variable_loc_and_value_as_list_recursive): Adjust calls
  2111. to variable_value_as_list_recursive_worker. Don't reset
  2112. %vars_scanned.
  2113. * tests/cond3.test: Don't expect empty helper variables,
  2114. we don't output them anymore.
  2115. * tests/cond30.test: Use an undefined variable.
  2116. * automake.in (handle_programs): Strip $(EXEEXT) before
  2117. calling &check_canonical_spelling.
  2118. * tests/exeext.test: Make sure we don't use a
  2119. maude3__EXEEXT__OBJECTS variable.
  2120. 2003-02-02 Jeremy Nimmer <jwnimmer@alum.mit.edu> (tiny change)
  2121. For Debian Bug #39542:
  2122. * automake.texi (Invoking Automake, Optional): Document how
  2123. AC_CONFIG_AUX_DIR interacts with missing files.
  2124. 2003-02-02 Alexandre Duret-Lutz <adl@gnu.org>
  2125. * lib/Automake/DisjConditions.pm (_permutations_worker)
  2126. (permutations): Remove, so that people aren't tempted to use it.
  2127. * lib/Automake/tests/DisjConditions.pl (tests_permutations): Remove.
  2128. * automake.in (variable_conditions_recursive): Remove.
  2129. (variable_conditionally_defined): Rewrite using
  2130. traverse_variable_recursively.
  2131. * automake.in (traverse_variable_recursively,
  2132. traverse_variable_recursively_worker): Pass one merged Condition
  2133. instead of a stack of conditions to &FUN_STORE and &FUN_COLLECT.
  2134. (transform_variable_recursively, define_objects_from_sources)
  2135. (handle_lib_objects, variable_conditions_recursive): Adjust usage.
  2136. 2003-02-01 Alexandre Duret-Lutz <adl@gnu.org>
  2137. * automake.in (handle_lib_objects): Compute _DEPENDENCIES variables
  2138. using transform_variable_recursively instead of
  2139. variable_conditions_recursive and variable_value_as_list_recursive
  2140. to avoid combinatorial explosion.
  2141. (handle_lib_objects_cond): Merge into handle_lib_objects.
  2142. * tests/cond11.test: Don't grep internal details in Makefile.in,
  2143. run $MAKE to make sure the resulting Makefile runs as expected.
  2144. * tests/cond29.test: Also exercise conditional _LDADD.
  2145. * tests/cond31.test, tests/cond32.test: New files.
  2146. * tests/Makefile.am (TESTS): Add tests/cond31.test and
  2147. tests/cond32.test.
  2148. 2003-01-31 Alexandre Duret-Lutz <adl@gnu.org>
  2149. * automake.in (handle_lib_objects_cond): Ignore -dlopen and
  2150. -dlpreopen in _LIBADD variables too.
  2151. (handle_LIBOBJS, handle_ALLOCA): New functions, extracted from
  2152. handle_lib_objects_cond.
  2153. * tests/libtool7.test: New file.
  2154. * tests/Makefile.am (TESTS): Add libtool7.test.
  2155. * automake.texi (Program and Library Variables): Clarify that
  2156. _LIBADD is for libraries and _LDADD for programs.
  2157. * automake.in (handle_source_transform): Correct typo from 2003-01-23.
  2158. 2003-01-28 Alexandre Duret-Lutz <adl@gnu.org>
  2159. Fix for PR automake/352:
  2160. * automake.in (transform_variable_recursively): If the destination
  2161. and the source variables are the same, delete the source variable
  2162. before defining the destination variable.
  2163. (handle_programs): Strip any $(EXEEXT) suffix from $one_file,
  2164. or this will confuse handle_source_transform.
  2165. (append_exeext): Rewrite using transform_variable_recursively.
  2166. * tests/cond29.test, tests/cond30.test: New files.
  2167. * tests/exeext.test: Run ./configure and make, this uncovered
  2168. the above handle_programs issue.
  2169. * tests/Makefile.am (TESTS): Add cond29.test and cond20.test.
  2170. * automake.in (%subobjvar): Replace by ...
  2171. (%gen_varname): ... this.
  2172. (subobjname): Replace by ...
  2173. (gen_varname): ... this.
  2174. (initialize_per_input): Clean gen_varname instead of subobjname.
  2175. (transform_variable_recursively): New function, extracted
  2176. from define_objects_from_sources.
  2177. (define_objects_from_sources): Use transform_variable_recursively.
  2178. Remove the unused $parent argument.
  2179. (handle_source_transform): Adjust call to define_objects_from_sources.
  2180. 2003-01-23 Alexandre Duret-Lutz <adl@gnu.org>
  2181. * automake.in (@substfroms, @substtos): Move near
  2182. traverse_variable_recursively.
  2183. (traverse_variable_recursively, traverse_variable_recursively_worker):
  2184. New functions, extracted from define_objects_from_sources.
  2185. (define_objects_from_sources): Rewrite using
  2186. traverse_variable_recursively.
  2187. (handle_source_transform): Use variables_conditionally_defined
  2188. instead of calling variable_conditions_recursive directly.
  2189. Adjust the call to define_objects_from_sources; there is no need
  2190. to reset @substtos, @substfroms, and %vars_scanned now.
  2191. (variable_conditions_recursive): Rewrite using
  2192. traverse_variable_recursively.
  2193. (variable_conditions_recursive_sub): Remove.
  2194. (variable_conditionally_defined): Fix condition comparison (the
  2195. consequence was that DIST_SUBDIRS was always output).
  2196. * lib/Automake/Condition.pm (merge): Allow merging several
  2197. conditions at once.
  2198. 2003-01-22 Alexandre Duret-Lutz <adl@gnu.org>
  2199. * automake.texi (Python): Explain that directory variables start
  2200. with either ${prefix} or ${exec_prefix}, and point to the
  2201. `Installation Directory Variables' section of the Autoconf manual.
  2202. 2003-01-21 Alexandre Duret-Lutz <adl@gnu.org>
  2203. * lib/am/distdir.am (top_distdir, distdir): Define these
  2204. variables only in top level Makefile. Redefine $(top_distdir)
  2205. as $(distdir).
  2206. (distdir): Fix passing of $(top_distdir) to sub-makes.
  2207. * automake.in (handle_dist): Do not define the DISTDIR and
  2208. TOP_DISTDIR transformations. We don't need them anymore.
  2209. * automake.texi (Dist): Reorder the dist-hook section, and move
  2210. the DIST_SUBDIRS paragraph earlier. Document distdir and
  2211. top_distdir.
  2212. * tests/subpkg.test: Update to check for $(distdir) and
  2213. $(top_distdir).
  2214. 2003-01-19 Alexandre Duret-Lutz <adl@gnu.org>
  2215. Rename more files to accommodate 8+3 file systems, and adjust the
  2216. vocabulary at the same time: AM_CONDITIONAL defines "conditionals",
  2217. and we call "condition" a conjunction of "conditionals".
  2218. * lib/am/Conditional.pm: Rename to lib/am/Condition.pm.
  2219. * lib/am/tests/Conditional.pl: Rename to lib/am/tests/Condition.pl.
  2220. * lib/am/ConditionalSet.pm: Rename to lib/am/DisjConditions.pm.
  2221. * lib/am/tests/ConditionalSet.pl: Rename to
  2222. lib/am/tests/DisjConditions.pl
  2223. * lib/am/Conditional.pm (condition_negate): Rename to ...
  2224. * lib/am/Condition.pm (conditional_negate): ... this.
  2225. * automake.in: Adjust references to Condition and DisjConditions.
  2226. (check_ambiguous_conditional, conditional_ambiguous_p): Rename to ...
  2227. (check_ambiguous_condition, condition_ambiguous_p): ... these.
  2228. * tests/README: New file.
  2229. * automake.texi (Conditional Programs): Show a sample Makefile.am.
  2230. Remind $(EXEEXT) must be appended to configure substitutions.
  2231. Show how Automake conditionals can be used instead.
  2232. * tests/exeext.test (check_PROGRAMS): Make sure EXEEXT is also
  2233. appended to conditionally defined programs.
  2234. 2003-01-16 Jim Meyering <jim@meyering.net>
  2235. Accept --help and --version, and lots of syntactic clean-up.
  2236. * lib/install-sh: Use consistent indentation, two spaces per level.
  2237. (scriptversion): New variable.
  2238. Change initializations like `variable=""' to `variable='.
  2239. (usage): New variable.
  2240. Use `test', not `['.
  2241. Use `test -z "$var"', not `[ x"$var" = x ]'.
  2242. Use `test -n "$var"', not `[ x"$var" != x ]'.
  2243. Alphabetize case entries.
  2244. Accept --help and --version options.
  2245. Remove unnecessary `else :' clauses.
  2246. Add a `Local variables' eval block to help emacs users update
  2247. the time-stamp variable added above.
  2248. Mostly from Karl Berry.
  2249. 2003-01-16 Alexandre Duret-Lutz <adl@gnu.org>
  2250. * m4/python.m4 (AM_PATH_PYTHON) <_AM_PYTHON_INTERPRETER_LIST>: Add
  2251. python2.3.
  2252. * m4/python.m4 (AM_PATH_PYTHON): Query distutils for `pythondir'
  2253. or `pyexecdir', for the sake of 64-bit distributions that usually
  2254. use lib64/ instead of lib/. Fall back to the default directory
  2255. if it doesn't work.
  2256. Suggested by Gwenole Beauchesne.
  2257. 2003-01-14 Alexandre Duret-Lutz <adl@gnu.org>
  2258. For PR automake/382:
  2259. * automake.texi (Yacc and Lex): Document `AM_YFLAGS = -d'.
  2260. Explain BUILT_SOURCES is usually needed in this case.
  2261. Reported by William S Fulton.
  2262. 2003-01-13 Alexandre Duret-Lutz <adl@gnu.org>
  2263. Rename some files for the sake of 8+3 file systems.
  2264. * tests/aclocali.test: Rename to tests/aclocal.test.
  2265. * tests/aclocali1.test: Rename to tests/aclocal2.test.
  2266. * tests/aclocalii.test: Rename to tests/aclocal3.test.
  2267. * tests/acoutput.test: Rename to tests/acoutpt.test.
  2268. * tests/acoutput2.test: Rename to tests/acoutpt2.test.
  2269. * tests/acouttbs.test: Rename to tests/acoutbs.test.
  2270. * tests/acouttbs2.test: Rename to tests/acoutbs2.test.
  2271. * tests/autoheader.test: Rename to tests/autohdr.test.
  2272. * tests/autoheader2.test: Rename to tests/autohdr2.test.
  2273. * tests/condincl.test: Rename to tests/condinc.test.
  2274. * tests/condincl2.test: Rename to tests/condinc2.test.
  2275. * tests/distcommon.test: Rename to tests/distcom.test.
  2276. * tests/distcommon2.test: Rename to tests/distcom2.test.
  2277. * tests/distcommon3.test: Rename to tests/distcom3.test.
  2278. * tests/installsh.test: Rename to tests/instsh.test.
  2279. * tests/installsh2.test: Rename to tests/instsh2.test.
  2280. * tests/instdata.test: Rename to tests/instdat.test.
  2281. * tests/instdata2.test: Rename to tests/instdat2.test.
  2282. * tests/libobj12b.test: Rename to tests/libobj13.test.
  2283. * tests/link_f_c.test: Rename to tests/link_fc.test.
  2284. * tests/link_f_c_cxx.test: Rename to tests/link_fccxx.test.
  2285. * tests/link_f_cxx.test: Rename to tests/link_fcxx.test.
  2286. * tests/nodefine.test: Rename to tests/nodef.test.
  2287. * tests/nodefine2.test: Rename to tests/nodef2.test.
  2288. * tests/required.test: Rename to tests/reqd.test.
  2289. * tests/required2.test: Rename to tests/reqd2.test.
  2290. * tests/sourcesub.test: Rename to tests/srcsub.test.
  2291. * tests/sourcesub2.test: Rename to tests/srcsub2.test.
  2292. * tests/specflags.test: Rename to tests/specflg.test.
  2293. * tests/specflags2.test: Rename to tests/specflg2.test.
  2294. * tests/specflags3.test: Rename to tests/specflg3.test.
  2295. * tests/specflags6.test: Rename to tests/specflg6.test.
  2296. * tests/specflags7.test: Rename to tests/specflg7.test.
  2297. * tests/specflags8.test: Rename to tests/specflg8.test.
  2298. * tests/specflags9.test: Rename to tests/specflg9.test.
  2299. * tests/subdircond.test: Rename to tests/subcond.test.
  2300. * tests/subdircond2.test: Rename to tests/subcond2.test.
  2301. * tests/subdircond3.test: Rename to tests/subcond3.test.
  2302. * tests/texinfo.test: Rename to tests/txinfo.test.
  2303. * tests/texinfo2.test: Rename to tests/txinfo2.test.
  2304. * tests/texinfo3.test: Rename to tests/txinfo3.test.
  2305. * tests/texinfo4.test: Rename to tests/txinfo4.test.
  2306. * tests/texinfo5.test: Rename to tests/txinfo5.test.
  2307. * tests/texinfo6.test: Rename to tests/txinfo6.test.
  2308. * tests/texinfo7.test: Rename to tests/txinfo7.test.
  2309. * tests/texinfo8.test: Rename to tests/txinfo8.test.
  2310. * tests/texinfo9.test: Rename to tests/txinfo9.test.
  2311. * tests/texinfo10.test: Rename to tests/txinfo10.test.
  2312. * tests/texinfo13.test: Rename to tests/txinfo13.test.
  2313. * tests/texinfo16.test: Rename to tests/txinfo16.test.
  2314. * tests/texinfo17.test: Rename to tests/txinfo17.test.
  2315. * tests/texinfo18.test: Rename to tests/txinfo18.test.
  2316. * tests/Makefile.am (TESTS): Adjust.
  2317. * ChangeLog.1996: Rename to ChangeLog.96.
  2318. * ChangeLog.1998: Rename to ChangeLog.98.
  2319. * ChangeLog.2000: Rename to ChangeLog.00.
  2320. * ChangeLog.2001: Rename to ChangeLog.01.
  2321. * Makefile.am (EXTRA_DIST): Adjust.
  2322. Reported by Richard Dawe.
  2323. 2003-01-13 Richard Dawe <rich@phekda.freeserve.co.uk> (tiny change)
  2324. * lib/am/distdir.am (distcheck): '=' is not valid in DOS filenames.
  2325. Use '_build' and '_inst' instead of '=build' and '=inst'.
  2326. * tests/man2.test: Reflect change automake: check for files in
  2327. '_build' and '_inst' directories instead of '=build' and '=inst'.
  2328. 2003-01-13 Alexandre Duret-Lutz <adl@gnu.org>
  2329. Use `_dirstamp' when the file-system doesn't support `.dirstamp'.
  2330. * m4/lead-dot.m4: New file.
  2331. * m4/Makefile.am (dist_m4data_DATA): Add lead-dot.m4
  2332. * m4/init.m4 (AM_INIT_AUTOMAKE): Require AM_SET_LEADING_DOT.:
  2333. * m4/depend.m4 (AM_SET_DEPDIR): Require AM_SET_LEADING_DOT. Define
  2334. DEPDIR using am__leading_dot.
  2335. * automake.in (require_build_directory): Define am__dirstamp, a new
  2336. variable for the dirstamp basename, based on am__leading_dot.
  2337. * tests/subobj6.test: Move all `test -f' into Makefiles, so we can
  2338. use $(am__dirstamp).
  2339. Reported by Richard Dawe.
  2340. * tests/gnits2.test, tests/pr300-prog.test, tests/transform.test:
  2341. Move all `test -f' into Makefiles, so we can honor $(EXEEXT) when
  2342. testing for programs.
  2343. Reported by Richard Dawe.
  2344. 2003-01-10 Alexandre Duret-Lutz <adl@gnu.org>
  2345. * Makefile.am (maintainer-check): Suggest using $sleep instead of
  2346. sleep 2.
  2347. * tests/defs.in (sleep): New variable.
  2348. * tests/asm.test, tests/confsub.test, tests/lisp3.test,
  2349. tests/texinfo16.test, tests/warnopts.test, tests/yaccvpath.test:
  2350. Use $sleep instead of sleep 2, to work around timestamp
  2351. inconsistencies in Windows.
  2352. Reported by Richard Dawe.
  2353. * Makefile.am (maintainer-check): Do not require SHELL=/bin/sh
  2354. after $MAKE -e.
  2355. * tests/ansi3.test, tests/ansi5.test, tests/cond22.test,
  2356. tests/man2.test, tests/subobj3.test, tests/suffix8.test,
  2357. tests/suffix11.test: Do not set SHELL=/bin/sh after $MAKE -e.
  2358. $SHELL is overridden by tests/defs, so it won't hurt even
  2359. if $MAKE -e uses the $SHELL envvar.
  2360. * tests/ansi.test, tests/insh2.test, tests/texinfo.test,
  2361. tests/texinfo8.test: Use SHELL=$SHELL, not SHELL=/bin/sh.
  2362. Reported by Richard Dawe.
  2363. Build elisp files all at once instead of one by one.
  2364. * automake.in (handle_emacs_lisp): Define am__ELFILES. Add
  2365. elc-stamp to all's dependencies.
  2366. * lib/am/lisp.am (elc-stamp): New rule, build all *.elc files.
  2367. (.el.elc): Rewrite to call elc-stamp if $@ doesn't exist.
  2368. (clean-lisp): Clean elc-stamp.
  2369. * lib/elisp-comp: Reindent. Erase the temporatry directory
  2370. from a trap. Propagate Emacs's exit status.
  2371. * tests/lisp3.test: New file.
  2372. * tests/Makefile.am (TESTS): Add lisp3.test.
  2373. Reported by Ryan T. Sammartino.
  2374. 2003-01-09 Akim Demaille <akim@epita.fr>
  2375. * automake.texi: Prefer $(FOO) to @FOO@ in the documentation.
  2376. 2003-01-08 Alexandre Duret-Lutz <adl@gnu.org>
  2377. * m4/lispdir.m4: Register EMACS and EMACSLOADPATH as precious
  2378. variables. Suggested by Ryan T. Sammartino.
  2379. 2003-01-05 Alexandre Duret-Lutz <adl@gnu.org>
  2380. * automake.in (macro_define): Add missing `{$cond}' (typo from
  2381. 2002-09-18).
  2382. ($gen_copyright): Append year 2003.
  2383. (version): Increase year.
  2384. * tests/defs.in: Substitute aclocaldir instead of running
  2385. the installed aclocal. Otherwise Libtool and Gettext
  2386. tests get skipped when aclocal doesn't preexist.
  2387. Reported by Imacat.
  2388. * tests/listval.test, tests/suffix2.test: Remove pointless -I
  2389. argument to aclocal.
  2390. -----
  2391. Copyright (C) 2003-2017 Free Software Foundation, Inc.
  2392. Copying and distribution of this file, with or without modification, are
  2393. permitted provided the copyright notice and this notice are preserved.