ChangeLog.02 119 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225
  1. 2002-12-31 Alexandre Duret-Lutz <adl@gnu.org>
  2. * lib/Automake/ChannelDefs.pm: New file.
  3. * lib/Automake/Makefile.am (dist_perllib_DATA): Add ChannelDefs.pm.
  4. * automake.in: Move all "register_channel" calls to ChannelDefs.pm.
  5. (prog_error, error, fatal, verb, switch_warning, parse_WARNINGS,
  6. parse_warnings): Move to ChannelDefs.pm.
  7. (usage): Move the warning list to Automake::ChannelDefs::usage
  8. and call it.
  9. (set_strictness): Move channel setings to
  10. Automake::ChannelDefs::set_strictness and call it.
  11. * automake.in (err): Rename as ...
  12. (error): ... this. Adjust all callers.
  13. Suggested by H.Merijn Brand.
  14. 2002-12-13 Alexandre Duret-Lutz <adl@gnu.org>
  15. * tests/version7.test: Require GNU make.
  16. Reported by Patrick Welche.
  17. 2002-12-11 Brian Ford <ford@vss.fsi.com>
  18. * m4/init.m4 (AM_INIT_AUTOMAKE): Properly quote AC_PACKAGE_TARNAME
  19. and AC_PACKAGE_VERSION.
  20. 2002-12-11 Alexandre Duret-Lutz <adl@gnu.org>
  21. * automake.texi (ANSI): Since Autoconf 2.54, LIBOBJ and LTLIBOBJ
  22. no longer have to be rewritten in order to support deansification.
  23. (Tests): Link to the DejaGnu manual.
  24. (Optional): Comment out FIXME.
  25. (Complete, A Library, LIBOBJS): Use $(LIBOBJ) and $(ALLOCA)
  26. instead of @LIBOBJ@ and @ALLOCA@.
  27. (Sources): Typo.
  28. 2002-12-05 Alexandre Duret-Lutz <adl@gnu.org>
  29. * lib/am/texinfos.am (install-info-am, uninstall-info-am): Strip
  30. directories from info filenames.
  31. * tests/texinfo13.test: Make sure main.info gets installed
  32. as $(infodir)/main.info.
  33. * automake.in (handle_dist): Do not define %GETTEXT% if the user
  34. is using $seen_gettext_external, this distcheck won't run
  35. `./configure' with a meaningless `--with-included-gettext'.
  36. * tests/gettext.test: Make sure distcheck uses --with-included-gettext.
  37. * tests/gettext2.test: Make sure distcheck does not use
  38. --with-included-gettext.
  39. * m4/ccstdc.m4: Define am_cv_prog_cc_stdc for backward
  40. compatibility and diagnose the use of AM_PROG_CC_STDC.
  41. * automake.texi (Public macros) <AM_PROG_CC_STDC>: Remove
  42. documentation, this macro is no longer supported.
  43. Reported by Kevin Ryde.
  44. 2002-12-04 Alexandre Duret-Lutz <adl@gnu.org>
  45. * automake.in (handle_languages): Test $objdir, not $srcdir, to
  46. decide whether a _.c file is in a subdirectory and has to be
  47. cleaned separately.
  48. Reported by Kevin Ryde.
  49. * tests/ansi10.test (liblib_a_LIBADD): Set ac_cv_prog_cc_stdc
  50. not am_cv_prog_cc_stdc.
  51. * automake.texi (Options): Some English nits from Eric Siegerman.
  52. (Sources): Rewrite the introduction and move the example to ...
  53. (Built sources example): ... this separate node.
  54. * automake.in (variable_pretty_output): Strip trailing
  55. backslashes in $val after $val is defined...
  56. Reported by Kevin Ryde.
  57. * tests/depcomp2.test: Pass CC='gcc' as an argument to ./configure
  58. not in the environment. Otherwise the test will fail when
  59. run with ksh and VERBOSE=x.
  60. Reported by Paul Jarc.
  61. * tests/man2.test: Exercize `make uninstall', to test
  62. the previous change.
  63. 2002-12-03 Nicolas Joly <njoly@pasteur.fr>
  64. * lib/am/mans.am (uninstall-man%SECTION%): Change the extension of
  65. the man pages being uninstalled, if needed.
  66. 2002-12-03 Alexandre Duret-Lutz <adl@gnu.org>
  67. * automake.in (macro_define): Do not strip escaped new lines
  68. in Automake's +='ed variables. We don't know whether it will
  69. be pretty printed or not at this point.
  70. (variable_pretty_output): Do this here.
  71. * tests/pluseq10.test: New file.
  72. * tests/Makefile.am (TESTS): Add pluseq10.test.
  73. Reported by Ralf Corsepius.
  74. 2002-12-02 Charles Wilson <cwilson@ece.gatech.edu>
  75. * tests/gnits3.test (AM_INSTALLCHECK_STD_OPTIONS_EXEMPT):
  76. Append $(EXEEXT) again.
  77. 2002-12-02 Alexandre Duret-Lutz <adl@gnu.org>
  78. * automake.texi (Sources): Illustrate $(BUILT_SOURCES) with an
  79. example.
  80. * automake.texi (Options): Programs listed in
  81. AM_INSTALLCHECK_STD_OPTIONS_EXEMPT should have $(EXEEXT) appended.
  82. * tests/gnits3.test (AM_INSTALLCHECK_STD_OPTIONS_EXEMPT):
  83. Append $(EXEEXT).
  84. Reported by Charles Wilson.
  85. 2002-12-01 Alexandre Duret-Lutz <adl@gnu.org>
  86. * automake.in (lang_c_finish): Do not fill de_ansi_files with
  87. subdirectory informations for %libsources files. A LIBOBJS source
  88. is always in the current directory. This reverts part of a change
  89. from 2002-01-13.
  90. * tests/ansi10.test: New file.
  91. * tests/Makefile.am (TESTS): Add ansi10.test.
  92. * automake.in (do_check_merge_target): Add missing space.
  93. * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
  94. versions.
  95. * configure.in: Do not use missing while checking for Autoconf's
  96. version, otherwise we won't notice that Autoconf isn't installed.
  97. Augment the error message with a few questions to help users.
  98. 2002-11-30 Alexandre Duret-Lutz <adl@gnu.org>
  99. * tests/gnits2.test, tests/gnits3.test: Move the greps inside the
  100. Makefile, so we can honor $(EXEEXT). Otherwise these tests
  101. fail under Cygwin.
  102. Reported by Charles Wilson.
  103. For PR automake/375 (Debian Bug #168671):
  104. * automake.in (scan_texinfo_file): Erase all known index files, no
  105. matter whether they are used at the top-level or not, because we
  106. can never know if they are used in included files. The remaining
  107. macros we recognize at the top-level of a Texi document are
  108. @defindex, @defcodeindex, @synindex, and @syncodeindex.
  109. * tests/texinfo18.test: New file.
  110. * tests/Makefile.am (TESTS): Add texinfo18.test.
  111. Reported by Simon Richter.
  112. * automake.in (scan_texinfo_file): Honor only the first @setfilename.
  113. * tests/texinfo17.test: New file.
  114. * tests/Makefile.am (TESTS): Add texinfo17.test.
  115. Reported by Karl Berry.
  116. For PR automake/357:
  117. * automake.in (require_file_internal): Don't complain a file is "not
  118. found" when it is a target. Make sure "not found" files are otherwise
  119. reported as error (they were reported as 'note').
  120. * tests/distcommon3.test: Augment to test the above.
  121. * tests/libobj12b.test: Touch ltmain.sh.
  122. * tests/required2.test: Make sure Automake fails because ltmain.sh
  123. has been removed.
  124. Reported by Ronald Landheer.
  125. * tests/texinfo3.test: Make sure we don't output single suffix
  126. inference rules when building `.info'-less Info files (this
  127. confuses Solaris make). Run distcheck to make sure the rules
  128. work.
  129. * automake.in (output_texinfo_build_rules): Define GENERIC_INFO
  130. and SOURCE_INFO.
  131. * lib/am/texibuild.am (%SOURCE_SUFFIX%%DEST_SUFFIX%,
  132. %DEST_PREFIX%%DEST_SUFFIX%): Honor GENERIC_INFO and SOURCE_INFO.
  133. 2002-11-29 Alexandre Duret-Lutz <adl@gnu.org>
  134. For PR automake/359:
  135. * automake.in (do_check_merge_target): Make `check' dependent on
  136. $(BUILT_SOURCES) if the variable is defined. Run `check-am' or
  137. `check-recursive' in a submake in this case.
  138. * tests/check2.test, tests/check3.test: New files.
  139. * tests/check.test: Make sure `check' depends on `check-am'.
  140. * tests/Makefile.am (TESTS): Add check2.test and check3.test.
  141. For PR automake/371 and PR automake/372:
  142. * automake.in (rule_define): Honor inference rules with multiple
  143. targets, and warn when they are used.
  144. * tests/suffix11.test: New file.
  145. * tests/Makefile.am (TESTS): Add suffix11.test.
  146. Reported by Duncan Gibson.
  147. 2002-11-28 Alexandre Duret-Lutz <adl@gnu.org>
  148. For PR automake/370:
  149. * automake.in (handle_languages): Don't prepend $U to $myext
  150. since handle_single_transform_list now appends it to $obj.
  151. Process the rule twice to handle deansified files in subdirectories.
  152. Mark _.c files in subdirectories for cleaning.
  153. (handle_single_transform_list): Append $U to $obj_sans_ext if
  154. needed: before this dependencies were output foo.Po instead
  155. of foo$U.Po. Don't output explicit dependencies for renamed
  156. objects or sources in sub-directories: we already output
  157. a full compile rule for them.
  158. (lang_c_finish): Don't always use the full filename in the
  159. .c -> _.c rule. This reverts part of my change of 2002-11-21.
  160. * tests/ansi6.test, tests/ansi7.test: Make sure deansified
  161. files are created in the right directory, and cleaned.
  162. Reported by Kevin Ryde.
  163. 2002-11-25 Jim Meyering <jim@meyering.net>
  164. * lib/install-sh: Put `$0:' at the beginning of each diagnostic,
  165. not `install:'.
  166. 2002-11-21 Alexandre Duret-Lutz <adl@gnu.org>
  167. * automake.in (make_condition_string): New function.
  168. (cond_stack_if, cond_stack_else, cond_stack_endif): Use it.
  169. Suggested by Raja R Harinath.
  170. * tests/texinfo13.test: Require texi2dvi-o.
  171. * tests/defs.in: Handle required=texi2dvi-o.
  172. * automake.in (lang_c_finish): Use $@ in the .c -> _.c rule.
  173. * automake.in (handle_single_transform_list): Don't strip the
  174. directory from $full_ansi. This reverts my patch of 2002-10-16.
  175. (lang_c_finish): Use the full filename, including the directory,
  176. in the .c -> _.c rule. These two files must reside in the same
  177. directory.
  178. * tests/ansi6.test: Also try to compile without ansi2knr.
  179. Reported by Andreas Schwab
  180. 2002-11-20 Alexandre Duret-Lutz <adl@gnu.org>
  181. * lib/Automake/Conditional.pm (strip): New function.
  182. * lib/Automake/ConditionalSet.pm (sub_conditions): Use it.
  183. Suggested by Raja R Harinath.
  184. * automake.in (conditional_ambiguous_p, macro_define, rule_define,
  185. require_variables): Use ->human instead of ->string.
  186. * lib/Automake/Conditional.pm (string): Don't sort conditions, they
  187. are already sorted.
  188. (_to_human, human): New functions.
  189. * lib/Automake/ConditionalSet.pm (human): New function.
  190. * tests/cond27.test, tests/library3.test, tests/pluseq5.test,
  191. tests/pluseq9.test: Adjust.
  192. * lib/Automake/Conditional.pm [SYNOPSIS]: Fix not's description.
  193. * lib/Automake/ConditionalSet.pm (sub_conditions): New function.
  194. (multiply): Also accept an Automake::Conditional as argument.
  195. * automake.in (variable_not_always_defined_in_cond): Simplify,
  196. using only Automake::ConditionalSet methods.
  197. Suggested by Raja R Harinath.
  198. * lib/Automake/ConditionalSet.pm (conds): Use value() to simplify.
  199. (invert): Rewrite as a product-of-sums to sum-of-products converter.
  200. (_multiply, multiply): New functions.
  201. * lib/Automake/Conditional.pm (not): New function.
  202. * lib/Automake/tests/ConditionalSet.pl (test_invert): Update.
  203. * automake.in (condition_negate): Move ...
  204. * lib/Automake/Conditional.pm (negate_condition): ... here.
  205. Suggested by Raja R Harinath.
  206. 2002-11-19 Alexandre Duret-Lutz <adl@gnu.org>
  207. * lib/Automake/ConditionalSet.pm (_simplify, simplify): New methods.
  208. (true): Cache return value, so _simplify can use it.
  209. * lib/Automake/tests/ConditionalSet.pl (test_simplify): New function.
  210. * automake.in (variable_not_always_defined_in_cond): Return
  211. a simplified ConditionalSet.
  212. (macro_define, require_variables): Adjust.
  213. * tests/Makefile.am (TEST): Add library3.test.
  214. * tests/library3.test: New file.
  215. * tests/pluseq9.test: Adjust.
  216. Thanks to Raja R Harinath.
  217. 2002-11-18 Alexandre Duret-Lutz <adl@gnu.org>
  218. * lib/Automake/tests/Makefile.am, lib/Automake/tests/Conditional.pl,
  219. lib/Automake/tests/ConditionalSet.pl: New files.
  220. * lib/Automake/Makefile.am (SUBDIRS): New variable.
  221. * configure.in: Output lib/Automake/tests/Makefile.
  222. * lib/Automake/ConditionalSet.pm (by_conditions): Delete.
  223. (conds): Don't use by_conditions, sort alphabetically, and
  224. return sorted conds.
  225. (string): Call ->string on each Conditional.
  226. * tests/Makefile.am (TESTS): Remove cond12.test.
  227. * tests/cond12.test: Remove, moved to
  228. lib/Automake/tests/ConditionalSet.pl.
  229. * tests/cond3.test: Adjust conditional ordering.
  230. 2002-11-15 Alexandre Duret-Lutz <adl@gnu.org>
  231. * lib/Automake/ConditionalSet.pm (_permutations_worker): Ignore TRUE
  232. conditions.
  233. (permutations): Treat empty permutations as TRUE.
  234. (invert): Simplify.
  235. Suggested by Raja R Harinath.
  236. 2002-11-14 Alexandre Duret-Lutz <adl@gnu.org>
  237. * automake.in (variable_defined): Thinko.
  238. * lib/Automake/ConditionalSet.pm (true): Simplify.
  239. (permutations): Fix documentation.
  240. (new): Don't simplify conditional sets that contain TRUE.
  241. Reported by Raja R Harinath.
  242. 2002-11-14 Eric Blake <ebb9@email.byu.edu>
  243. * lib/am/depend2.am: Add missing fi in c.obj rules.
  244. 2002-11-14 Alexandre Duret-Lutz <adl@gnu.org>
  245. * automake.in (handle_installdirs): Reindent to workaround a
  246. parsing bug in Perl 5.6.0.
  247. Reported by Patrick Welche.
  248. * lib/Automake/Conditional.pm: Add reference to ConditionalSet.pm.
  249. * lib/Automake/ConditionalSet.pm: New file.
  250. * lib/Automake/Makefile.am (dist_perllib_DATA): Add ConditionalSet.pm.
  251. * automake.in: Use ConditionalSet.
  252. (by_condition, invert_conditions, variable_conditions_permutations):
  253. Remove, now defined as Automake::ConditionalSet::by_condition,
  254. Automake::ConditionalSet::invert, and
  255. Automake::ConditionalSet::permutations.
  256. (variable_sorted_conditions): Remove.
  257. (msg_var, msg_target handle_source_transform, handle_lib_objects,
  258. conditional_ambiguous_p, variable_not_always_defined_in_cond,
  259. macro_define, macro_dump, variable_defined,
  260. variable_conditions_recursive, variable_conditions,
  261. target_conditions, variable_conditionally_defined,
  262. variable_conditions_recursive_sub,
  263. check_variable_defined_unconditionally, variable_value_as_list,
  264. variable_value_as_list_recursive_worker, variable_output,
  265. variable_pretty_output, rule_define, append_exeext,
  266. am_install_var, require_variables_for_macro): Adjust to
  267. use ConditionalSet.
  268. 2002-11-13 Alexandre Duret-Lutz <adl@gnu.org>
  269. * automake.in (variable_conditions): Split into ...
  270. (variable_conditions, variable_sorted_conditions): ... these
  271. functions, where variable_sorted_conditions has the semantic of
  272. the old variable_condition.
  273. (target_conditions): New function.
  274. (msg_var, handle_lib_objects_cond, check_ambiguous_conditional,
  275. variable_not_always_defined_in_cond, macro_define,
  276. variable_defined, check_variable_defined_unconditionally,
  277. variable_conditions_recursive_sub,
  278. variable_conditions_permutations, variable_value_as_list,
  279. variable_value_as_list_recursive_worker, append_exeext,
  280. am_install_var, require_variables_for_macro): Use variable_conditions.
  281. (msg_target, rule_define): Use target_conditions.
  282. (define_objects_from_sources, macro_define, macro_dump,
  283. variable_pretty_output): Use variable_sorted_conditions.
  284. * automake.texi (Conditional Sources): Fix the `+=' example.
  285. Reported by Mike Castle.
  286. * automake.in: Don't declare TRUE and FALSE, import them from
  287. Automake::Conditional.
  288. * lib/Automake/Conditional.pm (TRUE, FALSE): New constants.
  289. (new): Simplify using FALSE.
  290. (reduce): New function, moved from ...
  291. * automake.in (variable_conditions_reduce): ... here.
  292. (variable_conditions_recursive_sub, invert_conditions):
  293. Adjust calls to Automake::Conditional::reduce.
  294. * tests/cond12.test: Adjust to use Automake::Conditional.
  295. 2002-11-09 Jim Meyering <jim@meyering.net>
  296. Make install-sh work even when names contain spaces or
  297. certain (but not all) shell metachars.
  298. * lib/install-sh: Remove lots of unnecessary quoting.
  299. Add double quotes where necessary.
  300. Write diagnostics to stderr, not stdout.
  301. Normalize spacing in diagnostics: use one space (not two,
  302. and not a TAB) after the leading `install:'.
  303. Remove trailing white space.
  304. Remove unnecessary curly braces.
  305. If removing the destination fails, also try to move it aside.
  306. Use `trap' more portably.
  307. * tests/installsh2.test: New file, to test for the above fix.
  308. * tests/Makefile.am (TESTS): Add installsh2.test.
  309. * automake.texi: Fix some typos and a grammar nit.
  310. 2002-11-07 Alexandre Duret-Lutz <adl@gnu.org>
  311. * automake.in (switch_warning): Subject Perl warnings to -Werror.
  312. * automake.texi (Extending): Complete unterminated sentence.
  313. Reported by Mike Castle.
  314. 2002-11-06 Akim Demaille <akim@epita.fr>
  315. * automake.in (&conditional_ambiguous_p): Don't forget to ->string
  316. the Conditionals.
  317. 2002-10-31 Alexandre Duret-Lutz <adl@gnu.org>
  318. * automake.texi (Dist): Fix the distcleancheck_listfiles example.
  319. Reported by Karl Berry.
  320. 2002-10-31 Akim Demaille <akim@epita.fr>
  321. * tests/location.test (Makefile.am): Strengthen.
  322. * lib/Automake/Channels.pm (_print_message): Be sure to flush
  323. $partial when the message is output.
  324. Thanks to Alexandre Duret-Lutz.
  325. 2002-10-31 Akim Demaille <akim@epita.fr>
  326. * automake.in (&read_am_file): Use $last_where to register the
  327. _first_ line of a variable definition as location instead of the
  328. last one.
  329. (&conditional_ambiguous_p): Don't forget to ->string the
  330. Conditionals.
  331. (&rule_define): Likewise.
  332. * tests/location.test: Adjust to exercise this.
  333. 2002-10-25 Charles Wilson <cwilson@ece.gatech.edu>
  334. * tests/defs.in: Add explicit stanza for python -V.
  335. 2002-10-16 Alexandre Duret-Lutz <adl@gnu.org>
  336. * tests/ansi6.test, tests/ansi7.test: Set ac_cv_prog_cc_stdc instead
  337. of am_cv_prog_cc_stdc. This follows Akim's patch of 2002-10-09,
  338. and reveals a bug in my patch of 2002-10-15.
  339. * automake.in (handle_single_transform_list): Strip directory name
  340. from $full_ansi if subdir-objects is not set.
  341. * lib/texinfo.tex: New version from Texinfo 4.2b.
  342. 2002-10-15 Alexandre Duret-Lutz <adl@gnu.org>
  343. * automake.in (handle_single_transform_list) <full_ansi>: New variable.
  344. Use this to record correct dependencies about deansifiable files which
  345. are using per-program flags or are in a subdirectory.
  346. * tests/ansi9.test: New file.
  347. * tests/Makefile.am (TESTS): Add ansi9.test.
  348. Reported by Paul D. Smith
  349. 2002-10-12 Alexandre Duret-Lutz <adl@gnu.org>
  350. * aclocal.in (ac_defun_rx, ac_require_rx): If the macro name is
  351. quoted, accept any character but `]'. This makes it possible
  352. to define macros such as `AC_LANG_PREPROC(Fortran 90)'.
  353. (scan_m4_files): Quote $key in the regex. Don't define $expr, it's
  354. not used.
  355. (add_file, scan_file): Adjust to the new definitions of $ac_defun_rx
  356. and $ac_require_rx.
  357. * tests/aclocal2.test: New file.
  358. * tests/Makefile.am (TESTS): Add aclocal2.test.
  359. Reported by Tamara L. Dahlgren and Tom Epperly.
  360. 2002-10-11 Alexandre Duret-Lutz <adl@gnu.org>
  361. For Debian Bug#153697:
  362. * lib/am/dejagnu.am (distclean-DEJAGNU): Remove $tool.sum and
  363. $tool.log.
  364. Suggested by Andrew Suffield.
  365. 2002-10-10 Alexandre Duret-Lutz <adl@gnu.org>
  366. For PR automake/369:
  367. * lib/am/python.am: Lookup python files in build directory or
  368. source directory.
  369. From Mathias Doreille.
  370. * tests/python3.test: New file.
  371. * tests/Makefile.am (TESTS): Add python3.test.
  372. * tests/defs: Handle `required=python'.
  373. For PR automake/358:
  374. * lib/am/texi-vers.am (%STAMPVTI%): Depend on configure instead of
  375. configure.ac.
  376. Suggested by Thien-Thi Nguyen.
  377. * lib/am/configure.am ($(srcdir)/configure): Depends on
  378. %CONFIGURE_DEPS%
  379. * automake.in (@configure_deps): New array.
  380. (scan_autoconf_traces): Scan for m4_include and m4_sinclude,
  381. and fill @configure_deps.
  382. (handle_configure): Substitute %CONFIGURE_DEPS%.
  383. Distribute @configure_deps.
  384. * tests/version7.texi: New file.
  385. * tests/vtexi.test: Adjust.
  386. * tests/Makefile.am (TESTS): Add version7.test.
  387. * automake.texi (Dist): Mention that m4_include'd files
  388. are distributed.
  389. 2002-10-09 Akim Demaille <akim@epita.fr>
  390. * m4/ccstdc.m4 (AM_PROG_CC_STDC): Its definition is now empty:
  391. the content of this macro was merged in AC_PROG_CC.
  392. * m4/protos.m4 (AM_C_PROTOTYPES): Adjust to AC_C_PROTOTYPES.
  393. * tests/depacl.test: Remove, it exercizes aclocal in a way that was
  394. exercized by all the other tests since the test suite really uses
  395. aclocal.
  396. * tests/Makefile.am (TESTS): Remove depacl.test.
  397. 2002-10-08 Paul Eggert <eggert@twinsun.com>
  398. * lib/am/texibuild.am (%DEST_PREFIX%%DEST_SUFFIX%,
  399. %DEST_PREFIX%.dvi, %DEST_PREFIX%.pdf): Use "makeinfo -o output
  400. input", not "makeinfo input -o output", as the latter fails if
  401. POSIXLY_CORRECT=1.
  402. * lib/am/texinfos.am (.dvi.ps): Likewise for dvips.
  403. * m4/depend.m4 (_AM_DEPENDENCIES): Likewise for $depcc.
  404. 2002-10-08 Alexandre Duret-Lutz <adl@gnu.org>
  405. * automake.in (file_contents_internal): Fix the relationship
  406. regex flags, don't use `m'.
  407. For Debian Bug#162583:
  408. * automake.in (file_contents_internal): Simplify regex to
  409. separate relationship from actions in rules.
  410. Reported by Sam Hocevar.
  411. * lib/Automake/Conditional.pm (has): Simplify.
  412. 2002-10-07 Alexandre Duret-Lutz <adl@gnu.org>
  413. * lib/Automake/Conditional.pm: New file.
  414. * lib/Automake/Makefile.am (dist_perllib_DATA): Add Conditional.pm.
  415. * automake.in: Use Automake::Conditional.
  416. (TRUE, FALSE): New constants.
  417. (%var_value, %var_location, %var_comment, %var_type, %var_owner,
  418. %targets, %target_source, %target_name, %target_owner): Tie to
  419. Tie::RefHash::Nestable.
  420. (generate_makefile, process_option_list, handle_options,
  421. handle_languages, handle_source_transform, handle_compile,
  422. handle_libtool, handle_texinfo_helper, handle_dist, handle_subdirs,
  423. scan_aclocal_m4, handle_emacs_lisp, handle_python,
  424. scan_autoconf_files, variable_assert, define_variable,
  425. define_pretty_variable, define_configure_variable, am_install_var,
  426. push_dist_common): Use TRUE.
  427. (define_objects_from_sources): Fix return value on
  428. "recursively-defined" errors.
  429. (conditional_string, conditional_true_when, conditional_is_redundant,
  430. conditional_implies_any, make_conditions): Remove these functions,
  431. obsoleted by Conditional.pm.
  432. (cond_stack_if, cond_stack_else, cond_stack_endif): Return
  433. an Automake::Conditional instance.
  434. (by_condition, conditional_ambiguous_p,
  435. variable_not_always_defined_in_cond, macro_define,
  436. variable_conditions_recursive, variable_conditions_recursive_sub,
  437. variable_conditions_reduce, invert_conditions,
  438. variable_conditions_permutations,
  439. check_variable_defined_unconditionally, variable_value_as_list,
  440. variable_output, variable_pretty_output, rule_define,
  441. read_am_file, file_contents_internal, require_variables): Adjust
  442. to use Automake::Conditional objects.
  443. (handle_footer): Get $(SUFFIXES) in 'all' conditions.
  444. * tests/cond12.test: Adjust to use Automake::Conditional objects.
  445. 2002-10-01 Alexandre Duret-Lutz <adl@gnu.org>
  446. * automake.in (handle_source_transform): If foo_SOURCES is defined
  447. conditionally, create and use am__foo_SOURCES_DIST for distribution.
  448. * tests/condd.test: Extend to check distributed files.
  449. * tests/substref.test: Make sure we don't use such a variable when
  450. it's not needed.
  451. Reported by Marcus Brinkmann.
  452. 2002-09-30 Ezra Peisach <epeisach@MED-XTAL.BU.EDU>
  453. * tests/defs.in: Run $MAKE --version -v.
  454. * tests/dollar.test: Abort on ./defs failure.
  455. * tests/lex5.test: Require GNUmake, not make.
  456. 2002-09-30 Kevin Ryde <user42@zip.com.au>
  457. * m4/as.m4 (AM_PROG_AS): Let CCAS and CCASFLAGS default to the actual
  458. values of $CC and $CFLAGS (as opposed to $(CC) and $(CFLAGS)), so
  459. configure tests can use them. Use AC_ARG_VAR instead of AC_SUBST.
  460. 2002-09-30 Alexandre Duret-Lutz <duret_g@epita.fr>
  461. * automake.in (require_variables): The fix introduced in 2002-09-19
  462. is incomplete. Rewrite the conditional variable definition check
  463. using &variable_not_always_defined_in_cond.
  464. * tests/cond26.test, tests/cond27.test, tests/cond28.test: New file.
  465. * tests/Makefile.am (TESTS): Add cond26.test, cond27.test, and
  466. cond28.test.
  467. Reported by Juergen Keil.
  468. * automake.in (INTERNAL): Redefine as an empty location,
  469. so that internal locations get displayed as `automake:'.
  470. * lib/am/distdir.am (distdir): Create $dc_destdir right before
  471. its use.
  472. Reported by Akim Demaille.
  473. Fix for PR automake/366:
  474. * automake.in (handle_dist): Strip $(srcdir) and replace
  475. $(top_srcdir) when computing DIST_COMMON directories.
  476. * tests/include2.test: Use an obsolute $(srcdir), and check
  477. for spurious directories in $(distdir)/sub.
  478. * lib/am/distdir.am: Rewrite $(top_srcdir) as $(top_builddir).
  479. Reported by Kevin Ryde.
  480. 2002-09-29 Alexandre Duret-Lutz <duret_g@epita.fr>
  481. * lib/Automake/Channels.pm (%_default_options): Add 'partial'.
  482. (_format_message): Rename as ...
  483. (_format_sub_message): ... this.
  484. (_format_message): New function, extracted from ...
  485. (_print_message): ... here. Honor the 'partial' option.
  486. ($partial): New variable.
  487. * automake.in (handle_ltlibraries, check_ambiguous_conditional,
  488. rule_define): Mark partial messages.
  489. * automake.in (handle_ltlibraries): Record library locations in
  490. %liblocations, and print the previous declaration on error.
  491. * tests/libtool6.test: Check that the locations of the two
  492. definitions are shown.
  493. For PR automake/360: Propagate more locations.
  494. * automake.in (handle_programs): Adjust usage of am_install_var's
  495. return value. Pass on locations as context to file_contents.
  496. (handle_libraries, handle_ltlibraries): Likewise. Use locations
  497. in the 'not a standard library name' diagnostic.
  498. (handle_emacs_lisp, handle_python): Adjust usage of am_install_var's
  499. return value. Pass on locations to require_variables and
  500. require_conf_file.
  501. (check_ambiguous_conditional): Strip trailing dot in message.
  502. (value_to_list): Add the $WHERE and $LOC_WANTED arguments.
  503. (variable_value_as_list_recursive_worker): Add the $LOC_WANTED
  504. argument. Adjust calls to value_to_list.
  505. (variable_value_as_list_recursive): Call
  506. variable_value_as_list_recursive_worker with $LOC_WANTED = 0.
  507. (variable_loc_and_value_as_list_recursive): New function,
  508. variable_value_as_list_recursive_worker with $LOC_WANTED = 1.
  509. (am_install_var): Use variable_loc_and_value_as_list_recursive,
  510. and return a list of [$location, $value] pairs.
  511. (rule_define): Use better locations in EXEEXT diagnostic.
  512. (handle_source_transform, define_objects_from_sources): Add and use
  513. a $WHERE argument. Adjust callers.
  514. * tests/stdlib.test: Grep the location in error message.
  515. * tests/location.test: New file.
  516. * tests/Makefile.am (TESTS): Add location.test.
  517. * tests/exeext3.test: New file.
  518. * tests/Makefile.am (TESTS): Add exeext3.test.
  519. * automake.in (%target_name): New hash.
  520. (initialize_per_input): Reset %target_name.
  521. (rule_define): Fill %target_name, and use it to detect targets
  522. which have been registered with key X but really are X$(EXEEXT).
  523. 2002-09-28 Alexandre Duret-Lutz <duret_g@epita.fr>
  524. For PR automake/360:
  525. * lib/Automake/Location.pm: New file.
  526. * lib/Automake/Channels.pm (_print_message): Display contexts
  527. when given an Automake::Location.
  528. (msg): Clone the location.
  529. * lib/Automake/Makefile.am (dist_perllib_DATA): Add Location.pm.
  530. * tests/comment5.test: Make sure we display `included from' stacks.
  531. * automake.in: Use Automake::Location.
  532. (INTERNAL): New constant.
  533. (file_contents, file_contents_internal, define_variable,
  534. define_pretty_variable, read_am_file): Take $WHERE as argument.
  535. Adjust all callers.
  536. (scan_autoconf_traces) <$where>: Define as a Location, and use
  537. it instead of $here.
  538. (macro_define, rule_define): Make sure $WHERE is a location.
  539. Clone it before updating $var_location or $targets.
  540. 2002-09-27 Alexandre Duret-Lutz <duret_g@epita.fr>
  541. * lib/mkinstalldirs: Reindent using `sh-indentation: 2'.
  542. Suggested by Bruno Haible.
  543. * Makefile.am (fetch, FETCHFILES): Don't fetch install-sh from
  544. Autoconf. Automake now has the master copy of install-sh and
  545. mkinstalldirs.
  546. 2002-09-25 Alexandre Duret-Lutz <duret_g@epita.fr>
  547. * configure.in: Bump version to 1.7a.
  548. * NEWS, configure.ac: Version 1.7.
  549. 2002-09-25 Art Haas <ahaas@neosoft.com>
  550. * automake.texi (Optional, Options, Distributing, ANSI,
  551. API versioning): Spelling fixes and Texi tweaks.
  552. 2002-09-25 Alexandre Duret-Lutz <duret_g@epita.fr>
  553. * configure.in: Check for 'tex'.
  554. * tests/defs.in: Handle required=tex using configure's result.
  555. Reported by Patrick Welche.
  556. * Makefile.am (mdate-sh): Remove.
  557. * mdate-sh: Delete.
  558. Suggested by Akim Demaille.
  559. 2002-09-25 Tom Tromey <tromey@redhat.com>
  560. * NEWS: Mention distuninstallcheck.
  561. * automake.texi (Dist): Document new macro and target.
  562. * lib/am/distdir.am (distuninstallcheck_listfiles): New macro.
  563. (distuninstallcheck): New target.
  564. (distcheck): Use distuninstallcheck.
  565. 2002-09-25 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  566. * tests/specflags7.test (true_CFLAGS, false_CFLAGS, false.c): Use
  567. AM_TRUE, AM_FALSE to avoid bad interaction with Tru64 UNIX
  568. <sys/types.h>.
  569. * tests/specflags8.test (true_CPPFLAGS, false_CPPFLAGS, false.c):
  570. Likewise.
  571. 2002-09-25 Alexandre Duret-Lutz <duret_g@epita.fr>
  572. * automake.in (output_texinfo_build_rules): Define %SOURCE_REAL%.
  573. * lib/am/texibuild.am (%DEST_PREFIX%%DEST_SUFFIX%,
  574. %DEST_PREFIX%.dvi, %DEST_PREFIX%.pdf): Add %SOURCE_REAL% as dependency.
  575. 2002-09-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  576. * lib/am/ltlib.am (clean-%DIR%LTLIBRARIES): Use $$dir in make
  577. command.
  578. 2002-09-24 Alexandre Duret-Lutz <duret_g@epita.fr>
  579. * automake.in (handle_single_transform_list): Revert the change
  580. from 2002-09-22. We need to erase .libs/ in the object directory
  581. in addition to the library directory.
  582. * tests/target-cflags.test: Build in `build/', not `obj/' because
  583. `obj/' is special to BSD make.
  584. * automake.in (read_am_file): Prefix included files with
  585. $(top_srcdir) or $(srcdir) in DIST_COMMON. Fixes
  586. subdircond2.test, and subdircond3.test on OSF1.
  587. * tests/defs.in (SHELL): Set it.
  588. * lib/am/distdir.am (distcleancheck): Mention `in build directory'
  589. in error message.
  590. 2002-09-23 Alexandre Duret-Lutz <duret_g@epita.fr>
  591. For PR automake/350:
  592. * automake.in (handle_ltlibraries): Allow a library to be installed
  593. many times in the same directory.
  594. * tests/libtool5.test, tests/libtool6.test: New files.
  595. * tests/Makefile.am (TESTS): Add libtool5.test and libtool6.test.
  596. 2002-09-22 Alexandre Duret-Lutz <duret_g@epita.fr>
  597. * automake.in (handle_ltlibraries): Fill $libtool_clean_directories
  598. here, with directories where .la files are built...
  599. (handle_single_transform_list): ... not here with directories
  600. where .lo files are built.
  601. * tests/libtool3.test: Build a library in a subdirectory to
  602. check for this.
  603. Reported by Peter Gavin.
  604. * tests/cond5.test: Give more time to automake.
  605. Reported by Art Haas.
  606. * configure.in: Really check for Autoconf 2.54.
  607. * automake.texi (Yacc and Lex): ylwrap is used only when there is
  608. more than one yacc or lex source file in a directory.
  609. * automake.in (macro_define): Update a variable's location each
  610. time its owner is updated.
  611. * tests/gnuwarn.test: Append to CFLAGS to check for this.
  612. Reported by Harlan Stenn.
  613. 2002-09-20 Alexandre Duret-Lutz <duret_g@epita.fr>
  614. * configure.in: Bump version to 1.6g.
  615. * configure.in, NEWS: Bump version to 1.6f.
  616. * Makefile.am (INSTALL): New rules.
  617. 2002-09-20 Mirko Streckenbach <strecken@infosun.fmi.uni-passau.de>
  618. For PR automake/363:
  619. * m4/cond.m4: Fix AC_MSG_ERROR quoting.
  620. 2002-09-19 Pavel Roskin <proski@gnu.org>
  621. * tests/warnopts.test: Fix random failures by removing Autoconf
  622. cache directory when configure.in changes. Use the code and the
  623. comment from tests/asm.test.
  624. 2002-09-19 Alexandre Duret-Lutz <duret_g@epita.fr>
  625. * automake.texi (Program and Library Variables) <maude_LIBADD>:
  626. Don't mention _LDADD for Libtool libraries.
  627. Reported by Schleicher Ralph.
  628. For PR automake/361:
  629. * tests/suffix8.test: More explicit dependencies.
  630. Reported by Paul Eggert.
  631. * automake.in (rule_define): Don't diagnose duplicate user rules.
  632. * tests/phony.test, tests/percent2.test: New files.
  633. * tests/Makefile.am (TESTS): Add them.
  634. Reported by Ralf Corsepius.
  635. * automake.in (require_variables): Search variable definitions
  636. in any condition implied by $cond.
  637. * tests/cond25.test: New file.
  638. * tests/Makefile.am (TESTS): Add cond25.test.
  639. Reported by Pavel Roskin.
  640. * tests/subobj9.test: Skip this test on configure errors.
  641. Reported by Paul Eggert.
  642. 2002-09-18 Alexandre Duret-Lutz <duret_g@epita.fr>
  643. * configure.in: Bump version to 1.6e.
  644. * configure.in, NEWS: Bump version to 1.6d.
  645. * tests/libobj12.test, tests/libobj12b.test: Include ./defs,
  646. not $srcdir/defs.
  647. * tests/suffix8.test: Typo.
  648. * automake.in (check_ambiguous_conditional, rule_define): Issue
  649. syntactic warnings, not errors.
  650. (macro_define): Don't adjust the owner of a variable which is being
  651. appended in a condition different from its definition.
  652. (variable_output, variable_pretty_output): Make sure the
  653. requested condition exists.
  654. For PR automake/353: fill %var_location, %var_comment,
  655. %var_type, %var_owner for each condition.
  656. * automake.in (msg_cond_var): New function.
  657. (msg_var): Use it.
  658. (generate_makefile, process_option_list, handle_languages,
  659. handle_lib_objects_cond, handle_compile, handle_libtool,
  660. handle_ltlibraries, handle_texinfo_helper, handle_tests,
  661. handle_emacs_lisp, handle_python, macro_define, macro_delete,
  662. macro_dump, variable_assert, variable_output,
  663. variable_pretty_output, read_am_file, read_main_am_file,
  664. file_contents_internal, am_primary_prefixes,
  665. require_variables_for_macro): Adjust accesses to %var_location,
  666. %var_comment, %var_type, %var_owner.
  667. (append_comments, require_file_with_macro,
  668. require_conf_file_with_macro, require_variables): Add the
  669. $cond argument.
  670. * tests/comment7.test: New file.
  671. * tests/Makefile.am (TESTS): Add comment7.test.
  672. 2002-09-17 Alexandre Duret-Lutz <duret_g@epita.fr>
  673. For PR automake/353:
  674. * automake.in (check_ambiguous_conditional): Display locations for
  675. the two definitions of the ambiguous variable. Show the macro_dump
  676. output in --verbose only. Accept $where as a third argument,
  677. (macro_define): Pass $where.
  678. * automake.in (handle_programs): Ooops. Really add LDADD
  679. objects into _DEPENDENCIES.
  680. * tests/libobj12.test: Check for it.
  681. 2002-09-17 Assar Westerlund <assar@kth.se>
  682. Alexandre Duret-Lutz <duret_g@epita.fr>
  683. * automake.in (handle_programs, handle_libraries,
  684. handle_ltlibraries): Maintain $seen_libobjs on a
  685. per-program/per-library basis, instead of globally to each
  686. of these functions.
  687. * tests/libobj12.test, tests/libobj12b.test: New files.
  688. * tests/Makefile.am (TESTS): Add libobj12.test and libobj12b.test.
  689. 2002-09-17 Alexandre Duret-Lutz <duret_g@epita.fr>
  690. * tests/defs.in (configure.in): Don't call AC_PROG_INSTALL and
  691. AC_PROG_MAKE_SET.
  692. * lib/config.guess, lib/config.sub, lib/INSTALL,
  693. lib/Automate/Struct.pm: New upstream version.
  694. * Makefile.am (mdate-sh): New rule.
  695. (FETCHFILES): Add Automate/Struct.pm.
  696. (fetch): Get Automate/Struct.pm.
  697. (AUTOMAKESOURCES, CLEANFILES): New macros.
  698. (EXTRA_DIST, TAGS_FILES): Use them.
  699. * install-sh, mkinstalldirs, missing: Delete.
  700. * automake.in: Rename the 'unused' channel to 'syntax'.
  701. (variable_defined): Issue a warning instead of an error
  702. for variable-is-a-target conditions.
  703. * automake.texi (Invoking Automake): Rename the 'unused'
  704. channel to 'syntax'.
  705. * tests/warnopts.test: Likewise.
  706. * tests/suffix8.test: Add explicit dependencies.
  707. * tests/texinfo13.test, tests/texinfo16.test: Require tex.
  708. 2002-09-16 Alexandre Duret-Lutz <duret_g@epita.fr>
  709. * configure.in, m4/init.m4, NEWS: Require Autoconf 2.54.
  710. * automake.in (variable_defined): Thinko in $cond handling.
  711. 2002-09-15 Paul Eggert <eggert@twinsun.com>
  712. * lib/Automake/Channels.pm: Don't use 'our', as it isn't portable
  713. to Perl 5.00503.
  714. * Makefile.am (maintainer-check): Don't use egrep.
  715. 2002-09-15 Tom Tromey <tromey@redhat.com>
  716. * tests/subdircond3.test: Pass flags to make in environment.
  717. * tests/subdircond2.test: Pass flags to make in environment.
  718. * Makefile.am (maintainer-check): Add a new check for @...@
  719. substitutions. Updated correct number of diffs between source and
  720. build trees.
  721. * configure.in (aclocal, automake): Don't create.
  722. * automake.in ($prefix): Don't define.
  723. * aclocal.in ($prefix): Don't define.
  724. * Makefile.am (do_subst): New macro.
  725. (automake): New target.
  726. (aclocal): Likewise.
  727. 2002-09-15 Alexandre Duret-Lutz <duret_g@epita.fr>
  728. * aclocal.in, automake.in: Requote each "@var@" as '@var@'.
  729. 2002-09-14 Alexandre Duret-Lutz <duret_g@epita.fr>
  730. * tests/Makefile.am (XFAIL_TESTS): Remove specflags7.test and
  731. specflags8.test.
  732. 2002-09-13 Alexandre Duret-Lutz <duret_g@epita.fr>
  733. * automake.texi (Building ctags and etags): Rename and adjust as ...
  734. (Building true and false): ... this.
  735. * tests/targetclash.test: New file.
  736. * tests/specflags7.test, tests/specflags8.test: Adjust to build
  737. true and false.
  738. * tests/Makefile.am (TESTS): Add targetclash.test.
  739. Diagnose target clashes, for PR automake/344:
  740. * automake.in (%targets): Record conditionals for definitions.
  741. (%target_conditional): Remove (obsoleted by %targets).
  742. (%target_source, %target_owner): New hashes.
  743. (TARGET_AUTOMAKE, TARGET_USER): New constants.
  744. (initialize_per_input): Adjust to reset new variables.
  745. (err_cond_target, msg_cond_target): New functions.
  746. (msg_target): Adjust usage of %targets.
  747. (conditional_ambiguous_p): Take a list of conditional to check
  748. as a third parameter, so this can be used for other things that
  749. variables.
  750. (handle_lib_objects_cond): Adjust conditional_ambiguous_p usage.
  751. (variable_defined): Restrict the target-with-same-name check
  752. to user targets.
  753. (rule_define): Add the $SOURCE argument, and take $OWNER instead
  754. of $IS_AM. Diagnose target clashes (including ambugious
  755. conditionals). Return a list of conditions where the rule should
  756. be defined instead of a boolean. Fill %target_source and
  757. %target_owner.
  758. (target_define): Use `exists', not `defined'.
  759. (read_am_file): Adjust the call to rule_define.
  760. (file_contents_internal): Add more FIXMEs. Simplify my moving
  761. and documenting the "define rules in undefined conditions" to
  762. rule_define.
  763. * tests/Makefile.am (XFAIL_TESTS): Add specflags7.test and
  764. specflags8.test.
  765. 2002-09-12 Akim Demaille <akim@epita.fr>
  766. * aclocal.in: Prototype all the functions.
  767. Add `(C)' to Copyrights.
  768. (&add_file): Strip the comments before checking for `AC_REQUIRE'.
  769. Remove Perl 4 hacks, since anyway we require 5.005 via General.pm.
  770. 2002-09-11 Akim Demaille <akim@epita.fr>
  771. * lib/am/texinfos.am (TEXI2PDF): Pass --batch to texi2dvi, since
  772. it was already supported when --pdf support was added.
  773. 2002-09-10 Alexandre Duret-Lutz <duret_g@epita.fr>
  774. * lib/Automake/Channels.pm (_default_options): Add `backtrace'.
  775. (msg): Die with backtrace if requested.
  776. * automake.in: Enable `backtrace' on the `automake' channel.
  777. * automake.in (process_option_list): Mention `Automake' in
  778. version-mismatch error.
  779. Suggested by Akim Demaille.
  780. * tests/Makefile.am ($(TESTS)): Replace by ...
  781. (check_SCRIPTS): ... this.
  782. Suggested by Raja R Harinath.
  783. 2002-09-09 Alexandre Duret-Lutz <duret_g@epita.fr>
  784. * tests/Makefile.am ($(TESTS)): New, depends on defs.
  785. (BUILT_SOURCES): Remove (useless because of PR/359).
  786. * m4/init.m4: Execute cygpath in a sub-shell.
  787. 2002-09-08 Alexandre Duret-Lutz <duret_g@epita.fr>
  788. * automake.in (macro_define): Warn about `:=' assignments.
  789. * tests/colneq.test: Check for this warning.
  790. * automake.texi (Include): Fragments are always distributed.
  791. * NEWS: Likewise.
  792. 2002-09-08 Andreas Buening <andreas.buening@nexgo.de>
  793. Fix for automake/334:
  794. * lib/am/depend2.am: Replaced "cygpath -w" by $(CYGPATH_W).
  795. * m4/init.m4: New make variable CYGPATH_W.
  796. 2002-09-08 Alexandre Duret-Lutz <duret_g@epita.fr>
  797. * configure.in: Check for EGREP and FGREP. Create tests/defs.
  798. * tests/defs: Rename as ...
  799. * tests/defs.in: ... this. Add copyright notice. Use configure's
  800. values for PERL, EGREP, and FGREP. Be verbose if $srcdir is unset.
  801. * tests/Makefile.am (EXTRA_DIST): Remove defs.
  802. (BUILT_SOURCES): New.
  803. * tests/acinclude.test, tests/aclibobj.test, tests/aclocal.test,
  804. tests/aclocali.test, tests/aclocali1.test, tests/aclocalii.test,
  805. tests/acoutnoq.test, tests/acoutput.test, tests/acoutput2.test,
  806. tests/acoutqnl.test, tests/acouttbs.test, tests/acouttbs2.test,
  807. tests/acsilent.test, tests/acsubst.test, tests/acsubst2.test,
  808. tests/all.test, tests/alpha.test, tests/amassign.test,
  809. tests/ammissing.test, tests/ansi.test, tests/ansi2.test,
  810. tests/ansi3.test, tests/ansi4.test, tests/ansi5.test,
  811. tests/ansi6.test, tests/ansi7.test, tests/ansi8.test,
  812. tests/ar.test, tests/asm.test, tests/autoheader.test,
  813. tests/autoheader2.test, tests/auxdir.test, tests/auxdir2.test,
  814. tests/backsl.test, tests/backsl2.test, tests/badline.test,
  815. tests/badopt.test, tests/badprog.test, tests/block.test,
  816. tests/canon.test, tests/canon2.test, tests/canon3.test,
  817. tests/canon4.test, tests/canon5.test, tests/ccnoco.test,
  818. tests/check.test, tests/checkall.test, tests/clean.test,
  819. tests/colneq.test, tests/colneq2.test, tests/colon.test,
  820. tests/colon2.test, tests/colon3.test, tests/colon4.test,
  821. tests/colon5.test, tests/colon6.test, tests/colon7.test,
  822. tests/comment.test, tests/comment2.test, tests/comment3.test,
  823. tests/comment4.test, tests/comment5.test, tests/comment6.test,
  824. tests/compile_f_c_cxx.test, tests/cond.test, tests/cond10.test,
  825. tests/cond11.test, tests/cond12.test, tests/cond13.test,
  826. tests/cond14.test, tests/cond15.test, tests/cond16.test,
  827. tests/cond17.test, tests/cond18.test, tests/cond19.test,
  828. tests/cond2.test, tests/cond20.test, tests/cond21.test,
  829. tests/cond22.test, tests/cond23.test, tests/cond24.test,
  830. tests/cond3.test, tests/cond4.test, tests/cond5.test,
  831. tests/cond6.test, tests/cond7.test, tests/cond8.test,
  832. tests/cond9.test, tests/condd.test, tests/condincl.test,
  833. tests/condincl2.test, tests/condlib.test, tests/condman.test,
  834. tests/condman2.test, tests/conf2.test, tests/confdeps.test,
  835. tests/confdist.test, tests/confh.test, tests/confh4.test,
  836. tests/config.test, tests/confincl.test, tests/confsub.test,
  837. tests/confvar.test, tests/confvar2.test, tests/copy.test,
  838. tests/ctarget1.test, tests/cxx.test, tests/cxx2.test,
  839. tests/cxxansi.test, tests/cxxcpp.test, tests/cxxlibobj.test,
  840. tests/cxxlink.test, tests/cxxnoc.test, tests/cxxo.test,
  841. tests/cygwin32.test, tests/dash.test, tests/defun.test,
  842. tests/defun2.test, tests/dejagnu.test, tests/dejagnu2.test,
  843. tests/depacl.test, tests/depacl2.test, tests/depcomp.test,
  844. tests/depcomp2.test, tests/depdist.test, tests/depend.test,
  845. tests/depend2.test, tests/depend3.test, tests/depend4.test,
  846. tests/destdir.test, tests/dirforbid.test, tests/dirlist.test,
  847. tests/discover.test, tests/distcommon.test,
  848. tests/distcommon2.test, tests/distcommon3.test,
  849. tests/distdir.test, tests/distname.test, tests/dollar.test,
  850. tests/double.test, tests/dup2.test, tests/dup3.test,
  851. tests/else.test, tests/empty.test, tests/empty2.test,
  852. tests/empty3.test, tests/empty4.test, tests/error.test,
  853. tests/exdir.test, tests/exdir2.test, tests/exeext.test,
  854. tests/exeext2.test, tests/exsource.test, tests/ext.test,
  855. tests/ext2.test, tests/extra.test, tests/extra2.test,
  856. tests/extra3.test, tests/extra4.test, tests/extra5.test,
  857. tests/extra6.test, tests/extra7.test, tests/flibs.test,
  858. tests/fnoc.test, tests/fo.test, tests/fonly.test,
  859. tests/fortdep.test, tests/fpinst2.test, tests/fpinstall.test,
  860. tests/gcj.test, tests/gcj2.test, tests/gcj3.test, tests/gcj4.test,
  861. tests/gcj5.test, tests/getopt.test, tests/gettext.test,
  862. tests/gettext2.test, tests/gnits.test, tests/gnits2.test,
  863. tests/gnits3.test, tests/gnuwarn.test, tests/header.test,
  864. tests/implicit.test, tests/include.test, tests/include2.test,
  865. tests/info.test, tests/insh.test, tests/insh2.test,
  866. tests/install.test, tests/install2.test, tests/installdir.test,
  867. tests/installsh.test, tests/instdata.test, tests/instdata2.test,
  868. tests/instexec.test, tests/insthook.test, tests/instman.test,
  869. tests/instman2.test, tests/interp.test, tests/interp2.test,
  870. tests/java.test, tests/java2.test, tests/javaprim.test,
  871. tests/javasubst.test, tests/ldadd.test, tests/ldflags.test,
  872. tests/lex.test, tests/lex2.test, tests/lex3.test, tests/lex4.test,
  873. tests/lex5.test, tests/libobj10.test, tests/libobj11.test,
  874. tests/libobj2.test, tests/libobj3.test, tests/libobj4.test,
  875. tests/libobj5.test, tests/libobj7.test, tests/libobj8.test,
  876. tests/library.test, tests/library2.test, tests/libtool.test,
  877. tests/libtool2.test, tests/libtool3.test, tests/libtool4.test,
  878. tests/link_c_cxx.test, tests/link_dist.test, tests/link_f_c.test,
  879. tests/link_f_c_cxx.test, tests/link_f_cxx.test,
  880. tests/link_f_only.test, tests/lisp.test, tests/lisp2.test,
  881. tests/listval.test, tests/ltdeps.test, tests/ltlibobjs.test,
  882. tests/maintclean.test, tests/make.test, tests/makevars.test,
  883. tests/man.test, tests/man2.test, tests/mclean.test,
  884. tests/mdate.test, tests/mdate2.test, tests/mdate3.test,
  885. tests/mdate4.test, tests/mkinst2.test, tests/mkinstall.test,
  886. tests/nobase.test, tests/nodefine.test, tests/nodefine2.test,
  887. tests/nodep.test, tests/nodepcomp.test, tests/nodist.test,
  888. tests/nodist2.test, tests/noinst.test, tests/noinstdir.test,
  889. tests/nolink.test, tests/nostdinc.test, tests/number.test,
  890. tests/obsolete.test, tests/order.test, tests/outdir.test,
  891. tests/output.test, tests/output2.test, tests/output3.test,
  892. tests/output4.test, tests/output5.test, tests/package.test,
  893. tests/parse.test, tests/percent.test, tests/pluseq.test,
  894. tests/pluseq2.test, tests/pluseq3.test, tests/pluseq4.test,
  895. tests/pluseq5.test, tests/pluseq6.test, tests/pluseq7.test,
  896. tests/pluseq8.test, tests/pluseq9.test, tests/postproc.test,
  897. tests/ppf77.test, tests/pr2.test, tests/pr204.test,
  898. tests/pr211.test, tests/pr220.test, tests/pr224.test,
  899. tests/pr229.test, tests/pr243.test, tests/pr266.test,
  900. tests/pr279-2.test, tests/pr279.test, tests/pr287.test,
  901. tests/pr300-lib.test, tests/pr300-ltlib.test,
  902. tests/pr300-prog.test, tests/pr307.test, tests/pr72.test,
  903. tests/pr87.test, tests/pr9.test, tests/prefix.test,
  904. tests/primary.test, tests/primary2.test, tests/proginst.test,
  905. tests/python.test, tests/python2.test, tests/ranlib.test,
  906. tests/recurs.test, tests/recurs2.test, tests/remake.test,
  907. tests/remake2.test, tests/remake3.test, tests/req.test,
  908. tests/required.test, tests/required2.test, tests/rulepat.test,
  909. tests/scripts.test, tests/seenc.test, tests/sinclude.test,
  910. tests/sourcesub.test, tests/sourcesub2.test, tests/space.test,
  911. tests/specflags.test, tests/specflags2.test,
  912. tests/specflags3.test, tests/specflags6.test,
  913. tests/specflags7.test, tests/specflags8.test,
  914. tests/specflags9.test, tests/spell.test, tests/spell2.test,
  915. tests/spell3.test, tests/spelling.test, tests/stamph.test,
  916. tests/stamph2.test, tests/stdlib.test, tests/strip.test,
  917. tests/subdir.test, tests/subdir2.test, tests/subdir3.test,
  918. tests/subdir4.test, tests/subdir5.test, tests/subdir6.test,
  919. tests/subdir7.test, tests/subdirbuiltsources.test,
  920. tests/subdircond.test, tests/subdircond2.test,
  921. tests/subdircond3.test, tests/subobj.test, tests/subobj2.test,
  922. tests/subobj3.test, tests/subobj4.test, tests/subobj5.test,
  923. tests/subobj6.test, tests/subobj7.test, tests/subobj8.test,
  924. tests/subobj9.test, tests/subobjname.test, tests/subpkg.test,
  925. tests/subst.test, tests/substref.test, tests/substtarg.test,
  926. tests/suffix.test, tests/suffix10.test, tests/suffix2.test,
  927. tests/suffix3.test, tests/suffix4.test, tests/suffix5.test,
  928. tests/suffix6.test, tests/suffix7.test, tests/suffix8.test,
  929. tests/suffix9.test, tests/symlink.test, tests/symlink2.test,
  930. tests/symlink3.test, tests/syntax.test, tests/tags.test,
  931. tests/tagsub.test, tests/target-cflags.test, tests/target.test,
  932. tests/texinfo.test, tests/texinfo10.test, tests/texinfo13.test,
  933. tests/texinfo16.test, tests/texinfo2.test, tests/texinfo3.test,
  934. tests/texinfo4.test, tests/texinfo5.test, tests/texinfo6.test,
  935. tests/texinfo7.test, tests/texinfo8.test, tests/texinfo9.test,
  936. tests/transform.test, tests/unused.test, tests/vars.test,
  937. tests/vars2.test, tests/vars3.test, tests/vartar.test,
  938. tests/version.test, tests/version2.test, tests/version3.test,
  939. tests/version4.test, tests/version5.test, tests/version6.test,
  940. tests/vpath.test, tests/vtexi.test, tests/vtexi2.test,
  941. tests/warnopts.test, tests/werror.test, tests/whoami.test,
  942. tests/xsource.test, tests/yacc.test, tests/yacc2.test,
  943. tests/yacc3.test, tests/yacc4.test, tests/yacc5.test,
  944. tests/yacc6.test, tests/yacc7.test, tests/yacc8.test,
  945. tests/yaccpp.test, tests/yaccvpath.test: Add copyright notice.
  946. Source ./defs instead of $srcdir/defs.
  947. 2002-09-05 Alexandre Duret-Lutz <duret_g@epita.fr>
  948. * lib/am/distdir.am (distcheck): Strip $(srcdir) prefix on
  949. distributed files, to workaround Sun make VPATH munging.
  950. This fixes subdircond2.test, subdircond3.test, and subpkg.test
  951. on Solaris.
  952. * tests/extra6.test, tests/lex3.test, tests/pr87.test,
  953. tests/pr9.test, tests/target-cflags.test, tests/texinfo13.test,
  954. tests/texinfo16.test, tests/yacc7.test, tests/yaccvpath.test:
  955. Don't require GNU make.
  956. * lib/am/distdir.am (distcheck): Add missing `;'.
  957. * lib/am/scripts.am (installcheck-%DIR%SCRIPTS): Account for
  958. Sun make rewriting rules in VPATH builds. (Fixes gnits3.test.)
  959. * lib/am/progs.am (installcheck-%DIR%PROGRAMS): Likewise.
  960. 2002-09-04 Alexandre Duret-Lutz <duret_g@epita.fr>
  961. For automake/354:
  962. * lib/am/texibuild.am (%SOURCE_SUFFIX%.dvi, %SOURCE_SUFFIX%.pdf):
  963. Don't use `-o' unless necessary.
  964. 2002-08-25 Alexandre Duret-Lutz <duret_g@epita.fr>
  965. For PR automake/343:
  966. * automake.in (scan_texinfo_file) <clean_suffixes>: Remove dvi, ps,
  967. and pdf.
  968. (output_texinfo_build_rules): Define %DIRSTAMP% when processing
  969. texibuild.am. Return $dirstamp and a list of files to clean.
  970. (handle_texinfo_helper): Process texi-vers.am after the call to
  971. output_texinfo_build_rules and use $dirstamp to define %DIRSTAMP%.
  972. * lib/am/texi-vers.am (%STAMPVTI%): Build %DIRSTAMP% if needed.
  973. * lib/am/texibuild.am (%DEST_PREFIX%%DEST_SUFFIX%): Likewise.
  974. (%DEST_PREFIX%.dvi, %DEST_PREFIX%.pdf): Depend on %DIRSTAMP%.
  975. * tests/texinfo13.test: New file.
  976. * tests/Makefile.am (TESTS): Add texinfo13.test.
  977. * lib/am/texinfos.am (install-info-am, dist-info): Looks for
  978. info files in build or source directory.
  979. This completes the change from 2002-07-30 (for PR automake/168).
  980. 2002-08-24 Alexandre Duret-Lutz <duret_g@epita.fr>
  981. * automake.in (CLEAN, MAINTAINER_CLEAN): New constants.
  982. (maintainer_clean_files): Replace by ...
  983. (clean_files): ... this new variable.
  984. (initialize_per_input, lang_yacc_target_hook,
  985. lang_lex_target_hook): Use %clean_files instead of
  986. @maintainer_clean_files.
  987. (handle_clean): Rewrite, using %clean_files.
  988. (require_build_directory_maybe): Use %clean_files instead
  989. of %compile_clean_files. This allows using
  990. &require_build_directory_maybe for non-compiling targets.
  991. * lib/am/clean.am (mostlyclean-generic, clean-generic,
  992. distclean-generic, maintainer-clean-generic): Rewrite using
  993. %MOSTLYCLEAN_RMS%, %CLEAN_RMS%, %DISTCLEAN_RMS%, and
  994. %MAINTAINER_CLEAN_RMS%.
  995. For Debian Bug#157778:
  996. * m4/python.m4: Fix output of `python' in checking messages
  997. when no version of Python is required.
  998. 2002-08-23 Raja R Harinath <harinath@cs.umn.edu>
  999. * lib/am/depend2.am (%EXT%.lo): Fix typo. Rename the file that
  1000. was generated by gcc -MF.
  1001. 2002-08-23 Pavel Roskin <proski@gnu.org>
  1002. * lib/am/progs.am: Exit in case of install failure, otherwise
  1003. it is ignored on Cygwin because of the surrounding "for" loop.
  1004. 2002-08-23 Alexandre Duret-Lutz <duret_g@epita.fr>
  1005. * automake.texi (Top level): More words about conditional
  1006. subdirectories. Don't mention AC_PROG_MAKE_SET.
  1007. * tests/subdircond2.test, tests/subdircond3.test: New files.
  1008. * tests/Makefile.am (TESTS): Add them.
  1009. For PR automake/347:
  1010. * automake.in (MACRO_PATTERN): Allow `.' in variable names.
  1011. (scan_variable_expansions, check_variable_expansions): New functions.
  1012. (macro_define): Call check_variable_expansions.
  1013. (read_am_file): Likewise, when outputing rules.
  1014. (variable_conditions_recursive_sub): Simplify using
  1015. scan_variable_expansions.
  1016. * tests/vars3.test: New file.
  1017. * tests/Makefile.am (TESTS): Add vars3.test.
  1018. * tests/colneq.test: Use -Wno-portability.
  1019. * lib/Automake/Channels.pm (buffering, backlog): New variables.
  1020. (buffer_messages, flush_messages): New functions.
  1021. (@EXPORT): Add buffer_messages and flush_messages.
  1022. * automake.in (generate_makefile): Call buffer_messages and
  1023. flush_messages to buffer warnings until AUTOMAKE_OPTIONS has
  1024. been read.
  1025. * automake.in (read_am_file): Fix computation of path to
  1026. included file when $(top_srcdir) is not used.
  1027. * tests/include2.test: Augment.
  1028. 2002-08-22 Alexandre Duret-Lutz <duret_g@epita.fr>
  1029. * automake.in (set_strictness): Never enable 'portability'
  1030. warnings for now.
  1031. (usage): Adjust `-Wportability' doc.
  1032. * automake.texi (Invoking Automake): Likewise.
  1033. Suggested by Ralf Corsepius.
  1034. 2002-08-21 Alexandre Duret-Lutz <duret_g@epita.fr>
  1035. * lib/am/ltlib.am (clean-%DIR%LTLIBRARIES): Fix cleanup of
  1036. so_location files in current directory.
  1037. Fix for PR automake/346:
  1038. * automake.texi (Optional): Suppress the documentation for
  1039. AC_PATH_XTRA, AC_FUNC_ALLOCA, AC_FUNC_ERROR_AT_LINE, AC_FUNC_FNMATCH,
  1040. AC_FUNC_GETLOADAVG, AC_FUNC_MEMCMP, AC_FUNC_MKTIME, AC_FUNC_OBSTACK,
  1041. AC_FUNC_STRTOD, AC_REPLACE_FUNCS, AC_REPLACE_GNU_GETOPT,
  1042. AC_STRUCT_ST_BLOCKS, AM_WITH_REGEX, AC_CHECK_TOOL, AC_CHECK_PROG,
  1043. AC_CHECK_PROGS, AC_PATH_PROG, and AC_PATH_PROGS. Augment the
  1044. documentation of AC_LIBSOURCE and AC_SUBST to explain this
  1045. applies to any macro that calls them.
  1046. 2002-08-19 Tom Tromey <tromey@redhat.com>
  1047. For PR automake/348:
  1048. * tests/Makefile.am (TESTS): Added include2.test.
  1049. * tests/include2.test: New file.
  1050. * tests/include.test: Check to make sure include file is
  1051. distributed.
  1052. * automake.in (read_am_file): Distribute included files.
  1053. 2002-08-19 Alexandre Duret-Lutz <duret_g@epita.fr>
  1054. Fix for PR automake/345:
  1055. * tests/defs: Add support for required=non-root, stolen
  1056. from fileutils' test suite.
  1057. * tests/destdir.test: Use required=non-root.
  1058. * tests/vtexi.test: Fix spurious failure introduced on 2002-07-30.
  1059. 2002-08-17 Tom Tromey <tromey@redhat.com>
  1060. For PR automake/347:
  1061. * automake.in (rule_define): Given portability warning if "%" seen
  1062. in target name.
  1063. (TARGET_PATTERN): Added `%'.
  1064. * tests/Makefile.am (TESTS): Added percent.test.
  1065. * tests/percent.test: New file.
  1066. 2002-08-15 Art Haas <ahaas@neosoft.com>
  1067. * lib/am/depend2.am: Use correct name for dependency file in
  1068. libtool fastdep case.
  1069. 2002-08-14 Art Haas <ahaas@neosoft.com>
  1070. * lib/am/depend2.am: Added missing `;'.
  1071. 2002-08-02 Alexandre Duret-Lutz <duret_g@epita.fr>
  1072. * automake.texi (Python): Fix wording.
  1073. * tests/ext2.test: New file. This bug is present in Automake 1.6.3
  1074. and was fixed by the change on variable_conditions_permutations
  1075. and invert_conditions on 2002-05-16.
  1076. * tests/Makefile.am (TESTS): Add ext2.test.
  1077. Reported by Ladislav Strojil.
  1078. 2002-08-01 Alexandre Duret-Lutz <duret_g@epita.fr>
  1079. * aclocal.in (parse_arguments): Add `dirlist' paths add the
  1080. very end of the search path, after aclocal-APIVERSION/ and
  1081. aclocal/.
  1082. * automake.texi (Macro search path): Adjust to reflect the
  1083. new ordering.
  1084. * tests/dirlist.test: Check for this.
  1085. 2002-07-31 Charles Wilson <cwilson@ece.gatech.edu>
  1086. * aclocal.in (parse_arguments): Add support for extending
  1087. default macro search path, using a `dirlist' file within
  1088. the aclocal directory.
  1089. * automake.texi (Invoking aclocal): Move option descriptions into ...
  1090. (aclocal options): ... this new node.
  1091. (Macro search path): New node.
  1092. * tests/dirlist.test: New file.
  1093. * tests/Makefile.am (TESTS): Add dirlist.test.
  1094. * m4/dirlist: New file.
  1095. * m4/Makefile.am (EXTRA_DIST): Add dirlist.
  1096. * tests/defs: Honor any installed dirlist when searching for
  1097. libtool.m4 and gettext.m4.
  1098. 2002-07-30 Alexandre Duret-Lutz <duret_g@epita.fr>
  1099. Build info files in builddir instead of srcdir (for PR automake/168),
  1100. and prepare support for info files in subdirecties.
  1101. * automake.in (output_texinfo_build_rules): New function.
  1102. (handle_texinfo_helper): Use output_texinfo_build_rules, and
  1103. prepare to support subdir texinfos. Define am__TEXINFO_TEX_DIR.
  1104. * lib/am/texi-vers.am: Build version.texi and stamp-vti in the
  1105. current directory, not $(srcdir). Use %STAMPVTI% to name the stamp
  1106. file.
  1107. * lib/am/texibuild.am: Rewrite to output files in the current
  1108. directory, not $(srcdir). Also, support both generic and
  1109. non-generic output. Pass `-o $@' to makeinfo, texinfo, and
  1110. texi2dvi (for PR automake/339).
  1111. * tests/texinfo3.test: Make sure the `.texi:' rule is output.
  1112. * tests/texinfo10.test: Use set -e, so the checks are not ignored.
  1113. * tests/texinfo16.test: New file.
  1114. * tests/Makefile.am (TESTS): Add texinfo16.test.
  1115. 2002-07-29 Alexandre Duret-Lutz <duret_g@epita.fr>
  1116. * aclocal.in (write_aclocal): Don't write the filename ($output_file)
  1117. in the aclocal.m4 header.
  1118. * configure.in: Require Autoconf 2.53b.
  1119. 2002-07-28 Alexandre Duret-Lutz <duret_g@epita.fr>
  1120. * configure.in: Bump version to 1.6c.
  1121. * configure.in: Bump version to 1.6b.
  1122. * lib/config.guess, lib/config.sub, lib/Automake/XFile.pm: New
  1123. upstream versions.
  1124. * automake.in: Don't write @ALLOCA@ and @LIBOBJS@ in clear text,
  1125. since this file is processed by config.status.
  1126. 2002-07-25 Alexandre Duret-Lutz <duret_g@epita.fr>
  1127. * automake.in (read_am_file): Escaped newlines in comments are not
  1128. portable. If a comment line doesn't start with a `#', add it.
  1129. * tests/comment6.test: Ensure this is done.
  1130. 2002-07-24 Alexandre Duret-Lutz <duret_g@epita.fr>
  1131. Fix failures reported by Patrick Welche on NetBSD.
  1132. * tests/gnits2.test, tests/gnits3.test: Don't trust the exit
  1133. status of `make -k'.
  1134. * tests/obsolete.test: Source obs.1 and obs.2 from current
  1135. directory.
  1136. 2002-07-23 Patrick Welche <prlw1@newn.cam.ac.uk>
  1137. * lib/am/configure.am (am__CONFIG_DISTCLEAN_FILES): Add
  1138. configure.lineno.
  1139. 2002-07-23 Alexandre Duret-Lutz <duret_g@epita.fr>
  1140. * tests/required2.test: New file.
  1141. * tests/Makefile.am (TESTS): Add required2.test.
  1142. * automake.in (initialize_per_input): Remove %require_file_found
  1143. setting. This reverts my change of 2002-04-19.
  1144. (require_file_internal): Use the full name of a file as a
  1145. key in %require_file_found, not only the basename.
  1146. Reported by Andrew Suffield.
  1147. 2002-07-22 Alexandre Duret-Lutz <duret_g@epita.fr>
  1148. * automake.in (handle_subdirs): Warn if `obj' appears in SUBDIRS.
  1149. * tests/subdir7.test: New file.
  1150. * tests/Makefile.am (TESTS): Add subdir7.test.
  1151. * lib/mkinstalldirs: Remove Id keyword.
  1152. * lib/am/progs.am (installcheck-%DIR%PROGRAMS): Honor
  1153. AM_INSTALLCHECK_STD_OPTIONS_EXEMPT.
  1154. * lib/am/scripts.am (installcheck-%DIR%SCRIPTS): Likewise.
  1155. * automake.texi (Options) <std-options>: Document
  1156. AM_INSTALLCHECK_STD_OPTIONS_EXEMPT.
  1157. (Gnits): Reference std-options.
  1158. * tests/gnits3.test: New file.
  1159. * tests/Makefile.am (TESTS): Add gnits3.test.
  1160. Suggested by Jim Meyering.
  1161. 2002-07-20 Alexandre Duret-Lutz <duret_g@epita.fr>
  1162. * tests/gnits2.test: Use --program-prefix. Test for scripts too.
  1163. Replace the sed script by calls to grep, easier to debug.
  1164. * lib/am/progs.am (installcheck-%DIR%PROGRAMS): Honor nobase
  1165. and $(transform).
  1166. * lib/am/scripts.am (installcheck-%DIR%SCRIPTS): Likewise.
  1167. * lib/am/progs.am (install-%DIR%PROGRAMS, uninstall-%DIR%PROGRAMS):
  1168. Always strip the directory part before applying $(transform),
  1169. even for nobase_ targets.
  1170. * lib/am/scripts.am (install-%DIR%SCRIPTS, uninstall-%DIR%SCRIPTS):
  1171. Likewise.
  1172. * tests/nobase.test: Use --program-prefix while testing nobase
  1173. support.
  1174. 2002-07-19 Alexandre Duret-Lutz <duret_g@epita.fr>
  1175. * tests/dirname.test: Delete. We don't define _AM_DIRNAME anymore.
  1176. * tests/Makefile.am (TESTS): Remove dirname.test.
  1177. * m4/init.m4: Require Autoconf 2.53b.
  1178. * m4/header.m4 (AM_CONFIG_HEADER): Redefine using AU_DEFUN.
  1179. * m4/ccstdc.m4 (fp_PROG_CC_STDC): New AU_DEFUN.
  1180. * m4/dmalloc.m4 (fp_WITH_DMALLOC): Likewise.
  1181. * m4/lispdir.m4 (ud_PATH_LISPDIR): Likewise.
  1182. * m4/maintainer.m4 (jm_MAINTAINER_MODE): Likewise.
  1183. * m4/protos.m4 (fp_C_PROTOTYPES): Likewise.
  1184. * m4/regex.m4 (fp_WITH_REGEX): Likewise.
  1185. * m4/termios.m4: Delete. AM_SYS_POSIX_TERMIOS is now AU_DEFUNed
  1186. in m4/obsolete.m4.
  1187. * m4/winsz.m4: Delete. AM_HEADER_TIOCGWINSZ_NEEDS_SYS_IOCTL is now
  1188. AU_DEFUNed in m4/obsolete.m4.
  1189. * m4/obsol-gt.m4, m4/obsol-lt.m4, m4/obsolete.m4 : New files.
  1190. * m4/Makefile.am (dist_m4data_DATA): Add obsol-gt.m4, obsol-lt.m4,
  1191. and obsolete.m4. Remove termios.m4 and winsz.m4.
  1192. * aclocal.in (obsolete, obsolete_rx): Remove.
  1193. (scan_configure): Don't grep for obsolete macros.
  1194. * tests/defs (AUTOUPDATE): Define.
  1195. * Makefile.am (maintainer-check): Check for misuses of autoupdate.
  1196. * tests/obsolete.test: Rewrite. Exercize the AU_DEFUN macros from
  1197. m4/obsolete.m4.
  1198. Fix for PR automake/338:
  1199. * automake.in (seen_gettext_external): New variable.
  1200. (handle_gettext): Conditionalize the intl/ check on
  1201. $seen_gettext_external. Fix grep usage.
  1202. (scan_autoconf_traces): Set $seen_gettext_external if
  1203. `external' is passed to AM_GNU_GETTEXT.
  1204. * tests/gettext.test, tests/gettext2.test: New files.
  1205. * tests/Makefile.am (TESTS): Add gettext.test and gettext2.test.
  1206. 2002-07-18 Alexandre Duret-Lutz <duret_g@epita.fr>
  1207. Akim Demaille <akim@epita.fr>
  1208. * m4/header.m4 (_AM_DIRNAME, _AM_STAMP, _AM_CONFIG_HEADER,
  1209. _AM_CONFIG_HEADER_INSINUATE): Remove them all. Leave just ...
  1210. (AM_CONFIG_HEADER): ... this new definition for compatibility.
  1211. * m4/init.m4: Don't call _AM_CONFIG_HEADER_INSINUATE.
  1212. (_AC_AM_CONFIG_HEADER_HOOK): New macro.
  1213. * tests/confh5.tests: Delete.
  1214. * tests/Makefile.am (TESTS): Remove confh5.tests.
  1215. 2002-07-16 Alexandre Duret-Lutz <duret_g@epita.fr>
  1216. * automake.in (handle_single_transform_list): Typo.
  1217. * lib/Automake/Channels.pm (dup_channel_setup,
  1218. drop_channel_setup): New functions.
  1219. (@EXPORT): Add them.
  1220. * automake.in (generate_makefile): Call dup_channel_setup and
  1221. drop_channel_setup.
  1222. (process_option_list): Recognize --warnings and -W options.
  1223. * automake.texi (Options): Document them.
  1224. * tests/pluseq5.test: Check that -Wno-obsolete will disable the
  1225. warning.
  1226. * tests/warnopts.test: New file.
  1227. * tests/Makefile.am (TESTS): Add warnopts.test.
  1228. 2002-07-12 Alexandre Duret-Lutz <duret_g@epita.fr>
  1229. * automake.in: Register warning channel `gnu'.
  1230. (set_strictness): Turn on `gnu' in --gnu and --gnits.
  1231. (usage): Mention the `gnu' category.
  1232. (%var_is_am): Replace by ...
  1233. (%var_owner): ... this, which uses ...
  1234. (VAR_AUTOMAKE, VAR_CONFIGURE, VAR_MAKEFILE): ... these new constants.
  1235. Adjust all uses of %var_is_am.
  1236. (handle_languages): Warn about user variables being overriden.
  1237. (require_variables): Also check %configure_vars for the existence
  1238. of a required variable.
  1239. * automake.texi (Invoking Automake): Document -Wgnu.
  1240. * tests/yacc2.test, tests/yacc3.test: Use -Wno-gnu when
  1241. we test YFLAGS.
  1242. * tests/gnuwarn.test: New file.
  1243. * tests/Makefile.am (TESTS): Add gnuwarn.test.
  1244. 2002-07-11 Alexandre Duret-Lutz <duret_g@epita.fr>
  1245. Fix for PR automake/337:
  1246. * automake.in: Redefine the `flags' attribute of each language
  1247. as a list. List CPPFLAGS in `flags' when it is used.
  1248. (register_language): Set the default value of 'flags'.
  1249. (handle_single_transform_list): Adjust to treat `flags' as a list.
  1250. (handle_languages): Likewise. Don't bother defining the
  1251. configure variable for `c', this is always done since we trace
  1252. configure.ac.
  1253. * automake.texi (etags): Use per-executable _CPPFLAGS.
  1254. (Program and Library Variables): Mention maude_CPPFLAGS.
  1255. (Program variables): Likewise.
  1256. * tests/specflags8.test: Use _CPPFLAGS instead of _CFLAGS.
  1257. * tests/specflags9.test: New file.
  1258. * tests/Makefile.am (TESTS): Add specflag9.test.
  1259. 2002-07-10 Alexandre Duret-Lutz <duret_g@epita.fr>
  1260. * automake.texi: Use `variable' instead of `macro' everywhere it
  1261. designates a Makefile variable.
  1262. (Texinfo): `VERSION', `UPDATED', `EDITION', and `UPDATED-MONTH' are
  1263. `flags', not `macros'. `Macro' means something else in Texinfo.
  1264. Also show how to use these flags.
  1265. * automake.in (file_contents_internal): s/macro/variable/ in
  1266. error message.
  1267. * automake.in (parse_arguments): Call Getopt twice: once to catch
  1268. --help or --verbose, and once to process the other arguments.
  1269. (usage, verbose): Always exit 0, ignoring $exit_code (which anyway
  1270. should always be 0 because of the change to parse_arguments).
  1271. * tests/Makefile.am (TESTS): Add getopt.test.
  1272. * tests/getopt.test: New file.
  1273. 2002-07-09 Tom Tromey <tromey@redhat.com>
  1274. For PR automake/286:
  1275. * automake.texi (Tags): Document ctags.
  1276. * automake.in (handle_tags): Handle ctags.
  1277. * lib/am/tags.am (CTAGS): New macro.
  1278. (CTAGSFLAGS): Likewise.
  1279. (ctags): New target.
  1280. (distclean-tags): Remove `tags'.
  1281. * lib/am/depend2.am: Reworked syntax to avoid parsing problem.
  1282. * lib/am/depend2.am: Search in srcdir and builddir for %SOURCE%
  1283. before passing to cygpath. Partial fix for PR automake/334.
  1284. 2002-07-09 Alexandre Duret-Lutz <duret_g@epita.fr>
  1285. * automake.in (generate_makefile): Suggest using AM_CPPFLAGS
  1286. instead of INCLUDES.
  1287. * tests/pluseq5.test: Check that AM_CPPFLAGS is suggested.
  1288. 2002-07-09 Alexandre Duret-Lutz <duret_g@epita.fr>
  1289. * automake.in (usage, version): Honor $exit_code.
  1290. (parse_arguments): Use fatal.
  1291. 2002-07-09 Alexandre Duret-Lutz <duret_g@epita.fr>
  1292. * automake.texi (Invoking Automake): Document WARNINGS.
  1293. * automake.in (switch_warning, parse_WARNINGS): New function.
  1294. (setup_warnings): Rename to ...
  1295. (parse_warnings): ... this. Move most of the code to switch_warning.
  1296. Accept a comma separated list of categories.
  1297. * tests/vars2.test: Use a comma separated list of warning categories.
  1298. 2002-07-08 Alexandre Duret-Lutz <duret_g@epita.fr>
  1299. * NEWS (New in 1.6): Mention that libtoolize is no longer run
  1300. by automake.
  1301. 2002-07-08 Alexandre Duret-Lutz <duret_g@epita.fr>
  1302. Fix for PR automake/291:
  1303. * automake.in (macro_define): Catch variable names starting
  1304. with `_'.
  1305. (handle_installdirs): Rename _am_installdirs to am__installdirs.
  1306. * lib/am/data.am, lib/am/install.am, lib/am/libs.am,
  1307. lib/am/lisp.am, lib/am/ltlibs.am, lib/am/mans.am,
  1308. lib/am/progs.am, lib/am/python.am, lib/am/scripts.am,
  1309. lib/am/texinfos.am: Likewise.
  1310. * tests/canon5.test: Use -Wno-portability.
  1311. * tests/vars2.test: New file.
  1312. * tests/Makefile.am (TESTS): Add vars2.test.
  1313. 2002-07-08 Alexandre Duret-Lutz <duret_g@epita.fr>
  1314. * tests/defs (AUTOMAKE): Add -Wall.
  1315. * tests/outdir.test: Use -Wno-obsolete.
  1316. 2002-07-07 Tom Tromey <tromey@redhat.com>
  1317. * m4/depend.m4 (_AM_DEPENDENCIES): Compute am__fastdep<compiler>
  1318. conditional.
  1319. * automake.in (handle_languages): Compute FASTDEP.
  1320. * lib/am/depend2.am: Added %FASTDEP% mode.
  1321. 2002-07-07 Tom Tromey <tromey@redhat.com>
  1322. * automake.texi (Optional): AM_MAINTAINER_MODE is ok in Gnits mode
  1323. now. Fixes PR automake/332.
  1324. 2002-07-06 Alexandre Duret-Lutz <duret_g@epita.fr>
  1325. * tests/nobase.test (test-install-exec): Move all the `test -f'
  1326. tests in the Makefile so we can use $(EXEEXT) on programs.
  1327. Reported by Charles Wilson.
  1328. 2002-07-06 Alexandre Duret-Lutz <duret_g@epita.fr>
  1329. * m4/header.m4 (AM_CONFIG_HEADER): New macro.
  1330. * tests/confh5.test: Make sure that Autoconf complains if
  1331. AM_CONFIG_HEADER or AC_CONFIG_HEADERS is called before
  1332. AM_INIT_AUTOMAKE.
  1333. 2002-07-06 Alexandre Duret-Lutz <duret_g@epita.fr>
  1334. * lib/Automake/Channels.pm: New file.
  1335. * lib/Automake/Makefile.am (dist_perllib_DATA): Add Channels.pm.
  1336. * automake.in: Use Automake::Channels and register some channels
  1337. for errors and warnings.
  1338. ($exit_status): Remove, replaced by Channels::$exit_code.
  1339. (%required_variables): Remove, Channels will filter-out duplicates
  1340. itself.
  1341. (initialize_per_input): Call reset_local_duplicates.
  1342. (prog_error): Adjust to all `msg'.
  1343. (setup_warnings): New functions.
  1344. (parse_arguments): Accept -W CATEGORY and --warnings=CATEGORY,
  1345. call setup_warnings.
  1346. (usage): Update usage text accordingly.
  1347. (macro_dump, macros_dump): Return the dump as a string instead
  1348. of printing it.
  1349. (am_install_var) <$warned_about_extra>: Remove, Channels will
  1350. filter-out duplicates itself.
  1351. (set_strictness): Turn on/off channels for each stricness.
  1352. (err, fatal, err_var, err_target, err_am, err_ac, msg_var,
  1353. msg_target, msg_am, msg_ac, reject_var, reject_target, verb):
  1354. New functions, to replace ...
  1355. (print_error, am_error, file_error, macro_error, target_error,
  1356. conf_error, file_warning): ... these functions. Remove them.
  1357. Update all the code to use the new functions. The rough
  1358. correspondance is
  1359. am_error -> err_am
  1360. file_error -> err
  1361. macro_error -> err_var
  1362. target_error -> err_target
  1363. conf_error -> err_ac
  1364. die -> fatal
  1365. macro_error if defined -> reject_var
  1366. target_error if defined -> reject_target
  1367. verbose -> verb
  1368. * automake.texi (Invoking Automake): Document -W and --warnings.
  1369. Remove the documentation for --Werror and --Wno-error.
  1370. * tests/defs: Use -Werror, not --Werror.
  1371. * tests/exeext2.test: Test that the error message
  1372. is enabled with -Wobsolete.
  1373. * tests/output5.test: Rewrite to test that Automake complains
  1374. when there is no Makefile specified. (The original test was
  1375. succeeding for the wrong reason.)
  1376. * tests/seenc.test: Don't use --Wno-error, there is no reason now
  1377. that -Werror doesn't stop after the first error.
  1378. * tests/subobj.test: Use --add-missing, and check that
  1379. `compile' is installed and that Automake says so.
  1380. * tests/subobj2.test: Don't create `compile'.
  1381. 2002-07-05 Tom Tromey <tromey@redhat.com>
  1382. * automake.texi (Java Support): Mention --main and _LDFLAGS.
  1383. For PR automake/324.
  1384. 2002-07-04 Alexandre Duret-Lutz <duret_g@epita.fr>
  1385. * tests/asm.test: Erase Autom4te's cache between each test.
  1386. 2002-07-03 Alexandre Duret-Lutz <duret_g@epita.fr>
  1387. * automake.in (am_macro_for_var): Add LIBTOOL.
  1388. (ac_macro_for_var): Add RANLIB.
  1389. (seen_libtool): Remove.
  1390. (handle_libtool, lang_c_finish, define_compiler_variable,
  1391. make_paragraphs): Use
  1392. variable_defined ('LIBTOOL') instead of $seen_libtool.
  1393. (handle_languages) <%transform>: Don't set 'LIBTOOL', it is
  1394. already done in make_paragraphs.
  1395. (handle_libraries): Simplify by requiring RANLIB with
  1396. &require_variables_for_macro.
  1397. (handle_ltlibraries): Simplify by requiring LIBTOOL with
  1398. &require_variables_for_macro.
  1399. (scan_autoconf_traces): Don't trace for AC_PROG_LIBTOOL and
  1400. AM_PROG_LIBTOOL.
  1401. * tests/libtool4.test, tests/library2.test: New files.
  1402. * tests/Makefile.in (TESTS): Add libtool4.test and library2.test.
  1403. 2002-07-02 Alexandre Duret-Lutz <duret_g@epita.fr>
  1404. * automake.in (create, keyed_aclocal_warning): Delete, unused.
  1405. 2002-07-01 Alexandre Duret-Lutz <duret_g@epita.fr>
  1406. * automake.in (ac_macro_for_var): Add YACC.
  1407. 2002-07-01 Alexandre Duret-Lutz <duret_g@epita.fr>
  1408. Handle multiple suffix rules with the same input extension.
  1409. For PR automake/37.
  1410. * automake.in (suffix_rules_default): New variable.
  1411. (suffix_rules): Redefine as a hash of hashes of pairs.
  1412. (initialize_per_input): Setup suffix_rules_default from
  1413. suffix_rules on first call, an override suffix_rules
  1414. with suffix_rules_default on following calls.
  1415. (struct) <output_extensions>: New attribute.
  1416. (register_language): Set the default for output_extensions.
  1417. Call register_suffix_rule for each suffix.
  1418. (derive_suffix, handle_languages): Adjust to the new definition
  1419. of $suffix.
  1420. (register_suffix_rule): New function.
  1421. (rule_define): Call register_suffix_rule.
  1422. * tests/suffix8.test, tests/suffix9.test, tests/suffix10.test:
  1423. New files.
  1424. * tests/Makefile.am (TESTS): Add them.
  1425. 2002-06-30 Alexandre Duret-Lutz <duret_g@epita.fr>
  1426. * automake.in (am_macro_for_var, ac_macro_for_var,
  1427. required_variables): New variables.
  1428. (am_c_prototypes, seen_prog_lex, am_lispdir_location,
  1429. pythondir_location): Remove.
  1430. (initialize_per_input): Clear %required_variables.
  1431. (require_variables, require_variables_for_macro): New functions.
  1432. (handle_languages): Call &require_variables for $lang->config_vars.
  1433. (handle_compile): Call &require_variables_for_macro for the
  1434. ANSI2KNR and U variables.
  1435. (handle_emacs_lisp): Call &require_variables for EMACS and libdir.
  1436. (handle_python): Call &require_variables for PYTHON. Don't
  1437. explicitly allow `python' as a prefix for PYTHON.
  1438. (scan_autoconf_traces): Don't scan AC_PROG_LEX, AM_C_PROTOTYPES,
  1439. AM_PATH_LISPDIR, and AM_PATH_PYTHON.
  1440. (scan_autoconf_traces) <AC_SUBST>: Don't filter out ANSI2KNR and
  1441. AMDEPBACKSLASH here...
  1442. (define_configure_variable): ... do this here.
  1443. (am_primary_prefixes): Probe the existence of ${X}dir using
  1444. &require_variables_for_macro. If a standard prefix is not
  1445. legitimate, say so. Ignore all configure variables.
  1446. * tests/ansi8.test, tests/cxx2.test, tests/gcj5.test,
  1447. tests/lisp2.test, tests/python2.test: New files
  1448. * tests/Makefile.am (TESTS): Add them.
  1449. * tests/asm.test: Grep stderr.
  1450. * tests/lex2.test: Rewrite to test that Automake suggests AM_PROG_LEX.
  1451. * tests/python.test: Make sure py-compile is installed.
  1452. 2002-06-27 Alexandre Duret-Lutz <duret_g@epita.fr>
  1453. * automake.in (LANG_IGNORE, LANG_PROCESS, LANG_SUBDIR,
  1454. COMPILE_LIBTOOL, COMPILE_ORDINARY): Redefine as constants.
  1455. Adjust all occurrences.
  1456. 2002-06-27 Alexandre Duret-Lutz <duret_g@epita.fr>
  1457. * aclocal.in: Add local variables so that Emacs setups GNU style
  1458. for perl-mode and cperl-mode.
  1459. * automake.in: Likewise.
  1460. (WHITE_PATTERN, RULE_PATTERN, SUFFIX_RULE_PATTERN, MACRO_PATTERN,
  1461. ASSIGNMENT_PATTERN, IF_PATTERN, ELSE_PATTERN, ENDIF_PATTERN,
  1462. INCLUDE_PATTERN, EXEC_DIR_PATTERN): Write $ as "\$" to please
  1463. perl-mode.
  1464. 2002-06-27 Alexandre Duret-Lutz <duret_g@epita.fr>
  1465. * Makefile.am (fetch): Fetch install-sh from Autoconf CVS.
  1466. * lib/config.sub, lib/install-sh: New upstream versions.
  1467. 2002-06-26 Paul Eggert <eggert@twinsun.com>
  1468. * Makefile.am (maintainer-check): Don't assume that egrep exists;
  1469. this fixes a portability bug introduced in the 2002-06-08 fix for
  1470. PR automake/317.
  1471. 2002-06-26 Alexandre Duret-Lutz <duret_g@epita.fr>
  1472. * automake.in (required_targets): Add ps and ps-am.
  1473. (initialize_per_input): Reset them.
  1474. (handle_texinfo_helper): Fill @pss_list, and define the
  1475. PSS make variable.
  1476. * lib/am/texinfos.am (RECURSIVE_TARGETS): Add ps-recursive.
  1477. (ps, ps-am): New targets.
  1478. * automake.texi (Auxiliary Programs) <texinfo.tex>: Mention
  1479. `make ps' and `make pdf'.
  1480. (Texinfo): Document `make ps', `make pdf', and `make dvi'.
  1481. (Extending): The `ps' and `pdf' targets support a `-local' version.
  1482. 2002-06-26 Art Haas <ahaas@neosoft.com>
  1483. * automake.texi: s/.../@dots{}/.
  1484. 2002-06-26 Alexandre Duret-Lutz <duret_g@epita.fr>
  1485. * configure.in: Check that ln works, fall back to `cp -p'.
  1486. * Makefile.am (install-exec-hook): Use $(LN) instead of ln.
  1487. Reported by Andreas Buening.
  1488. 2002-06-21 Alexandre Duret-Lutz <duret_g@epita.fr>
  1489. * automake.in: Register &lang_lex_target_hook for lex and lexxx.
  1490. (lang_lex_target_hook): New function.
  1491. * tests/lex3.c: Complete to check that maintainer-clean erases
  1492. Lex's output.
  1493. Reported by Flavien Astraud. This was lost on 2001-06-23 too.
  1494. 2002-06-21 Alexandre Duret-Lutz <duret_g@epita.fr>
  1495. * automake.in (lang_yacc_target_hook): Add $output to
  1496. @maintainer_clean_files. This was lost on 2001-06-23.
  1497. * tests/yacc7.test, tests/yacc4.test: Complete to check
  1498. that maintainer-clean erases YACC's output files,
  1499. respectively with and without `-d'.
  1500. Reported by Flavien Astraud.
  1501. 2002-06-19 Alexandre Duret-Lutz <duret_g@epita.fr>
  1502. * lib/am/lang-compile.am (%FPFX%DEPMODE): Delete. This is now
  1503. traced from configure.ac.
  1504. * automake.in (macro_define): Don't accept to override an AC_SUBST
  1505. or Automake variable in a new condition.
  1506. * tests/cond23.test, tests/cond24.test: New file.
  1507. * tests/Makefile.am (TESTS): Add cond23.test and cond24.test.
  1508. Reported by Patrik Weiskirchre.
  1509. 2002-06-19 Alexandre Duret-Lutz <duret_g@epita.fr>
  1510. * tests/nobase.test, tests/pr204.test, tests/pr300-lib.test,
  1511. tests/pr300-ltlib.test, tests/pr300-prog.test,
  1512. tests/specflags7.test, tests/specflags8.test, tests/subdir5.test,
  1513. tests/subobj6.test, tests/subpkg.test, tests/transform.test:
  1514. Require gcc.
  1515. 2002-06-18 Alexandre Duret-Lutz <duret_g@epita.fr>
  1516. * tests/libtool2.test: Use required=libtoolize.
  1517. * tests/install2.test: Use required=gzip.
  1518. 2002-06-18 Alexandre Duret-Lutz <duret_g@epita.fr>
  1519. * tests/defs (required): Handle bison; set YACC automatically.
  1520. * tests/pr204.test, tests/yacc4.test, tests/yacc8.test,
  1521. tests/yaccvpath.test: Require bison. Don't set YACC.
  1522. 2002-06-18 Alexandre Duret-Lutz <duret_g@epita.fr>
  1523. * tests/defs (required): Handle `gcc' and `g++'; automatically
  1524. export CC and CXX when they are required.
  1525. * tests/ansi3.test, tests/ansi5.test, tests/ccnoco.test,
  1526. tests/cond4.test, tests/cond16.test, tests/cond18.test,
  1527. tests/cond19.test, tests/depcomp2.test, tests/depend2.test,
  1528. tests/lex3.test, tests/pr87.test, tests/pr220.test,
  1529. tests/substref.test, tests/target-cflags.test, tests/yacc4.test,
  1530. tests/yaccvpath.test: Require gcc. Don't pass CC=gcc to
  1531. configure.
  1532. * tests/subobj9.test: Require g++.
  1533. 2002-06-18 Alexandre Duret-Lutz <duret_g@epita.fr>
  1534. * tests/defs (required): Handle `GNUmake'.
  1535. (needs_gnu_make): Don't define anymore.
  1536. * tests/cond4.test, tests/cond18.test, tests/cond19.test,
  1537. tests/dollar.test, tests/exsource.test, tests/extra6.test,
  1538. tests/lex3.test, tests/make.test, tests/pr9.test, tests/pr87.test,
  1539. tests/subdir5.test, tests/target-cflags.test, tests/yacc7.test,
  1540. tests/yaccvpath.test: Use `required=GNUmake' instead of
  1541. `$needs_gnu_make'.
  1542. 2002-06-17 Paolo Bonzini <bonzini@gnu.org>
  1543. * automake.in (process_option_list): Recognize std-options.
  1544. (handle_options): Enable std-options in gnits strictness.
  1545. (am_install_var): If std-options, enable CK-OPTS section.
  1546. * lib/am/scripts.am (installcheck-am): New target.
  1547. * lib/am/progs.am (installcheck-am): New target.
  1548. * tests/gnits2.test: New file.
  1549. * tests/Makefile.am (TESTS): Add gnits2.test.
  1550. * automake.texi (Gnits, Options): Document std-options.
  1551. 2002-06-17 Kevin Ryde <user42@zip.com.au>
  1552. * automake.in (scan_texinfo_file): Add tmp to @clean_suffixes,
  1553. as generated by recent texinfo.tex.
  1554. 2002-06-14 Alexandre Duret-Lutz <duret_g@epita.fr>
  1555. * m4/header.m4 (AM_CONFIG_HEADER): Rename to ...
  1556. (_AM_CONFIG_HEADERS): ... this.
  1557. (_AM_CONFIG_HEADER_INSINUATE): Define AC_CONFIG_HEADERS to
  1558. call _AM_CONFIG_HEADERS; and AM_CONFIG_HEADER to call
  1559. AC_CONFIG_HEADERS.
  1560. * automake.in (scan_autoconf_traces): Trace AC_CONFIG_HEADERS
  1561. instead of AM_CONFIG_HEADER.
  1562. * tests/autoheader2.test: New file.
  1563. * tests/Makefile.am (TESTS): Add autoheader2.test.
  1564. Suggested by Raja R Harinath.
  1565. 2002-06-13 Alexandre Duret-Lutz <duret_g@epita.fr>
  1566. * m4/header.m4 (_AM_CONFIG_HEADER_INSINUATE): Use m4_copy instead
  1567. of m4_rename so that AC_CONFIG_HEADER is never undefined and
  1568. therefore still traced after the redefinition.
  1569. * tests/defs (AUTOHEADER): Define.
  1570. * tests/autoheader.test: New file.
  1571. * tests/Makefile.am (TESTS): Add autoheader.test.
  1572. Reported by Braden McDaniel.
  1573. 2002-06-13 Paolo Bonzini <bonzini@gnu.org>
  1574. * automake.in (check_gnu_standards): In --gnu mode, accept
  1575. one of COPTING, COPYING.LESSER, or COPYING.LIB.
  1576. (common_files): Add COPYING.LESSER.
  1577. * automake.texi (Gnits): Document this.
  1578. 2002-06-13 Paolo Bonzini <bonzini@gnu.org>
  1579. * automake.in (required_targets): Add the pdf and pdf-am targets.
  1580. (initialize_per_input): Likewise.
  1581. (scan_texinfo_file): Add pdf to @clean_suffixes.
  1582. (handle_texinfo_helper): Output the .pdf dependencies, and define
  1583. the PDFS variable.
  1584. * lib/am/texinfos.am (TEXI2PDF): New variable.
  1585. (pdf, pdf-am): New targets.
  1586. (.PHONY): Add pdf, pdf-am, and pdf-recursive.
  1587. * lib/am/texibuild.am (.%SUFFIX%.pdf): New rule.
  1588. 2002-06-13 Alexandre Duret-Lutz <duret_g@epita.fr>
  1589. Fix pr307.test failure with gcc 3.x.
  1590. * lib/depcomp (dashmstdout): Strip the call to libtool, and
  1591. replace `-o $object' by `-o /dev/null' before running "$@"
  1592. to generate dependencies.
  1593. (cpp): Strip the call to libtool as well as `-o $object'.
  1594. 2002-06-12 Alexandre Duret-Lutz <duret_g@epita.fr>
  1595. * lib/depcomp (tru64): Expect dependency files in .libs/, maybe as
  1596. $base.lo.d, when libtool is used.
  1597. Reported by Nicolas Joly.
  1598. 2002-06-11 Alexandre Duret-Lutz <duret_g@epita.fr>
  1599. * lib/am/java.am (class%DIR%.stamp): Don't run $(JAVAC) when there
  1600. is no file to compile.
  1601. * tests/java2.test: New file.
  1602. * tests/Makefile.am (TESTS): Add java2.test.
  1603. Reported by Braden N. McDaniel.
  1604. 2002-06-11 Alexandre Duret-Lutz <duret_g@epita.fr>
  1605. * tests/maintclean.test: Don't check for autom4te.cache if
  1606. it's not created by Autoconf.
  1607. Reported by Bernd Jendrissek.
  1608. 2002-06-11 Alexandre Duret-Lutz <duret_g@epita.fr>
  1609. * automake.texi (Tests): Document site.exp. Update DejaGnu's url.
  1610. 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
  1611. * lib/am/header-vars.am (transform): Define.
  1612. Was removed by mistake on 2002-04-13.
  1613. * tests/transform.test: New file.
  1614. * tests/Makefile.am (TESTS): Add transform.test.
  1615. Reported by Nicolas Joly.
  1616. 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
  1617. * tests/dollar.test: Require GNU make.
  1618. * tests/maintclean.test: Don't use `export YACC=false'. Pass
  1619. YACC=false to configure instead.
  1620. 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
  1621. * lib/config.guess, lib/config.sub, lib/texinfo.tex, lib/INSTALL,
  1622. INSTALL: New upstream versions.
  1623. 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
  1624. * tests/sinclude.test: Check for m4_include too.
  1625. 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
  1626. * tests/sinclude.test: Rename the package as amsinclude;
  1627. am__sinclude still trigers the sinclude macro once it has been
  1628. converted to am--sinclude.
  1629. Reported by Nicolas Joly.
  1630. 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
  1631. * automake.texi (API versioning): Typo.
  1632. 2002-06-10 Nicolas Joly <njoly@pasteur.fr>
  1633. * THANKS (Nicolas Joly): Remove duplicate.
  1634. 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
  1635. * Makefile.am (maintainer-check): Fix $MAKE -e detection.
  1636. * tests/yacc7.test: Use rm -f.
  1637. 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
  1638. * tests/defs (ACLOCAL, AUTOMAKE): Use absolute paths.
  1639. * tests/subpkg.test: New file.
  1640. * tests/Makefile.am (TESTS): Add subpkg.test.
  1641. 2002-06-09 Alexandre Duret-Lutz <duret_g@epita.fr>
  1642. For PR automake/318:
  1643. * tests/nobase.test: Rewrite to test _HEADERS, _DATA, _SCRIPTS,
  1644. _PROGRAMS, _LIBRARIES, and _LTLIBRARIES.
  1645. * lib/am/scripts.am (install-%DIR%SCRIPTS,
  1646. uninstall-%DIR%SCRIPTS): Honor nobase_; strip the directory by
  1647. default.
  1648. (?%DIR%SCRIPT_INSTALL): New variable.
  1649. * lib/am/header-vars.am (install_sh_SCRIPT): New variable.
  1650. Reported by Eric Siegerman.
  1651. 2002-06-08 Alexandre Duret-Lutz <duret_g@epita.fr>
  1652. * automake.in (lang_yacc_target_hook): Add rule to recover from
  1653. the removal of $header.
  1654. * lib/am/yacc.am (%BASE%.h): Remove (duplicate with the one
  1655. output by lang_yacc_target_hook).
  1656. * tests/yacc7.test: Try to recreate foo.h after its removal.
  1657. * tests/yacc8.test: Add `AM_YFLAGS = -d' and try to recreate
  1658. parse.h too.
  1659. Reported by Bernd Jendrissek.
  1660. 2002-06-08 Alexandre Duret-Lutz <duret_g@epita.fr>
  1661. For PR automake/317:
  1662. * Makefile.am (maintainer-check): Disallow `for f in $(FILES)',
  1663. suggest `list='$(FILES)'; for f in $$list' instead.
  1664. * lib/am/distdir.am (distdir): Adjust `for' usage.
  1665. * lib/am/texinfos.am (maintainer-clean-aminfo): Likewise.
  1666. * tests/dollar.test: New file.
  1667. * tests/Makefile.am (TESTS): Add dollar.test.
  1668. Reported by Eric Siegerman and Philip Fong.
  1669. 2002-06-06 Alexandre Duret-Lutz <duret_g@epita.fr>
  1670. For PR automake/47 (fixed a long time ago):
  1671. * tests/yacc7.test: Also check that parser sources are distributed.
  1672. 2002-06-06 Alexandre Duret-Lutz <duret_g@epita.fr>
  1673. * lib/am/configure.am (am__CONFIG_DISTCLEAN_FILES): New variable.
  1674. (distclean): Use it.
  1675. (maintainer-clean): Delete autom4te.cache and
  1676. $(am__CONFIG_DISTCLEAN_FILES).
  1677. * tests/maintclean.test: New file.
  1678. * tests/Makefile.am (TESTS): Add maintclean.test.
  1679. 2002-06-05 Miloslav Trmac <trmac@popelka.ms.mff.cuni.cz>
  1680. * lib/am/dejagnu.am (site.exp): Quote build_alias, host_alias, and
  1681. target_alias.
  1682. 2002-05-31 Alexandre Duret-Lutz <duret_g@epita.fr>
  1683. * Makefile.am (maintainer-check): Check for egrep and fgrep.
  1684. * test/cond22.test: Set SHELL when calling $MAKE -e.
  1685. 2002-05-31 Richard Boulton <richard@tartarus.org>
  1686. Fix PR automake/326:
  1687. * automake.in (define_objects_from_sources): Calculate the result in
  1688. all conditions before passing this to subobjname to pick a name to
  1689. store the result in.
  1690. (subobjname): Expect a list of condition/value pairs as input.
  1691. Combine this list and use it as the key to determine the variable name.
  1692. * test/cond22.test: New file.
  1693. * tests/Makefile.am (TESTS): Add cond22.test
  1694. 2002-05-30 Paul Eggert <eggert@twinsun.com>
  1695. * lib/am/distdir.am (distdir): Don't assume that 'grep -F' works;
  1696. instead, use shell pattern matching.
  1697. 2002-05-29 Paul Eggert <eggert@twinsun.com>
  1698. Don't assume that egrep and fgrep exist, as POSIX 1003.1-2001 no
  1699. longer requires them.
  1700. * Makefile.am (maintainer-check): Use grep -E and grep -F instead
  1701. of egrep and fgrep. Omit unnecessary -E and -F.
  1702. Fix quoting typo -- "fgrep '\$${'" should have been "fgrep '$${'".
  1703. * lib/am/distdir.am (distdir): fgrep -> grep -F.
  1704. Use $(), not ${}, for Make variables.
  1705. * lib/am/texinfos.am (install-info-am, uninstall-info-am):
  1706. fgrep -> grep
  1707. * m4/make.m4 (AM_MAKE_INCLUDE): Likewise.
  1708. * tests/defs: Set FGREP and EGREP.
  1709. * tests/aclocali.test, tests/acoutput2.test, tests/all.test,
  1710. tests/ansi.test, tests/ansi4.test, tests/colon3.test,
  1711. tests/cond21.test, tests/condlib.test, tests/confh4.test,
  1712. tests/confsub.test, tests/cxxansi.test, tests/cxxo.test,
  1713. tests/depend4.test, tests/discover.test, tests/distname.test,
  1714. tests/dup3.test, tests/empty4.test, tests/fo.test,
  1715. tests/implicit.test, tests/insh2.test, tests/interp.test,
  1716. tests/lex.test, tests/lex3.test, tests/lex4.test,
  1717. tests/libobj5.test, tests/libobj7.test, tests/make.test,
  1718. tests/makevars.test, tests/nostdinc.test, tests/parse.test,
  1719. tests/pluseq.test, tests/pluseq4.test, tests/pluseq6.test,
  1720. tests/pr2.test, tests/pr9.test, tests/seenc.test,
  1721. tests/specflags.test, tests/specflags3.test,
  1722. tests/specflags6.test, tests/subobj.test, tests/subobj2.test,
  1723. tests/suffix3.test, tests/texinfo.test, tests/texinfo6.test,
  1724. tests/texinfo8.test, tests/vtexi.test, tests/yacc3.test,
  1725. tests/yacc6.test: fgrep -> $FGREP, egrep -> $EGREP
  1726. 2002-05-24 Alexandre Duret-Lutz <duret_g@epita.fr>
  1727. For PR automake/323:
  1728. * m4/depend.m4: Missing comma.
  1729. * tests/gcj4.test: New file.
  1730. * tests/Makefile.am (TESTS): Add gcj4.test.
  1731. Reported by David Pashley.
  1732. 2002-05-22 Alexandre Duret-Lutz <duret_g@epita.fr>
  1733. * tests/defs (configure.in): Don't double-quote $me.
  1734. * tests/sinclude.test: Overwrite configure.in and use
  1735. `am__sinclude' instead of `sinclude' as package name.
  1736. Exercise `m4_sinclude' instead of `sinclude'.
  1737. 2002-05-20 Alexandre Duret-Lutz <duret_g@epita.fr>
  1738. * automake.in (conditional_implies_one_of): Rename as ...
  1739. (conditional_implies_any): ... this.
  1740. * tests/pluseq9.test: Exercise another case with the new
  1741. `C' variable.
  1742. Suggested by Raja R Harinath.
  1743. 2002-05-17 Alexandre Duret-Lutz <duret_g@epita.fr>
  1744. * tests/defs (configure.in): Quote macro arguments.
  1745. Reported by Nicolas Joly.
  1746. 2002-05-17 Alexandre Duret-Lutz <duret_g@epita.fr>
  1747. * lib/am/header-vars.am (build_triplet, host_triplet,
  1748. target_triplet): Define. Were removed by mistake on 2002-04-13.
  1749. 2002-05-17 Alexandre Duret-Lutz <duret_g@epita.fr>
  1750. For PR automake/186:
  1751. * lib/am/distdir.am (distcheck): Attempt a DESTDIR install.
  1752. * tests/destdir.test: New file.
  1753. * tests/Makefile.am (TESTS): Add destdir.test.
  1754. 2002-05-16 Alexandre Duret-Lutz <duret_g@epita.fr>
  1755. * automake.in (conditional_true_when): Return false if $WHEN == FALSE.
  1756. (conditional_is_redundant): Simplify.
  1757. (conditional_implies_one_of,
  1758. variable_not_always_defined_in_cond): New functions
  1759. (macro_define): Reject appends if the variable is not defined in
  1760. all conditions where `+=' applies.
  1761. (invert_conditions): Rewrite. Before this patch,
  1762. invert_conditions("A_TRUE B_TRUE", "A_TRUE B_FALSE", "A_FALSE")
  1763. would return ("A_FALSE B_TRUE", "A_FALSE B_TRUE"), which seems
  1764. wrong (these conditions implies "A_FALSE"). Now it outputs (),
  1765. which just means the input conditions cover all cases.
  1766. (variable_conditions_permutations): Never output FALSE conditions.
  1767. * tests/pluseq2.test, tests/pluseq3.test: Define data_DATA
  1768. in the CHECK_FALSE condition to fix the test.
  1769. * tests/pluseq5.test: Actually check the diagnostic.
  1770. * tests/pluseq9.test: New file.
  1771. * tests/Makefile.am (TESTS): Add pluseq9.test.
  1772. 2002-05-14 Alexandre Duret-Lutz <duret_g@epita.fr>
  1773. Fix for PR automake/322:
  1774. * automake.in (read_am_file): Rename $was_rule as $prev_state, and
  1775. set it with IN_RULE_DEF, IN_VAR_DEF, or IN_COMMENT as appropriate.
  1776. Handle comments continued by backslashes.
  1777. * tests/comment6.test: New file.
  1778. * tests/Makefile.am (TESTS): Add comment6.test.
  1779. Reported by Braden N. McDaniel.
  1780. 2002-05-08 Charles Wilson <cwilson@ece.gatech.edu>
  1781. Alexandre Duret-Lutz <duret_g@epita.fr>
  1782. * lib/am/progs.am (clean-%DIR%PROGRAMS): If Libtool is used, clean
  1783. both `program$(EXEEXT)' and `program'; needed under Cygwin.
  1784. * tests/libtool3.test: New file.
  1785. * tests/Makefile.am (TESTS): Add libtool3.test.
  1786. 2002-05-07 Alexandre Duret-Lutz <duret_g@epita.fr>
  1787. * TODO: Undust.
  1788. 2002-05-06 Alexandre Duret-Lutz <duret_g@epita.fr>
  1789. * Makefile.am (FETCHFILES, fetch): Get INSTALL from Autoconf CVS.
  1790. 2002-05-06 Alexandre Duret-Lutz <duret_g@epita.fr>
  1791. Erase stamps from the Makefile that generates them.
  1792. * automake.in (handle_configure): Append each used stamp to
  1793. @distclean_config. Don't warn about stamp-h in AC_OUTPUT, this
  1794. file is not used anymore.
  1795. * lib/am/clean.am (distclean-generic): Don't erase stamp-h and
  1796. stamp-h[0-9]*.
  1797. * tests/subdir6.test: New file.
  1798. * tests/Makefile.am (TESTS): Add it.
  1799. 2002-05-06 Alexandre Duret-Lutz <duret_g@epita.fr>
  1800. Fix for condd.test (conditional `+='):
  1801. * automake.in (%appendvar): New.
  1802. (initialize_per_input): Clear it.
  1803. (macro_define): Handle += for variable defined in another condition.
  1804. * automake.texi (Conditional Sources): Use conditional += in
  1805. the example.
  1806. (General Operation, Conditionals): Remove note about broken +=.
  1807. * tests/cond21.test: New file.
  1808. * tests/condd.test: Also test conditional append to a _SOURCE
  1809. variable. Create missing directories.
  1810. * tests/Makefile.am (TESTS): Add cond21.test.
  1811. (XFAILS): Remove condd.test.
  1812. 2002-05-05 Tom Tromey <tromey@redhat.com>
  1813. * automake.texi (Program and Library Variables): Mention _LFLAGS.
  1814. 2002-04-30 Alexandre Duret-Lutz <duret_g@epita.fr>
  1815. * lib/am/ltlib.am (clean-%DIR%LTLIBRARIES): Erase so_locations
  1816. files. Fix subobj9.test on OSF and IRIX.
  1817. Reported by Nelson H. F. Beebe.
  1818. 2002-04-26 Tom Tromey <tromey@redhat.com>
  1819. * lib/am/dejagnu.am (distclean-DEJAGNU): New target.
  1820. For Debian bug 144221.
  1821. 2002-04-26 Alexandre Duret-Lutz <duret_g@epita.fr>
  1822. * tests/man2.test: Use `pwd`, not $PWD. Use $MAKE -e.
  1823. 2002-04-25 Alexandre Duret-Lutz <duret_g@epita.fr>
  1824. * automake.in (subobjname): Use the length of %subobjvar
  1825. instead of $subobjnamenum.
  1826. (subobjnamenum): Remove.
  1827. 2002-04-25 Alexandre Duret-Lutz <duret_g@epita.fr>
  1828. For PR automake/307:
  1829. * lib/depcomp: Never compute dependencies in the background, this
  1830. can cause races with libtool. Compute the dependencies after
  1831. the actual compilation. Don't make libtool silent now that
  1832. it's run in the foreground.
  1833. * tests/pr307.test: New file.
  1834. * tests/Makefile.am (TESTS): Add pr307.test.
  1835. Reported by Laurent Morichetti.
  1836. 2002-04-25 Alexandre Duret-Lutz <duret_g@epita.fr>
  1837. * lib/am/check.am: Show skipped tests. Display the
  1838. $(PACKAGE_BUGREPORT) address on failure.
  1839. 2002-04-24 Alexandre Duret-Lutz <duret_g@epita.fr>
  1840. Fix PR automake/315:
  1841. * automake.in (subobjname): Rewrite to generate variable name
  1842. unique for each content.
  1843. (%substnums): Remove.
  1844. (%subobjvar): New hash.
  1845. (initialize_per_input): Clear %subobjvar.
  1846. (define_objects_from_sources): Return the name of the variable
  1847. defined, in addition to the linker. Call subobjname only once
  1848. the content of the variable to define is known.
  1849. (handle_source_transform): Adjust call to define_objects_from_sources.
  1850. * tests/specflags8.test: Mention PR 315.
  1851. * tests/subobjname.test: New file.
  1852. * tests/Makefile.am (XFAIL_TESTS): Remove specflags8.test.
  1853. (TESTS): Add subobjname.test.
  1854. 2002-04-23 Alexandre Duret-Lutz <duret_g@epita.fr>
  1855. * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Grep
  1856. the whole file for 'generated by automake', not only the
  1857. first line. This accounts for post-processed Makefile.in's.
  1858. * tests/postproc.test: New file.
  1859. * tests/Makefile.am (TESTS): Add postproc.test.
  1860. 2002-04-22 Alexandre Duret-Lutz <duret_g@epita.fr>
  1861. For PR automake/151 and PR automake/314:
  1862. * automake.texi (A Program): Split into
  1863. (Program Sources, Linking, Conditional Sources, Conditional
  1864. Programs): ... these subsections; moving the Linking node
  1865. before the Conditional discussions.
  1866. (Conditional Sources): More details. Notably, mention
  1867. hello_DEPENDENCIES.
  1868. (Conditionals): Adjust reference to Conditional Programs.
  1869. 2002-04-19 Paul Eggert <eggert@twinsun.com>
  1870. Fix some bugs when using "$@" when there might be zero positional
  1871. arguments in cases where this matters. Zsh doesn't support
  1872. the workaround ${1+"$@"} that has been used by Automake since
  1873. the Mon Dec 4 11:55:36 1995 change.
  1874. * aclocal.in: Use 'case' statement to work around problem.
  1875. * automake.in: Likewise.
  1876. * lib/ylwrap: Likewise.
  1877. * lib/missing: No need for workaround, as the command is never
  1878. invoked with zero arguments.
  1879. * tests/ccnoco.test: Likewise.
  1880. * missing: Update from lib/missing.
  1881. 2002-04-19 Alexandre Duret-Lutz <duret_g@epita.fr>
  1882. * automake.in (initialize_per_input): Clear %require_file_found.
  1883. (%require_file_found): Group the declaration with the other
  1884. variables initialized by initialize_per_input.
  1885. * tests/required.test: New file.
  1886. * tests/Makefile.am (TESTS): Add it.
  1887. Reported by Marius Vollmer.
  1888. 2002-04-19 Alexandre Duret-Lutz <duret_g@epita.fr>
  1889. * m4/header.m4 (_AM_CONFIG_HEADER_INSINUATE): New function,
  1890. override AC_CONFIG_HEADERS with AM_CONFIG_HEADER.
  1891. (_AM_CONFIG_HEADER): Use _AM_AC_CONFIG_HEADERS.
  1892. * m4/init.m4: Call _AM_CONFIG_HEADER_INSINUATE.
  1893. * tests/stamph2.test: Use AC_CONFIG_HEADERS for some of the config
  1894. files.
  1895. * tests/confh5.test: New file.
  1896. * tests/Makefile.am (TESTS): Add confh5.test.
  1897. * automake.texi (Optional, Public macros): Update descriptions
  1898. of AC_CONFIG_HEADERS and AM_CONFIG_HEADER.
  1899. 2002-04-13 Alexandre Duret-Lutz <duret_g@epita.fr>
  1900. * tests/man2.test: New file.
  1901. * tests/Makefile.am (TESTS): Add man2.test.
  1902. * lib/am/mans.am (install-man%SECTION%): Change the extension
  1903. of the man pages being installed, as documented.
  1904. 2002-04-13 Alexandre Duret-Lutz <duret_g@epita.fr>
  1905. Enable traces; wipe out the old configure.in parser.
  1906. * automake.in (scan_autoconf_traces): Use '$ENF{AUTOCONF}' of
  1907. 'autoconf'. Honnor the $filename argument.
  1908. (scan_autoconf_files): Don't call scan_one_autoconf_file.
  1909. Always call scan_autoconf_traces.
  1910. (scan_one_autoconf_file): Remove, with it associated regexes.
  1911. (obsolete, obsolete_rx): Remove.
  1912. (register_language, handle_languages): Remove the 'define_flag'
  1913. support. Remove it from the struct and language definitions too.
  1914. (unquote_m4_arg): Remove.
  1915. * lib/am/header-vars.am, lib/am/compile.am, lib/am/lisp.am: Remove
  1916. the `FOO = @FOO@' definitions for all AC_SUBST'ed variables. They
  1917. are now generated automatically.
  1918. * aclocal.in (obsolete_macros): Don't mention obsolete_macros in
  1919. automake.in.
  1920. * automake.texi (Invoking Automake): Mention the AUTOCONF envvar.
  1921. 2002-04-13 Alexandre Duret-Lutz <duret_g@epita.fr>
  1922. * tests/version6.test: New file.
  1923. * tests/Makefile.am (TESTS): Add tests/version6.test.
  1924. * automake.in (version_check): Return 0 on equality.
  1925. 2002-04-13 Andreas Schwab <schwab@suse.de>
  1926. * THANKS: Update my mail address.
  1927. 2002-04-12 Alexandre Duret-Lutz <duret_g@epita.fr>
  1928. * tests/discover.test: Use a full configure.in that calls AC_INIT.
  1929. Use AC_LIBOBJ. Grep the error message.
  1930. * test/ldadd.test: Don't use LIBOBJS. Use a full configure.in.
  1931. Grep the error message. Require libtool.
  1932. * tests/ldflags.test: Don't use LIBOBJS.
  1933. * tests/seenc.test: Use AC_LIBOBJ, --Wno-error, and grep the
  1934. error messages for CC and CXX.
  1935. 2002-04-12 Alexandre Duret-Lutz <duret_g@epita.fr>
  1936. * automake.in (scan_autoconf_traces) <AC_SUBST>: Ignore ANSI2KNR
  1937. and AMDEPBACKSLASH.
  1938. * tests/distcommon2.test: Use a full configure.in that calls AC_INIT.
  1939. * tests/ext.test: Enable dependencies for OBJC.
  1940. * tests/libobj.test, tests/libobj6.test, tests/libobj9.test:
  1941. Delete. They tests for different flavors of $LIBOBJS assignments
  1942. that wont be supported anymore.
  1943. * tests/libobj2.test, tests/libobj10.test: Use AC_LIBOBJ.
  1944. * tests/obsolete.test: Don't test Automake.
  1945. * tests/suffix5.test: Require libtool.
  1946. * tests/Makefile.am (TESTS): Remove libobj.test, libobj6.test and
  1947. libobj9.test.
  1948. 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
  1949. * configure.in (APIVERSION): Fix definition.
  1950. 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
  1951. * NEWS: Catch up with changes since 1.6.
  1952. 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
  1953. * tests/yacc8.test: Don't assume GNU make, run config.status
  1954. to regenerate the Makefile.
  1955. 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
  1956. * Makefile.am (maintainer-check): Make sure `$MAKE -e' is
  1957. always followed by a SHELL setting.
  1958. * tests/ansi3.test, tests/ansi5.test, tests/subobj3.test: Set
  1959. SHELL when calling `$MAKE -e'.
  1960. 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
  1961. * tests/subobj9.test: Use configure.in, not configure.ac,
  1962. otherwise this fails with old libtool versions.
  1963. 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
  1964. * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
  1965. versions.
  1966. 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
  1967. * ChangeLog.2001: New file, extracted from ChangeLog.
  1968. * Makefile.am (EXTRA_DIST): Add it.
  1969. 2002-04-09 Alexandre Duret-Lutz <duret_g@epita.fr>
  1970. * automake.texi (Canonicalization): The sources for libmumble++.a
  1971. go into libmumble___a_SOURCES.
  1972. 2002-04-07 Alexandre Duret-Lutz <duret_g@epita.fr>
  1973. * Makefile.am (maintainer-check): Check for `sleep 1' uses in the
  1974. test suite. Suggest `sleep 2' instead.
  1975. * tests/confsub.test: Use `sleep 2'.
  1976. 2002-04-04 Paul Eggert <eggert@twinsun.com>
  1977. * lib/am/subdirs.am:
  1978. ($(RECURSIVE_TARGETS), maintainer-clean-recursive):
  1979. $(MAKEFLAGS) -> $$MAKEFLAGS, so that we don't run into problems if
  1980. MAKEFLAGS contains '$(...)'.
  1981. 2002-04-02 Alexandre Duret-Lutz <duret_g@epita.fr>
  1982. * tests/specflags8.test: Typo.
  1983. 2002-04-02 Alexandre Duret-Lutz <duret_g@epita.fr>
  1984. * tests/specflags6.test: Run aclocal.
  1985. * tests/Makefile.am (TESTS): Add specflags6.test.
  1986. 2002-04-02 Alexandre Duret-Lutz <duret_g@epita.fr>
  1987. * tests/specflags7.test, tests/specflags8.test: New files.
  1988. * tests/Makefile.am (TESTS): Add them.
  1989. (XFAIL_TESTS): Add specflags8.test.
  1990. 2002-03-29 Tom Tromey <tromey@redhat.com>
  1991. * automake.in (check_typos): Examine AM_LDFLAGS.
  1992. Fixes PR automake/311.
  1993. For PR automake/312:
  1994. * lib/am/libtool.am (clean-libtool): Use LTRMS.
  1995. * automake.in (handle_single_transform_list): When processing a
  1996. libtool object, clean the ordinary object and register the
  1997. directory.
  1998. (libtool_clean_directories): New global.
  1999. (initialize_per_input): Initialize it.
  2000. (generate_makefile): Call handle_libtool later.
  2001. (handle_libtool): Handle libtool_clean_directories.
  2002. * tests/subobj9.test: New file.
  2003. * tests/Makefile.am (TESTS): Added subobj9.test.
  2004. 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
  2005. * tests/extra6.test, tests/subdir5.test: Require GNU make.
  2006. 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
  2007. * tests/dup3.test (ACLOCAL): s/srcdir/testsrcdir/.
  2008. 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
  2009. * tests/extra7.test: New file.
  2010. * tests/Makefile.am: Add it.
  2011. * lib/am/distdir.an (distdir): When a distribuable directory
  2012. exists both in `.' and $(srcdir), merge both directories. This
  2013. works around a failure of extra6.test on Tru64 reported by
  2014. Nicolas Joly.
  2015. 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
  2016. * tests/pr87.test, tests/yaccvpath.test: Require GNU make.
  2017. 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
  2018. * Makefile.am (maintainer-check): Catch occurrences of
  2019. `$MAKE foo=bar' in the testsuite. Suggest using
  2020. `foo=bar $MAKE -e' instead.
  2021. * tests/ansi3.test, tests/ansi5.test, tests/subobj3.test:
  2022. Use $MAKE -e. This fixes a ansi5.test failure with Solaris make.
  2023. * tests/defs: Unset $srcdir, and set $testsrcdir to its old value.
  2024. * tests/installsh.test (AUTOMAKE, ACLOCAL): Use $testsrcdir.
  2025. 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
  2026. Fix for PR automake/310:
  2027. * lib/am/depend2.am, lib/am/lex.am, lib/am/yacc.am: Quote %SOURCE%
  2028. so it never appears as a plain word.
  2029. 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
  2030. * lib/depcomp (tru64): Correctly compute `base'.
  2031. 2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
  2032. * tests/pr211.test: s/requires/required/, otherwise the test fails
  2033. if libtool is not installed.
  2034. 2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
  2035. * tests/dirname.test: Don't use $SHELL when calling ./configure.
  2036. 2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
  2037. * tests/dirname.test: Use --quiet to fix failure on installations
  2038. using a site script.
  2039. Reported by Nicolas Joly.
  2040. 2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
  2041. * Makefile.am (maintainer-check): Check for misuses of make,
  2042. autoconf, automake, aclocal, and perl in the testsuite. Suggest
  2043. using $MAKE, $AUTOCONF, $AUTOMAKE, $ACLOCAL, and $PERL instead.
  2044. * tests/confsub.test: Use $AUTOCONF and $MAKE.
  2045. * tests/extra5.test, tests/extra6.test, tests/lex5.test,
  2046. tests/nobase.test, tests/nodist2.test, tests/pr204.test,
  2047. tests/pr224.test, tests/pr287.test, tests/strip.test,
  2048. tests/yacc8.test: Use $MAKE.
  2049. 2002-03-20 Alexandre Duret-Lutz <duret_g@epita.fr>
  2050. Add support for two-dot versions.
  2051. * tests/version5.test: New file.
  2052. * tests/Makefile.am (TESTS): Add it.
  2053. * automake.in (version_split, version_compare): New functions.
  2054. (version_check): Rewrite using version_split and version_compare.
  2055. (process_option_list): Adjust regex.
  2056. 2002-03-18 Richard Boulton <richard@tartarus.org>
  2057. Fix for PR automake/306:
  2058. * automake.texi (Generalities): Document +=.
  2059. (Conditionals): Document limitations of += with conditionals.
  2060. 2002-03-17 Tom Tromey <tromey@redhat.com>
  2061. Fix for PR automake/295:
  2062. * automake.texi (Invoking Automake): Deprecate --output-dir.
  2063. * automake.in (usage): Don't document --output-dir.
  2064. (output_directory): Don't initialize.
  2065. (parse_arguments): Deprecate --output-dir.
  2066. * m4/init.m4 (AUTOMAKE, ACLOCAL): Removed extra quotes.
  2067. Fixes PR automake/304.
  2068. 2002-03-17 Alexandre Duret-Lutz <duret_g@epita.fr>
  2069. * tests/dirforbid.test: Workaround for NetBSD sh bug.
  2070. Fixes PR automake/305.
  2071. 2002-03-11 Richard Boulton <richard@tartarus.org>
  2072. * automake.in (check_typos): Allow variables with reserved
  2073. suffices (such as _LDFLAGS) and prefixes which aren't
  2074. recognised if the variable is defined in configure.ac.
  2075. Fixes acsubst.test.
  2076. 2002-03-11 Richard Boulton <richard@tartarus.org>
  2077. * tests/acsubst.test: New test, by Alexandre Duret-Lutz
  2078. * tests/acsubst2.test: New test, by Alexandre Duret-Lutz
  2079. * tests/Makefile.am (TEST): Added acsubst.test and acsubst2.test
  2080. 2002-03-11 Peter Breitenlohner <peb@mppmu.mpg.de>
  2081. * tests/defs: Unset DESTDIR, otherwise `make DESTDIR=/foo check'
  2082. causes failures.
  2083. 2002-03-07 Alexandre Duret-Lutz <duret_g@epita.fr>
  2084. Fix for PR automake/303:
  2085. * automake.in (version_check): Move the error message ...
  2086. (process_option_list): ... here, so we can distinguish between
  2087. global and local options.
  2088. 2002-03-07 Alexandre Duret-Lutz <duret_g@epita.fr>
  2089. * tests/pr300-lib.test, tests/pr300-ltlib.test,
  2090. tests/pr300-prog.test: Use AC_OUTPUT, not AC_OUTPUT(Makefile), so
  2091. Autoconf doesn't complain about Makefile being output twice.
  2092. 2002-03-06 Tom Tromey <tromey@redhat.com>
  2093. * configure.in: Upped version to 1.6a.
  2094. 2002-03-05 Tom Tromey <tromey@redhat.com>
  2095. * configure.in: Released 1.6.
  2096. 2002-03-05 Alexandre Duret-Lutz <duret_g@epita.fr>
  2097. Fix for PR automake/300:
  2098. * tests/pr300-lib.test, tests/pr300-ltlib.test,
  2099. tests/pr300-prog.test: New files.
  2100. * tests/Makefile.am (TESTS): Add them.
  2101. * automake.in (handle_ltlibraries): Strip nobase_ prefix to
  2102. compute the directory.
  2103. * lib/am/header-vars.am (install_sh_PROGRAM): New variable.
  2104. * lib/am/libs.am (%DIR%LIBRARIES_INSTALL): New variable.
  2105. (install-%DIR%LIBRARIES): Use it. Honor nobase_.
  2106. (uninstall-%DIR%LIBRARIES): Honor nobase_.
  2107. * lib/am/ltlibs.am (%DIR%LTLIBRARIES_INSTALL): New variable.
  2108. (install-%DIR%LTLIBRARIES): Use it. Honor nobase_.
  2109. (uninstall-%DIR%LTLIBRARIES): Honor nobase_.
  2110. * lib/am/progs.am (%DIR%PROGRAMS_INSTALL): New variable.
  2111. (install-%DIR%PROGRAMS): Use it. Honor nobase_.
  2112. (uninstall-%DIR%PROGRAMS): Honor nobase_.
  2113. See also the fix for nobase.test on 2001-11-09.
  2114. 2002-03-05 Tom Tromey <tromey@redhat.com>
  2115. * lib/config.sub, lib/config.guess, lib/texinfo.tex: Updated.
  2116. 2002-03-05 Pavel Roskin <proski@gnu.org>
  2117. * tests/yacc8.test: Add a command between "test" and "cd" to
  2118. work around a bug in bash-2.05.
  2119. 2002-03-05 Alexandre Duret-Lutz <duret_g@epita.fr>
  2120. Fix for PR automake/294:
  2121. * tests/dirforbid.test: New file.
  2122. * tests/Makefile.am (TESTS): Add it.
  2123. * automake.in (standard_prefix): New hash.
  2124. (am_primary_prefixes): Forbid standard_prefixes which are not
  2125. explicitely allowed.
  2126. * automake.texi (Uniform): Remove FIXME.
  2127. 2002-03-05 Jim Meyering <meyering@lucent.com>
  2128. * automake.in (@common_files): Add config.rpath.
  2129. 2002-03-05 Kevin Ryde <user42@zip.com.au>
  2130. For PR automake/297:
  2131. * lex.m4 (AM_PROG_LEX): Don't set LEX=${am_missing_run}flex until
  2132. after AC_PROG_LEX, since it will try to run it and fail (in autoconf
  2133. 2.52 at least).
  2134. 2002-02-25 Alexandre Duret-Lutz <duret_g@epita.fr>
  2135. * automake.in (scan_one_autoconf_file): Declare
  2136. LEX_OUTPUT_ROOT and LEXLIB as configure variables when
  2137. AM_PROG_LEX or AC_PROG_LEX are seen. This allows to ...
  2138. * lib/am/lex.am: ... remove the LEX_OUTPUT_ROOT and LEXLIB
  2139. definitions. Search %SOURCE% in $(srcdir). Use s||| instead
  2140. of s/// in the sed invocation, to support filenames containing
  2141. slashes.
  2142. * lib/am/yacc.am: Search %SOURCE% in $(srcdir). Use s||| too.
  2143. * tests/lex5.test, tests/yacc8.test: New files.
  2144. * tests/Makefile.am (TESTS): Add them.
  2145. 2002-02-23 Per Bothner <per@bothner.com>
  2146. * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Set `dirpart' to
  2147. `.' in else branch.
  2148. 2002-02-22 Alexandre Duret-Lutz <duret_g@epita.fr>
  2149. * tests/make.test: Revert the grep logic to work around a bug
  2150. in NetBSD sh (see NetBSD Problem Report #11542).
  2151. Reported by Patrick Welche.
  2152. 2002-02-20 Tim Van Holder <tim.van.holder@pandora.be>
  2153. * m4/lispdir.m4: Redirect /dev/null to stdin when running $EMACS
  2154. to try and prevent a non-lisp emacs from starting in interactive
  2155. mode.
  2156. * automake.texi: Document this change.
  2157. 2002-02-19 Alexandre Duret-Lutz <duret_g@epita.fr>
  2158. * automake.texi (Macros): Split into ...
  2159. (Public Macros, Private Macros): ... these.
  2160. 2002-02-19 Alexandre Duret-Lutz <duret_g@epita.fr>
  2161. * tests/insthook.test: Use sed instead of "tail +X".
  2162. 2002-02-18 Paul Eggert <eggert@twinsun.com>
  2163. * lib/depcomp: Don't use "tail +3"; it's not portable to
  2164. POSIX 1003.1-2001 hosts.
  2165. 2002-02-18 Jim Meyering <meyering@lucent.com>
  2166. * tests/cond12.test: Use sed 1q, not `head -n 1'.
  2167. The latter is not portable to some old systems.
  2168. * m4/depout.m4: Don't use `head -1'; it's no longer portable.
  2169. Use `sed 1q' instead.
  2170. * tests/insthook.test: Likewise.
  2171. 2002-02-17 Alexandre Duret-Lutz <duret_g@epita.fr>
  2172. * automake.in (handle_lib_objects_cond): Tell the user to put
  2173. global linker flags in AM_LDFLAGS, not LDFLAGS.
  2174. * automake.texi (General Operation): AC_SUBST'ed variables
  2175. override Automake's variables.
  2176. (Uniform): More words and @refs.
  2177. (Auxiliary Programs) <config.sub, config.guess>: Add URL.
  2178. (etags): More explanations about the first example.
  2179. (Invoking Automake): Mention autoreconf. More @refs.
  2180. (Requirements): Mention AC_CONFIG_FILES.
  2181. (Optional): AC_CHECK_TOOL will no longer install config.sub and
  2182. config.guess. Mention AC_LIBOBJ, AC_LIBSOURCE, and AC_LIBSOURCES.
  2183. (Invoking aclocal): aclocal no longer warn about duplicates.
  2184. (Macros) <AM_INIT_AUTOMAKE>: More explanations.
  2185. (Extending aclocal): Suggest using the output of
  2186. `aclocal --print-ac-dir` to install third-party macros.
  2187. (Alternative): Specify ordering of dist_, nodist_, and nobase_
  2188. prefixes.
  2189. (A Program): Mention scripts. The global LDADD variable is not
  2190. meant to hold link flags, suggest using AM_LDFLAGS instead.
  2191. (Program and Library Variables) <maude_LIBADD, maude_LDADD>:
  2192. _LIBADD and _LDADD are subject to the same restriction wrt to
  2193. link flags.
  2194. (Program and Library Variables) <maude_DEPENDECIES>: Is also
  2195. derived from maude_LIBADD.
  2196. (Program variables): Define AM_LDFLAGS.
  2197. (Dependencies): Passing the no-dependencies option to
  2198. AM_INIT_AUTOMAKE is preferred.
  2199. (Scripts): Explain why automake is magically cleaned.
  2200. Mention noinst_SCRIPTS and check_SCRIPTS.
  2201. (Data): Use dist_ in Automake's example.
  2202. (Dist): Reference AM_INIT_AUTOMAKE for PACKAGE and VERSION.
  2203. Mention AC_CONFIG_FILES instead of AC_OUTPUT.
  2204. 2002-02-14 Alexandre Duret-Lutz <duret_g@epita.fr>
  2205. * Makefile.am (FETCHFILES): Add Automake/XFile.pm.
  2206. (fetch): Fetch XFile.pm. Update the files in $(srcdir) instead
  2207. of asking the maintainer to do it manually.
  2208. * lib/config.guess, lib/config.sub, lib/texinfo.tex,
  2209. Automake/XFile.pm: New upstream versions.
  2210. 2002-02-02 Tom Tromey <tromey@redhat.com>
  2211. * automake.texi (Macros): Warn about upgrading.
  2212. 2002-02-01 Tom Tromey <tromey@redhat.com>
  2213. Change per GNU coding standards:
  2214. * aclocal.in (parse_arguments): Only mention most recent year in
  2215. copyright output.
  2216. * automake.in (version): Only mention most recent year.
  2217. 2002-01-30 Alexandre Duret-Lutz <duret_g@epita.fr>
  2218. * automake.texi (API versioning): New Node.
  2219. (Extending): Use $(DESTDIR) in examples.
  2220. 2002-01-28 Akim Demaille <akim@epita.fr>
  2221. * m4/lispdir.m4 (AM_PATH_LISPDIR): Serial 5.
  2222. Respect the --help layout.
  2223. 2002-01-27 Tom Tromey <tromey@redhat.com>
  2224. * configure.in: Bumped to 1.5e.
  2225. * lib/am/yacc.am: Use `rm -f'.
  2226. * configure.in: Released 1.5d.
  2227. * lib/config.guess: New version from FSF.
  2228. * Makefile.am (uninstall-hook): New target.
  2229. 2002-01-24 Akim Demaille <akim@epita.fr>
  2230. * lib/install-sh: Update, from Autoconf.
  2231. 2002-01-24 Alexandre Duret-Lutz <duret_g@epita.fr>
  2232. * automake.in (scan_one_autoconf_file): Don't treat AC_CHECK_TOOL
  2233. as AC_CANONICAL_HOST (the former does not require the latter since
  2234. Autoconf 2.50).
  2235. * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Check for strip.
  2236. * automake.texi (Requirements): Do not require STRIP to be
  2237. defined by the user.
  2238. 2002-01-23 Alexandre Duret-Lutz <duret_g@epita.fr>
  2239. * lib/am/depend.am (distclean-depend): Erase %DEPDIRS%, not $(DEPDIRS).
  2240. * automake.in (handle_languages): Compute and substitute %DEPDIRS%.
  2241. * tests/pr224.test: Make sure .deps subdirectories are
  2242. erased by distclean.
  2243. 2002-01-22 Tom Tromey <tromey@redhat.com>
  2244. * m4/gcj.m4 (AM_PROG_GCJ): Don't invoke dependency code if
  2245. no-dependencies option is set.
  2246. * m4/init.m4 (AM_INIT_AUTOMAKE): Don't invoke dependency code if
  2247. no-dependencies option is set. Don't call AM_DEP_TRACK or
  2248. AM_SET_DEPDIR.
  2249. 2002-01-22 Pavel Roskin <proski@gnu.org>
  2250. * tests/asm.test: Use CCAS and CCASFLAGS instead of AS and
  2251. ASFLAGS.
  2252. 2002-01-22 Akim Demaille <akim@epita.fr>
  2253. * Makefile.am (FETCHFILES): Remove ansi2knr.c, add texinfo.tex.
  2254. (fetch): Adjust.
  2255. 2002-01-21 Tom Tromey <tromey@redhat.com>
  2256. * Makefile.am (fetch): Don't fetch ansi2knr.
  2257. * automake.texi (Macros): Updated for new variable names.
  2258. (Program and Library Variables): Likewise.
  2259. (Assembly Support): Likewise.
  2260. * m4/as.m4: Use CCAS and CCASFLAGS.
  2261. * automake.in (asm): Use CCAS and CCASFLAGS.
  2262. 2002-01-21 Akim Demaille <akim@epita.fr>
  2263. * automake.in (&parse_arguments): Use a more GNUish error message
  2264. on wrong options.
  2265. 2002-01-20 Tom Tromey <tromey@redhat.com>
  2266. Fix for PR automake/231:
  2267. * m4/gcj.m4 (AM_PROG_GCJ): Use _AM_DEPENDENCIES(GCJ).
  2268. * m4/depend.m4: Document `GCJ'.
  2269. For PR automake/224:
  2270. * tests/Makefile.am (TESTS): Added pr224.test.
  2271. * tests/pr224.test: New file.
  2272. * lib/depcomp: Fixed computation of depfile.
  2273. * lib/am/depend2.am: Use %DEPBASE%, not $(DEPDIR).
  2274. * automake.in (handle_single_transform_list): Only reject `..'
  2275. component for Java. Put dependencies in directory near object.
  2276. (handle_languages): Set DEPBASE. Handle de-ansi-fication.
  2277. 2002-01-20 Alexandre Duret-Lutz <duret_g@epita.fr>
  2278. * tests/defs: Export AUTOMAKE and ACLOCAL.
  2279. 2002-01-19 Alexandre Duret-Lutz <duret_g@epita.fr>
  2280. Fix for PR automake/204:
  2281. * tests/pr204.test: New file.
  2282. * tests/Makefile.am (TESTS): Add it.
  2283. * automake.in (handle_single_transform_list): Don't distribute
  2284. sources derived from non-distributed sources.
  2285. 2002-01-18 Alexandre Duret-Lutz <duret_g@epita.fr>
  2286. Fix for PR automake/229:
  2287. * tests/pr229.test: New file.
  2288. * tests/Makefile.am (TESTS): Add it.
  2289. * automake.in (scan_one_autoconf_file): Recognize AC_CYGWIN,
  2290. AC_EMXOS2, and AC_MINGW32.
  2291. 2002-01-18 Tom Tromey <tromey@redhat.com>
  2292. * tests/cond7.test: Fix test bug exposed by copyright update.
  2293. For PR automake/288:
  2294. * automake.in (lang_c_rewrite): Don't prepend directory to base if
  2295. directory is `.'. Also, properly compute de_ansi_files entry in
  2296. subdir-objects case
  2297. * tests/Makefile.am (TESTS): Added ansi7.test.
  2298. * tests/ansi7.test: New file.
  2299. * aclocal.in (parse_arguments): Added 2002.
  2300. (write_aclocal): Likewise.
  2301. (parse_arguments): Updated my email address.
  2302. * automake.in (gen_copyright): Added 2002.
  2303. (version): Likewise. Also, changed my email address.
  2304. * configure.in (APIVERSION): Refined definition.
  2305. 2002-01-18 Tom Tromey <tromey@redhat.com>
  2306. * missing: Updated.
  2307. * lib/missing: Accept versioned aclocal.
  2308. * m4/init.m4 (AM_INIT_AUTOMAKE): Look for versioned aclocal.
  2309. 2002-01-17 Pavel Roskin <proski@gnu.org>
  2310. * m4/Makefile.am (m4datadir): Use APIVERSION.
  2311. 2002-01-16 Tom Tromey <tromey@redhat.com>
  2312. * Makefile.am (install-exec-hook): Use APIVERSION.
  2313. * m4/init.m4 (AM_INIT_AUTOMAKE): Use am__api_version.
  2314. * m4/amversion.in (AM_AUTOMAKE_VERSION): Set am__api_version from
  2315. APIVERSION.
  2316. * automake.in (perllibdir): Use APIVERSION.
  2317. (libdir): Likewise.
  2318. * aclocal.in (perllibdir): Use APIVERSION.
  2319. (APIVERSION): New global.
  2320. (parse_arguments): Use APIVERSION.
  2321. * configure.in (APIVERSION): New subst.
  2322. (pkgvdatadir): Use APIVERSION.
  2323. 2002-01-15 Tom Tromey <tromey@redhat.com>
  2324. * missing: Updated.
  2325. * lib/missing: Match against `automake*' to pick up versioned
  2326. automake.
  2327. * m4/init.m4 (AM_INIT_AUTOMAKE): Use versioned automake name.
  2328. * m4/amversion.in (AM_AUTOMAKE_VERSION): Set am__version
  2329. variable.
  2330. * lib/am/Makefile.am (amdir): Use pkgvdatadir.
  2331. * lib/Makefile.am (dist_pkgvdata_DATA): Renamed to use
  2332. pkgvdatadir.
  2333. (scriptdir): Use pkgvdatadir.
  2334. (installcheck-local): Likewise.
  2335. * lib/Automake/Makefile.am (perllibdir): Use pkgvdatadir.
  2336. * automake.in (perllibdir): Added VERSION.
  2337. (libdir): Likewise.
  2338. * aclocal.in (parse_arguments): Search versioned directory. Don't
  2339. push unversioned directory unless it exists.
  2340. (perllibdir): Added VERSION.
  2341. (default_acdir): New global.
  2342. * m4/Makefile.am (m4datadir): Added $(VERSION).
  2343. * Makefile.am (install-exec-hook): New target.
  2344. * configure.in (ACLOCAL): Search build directory.
  2345. (pkgvdatadir): New subst.
  2346. 2002-01-15 Alexandre Duret-Lutz <duret_g@epita.fr>
  2347. * lib/config.sub, lib/config.guess: New versions from FSF.
  2348. 2002-01-13 Tom Tromey <tromey@redhat.com>
  2349. For PR automake/288:
  2350. * automake.in (lang_c_rewrite): Set value for de_ansi_files entry
  2351. to directory.
  2352. (lang_c_finish): Likewise. Also, use directory information from
  2353. de_ansi_files.
  2354. 2002-01-13 Kevin Ryde <user42@zip.com.au>
  2355. For PR automake/288:
  2356. * tests/Makefile.am (TESTS): Added ansi6.test.
  2357. * tests/ansi6.test: New file.
  2358. 2002-01-13 Tom Tromey <tromey@redhat.com>
  2359. For PR automake/287:
  2360. * lib/am/distdir.am (distdir): Use `$$list' trick when looping
  2361. over subdirs.
  2362. * tests/Makefile.am (TESTS): Added pr287.test.
  2363. * tests/pr287.test: New file.
  2364. 2002-01-13 Alexandre Duret-Lutz <duret_g@epita.fr>
  2365. * lib/am/distdir.am (distdir): Handle subdirectories.
  2366. * tests/extra6.test: New file.
  2367. * tests/Makefile.am (TESTS): Add it.
  2368. 2002-01-13 Alexandre Duret-Lutz <duret_g@epita.fr>
  2369. * tests/extra2.test: Run $ACLOCAL.
  2370. 2002-01-12 Alexandre Duret-Lutz <duret_g@epita.fr>
  2371. * m4/init.m4 (AM_INIT_AUTOMAKE): Set PACKAGE and VERSION from
  2372. AM_INIT_AUTOMAKE arguments when using the old-style call.
  2373. Use AC_PACKAGE_TARNAME and AC_PACKAGE_VERSION in the new form only.
  2374. Suggested by Pavel Roskin.
  2375. 2002-01-12 Alexandre Duret-Lutz <duret_g@epita.fr>
  2376. * test/nodefine.test, test/nodefine2.test: Check that no-define
  2377. works, not the contrary...
  2378. * m4/options.m4 (_AM_IF_OPTIONS): Use m4_ifset.
  2379. * m4/init.m4 (AM_INIT_AUTOMAKE): A third argument implies no-define,
  2380. not the contrary.
  2381. 2002-01-12 Jim Meyering <meyering@lucent.com>
  2382. * automake.in (scan_one_autoconf_file): Unquote AC_LIBOBJ argument.
  2383. * tests/libobj11.test: New file.
  2384. * tests/Makefile.am (TESTS): Add libobj11.test.
  2385. 2002-01-09 Ryan T. Sammartino <ryants@shaw.ca>
  2386. * lib/depcomp (msvisualcpp): Strip -Gm, -Gi, and -ZI options.
  2387. 2002-01-09 Alexandre Duret-Lutz <duret_g@epita.fr>
  2388. * automake.in (file_contents_internal): Introduce two variables,
  2389. $is_rule and $discard_rules to track rules spanning across multiple
  2390. paragraphs. This fixes a very nasty bug reported by Dmitry Mikhin
  2391. where only the first paragraph of such a multi-paragraph rule was
  2392. discarded; but it leaves many similar latent bugs (see the FIXMEs).
  2393. 2002-01-09 Alexandre Duret-Lutz <duret_g@epita.fr>
  2394. * tests/dup3.test: Remove all -I from $ACLOCAL before using it.
  2395. * tests/error.test: Use some macro names which are not defined by
  2396. Automake itself.
  2397. 2002-01-09 Alexandre Duret-Lutz <duret_g@epita.fr>
  2398. * automake.texi (Complete, Macros, Options): Document the new style
  2399. AM_INIT_AUTOMAKE. Remove AM_AUTOMAKE_OPTIONS documentaion.
  2400. * m4/init.m4 (AM_INIT_AUTOMAKE): Get PACKAGE and VERSION from
  2401. AC_INIT if they are available there. Support a new call form
  2402. where the only argument is an optional space-separated list of
  2403. Automake options.
  2404. * m4/options.m4 (AM_AUTOMAKE_OPTIONS): Remove.
  2405. (_AM_MANGLE_OPTION, _AM_SET_OPTION, _AM_SET_OPTIONS,
  2406. _AM_IF_OPTION): New functions.
  2407. * automake.in (AC_INIT_PATTERN): New variable.
  2408. (global_options_line): Remove, use $seen_init_automake instead.
  2409. (scan_one_autoconf_file, scan_autoconf_traces): Set $package_version
  2410. from AC_INIT if available. Support the new style AM_INIT_AUTOMAKE.
  2411. Remove the AM_AUTOMAKE_OPTIONS handling.
  2412. * configure.in: Modernize.
  2413. * tests/defs (configure.in): Modernize. One third of the tests
  2414. still overwrite the default configure.in and use an old
  2415. AM_INIT_AUTOMAKE call, so that makes testing for both.
  2416. * tests/nodefine.test, tests/nodefine2.test: New files.
  2417. * tests/Makefile.am (TESTS): Add them.
  2418. 2002-01-08 Raja R Harinath <harinath@cs.umn.edu>
  2419. * automake.in (define_configure_variable): Propagate line numbers.
  2420. 2002-01-08 Alexandre Duret-Lutz <duret_g@epita.fr>
  2421. * m4/python.m4 (_AM_PYTHON_INTERPRETER_LIST): Add python2.2.
  2422. 2002-01-07 Alexandre Duret-Lutz <duret_g@epita.fr>
  2423. * configure.in: Run the Autoconf test in a subdirectory, then
  2424. erase this directory.
  2425. 2002-01-07 Alexandre Duret-Lutz <duret_g@epita.fr>
  2426. * configure.in (AUTOMAKE): Create m4/amversion.m4.
  2427. * m4/amversion.in: New file.
  2428. * m4/Makefile.am (m4data_DATA, EXTRA_DIST): Replace by ...
  2429. (dist_m4data_DATA): ... this.
  2430. (nodist_m4data_DATA, DISTCLEANFILES): Add amversion.m4.
  2431. * m4/init.m4 (AM_INIT_AUTOMAKE): Require
  2432. AM_SET_CURRENT_AUTOMAKE_VERSION.
  2433. * automake.in (seen_automake_version): New variable.
  2434. (scan_autoconf_traces, scan_one_autoconf_file,
  2435. scan_autoconf_files): Scan for AM_AUTOMAKE_VERSION and complain
  2436. when the version used in aclocal.m4 differs from Automake's.
  2437. * tests/defs (ACLOCAL): Look in ../m4 too.
  2438. * tests/installsh.test (ACLOCAL): Likewise.
  2439. * tests/installdir.test (installdirs-local): Run $ACLOCAL.
  2440. 2002-01-06 Raja R Harinath <harinath@cs.umn.edu>
  2441. * automake.in (handle_languages): Emit an automake
  2442. internal variable 'am__depfiles_maybe'.
  2443. * lib/am/configure.am (%MAKEFILE%): Use am__depfiles_maybe.
  2444. * lib/am/configure.am (%MAKEFILE%): Pass `depfiles' to
  2445. config.status.
  2446. 2002-01-06 Tom Tromey <tromey@redhat.com>
  2447. * automake.texi (Tags): Document new variables.
  2448. * lib/am/tags.am (ETAGS): New macro.
  2449. (ETAGSFLAGS): Likewise.
  2450. (TAGS): Use them.
  2451. 2002-01-04 Tom Tromey <tromey@redhat.com>
  2452. * configure.in (ACLOCAL): Set perllibdir. From Nicolas Joly.
  2453. 2002-01-04 Alexandre Duret-Lutz <duret_g@epita.fr>
  2454. * automake.in (read_am_file): Thinko in "comment following
  2455. trailing backslash" detection.
  2456. * tests/comment5.test: Test for this too.
  2457. 2002-01-02 Tom Tromey <tromey@redhat.com>
  2458. * automake.texi (Extending): Added index for uninstall-hook.
  2459. 2002-01-02 Alexandre Duret-Lutz <duret_g@epita.fr>
  2460. Fix for PR automake/278:
  2461. * m4/python.m4 (AM_PYTHON_CHECK_VERSION): Use `sys.hexversion' to cope
  2462. with versions such as '2.2c1'. Also, use `int' instead of the
  2463. obsoleted `string.atoi'.
  2464. Reported by Enrico Scholz.
  2465. 2002-01-02 Alexandre Duret-Lutz <duret_g@epita.fr>
  2466. Fix for PR automake/280:
  2467. * automake.in (read_am_file): Warn about trailing backslashes
  2468. in comments.
  2469. * tests/comment5.test: New file.
  2470. * tests/Makefile.am (TESTS): Add comment5.test.
  2471. Reported by Enrico Scholz.
  2472. 2002-01-02 Alexandre Duret-Lutz <duret_g@epita.fr>
  2473. * tests/comment4.test: New file.
  2474. * tests/Makefile.am (TESTS): Add comment4.test.
  2475. Fix for comment4.test:
  2476. * automake.in (read_am_file): Output leading comments only when
  2477. encountering white lines.
  2478. 2002-01-01 Tom Tromey <tromey@redhat.com>
  2479. For PR automake/234:
  2480. * tests/Makefile.am (TESTS): Added strip.test.
  2481. * tests/strip.test: New file.
  2482. * automake.texi (Extending): Mention uninstall-hook.
  2483. (Install): Likewise.
  2484. * automake.in (handle_factored_dependencies): Allow
  2485. uninstall-hook.
  2486. 2002-01-01 Alexandre Duret-Lutz <duret_g@epita.fr>
  2487. * lib/am/install.am (install-strip): Set INSTALL_STRIP_FLAG=-s,
  2488. it is needed by install-%DIR%LTLIBRARIES in ltlib.am.
  2489. This fixes a bug introduced on 2001-01-28.
  2490. Reported by Jared Davis.
  2491. -----
  2492. Copyright (C) 2002-2017 Free Software Foundation, Inc.
  2493. Copying and distribution of this file, with or without modification, are
  2494. permitted provided the copyright notice and this notice are preserved.