ChangeLog.3 835 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224
  1. 2012-01-15 Jim Meyering <meyering@redhat.com>
  2. getopt: refine syntax of previous change
  3. * lib/Autom4te/General.pm (getopt): Use a more concise test.
  4. 2011-01-15 Stefano Lattarini <stefano.lattarini@gmail.com>
  5. getopt: remove hack for special handling of "-" argument
  6. Older versions of Getopt::Long acted bogusly and died when they
  7. where configured with the 'bundling' flag and an argument '-' was
  8. seen on the command line they were parsing. That is no longer
  9. the case though, and has not been for quite a long time: the bug
  10. is no longer present in the 5.6.2 version of perl and the 2.25
  11. version of Getopt::Long (and today, the latest versions of perl
  12. and Getopt::Long are respectively 5.14.2 and 2.38). The obsolete
  13. workaround for that Getopt::Long bug can thus be removed from our
  14. 'getopt' function.
  15. It is also worth noting that such a workaround was quite buggy
  16. and brittle itself; for example, a command like this:
  17. "autom4te --output -"
  18. would have caused the incorrect diagnostic:
  19. "autom4te: option `--output' requires an argument"
  20. Much worse, a command like this:
  21. "autom4te --language=autoconf --output - configure.ac"
  22. would have caused the standard input of autom4te to be processed
  23. and copied into the 'configure.ac' file, deleting its pre-existing
  24. content! Surely not what a user would have expected.
  25. After this change, a command like this:
  26. autom4te --language=autoconf --output - - <configure.ac >out
  27. works as expected, processing the input from 'configure.ac' and
  28. writing it to the 'out' file.
  29. * lib/Autom4te/General.pm (use): Require perl version 5.6.2.
  30. (getopt): Remove the old workaround.
  31. 2012-01-15 Jim Meyering <meyering@redhat.com>
  32. avoid new warning about undefined $ARGV[0]
  33. * lib/Autom4te/General.pm (getopt): Avoid warning induced by
  34. yesterday's change: $ARGV[0] may not be defined, e.g., when
  35. invoked via autoreconf.
  36. 2011-01-14 Stefano Lattarini <stefano.lattarini@gmail.com>
  37. getopt: fix diagnostic for missing mandatory option argument
  38. Before this change, an incorrect command line usage:
  39. "autom4te --output"
  40. triggered broken diagnostic like:
  41. "autom4te: unrecognized option `--output'"
  42. instead of the expected and correct:
  43. "autom4te: option `--output' requires an argument"
  44. * lib/Autom4te/General.pm (getopt): Give correct diagnostic in
  45. case of usage errors due to missing arguments for options for
  46. which they are mandatory. Code basically copied from automake's
  47. 'parse_arguments' private subroutine.
  48. 2012-01-05 Paul Eggert <eggert@cs.ucla.edu>
  49. doc: mention Bash 2.03 bug with backslash-newline
  50. * doc/autoconf.texi (Invoking the Shell): New section.
  51. (Backslash-Newline-Empty): Rename from Backslash-Newline-Newline.
  52. Mention problem with Bash 2.03.
  53. doc: clarify sed buffer limit
  54. * doc/autoconf.texi (Limitations of Usual Tools):
  55. That 4000-byte limit applies to output and internal buffers, too.
  56. 2012-01-03 Paul Eggert <eggert@cs.ucla.edu>
  57. maint: update copyright year
  58. All files changed to add 2012, via 'make update-copyright'.
  59. maint: resync upstream files
  60. * ChangeLog, GNUmakefile, build-aux/announce-gen:
  61. * build-aux/config.guess, build-aux/config.sub, build-aux/gendocs.sh:
  62. * build-aux/git-version-gen, build-aux/move-if-change:
  63. * build-aux/texinfo.tex, build-aux/update-copyright:
  64. * build-aux/vc-list-files, doc/fdl.texi, doc/gendocs_template:
  65. * doc/standards.texi, lib/Autom4te/XFile.pm, m4/autobuild.m4:
  66. Regenerated by 'make fetch'.
  67. 2012-01-02 Paul Eggert <eggert@cs.ucla.edu>
  68. autoconf: remove " -link" and ")" from xlf output
  69. * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT):
  70. Also remove " -link" and trailing ")" from xlf output.
  71. Problem and fix reported by Thomas Jahns in
  72. <http://lists.gnu.org/archive/html/bug-autoconf/2012-01/msg00000.html>.
  73. 2011-12-26 Stefano Lattarini <stefano.lattarini@gmail.com>
  74. configure: will re-execute with $CONFIG_SHELL, if it's set
  75. * lib/m4sugar/general.m4 (_AS_DETECT_BETTER_SHELL): Define the macro
  76. `_AS_FORCE_REEXEC_WITH_CONFIG_SHELL' to `yes', so that the code in
  77. `_AS_DETECT_BETTER_SHELL' will cause autoconf-generated configure
  78. scripts to always re-execute themselves with $CONFIG_SHELL, if it's
  79. set in the environment.
  80. * doc/autoconf.texi (config.status Invocation): Update.
  81. * doc/install.texi (Defining Variables): Likewise.
  82. * NEWS: Likewise.
  83. * tests/m4sh.at: Add tests for the new semantics in ...
  84. (Configure re-execs self with CONFIG_SHELL): ... this new
  85. test group.
  86. 2011-12-26 Stefano Lattarini <stefano.lattarini@gmail.com>
  87. m4sh: allow forced re-execution with $CONFIG_SHELL, if it's set
  88. * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): If the m4sh client
  89. has defined the macro `_AS_FORCE_REEXEC_WITH_CONFIG_SHELL' to
  90. "yes", emit code to always re-execute the current script with
  91. $CONFIG_SHELL, if that's set.
  92. * tests/m4sh.at: Add tests for the new and old semantics, in ...
  93. (Re-exec with CONFIG_SHELL, Forced re-exec with CONFIG_SHELL): ...
  94. these new test groups.
  95. 2011-12-26 Stefano Lattarini <stefano.lattarini@gmail.com>
  96. m4sh: refactor _AS_DETECT_BETTER_SHELL, for future changes
  97. * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Move code to
  98. handle the re-execution of the shell ...
  99. (_AS_REEXEC_WITH_SHELL): ... in this new macro.
  100. 2011-12-24 Stefano Lattarini <stefano.lattarini@gmail.com>
  101. docs: issue with shell functions and here-documents on Solaris
  102. * doc/autoconf.texi (Here-Documents): Using a command substitution
  103. in a here-documents being fed to a shell function is unportable.
  104. Problem revealed by the automake testsuite:
  105. <http://lists.gnu.org/archive/html/automake-patches/2011-12/msg00149.html>
  106. 2011-12-26 Paul Eggert <eggert@cs.ucla.edu>
  107. AS_LN_S: fall back on 'cp -pR' (not 'cp -p') if 'ln -s' fails
  108. This works better for symlinks to directories.
  109. Problem reported by Eli Zaretskii via Werner Lemberg in
  110. <http://lists.gnu.org/archive/html/bug-autoconf/2011-12/msg00006.html>.
  111. * NEWS:
  112. * doc/autoconf.texi (Particular Programs): Document this.
  113. * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): Implement this.
  114. 2011-12-07 Paul Eggert <eggert@cs.ucla.edu>
  115. AC_LANG_BOOL_COMPILE_TRY(C): port to g++ with warnings
  116. * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Use the
  117. array as well as setting it, to pacify g++. Reported by
  118. Werner Lemberg in
  119. <http://lists.gnu.org/archive/html/autoconf/2011-12/msg00005.html>.
  120. 2011-12-05 Paul Eggert <eggert@cs.ucla.edu>
  121. doc: document GNU make's \#
  122. * doc/autoconf.texi (Comments in Make Macros): Also mention \#
  123. in the right hand side of a macro, as an unportable usage.
  124. 2011-11-11 Eric Blake <eblake@redhat.com>
  125. doc: tweak previous commit
  126. * doc/autoconf.texi (Limitations of Builtins) <export>: Give
  127. concrete example of offender, and drop redundant text.
  128. Reported by Stefano Lattarini.
  129. doc: mention export portability hint
  130. * doc/autoconf.texi (Limitations of Builtins) <export>: Document
  131. export limitation.
  132. Suggested by Bruno Haible.
  133. 2011-10-21 Stefano Lattarini <stefano.lattarini@gmail.com>
  134. fortran: define $GFC to "yes" if $FC is a GNU compiler
  135. * lib/autoconf/fortran.m4 (AC_PROG_FC): Define `$GFC' to "yes" if
  136. the detected fortran compiler is a GNU compiler, define it to the
  137. empty string otherwise.
  138. This is mostly for consistency for what is done for the C, C++
  139. and Fortran 77 compilers.
  140. * doc/automake.texi: Update.
  141. 2011-10-13 Eric Blake <eblake@redhat.com>
  142. admin: mention recent copyright assignments
  143. * AUTHORS: Update list.
  144. 2011-10-06 Stefano Lattarini <stefano.lattarini@gmail.com>
  145. docs: we prefer US English spelling over British one
  146. * doc/autoconf.texi (Parallel Make): Prefer `behavior' over
  147. `behaviour' in a couple of places.
  148. 2011-10-06 Stefano Lattarini <stefano.lattarini@gmail.com>
  149. docs: some fixlets in section about shell signal handling
  150. * doc/autoconf.texi (Signal handling): Rename ...
  151. (Signal Handling): ... to this, for consistency with other node
  152. names. Fix some typos and grammaros. Add more URL references
  153. in comments.
  154. 2011-10-06 Stefano Lattarini <stefano.lattarini@gmail.com>
  155. docs: korn shells can have $? > 256 for signal-terminated children
  156. Some Korn shells, when a child process dies due to signal number
  157. n, can leave in $? an exit status of 256+n, instead of the more
  158. common 128+n. See also Austin Group issue 0000051:
  159. <http://www.austingroupbugs.net/view.php?id=51>
  160. * doc/autoconf.texi (Signal handling): Document the described Korn
  161. Shell behaviour, and some of its possible shortcomings.
  162. Suggestion by Eric Blake.
  163. 2011-09-26 Eric Blake <eblake@redhat.com>
  164. docs: relax documentation license by dropping cover text
  165. * doc/autoconf.texi (copying): Drop front- and back-cover texts.
  166. * NEWS: Document this.
  167. Reported by Brian Gough.
  168. 2011-09-13 Stefano Lattarini <stefano.lattarini@gmail.com>
  169. docs: signal-related bugs and incompatibilities for the shells
  170. Motivated by recent discussion on the bug-autoconf list, as well
  171. as work in the automake testsuite:
  172. <https://lists.gnu.org/archive/html/bug-autoconf/2011-09/msg00003.html>
  173. <https://lists.gnu.org/archive/html/bug-autoconf/2011-09/msg00004.html>
  174. <http://lists.gnu.org/archive/html/automake-patches/2011-09/msg00066.html>
  175. * doc/autoconf.texi (Signal handling): New paragraph.
  176. (@menu at "Portable Shell", @detailmenu): Update.
  177. 2011-09-19 Eric Blake <eblake@redhat.com>
  178. docs: refer to correct AC_RUN_IFELSE parameter name
  179. * doc/autoconf.texi (Runtime) <AC_RUN_IFELSE>: Fix wording.
  180. Reported by Reuben Thomas.
  181. 2011-09-16 Eric Blake <eblake@redhat.com>
  182. docs: fix typo in shell example
  183. * doc/autoconf.texi (Shell Substitutions): Fix typo.
  184. * THANKS: Update.
  185. Reported by Nick Bowler.
  186. 2011-09-14 Stefano Lattarini <stefano.lattarini@gmail.com>
  187. docs: more details about make VPATH rewriting woes
  188. * doc/autoconf.texi (Automatic Rule Rewriting): Solaris make
  189. VPATH rewriting applies to any whitespace-separated word in a
  190. rule, so it might apply also to shell variables, functions
  191. and keywords (and automake has already tripped on this once);
  192. document this, with an example. Since we are at it, do some
  193. minor reformatting of existing text.
  194. 2011-09-13 Stefano Lattarini <stefano.lattarini@gmail.com>
  195. docs: document Solaris 10 /bin/ksh and XPG4 sh 'unset' bug
  196. * doc/autoconf.texi (Limitations of Builtins): Solaris 10 ksh
  197. and XPG4 sh also fails upon `unset' of a variable that is not
  198. set.
  199. 2011-07-24 Jim Meyering <meyering@redhat.com>
  200. docs: improve the prose describing _AC_CHECK_TYPE_NEW_BODY
  201. * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW_BODY): Improve prose.
  202. 2011-08-31 Paul Eggert <eggert@cs.ucla.edu>
  203. AC_C_CONST: don't reject gcc -Werror -Wall
  204. * lib/autoconf/c.m4 (AC_C_CONST): Don't reject gcc when it is used
  205. with -Werror -Wall during configuring. It's unwise to use GCC
  206. that way, but apparently enough people do it nowadays that it's an
  207. issue. These days nobody uses the old compilers that the old
  208. tests reject, so we can't test this fix against them, but it's
  209. more important to work with modern GCC (even when misused) than to
  210. work with no-longer-used compilers. Problem reported by Shevek in
  211. <http://lists.gnu.org/archive/html/bug-autoconf/2008-11/msg00007.html>
  212. and raised again by Dan Kegel in
  213. <http://lists.gnu.org/archive/html/bug-autoconf/2011-08/msg00020.html>.
  214. 2011-08-16 Stefano Lattarini <stefano.lattarini@gmail.com>
  215. docs: other issues with parallel BSD make
  216. Motivated by automake bug#9245:
  217. <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9245>
  218. and FreeBSD PR bin/159730:
  219. <http://www.freebsd.org/cgi/query-pr.cgi?pr=159730>
  220. * doc/autoconf.texi (Parallel Make): Document other BSD make
  221. incompatibilities. Reorganize the existing related documentation
  222. accordingly.
  223. 2011-08-08 Stefano Lattarini <stefano.lattarini@gmail.com>
  224. docs: fix minor typos
  225. * doc/autoconf.texi (Shell Functions): Fix a couple of minor typos.
  226. 2011-08-04 Stefano Lattarini <stefano.lattarini@gmail.com>
  227. docs: another Solaris sh bug with redirected `:'
  228. * doc/autoconf.texi (File Descriptors): Solaris 10 /bin/sh
  229. "optimizes" away redirected `:' commands in a shell function
  230. after the first call.
  231. 2011-07-31 Paul Eggert <eggert@cs.ucla.edu>
  232. docs: modernize treatment of ns-resolution timestamps
  233. * doc/autoconf.texi (Limitations of Usual Tools): ns-resolution time
  234. stamps are now routinely supported by coreutils 'cp' etc.
  235. 2011-07-30 Paul Eggert <eggert@cs.ucla.edu>
  236. * lib/autoconf/specific.m4 (AC_SYS_LARGEFILE): Port to Mac OS X 10.5
  237. by defining _DARWIN_USE_64_BIT_INODE. Imported from gnulib.
  238. 2011-07-22 Paul Eggert <eggert@cs.ucla.edu>
  239. * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): Quote cleanly.
  240. This is imported from gnulib. gnulib also has an HP-UX 11.11 fix, but
  241. let's see if we can do that another way, as it's pretty heavyweight.
  242. 2011-07-22 Eric Blake <eblake@redhat.com>
  243. docs: fix minor doc problems
  244. * doc/autoconf.texi (Why Not Imake): Fix grammar.
  245. (autoreconf Invocation): Fix short option for --version.
  246. * THANKS: Update.
  247. Reported by Christophe Jarry and Russ Allbery.
  248. 2011-07-12 Benoit Sigoure <tsunanet@gmail.com> (tiny change)
  249. docs: fix typo in AC_PATH_PROG
  250. * doc/autoconf.texi (Erlang Compiler and Interpreter):
  251. s/AC_PROG_PATH/AC_PATH_PROG/.
  252. * THANKS: Update.
  253. 2011-06-30 Paul Eggert <eggert@cs.ucla.edu>
  254. * tests/semantics.at (AC_REPLACE_FUNCS): Test for just-fixed bug.
  255. 2011-06-30 Timo Kamph <timo.kamph@tu-harburg.de> (trivial change)
  256. * lib/autoconf/functions.m4 (_AC_REPLACE_FUNCS): Fix tr-cpp problem.
  257. See http://lists.gnu.org/archive/html/bug-autoconf/2011-06/msg00058.html
  258. 2011-06-19 Paul Eggert <eggert@cs.ucla.edu>
  259. * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Be even smarter.
  260. GCC was too smart for the previous patch. See
  261. <http://lists.gnu.org/archive/html/bug-autoconf/2011-06/msg00035.html>.
  262. 2011-06-18 Paul Eggert <eggert@cs.ucla.edu>
  263. * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Try to outsmart GCC.
  264. Problem with stack-detection code reported by Andy Wingo in
  265. <http://lists.gnu.org/archive/html/bug-autoconf/2011-06/msg00032.html>.
  266. This fix is imported from gnulib's c-stack module.
  267. * doc/autoconf.texi (File Descriptors): Fix texinfo typo.
  268. 2011-06-14 Eric Blake <eblake@redhat.com>
  269. doc: mention more about ksh cloexec behavior
  270. * doc/autoconf.texi (File Descriptors): Clarify that only the exec
  271. builtin suffers from cloexec issues.
  272. doc: update quoting example
  273. * doc/autoconf.texi (Autoconf Language): Add AC_LANG_SOURCE use.
  274. * THANKS: Update.
  275. Reported by Křištof Želechovski.
  276. 2011-05-05 Eric Blake <eblake@redhat.com>
  277. doc: document dash bug with positional parameters
  278. * doc/autoconf.texi (Shell Substitutions) <${10}>: Document
  279. a pitfall with $10.
  280. 2011-04-27 Eric Blake <eblake@redhat.com>
  281. docs: document NetBSD join bug
  282. * doc/autoconf.texi (Limitations of Usual Tools) <join>: Mention
  283. bug in -a parsing.
  284. Reported by J.T. Conklin.
  285. 2011-04-13 Eric Blake <eblake@redhat.com>
  286. maint: reflect recent copyright assignments
  287. * AUTHORS: Update.
  288. 2011-04-05 Eric Blake <eblake@redhat.com>
  289. maint: reflect recent copyright assignments
  290. * AUTHORS: Update.
  291. 2011-04-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  292. New macro AC_FC_PP_DEFINE for the preprocessor define flag.
  293. * lib/autoconf/fortran.m4 (AC_FC_PP_DEFINE): New macro.
  294. * lib/autom4te.in (Automake-preselections): Preselect it.
  295. * doc/autoconf.texi (Fortran Compiler): Document it.
  296. * tests/local.at (_AT_CHECK_ENV): Do not complain about
  297. FCFLAGS_F nor FC_DEFINE.
  298. * NEWS: Update.
  299. New macro AC_FC_PP_SRCEXT for preprocessed file extensions.
  300. * lib/autoconf/fortran.m4 (AC_FC_PP_SRCEXT): New macro.
  301. * lib/autom4te.in (Automake-preselections): Preselect it.
  302. * doc/autoconf.texi (Fortran Compiler): Document it, rewriting
  303. the documentation for AC_FC_SRCEXT along the way.
  304. * tests/fortran.at (AC_FC_PP_SRCEXT usage): New test.
  305. * tests/mktests.sh: Exclude the macro from default testing.
  306. * NEWS: Update.
  307. New macro AC_FC_MODULE_OUTPUT_FLAG: module output directory.
  308. * lib/autoconf/fortran.m4 (AC_FC_MODULE_OUTPUT_FLAG): New macro.
  309. * doc/autoconf.texi (Fortran Compiler): Document it.
  310. * tests/local.at (_AT_CHECK_ENV): Do not complain about
  311. FC_MODOUT.
  312. * NEWS: Update.
  313. 2011-04-02 Luc Maisonobe <luc@spaceroots.org>
  314. Julian C. Cummings <cummings@cacr.caltech.edu>
  315. Alexander Pletzer <pletzer@txcorp.com>
  316. Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  317. New macro AC_FC_MODULE_FLAG: Fortran 90 module include path.
  318. * lib/autoconf/fortran.m4 (AC_FC_MODULE_FLAG): New macro,
  319. adjusted and rewritten from the AX_F90_MODULE_FLAG macro from
  320. the Autoconf Macro Archive by Luc Maisonobe, Julian C. Cummings,
  321. and Alexander Pletzer.
  322. * doc/autoconf.texi (Fortran Compiler): Document it.
  323. * tests/fortran.at (AC_FC_MODULE_FLAG): New test.
  324. * tests/local.at (AT_CHECK_ENV): Do not complain about FC_MODINC
  325. setting.
  326. * NEWS, THANKS: Update.
  327. 2011-04-02 Luc Maisonobe <luc@spaceroots.org>
  328. Alexander Pletzer <pletzer@txcorp.com>
  329. Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  330. New macro AC_FC_MODULE_EXTENSION: Fortran 90 module extension.
  331. * lib/autoconf/fortran.m4 (AC_FC_MODULE_EXTENSION): New macro,
  332. rewritten from the AX_F90_MODULE_EXTENSION macro from the
  333. Autoconf Macro Archive by Luc Maisonobe and Alexander Pletzer.
  334. * doc/autoconf.texi (Fortran Compiler): Document it.
  335. * tests/local.at (_AT_CHECK_ENV): Do not complain about
  336. FC_MODEXT setting.
  337. * NEWS, THANKS: Update.
  338. 2011-03-26 Jim Meyering <meyering@redhat.com>
  339. README-hacking: fix typo
  340. * README-hacking: s/just build/just built/.
  341. 2011-03-08 Colin Watson <cjwatson@debian.org> (tiny change)
  342. Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  343. * doc/autoconf.texi (Particular Functions): Document AC_FUNC_FORK
  344. cache variables.
  345. * THANKS: Update.
  346. 2011-03-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  347. docs: BSD and Solaris make trailing space macro issue.
  348. * doc/autoconf.texi (Trailing whitespace in Make Macros):
  349. Document issue with trailing whitespace in macro settings.
  350. 2011-03-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  351. Fix Cray Fortran flag for AC_FC_IMPLICIT_NONE.
  352. * lib/autoconf/fortran.m4 (_AC_FC_IMPLICIT_NONE): Use -e I
  353. not -d i, for Cray ftn.
  354. * THANKS: Update.
  355. Thanks to Tobias Burnus for feedback and testing.
  356. docs: document several Fortran and OpenMP cache variables.
  357. * doc/autoconf.texi (Generic Compiler Characteristics)
  358. [AC_OPENMP]: Document associated cache variables.
  359. (Fortran Compiler) [AC_PROG_F77, AC_PROG_FC, AC_PROG_F77_C_O]
  360. [AC_PROG_FC_C_O, AC_F77_LIBRARY_LDFLAGS, AC_FC_LIBRARY_LDFLAGS]
  361. [AC_F77_DUMMY_MAIN, AC_FC_DUMMY_MAIN, AC_F77_MAIN, AC_FC_MAIN]
  362. [AC_F77_WRAPPERS, AC_FC_WRAPPERS, AC_FC_FREEFORM]
  363. [AC_FC_FIXEDFORM, AC_FC_LINE_LENGTH, AC_FC_CHECK_BOUNDS]
  364. [AC_F77_IMPLICIT_NONE, AC_FC_IMPLICIT_NONE]: Document and/or
  365. index the cache variables used by these macros.
  366. 2011-03-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  367. and Eric Blake <eblake@redhat.com>
  368. build: exclude M4 with buggy strstr
  369. * m4/m4.m4 (AC_PROG_GNU_M4): When searching PATH, do not accept
  370. an m4 that has either the gnulib strstr bug, or the glibc/gnulib
  371. strstr bug.
  372. 2011-03-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  373. docs: fix description of AC_F77_IMPLICIT_NONE.
  374. * doc/autoconf.texi (Fortran Compiler) [AC_F77_IMPLICIT_NONE]:
  375. This macro modifies FFLAGS, not FCFLAGS.
  376. AC_FC_SRCEXT: allow gfortran to compile .f77 files.
  377. * lib/autoconf/fortran.m4 (AC_FC_SRCEXT): Try '-x f77' for .f77
  378. files, '-x f95' for others, for gfortran.
  379. New macros AC_{F77,FC}_IMPLICIT_NONE to disable Fortran implicit int.
  380. * lib/autoconf/fortran.m4 (_AC_FC_IMPLICIT_NONE): New internal
  381. macro.
  382. (AC_F77_IMPLICIT_NONE, AC_FC_IMPLICIT_NONE): New macros.
  383. * doc/autoconf.texi (Fortran Compiler): Document them.
  384. * NEWS: Update.
  385. New macro AC_FC_CHECK_BOUNDS to enable Fortran array bounds checking.
  386. * lib/autoconf/fortran.m4 (AC_FC_CHECK_BOUNDS): New macro.
  387. * doc/autoconf.texi (Fortran Compiler): Document it.
  388. * tests/fortran.at (AC_FC_CHECK_BOUNDS): New test.
  389. * NEWS: Update.
  390. Prompted by report from Eve-Marie Devaliere.
  391. 2011-03-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  392. Update known compiler switches for Fortran and OpenMP macros.
  393. * lib/autoconf/c.m4 (AC_OPENMP): Update for Lahey on GNU/Linux.
  394. * lib/autoconf/fortran.m4 (_AC_F95_FC): Also try nagfor.
  395. (_AC_PROG_FC_V): Update documentation for Lahey switches.
  396. (AC_FC_FREEFORM, AC_FC_FIXEDFORM): Add flags for Absoft, Lahey
  397. on GNU/Linux, document NAGWare, g95, and f2c switches.
  398. (AC_FC_LINE_LENGTH): Document NAGware switch. Update Absoft,
  399. Lahey, NAGWare, Open Watcom, g95, and f2c switches.
  400. tests: accept f2c/fort77 as GNU Fortran 77.
  401. * tests/fortran.at (GNU Fortran 77): Try to detect f2c wrapper
  402. fort77 as GNU as well: it defines __GNUC__ too. Fixes testsuite
  403. failure when f77 is fort77.
  404. Report from Giulio Paci.
  405. docs: macro synopses document default failure cases.
  406. * doc/autoconf.texi (Fortran Compiler, Obsolete Macros):
  407. Document failure case for AC_F77_DUMMY_MAIN, AC_FC_DUMMY_MAIN,
  408. AC_FC_SRCEXT, AC_FC_FREEFORM, AC_FC_FIXEDFORM,
  409. AC_FC_LINE_LENGTH, and AC_TRY_RUN macros.
  410. Reword Fortran macro documentation.
  411. * doc/autoconf.texi (Fortran Compiler): Improve wording for
  412. AC_FC_FREEFORM, AC_FC_FIXEDFORM, and AC_FC_LINE_LENGTH macros.
  413. 2011-02-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  414. config.status: do not quote $SHELL when rerunning configure.
  415. * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Allow
  416. $SHELL to contain more than one word, when rerunning configure,
  417. for debugging purposes like CONFIG_SHELL='/bin/sh -x'.
  418. 2011-02-21 Ian Lance Taylor <iant@google.com>
  419. * lib/autoconf/go.m4: New file.
  420. * lib/autoconf/autoconf.m4: Include autoconf/go.m4.
  421. * lib/autoconf/Makefile.am (dist_autoconflib_DATA): Add go.m4.
  422. * lib/freeze.mk (autoconf_m4f_dependencies): Add
  423. $(src_libdir)/autoconf/go.m4.
  424. * doc/autoconf.texi: Rebuild menus.
  425. (Preset Output Variables): Mention Go. Document GOFLAGS.
  426. (Libraries): Mention Go.
  427. (Go Compiler): New subsection.
  428. (Language Choice): Mention Go.
  429. (Generating Sources): Likewise.
  430. (Running the Preprocessor): Likewise.
  431. * tests/go.at: New file.
  432. * tests/suite.at: Include go.at and acgo.at.
  433. * tests/local.at (_AT_CHECK_ENV): Add GOC and GOFLAGS.
  434. * tests/Makefile.am (TESTSUITE_GENERATED_AT): Add
  435. $(srcdir)/acgo.at.
  436. (TESTSUITE_HAND_AT): Add go.at.
  437. (AUTOCONF_FILES): Add $(autoconfdir)/go.m4.
  438. * NEWS: Update.
  439. 2011-02-20 Christian Rössel <christian.roessel@gmx.de> (tiny change)
  440. Markus Geimer <m.geimer@fz-juelich.de> (tiny change)
  441. Fix OpenMP flag detection for various Fortran compilers.
  442. * lib/autoconf/c.m4 (_AC_LANG_OPENMP(Fortran 77)): Use '!$'
  443. OpenMP-conditional compilation construct, to force compile
  444. failure with missing OpenMP flag.
  445. (AC_OPENMP): Add flags for Cray CCE and NEC SX compilers.
  446. * THANKS: Update.
  447. 2011-02-18 Eric Blake <eblake@redhat.com>
  448. docs: document fourth argument of AC_RUN_IFELSE better
  449. * doc/autoconf.texi (Runtime) <AC_RUN_IFELSE>: Make synopsis show
  450. that the default is configure failure. Rework the text about
  451. proper use of the fourth argument.
  452. long long: don't abort configure when cross-compiling
  453. * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Provide no-op
  454. cross-compiling fallback; fixing regression from 2011-02-16.
  455. 2011-02-16 Patrick Welche <prlw1@cam.ac.uk> (tiny change)
  456. docs: fix a typo
  457. * doc/autoconf.texi (Generic Structures): Fix typo.
  458. 2011-02-16 Matt Kraai <kraai@ftbfs.org> (tiny change)
  459. docs: fix some typos
  460. * doc/autoconf.texi (testsuite Scripts): Fix typos.
  461. * THANKS: Update.
  462. 2011-02-16 Paul Eggert <eggert@cs.ucla.edu>
  463. autoconf: tune long long tests, particularly for c99
  464. This change is imported from gnulib.
  465. * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Don't bother compiling
  466. or running anything if c99, or if unsigned long long int does not
  467. work. In either case, we know the answer without further tests.
  468. Do not compile _AC_TYPE_LONG_LONG_SNIPPET twice. Instead, compile
  469. it at most once, and use its results for both long long int and
  470. unsigned long long int. This is more likely to be efficient in
  471. the common case where the program wants to check for both long
  472. long int and unsigned long long int.
  473. (AC_TYPE_UNSIGNED_LONG_LONG_INT): Don't bother compiling if c99,
  474. since the answer is already known.
  475. 2011-02-15 Eric Blake <eblake@redhat.com>
  476. doc: fix debug advice typo
  477. * doc/autoconf.texi (Debugging): Put shell option in right place.
  478. Reported by Reuben Thomas.
  479. 2011-02-12 Giulio Paci <giuliopaci@interfree.it> (tiny change)
  480. Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  481. Fix detection of link flags for fort77 on GNU/Linux.
  482. * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Properly detect
  483. the fort77 (f2c wrapper) compiler verbose linking output flag.
  484. Fixes also AC_F77_LIBRARY_LDFLAGS and AC_F77_DUMMY_MAIN.
  485. * THANKS: Update.
  486. 2011-02-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  487. * doc/autoconf.texi: Rebuild menus using emacs ^C ^U ^A.
  488. 2011-02-04 Paul Eggert <eggert@cs.ucla.edu>
  489. autoconf: new macro AC_HEADER_CHECK_STDBOOL
  490. * NEWS: Document this.
  491. * doc/autoconf.texi (Particular Headers): Likewise.
  492. In example, don't assume a 'system.h' exists.
  493. * lib/autoconf/headers.m4 (AC_CHECK_HEADER_STDBOOL): New macro.
  494. Use it with AN_IDENTIFIER, since it's less heavyweight.
  495. Reindent to match gnulib, since that's a bit nicer.
  496. (AC_HEADER_STDBOOL): Reimplement in terms of it.
  497. 2011-01-29 Jim Warhol <jrw@jwarhol.com> (tiny change)
  498. * doc/autoconf.texi (Introduction): Fix typo.
  499. * THANKS: Update.
  500. 2011-01-27 Stefano Lattarini <stefano.lattarini@gmail.com>
  501. docs: another parallel make issue
  502. * doc/autoconf.texi (Parallel Make): Document that some make
  503. implementations, when run in parallel mode, connect stdout and
  504. stderr of child processes to pipes or temporary files, and might
  505. re-route stderr of spawned processes to stout. Also document
  506. that FreeBSD make in parallel mode reuses the same shell for
  507. multiple commands within one recipe (like NetBSD make does).
  508. 2011-01-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  509. Eric Blake <eblake@redhat.com>
  510. docs: advise against HP-UX make due to time stamp semantics.
  511. * doc/autoconf.texi (Timestamps and Make): Document HP-UX 11.31
  512. make issue with targets having the same time stamps as their
  513. prerequisites.
  514. * doc/install.texi (Particular Systems): Warn against using
  515. HP-UX make.
  516. 2011-01-25 Eric Blake <eblake@redhat.com>
  517. maint: reflect recent copyright assignments
  518. * AUTHORS: Update.
  519. 2011-01-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  520. docs: new section about whitespace trimmed from make command-lines.
  521. * doc/autoconf.texi (Command-line Macros and whitespace): New
  522. section, document trimming of whitespace from macros set on the
  523. command line and from the environment.
  524. 2011-01-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  525. docs: document how to use comment characters in rules.
  526. * doc/autoconf.texi (Comments in Make Rules): Explain how to
  527. produce a `#' in a rule.
  528. (Comments in Make Macros): Add cross reference.
  529. Suggestion from Eric Blake.
  530. docs: new sections about comments and whitespace in make macros.
  531. * doc/autoconf.texi (Top, Portable Make): Adjust menus.
  532. (Comments in Make Macros, Trailing whitespace in Make Macros):
  533. New sections.
  534. Suggestion by Stefano Lattarini.
  535. docs: do not use AIX 5.3 cp -R.
  536. * doc/autoconf.texi (Limitations of Usual Tools): Document one
  537. instance of the cp -R bug on AIX 5.3. This seems to have been
  538. fixed in 6.1 and newer releases.
  539. docs: update entry about unset.
  540. * doc/autoconf.texi (Limitations of Builtins): NetBSD sh unset
  541. also fails upon `unset' of a variable that is not set. Bash 2.01
  542. could also dump core over `unset MAILPATH'.
  543. Suggestion by Eric Blake.
  544. 2011-01-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  545. Fix LEXLIB and YYTEXT_POINTER with IRIX 6.5 flex 2.5.4.
  546. * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL):
  547. Overquote nontrivial yyless argument, to compensate for
  548. underquoted macro definition in IRIX 6.5 flex 2.5.4
  549. leading to compile failure due to incompatible operands.
  550. Fixes Automake silent-lex-generic.test failure.
  551. 2011-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  552. docs: Tru64/OSF sh treats read as special builtin
  553. * doc/autoconf.texi (Limitations of Builtins): read may exit
  554. upon unreadable or non-existent file with Tru64/OSF 5.1 sh.
  555. 2011-01-12 Eric Blake <eblake@redhat.com>
  556. docs: fix description of m4_ifval
  557. * doc/autoconf.texi (Conditional constructs) <m4_ifval>: Use
  558. correct argument order.
  559. * THANKS: Update.
  560. Reported by Mostafa.
  561. 2011-01-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  562. Avoid reference to $CYGWIN in Fortran macros.
  563. * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Require
  564. AC_CANONICAL_HOST. Replace test for $CYGWIN with $host_s test.
  565. * tests/fortran.at (AC_F77_DUMMY_MAIN usage)
  566. (AC_FC_DUMMY_MAIN usage, AC_F77_MAIN usage, AC_FC_MAIN usage):
  567. Use AT_CONFIGURE_AC and simplify accordingly, so auxiliary
  568. scripts are copied into the test directories.
  569. (AC_F77_FUNC usage, AC_FC_FUNC usage): Likewise. Adjust to
  570. autoheader being used now.
  571. docs: link to Gnulib configmake documentation.
  572. * doc/autoconf.texi (Defining Directories): Use proper crossref,
  573. now that the Gnulib manual has a configmake section.
  574. Thanks to Karl Berry.
  575. 2011-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  576. docs: link to 'set -e' shell behavior overview.
  577. * doc/autoconf.texi (Limitations of Builtins): Add link to
  578. Sven Mascheck's 'set -e' page. Replace broken Opengroup link.
  579. Suggestion by Eric Blake.
  580. docs: mention configmake module for defining directories.
  581. * doc/autoconf.texi (Defining Directories): Mention configmake
  582. gnulib module.
  583. Suggestion by Karl Berry and Eric Blake.
  584. 2011-01-04 Eric Blake <eblake@redhat.com>
  585. doc: improve install.texi texinfo markup
  586. * doc/install.texi: Don't force @firstparagraphindent on all
  587. clients; instead, add it only when building INSTALL. Compress
  588. copyright.
  589. * Makefile.am (INSTALL): Match gnulib's formatting.
  590. Reported by Karl Berry.
  591. maint: update copyright year
  592. All files changed to add 2011, via 'make update-copyright'.
  593. maint: resync upstream files
  594. * GNUmakefile: Regenerated by 'make fetch'.
  595. * build-aux/config.guess: Likewise.
  596. * build-aux/config.sub: Likewise.
  597. * build-aux/gendocs.sh: Likewise.
  598. * build-aux/git-version-gen: Likewise.
  599. * build-aux/texinfo.tex: Likewise.
  600. * doc/make-stds.texi: Likewise.
  601. * lib/Autom4te/Channels.pm: Likewise.
  602. * lib/Autom4te/Configure_ac.pm: Likewise.
  603. * lib/Autom4te/FileUtils.pm: Likewise.
  604. * lib/Autom4te/Struct.pm: Likewise.
  605. * lib/Autom4te/XFile.pm: Likewise.
  606. maint: document use of copyright ranges
  607. * README: Copy coreutils wording for allowing copyright year
  608. ranges.
  609. * cfg.mk (UPDATE_COPYRIGHT_USE_INTERVALS): Now that GNU Coding
  610. Standards permit it, prefer shorthand copyright.
  611. * .x-update-copyright: Exempt an imported file.
  612. 2011-01-03 Karl Berry <karl@freefriends.org>
  613. Avoid using @acronym in install.texi.
  614. * doc/install.texi (Basic Installation, Multiple Architectures)
  615. (Installation Names): Write `GNU' instead of `@acronym{GNU}'.
  616. 2010-12-27 Paul Eggert <eggert@cs.ucla.edu>
  617. autoconf: Use -D_STDC_C99=, not -xc99=all, with Solaris cc
  618. * lib/autoconf/c.m4 (_AC_PROG_CC_C99): Use -D_STDC_C99= rather than
  619. -xc99=all to convince Solaris Studio cc to compile c99 programs.
  620. 2010-11-26 Paul Eggert <eggert@cs.ucla.edu>
  621. autotest: fix file descriptor leak
  622. * lib/autotest/general.m4 (_AT_CHECK): Close AS_MESSAGE_LOG_FD
  623. when running the test. Problem reported by Luke Mewburn in
  624. <http://lists.gnu.org/archive/html/autoconf/2010-11/msg00036.html>.
  625. 2010-11-20 Paul Eggert <eggert@cs.ucla.edu>
  626. autoconf: don't assume sys/stat.h and sys/types.h when testing C89
  627. Problem reported by Patrick Pelissier in
  628. <http://lists.gnu.org/archive/html/bug-autoconf/2010-11/msg00019.html>.
  629. * lib/autoconf/c.m4 (_AC_PROG_CC_C89): Don't include sys/types.h
  630. and sys/stat.h. Instead, define a dummy struct stat. C89 doesn't
  631. guarantee sys/types.h and sys/stat.h.
  632. 2010-11-10 Reuben Thomas <rrt@sc3d.org> (tiny change)
  633. docs: avoid first person, and credit history to David MacKenzie
  634. * doc/autoconf.texi (History): Add credit.
  635. 2010-10-26 Paul Eggert <eggert@cs.ucla.edu>
  636. docs: Posix now says "((cat))" isn't portable
  637. * doc/autoconf.texi (Parenthesis): Update documentation to reflect
  638. what Posix 1003.1-2008 says about "((".
  639. 2010-10-20 Eric Blake <eblake@redhat.com>
  640. docs: document dash bug in <>
  641. * doc/autoconf.texi (File Descriptors): Dash 0.5.5 truncates on
  642. <>; at least this was fixed in dash 0.5.6.
  643. 2010-10-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  644. tests: avoid AC_CACHE_CHECK test failure with dash.
  645. * tests/base.at (AC_CACHE_CHECK): Normalize configure exit
  646. status in presence of syntax error in sourced site file.
  647. Do not error out if configure is aborted at this point.
  648. Fixes testsuite failure with dash 0.5.5.1.
  649. 2010-10-08 Eric Blake <eblake@redhat.com>
  650. AS_LITERAL_IF: Treat raw = as literal again.
  651. * lib/m4sugar/m4sh.m4 (_AS_LITERAL_IF): Treat = like +.
  652. * tests/m4sh.at (AS@&t@_TR_SH and AS@&t@_TR_CPP)
  653. (AS@&t@_LITERAL_IF): Expand tests.
  654. * NEWS: Document the fix.
  655. Reported via Ben Pfaff; originally http://bugs.debian.org/593838
  656. 2010-09-24 Joshua G. Hale <jgh.emc@gmail.com> (tiny change)
  657. docs: fix typo in AC_CONFIG_FILES example code.
  658. * doc/autoconf.texi (Configuration Actions): Fix typo.
  659. * THANKS: Update.
  660. 2010-10-05 Eric Blake <eblake@redhat.com>
  661. doc: suggest a few more workarounds
  662. * doc/autoconf.texi (Limitations of Usual Tools) <tr>: Mention
  663. that 'redundant' brackets can work around Solaris bug.
  664. (File Descriptors): Mention that {} works as well as () for
  665. silencing file-not-found warnings.
  666. * THANKS: Update.
  667. Suggested by Pádraig Brady.
  668. 2010-09-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  669. tests: normalize trailing spaces in gcc -E -dD output.
  670. * tests/compile.at (AC_LANG_SOURCE example)
  671. (AC_LANG_PROGRAM example): Remove trailing spaces before
  672. comparing with expected output. Fixes testsuite failure
  673. with GCC 2.95.3 on Haiku.
  674. Report by Scott McCreary.
  675. 2010-09-22 Eric Blake <eblake@redhat.com>
  676. Release Version 2.68.
  677. * NEWS: Mention the release.
  678. 2010-09-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  679. autom4te: add traces for likely future Automake macros
  680. * lib/autom4te.in (Automake-preselections): Trace
  681. AM_MAKEFILE_INCLUDE, AM_NLS, AM_POT_TOOLS, AM_PATH_GUILE,
  682. AM_PROG_MOC, AM_XGETTEXT_OPTION, _AM_MAKEFILE_INCLUDE.
  683. 2010-09-22 Eric Blake <eblake@redhat.com>
  684. AC_REPLACE_FUNCS: allow split lines again
  685. * lib/autoconf/functions.m4 (AC_REPLACE_FUNCS): Flatten newlines
  686. and move guts...
  687. (_AC_REPLACE_FUNCS): ...to new helper.
  688. * tests/semantics.at (AC_REPLACE_FUNCS): Enhance test.
  689. Reported by Ralf Wildenhues.
  690. 2010-09-21 Eric Blake <eblake@redhat.com>
  691. AC_LIBOBJ: optimize internal use
  692. * lib/autoconf/general.m4 (_AC_LIBOBJ): Move literal check...
  693. (AC_LIBOBJ): ...into callers.
  694. * lib/autoconf/functions.m4 (_AC_REPLACE_FUNC): Likewise, thus
  695. avoiding a second call to AS_LITERAL_IF.
  696. AC_REPLACE_FUNCS: restore shell loop for non-literal
  697. * lib/autoconf/functions.m4 (AC_REPLACE_FUNCS): Handle
  698. non-literals, which was lost in 2010-02-26 optimization.
  699. * tests/semantics.at (AC_REPLACE_FUNCS): Enhance test.
  700. * NEWS: Document the fix.
  701. * THANKS: Update.
  702. Reported by Wiseman Jun.
  703. maint: resync upstream files
  704. * build-aux/gendocs.sh: Resync via 'make fetch'.
  705. tests: XFAIL in the face of a MacOS X bug
  706. * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Mention
  707. the issue.
  708. * tests/torture.at (Substitute and define special characters):
  709. Detect if sed cannot process 8-bit bytes in the C locale.
  710. * THANKS: Update.
  711. Reported by Rochan.
  712. 2010-09-20 Eric Blake <eblake@redhat.com>
  713. autom4te: don't filter out portions of location traces
  714. * bin/autom4te.in (_m4_warn): Pass warnings through the channels
  715. machinery as a single chunk, to avoid partial filtering.
  716. * lib/m4sugar/m4sugar.m4 (_m4_warn): Document the conventions.
  717. * tests/m4sugar.at (m4@&t@_warn): Enhance test to catch this.
  718. Reported by Bruno Haible.
  719. 2010-09-17 Eric Blake <eblake@redhat.com>
  720. build: support autobuild
  721. * cfg.mk (gnulib-update): Add autobuild.m4.
  722. * configure.ac (AB_INIT): Output autobuild header.
  723. * m4/autobuild.m4: New file, from gnulib.
  724. * build-aux/config.guess: Resync from upstream.
  725. * build-aux/config.sub: Likewise.
  726. * build-aux/texinfo.tex: Likewise.
  727. * doc/fdl.texi: Likewise.
  728. * doc/gnu-oids.texi: Likewise.
  729. * doc/make-stds.texi: Likewise.
  730. * doc/standards.texi: Likewise.
  731. * build-aux/gendocs.sh: Likewise.
  732. config.status: avoid corrupting $ac_t
  733. * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS_PREPARE): Use a
  734. different name, so as not to clash with pre-2.50 usage of "$ac_t"
  735. as a tab character.
  736. Reported by Sam Steingold.
  737. 2010-09-17 Bruno Haible <bruno@clisp.org>
  738. docs: mark several macros obsolete
  739. * doc/autoconf.texi (Particular Functions): Mark AC_FUNC_ERROR_AT_LINE,
  740. AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK, AC_FUNC_MKTIME, AC_FUNC_STRTOD
  741. as obsolete and refer to Gnulib.
  742. * NEWS: Mention the change.
  743. AC_FUNC_STRNLEN: more realistic cross-compilation guess
  744. * lib/autoconf/functions.m4 (AC_FUNC_STRNLEN): Require
  745. AC_CANONICAL_HOST. When cross-compiling, guess it works everywhere
  746. except on AIX.
  747. 2010-09-16 Eric Blake <eblake@redhat.com>
  748. m4sh: fix today's AS_BOX regression
  749. * lib/m4sugar/m4sh.m4 (_AS_BOX_LITERAL): Fix underquotation.
  750. Reported by Stefano Lattarini.
  751. fortran: avoid misparsed FCLIBS from Fortran compiler
  752. * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Also skip
  753. 'Configured by:' lines from gfortran.
  754. * NEWS: Mention it.
  755. Reported by Stefano Lattarini.
  756. 2010-09-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  757. Add autom4te trace for AM_PROG_AR.
  758. * lib/autom4te.in (Automake-preselections): Trace
  759. AM_PROG_AR.
  760. 2010-09-16 Eric Blake <eblake@redhat.com>
  761. m4sugar: fix regression in AC_MSG_ERROR expansion
  762. * lib/m4sugar/m4sugar.m4 (m4_defun_init): Avoid macro
  763. concatenation on subsequent expansions
  764. * tests/m4sh.at (AS_WARN and AS_ERROR): New test.
  765. * tests/m4sugar.at (m4@&t@_require: one-shot initialization):
  766. Enhance test.
  767. * NEWS: Document the fix.
  768. * THANKS: Update.
  769. Reported by Adrian Bunk and and Nishio Futoshi.
  770. 2010-09-13 Stefano Lattarini <stefano.lattarini@gmail.com>
  771. tests: simplify grepping of 'automake --version'.
  772. * tests/tools.at (autom4te preselections): Remove minor
  773. redundancies in regular expressions used to grep the output
  774. 'automake --version' for test skipping.
  775. * tests/torture.at (Configuring subdirectories)
  776. (Unusual Automake input files): Likewise.
  777. 2010-09-13 Eric Blake <eblake@redhat.com>
  778. autotest: work around zsh bug
  779. * lib/autotest/general.m4 (AT_DATA): Special case an empty data
  780. file, since zsh botches empty here-docs.
  781. * doc/autoconf.texi (Writing Testsuites) <AT_DATA>: Document that
  782. this allows empty contents.
  783. * tests/autotest.at (AT_DATA): New test.
  784. Reported by Ralf Wildenhues.
  785. docs: mention gnulib portability docs
  786. * doc/autoconf.texi (Function Portability, Header Portability):
  787. Add external links to gnulib.
  788. 2010-09-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  789. Gary V. Vaughan <gary@gnu.org>
  790. docs: document zsh specialty with empty here-documents.
  791. * doc/autoconf.texi (Here-Documents): zsh 4.3.10 adds a newline
  792. to empty here-docs.
  793. 2010-09-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  794. docs: document zsh special array $options.
  795. * doc/autoconf.texi (Special Shell Variables): Add entry for
  796. `options'.
  797. doc: minor updates.
  798. * doc/autoconf.texi (Generic Compiler Characteristics): Use
  799. second argument of @uref consistently, for nicer OpenMP link.
  800. (Polymorphic Variables): Restore font-lock.
  801. (Debugging): Add item for bashdb.
  802. Document and test AT_CHECK args shell execution environment.
  803. * doc/autoconf.texi (Writing Testsuites): Document that COMMANDS
  804. is run in a subshell, but RUN-IF-FAIL and RUN-IF-PASS are not.
  805. * tests/autotest.at (AT@&t@_CHECK execution environment): New
  806. test.
  807. * NEWS: Update.
  808. autotest: document and test at_status semantics.
  809. * doc/autoconf.texi (Writing Testsuites): Document $at_status.
  810. * tests/autotest.at (at_status): New test.
  811. * NEWS: Update.
  812. doc: index entries for non-environment, non-output variables.
  813. * doc/autoconf.texi: Clarify the meaning of the various variable
  814. indices. Merge variable index `vr' into concept index using
  815. syncodeindex.
  816. (Configuration Actions, Generic Programs, Generic Functions)
  817. (Writing Testsuites): Add index entries for documented shell
  818. variables used during in configure and testsuite scripts.
  819. 2010-09-12 Fernando Carrijo <fcarrijo@freedesktop.org> (tiny change)
  820. docs: fix minor typo and 'See See foo' instances
  821. * doc/autoconf.texi (Buffer Overruns and Subscript Errors): Fix
  822. usage of TeX superscript notation to correctly represent number
  823. exponent.
  824. (Shell Functions): s/[Ss]ee @xref/@xref/
  825. (Limitations of Shell Builtins, Canonicalizing): Likewise.
  826. * THANKS: Update.
  827. 2010-09-13 Eric Blake <eblake@redhat.com>
  828. tests: skip broken automake wrapper on MirBSD
  829. * tests/tools.at (autom4te preselections): Skip, rather than fail,
  830. if 'automake --version' succeeds without printing a version when
  831. an environment variable is not set.
  832. * tests/torture.at (Configuring subdirectories)
  833. (Unusual Automake input files): Likewise.
  834. 2010-09-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  835. doc: minor indexing update.
  836. (Shell Substitutions, Site Defaults): Fix markup for indexed
  837. entried, using @code and @file as appropriate.
  838. (M4 Macro Index): Clarify which of the indexed macros have m4_
  839. and which have AS_ prefix.
  840. 2010-09-08 Eric Blake <eblake@redhat.com>
  841. m4sh: preserve set -vx over re-exec
  842. * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Trace through
  843. re-exec, to make it easier to debug script startup issues.
  844. Idea from recent bug-gnulib change to init.sh.
  845. docs: update alloca recommendations
  846. * doc/autoconf.texi (Particular Functions): Don't redeclare alloca
  847. on FreeBSD.
  848. * THANKS: Update.
  849. Reported by Giorgos Keramidas.
  850. docs: link to GNU Coding Standards in intro
  851. * doc/autoconf.texi (Introduction): Actually link to the
  852. standards. Make other references consistent.
  853. docs: mention traditional awk limitation
  854. * doc/autoconf.texi (Limitations of Usual Tools) <awk>: Mention
  855. that traditional awk lacks ENVIRON. Add reference to awk manual.
  856. (Particular Programs) <AC_PROG_AWK>: Add reference to awk section.
  857. Reported by Ralf Wildenhues.
  858. 2010-09-07 Eric Blake <eblake@redhat.com>
  859. docs: mention bash vs. POSIXLY_CORRECT
  860. * doc/autoconf.texi (Special Shell Variables) <POSIXLY_CORRECT>:
  861. Document bash behavior.
  862. * THANKS: Update.
  863. Reported by Dustin J. Mitchell, via bug-gnulib list.
  864. docs: enhance recommendations on test usage
  865. * doc/autoconf.texi (Limitations of Builtins) <test (strings)>:
  866. Mention yet another Solaris issue.
  867. Reported by Stefano Lattarini.
  868. 2010-08-30 Eric Blake <eblake@redhat.com>
  869. tests: avoid trashing /
  870. * tests/torture.at (AC_CONFIG_COMMANDS with temporary directory):
  871. Use a relative path, rather than risking issues with /.
  872. Reported by Ralf Wildenhues.
  873. docs: mention Solaris here-docs vs. ${a-"b c"}
  874. * doc/autoconf.texi (Shell Substitutions) <${var:=value}>:
  875. Document problem of "" within here-docs.
  876. Reported by Ralf Wildenhues.
  877. fortran: always avoid AC_LANG_CONFTEST warning
  878. * lib/autoconf/lang.m4 (AC_LANG_CONFTEST()): Make the default
  879. match the fact that the default AC_LANG_SOURCE does not inline
  880. confdefs.h in the first place.
  881. * lib/autoconf/fortran.m4 (AC_FC_FREEFORM, AC_FC_FIXEDFORM)
  882. (AC_FC_LINE_LENGTH, __AC_FC_NAME_MANGLING): Revert previous use of
  883. AC_LANG_DEFINES_PROVIDED.
  884. Suggested by Ralf Wildenhues.
  885. config.status: minimize use of $tmp
  886. * lib/autoconf/status.m4 (_AC_OUTPUT_MAIN_LOOP)
  887. (_AC_OUTPUT_FILES_PREPARE, _AC_OUTPUT_FILE)
  888. (_AC_OUTPUT_HEADERS_PREPARE, _AC_OUTPUT_HEADER): Use $ac_tmp
  889. internally, while preserving $tmp for existing users.
  890. * tests/torture.at (AC_CONFIG_COMMANDS with temporary directory):
  891. New test, that $tmp is available but not essential.
  892. docs: avoid use of $tmp outside of config.status use
  893. * doc/autoconf.texi (Polymorphic Variables, Shell Substitutions):
  894. Use $var or $t instead.
  895. (Limitations of Usual Tools): Use $dir instead.
  896. (Initialization Macros) <AS_TMPDIR>: Make good on the NEWS
  897. regarding AS_TMPDIR being documented as consuming $tmp.
  898. Suggested by Ralf Wildenhues.
  899. 2010-08-29 Paul Eggert <eggert@cs.ucla.edu>
  900. AC_PROG_YACC: fix comment re what "yacc" stands for
  901. * lib/autoconf/programs.m4 (AC_PROG_YACC): YACC stands for
  902. "Yet Another Compiler Compiler", not "Yet Another C Compiler".
  903. Problem reported by Chris Long in
  904. <http://lists.gnu.org/archive/html/bug-autoconf/2010-08/msg00134.html>.
  905. 2010-08-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  906. Avoid long lines in testsuite script.
  907. * lib/autotest/general.m4 (AT_INIT): Remove definition of
  908. AT_groups_all. Initialize at_groups from at_help_all, with
  909. newlines instead of spaces separating test groups numbers.
  910. Adjust all code to newlines.
  911. * NEWS: Update.
  912. * tests/autotest.at (Huge testsuite): New test.
  913. Try to update config.cache atomically; respect symlinks.
  914. * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use `mv -f' to update
  915. the cache file if it is a regular file and not a symlink. Move
  916. first to temporary name in the target directory if not in the
  917. current directory for atomicity across mount points.
  918. * tests/base.at (AC_CACHE_CHECK): Try symlinked cache file.
  919. * doc/autoconf.texi (Cache Files): Leftover temporary cache
  920. files may be deleted by the user.
  921. * NEWS: Update.
  922. 2010-08-27 Eric Blake <eblake@redhat.com>
  923. m4sh: protect LINENO against stray macro
  924. * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Double quote entire
  925. sed script, to avoid issue uncovered by automake testsuite where
  926. 'b' was an m4 macro that broke execution on dash.
  927. Reported by Stefano Lattarini.
  928. m4sh: assume ${a:-b} support
  929. * tests/m4sh.at (Null variable substitution): New test.
  930. * doc/autoconf.texi (Shell Substitutions) <${var:-value}>: Mention
  931. that m4sh guarantees support.
  932. (Limitations of Usual Tools) <mktemp>: Use it.
  933. * lib/m4sugar/m4sh.m4 (AS_LINENO_POP, AS_VAR_IF, AS_TMPDIR):
  934. Exploit use of colon for smaller files.
  935. 2010-08-26 Eric Blake <eblake@redhat.com>
  936. docs: document m4_define_default
  937. * doc/autoconf.texi (Conditional constructs) <m4_define_default>:
  938. Document it, since gnulib wants to use it.
  939. * NEWS: Mention this.
  940. autoconf: warn if AC_*_IFELSE lacks complete program
  941. * lib/autoconf/lang.m4 (AC_LANG_DEFINES_PROVIDED): New macro.
  942. (AC_LANG_SOURCE): Call it.
  943. (AC_LANG_CONFTEST): Add warning if new macro is not called.
  944. * lib/autoconf/c.m4 (_AC_LANG_OPENMP): Add missing AC_LANG_SOURCE.
  945. * lib/autoconf/fortran.m4 (AC_FC_FREEFORM, AC_FC_FIXEDFORM)
  946. (AC_FC_LINE_LENGTH, __AC_FC_NAME_MANGLING): Intentionally bypass
  947. AC_LANG_SOURCE.
  948. * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Likewise.
  949. * tests/compile.at (AC_COMPILE_IFELSE): New test.
  950. * doc/autoconf.texi (Generating Sources) <AC_LANG_CONFTEST>:
  951. Document new warning.
  952. <AC_LANG_DEFINES_PROVIDED>: Document new macro.
  953. <AC_LANG_SOURCE>: Document use of new macro.
  954. * NEWS: Document the improvement.
  955. Suggested by Bruno Haible.
  956. autoconf: fix regression in AC_FUNC_SELECT_ARGTYPES
  957. * lib/autoconf/functions.m4 (AC_FUNC_SELECT_ARGTYPES): Fix
  958. quoting; regression from yesterday leaked '' into default value.
  959. Reported by Ralf Wildenhues.
  960. docs: mention another issue with variable expansion
  961. In particular, see http://austingroupbugs.net/view.php?id=221
  962. and http://austingroupbugs.net/view.php?id=255.
  963. * doc/autoconf.texi (Shell Substitutions) <${var+value}>: New
  964. subsection.
  965. <${var=literal}>: Tweak wording. Add mention of an ambiguity
  966. allowed by POSIX.
  967. * tests/torture.at (Substitute and define special characters):
  968. Make test more robust; here, the outer "" is in a here-doc, and
  969. does not violate the quoting rules of thumb just documented.
  970. 2010-08-25 Eric Blake <eblake@redhat.com>
  971. m4sh: revert incorrect mix of "${a='b'}"
  972. * bin/autoconf.as: Revert leak of literal '' into assignment.
  973. * tests/tools.at (autom4te preselections): Likewise.
  974. m4sh: revert regression in AS_TMPDIR
  975. * lib/m4sugar/m4sh.m4 (AS_TMPDIR): The previous patch trying to
  976. rename $tmp to $as_tmp was wrong; config.status relies on it.
  977. m4sh: reduce size of AS_VAR_TEST_SET
  978. * lib/m4sugar/m4sh.m4 (AS_VAR_TEST_SET): Make more compact.
  979. tests: improve some shell assumption testing
  980. * tests/m4sh.at (Functions Support, Functions and return Support)
  981. (Negated classes in globbing): Update comments.
  982. (AS@&t@_VAR basics): Test comparison to empty string.
  983. docs: mention cost of globbing during variable expansion
  984. * doc/autoconf.texi (Shell Substitutions) <${var=literal}>:
  985. Recommend quoting substitutions that might trigger globbing.
  986. (Limitations of Builtins) <:>: Likewise.
  987. * bin/autoconf.as: Follow our own advice.
  988. * lib/autoconf/functions.m4 (AC_FUNC_SELECT_ARGTYPES): Likewise.
  989. * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Likewise.
  990. * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
  991. * lib/autotest/general.m4 (_AT_FINISH): Likewise.
  992. * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Likewise.
  993. * tests/autotest.at (parallel autotest and signal handling):
  994. Likewise.
  995. * tests/c.at (AC_OPENMP and C, AC_OPENMP and C++): Likewise.
  996. * tests/foreign.at (shtool): Likewise.
  997. * tests/fortran.at: Likewise.
  998. * tests/tools.at (autom4te preselections): Likewise.
  999. * tests/torture.at (VPATH): Likewise.
  1000. m4sh: fix some namespace safety issues
  1001. * lib/m4sugar/m4sh.m4 (_AS_SHELL_SANITIZE): Avoid problems if
  1002. as_myself is inherited from environment.
  1003. (AS_TMPDIR): Be namespace clean.
  1004. 2010-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1005. tests: fix AC_CACHE_CHECK to skip with bad shells.
  1006. * tests/base.at (AC_CACHE_CHECK): Skip test with malformed
  1007. config.site file if the shell does not report syntax errors
  1008. from a sourced file. Fixes test failure on AIX and FreeBSD.
  1009. Report from Rainer Tammer.
  1010. 2010-08-24 Paul Eggert <eggert@cs.ucla.edu>
  1011. AC_HEADER_STDBOOL: avoid spurious failure with modern xlc
  1012. * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Move the "bool e =
  1013. &s;" test into the main program, as C99 might plausibly be
  1014. interpreted as not requiring support for this construction in
  1015. static initializers. Remove the "#if defined __xlc__" stuff, as
  1016. the bug is not present in recent xlc implementations, and they
  1017. reject the test for other (valid) reasons. People using ancient
  1018. xlc versions, if any, are suggested to update to fixed versions.
  1019. Reported by Ralf Wildenhues in the thread starting at:
  1020. http://lists.gnu.org/archive/html/bug-autoconf/2010-08/msg00103.html
  1021. 2010-08-24 Eric Blake <eblake@redhat.com>
  1022. AC_FUNC_GETLOADAVG: don't define SVR4 on cygwin
  1023. * lib/autoconf/functions.m4 (_AC_LIBOBJ_GETLOADAVG): Only define
  1024. SVR4 when -lkvm is required.
  1025. * THANKS: Update.
  1026. Reported by Yaakov Selkowitz.
  1027. 2010-08-23 Eric Blake <eblake@redhat.com>
  1028. AC_HEADER_STDBOOL: avoid spurious clang failure
  1029. * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Drop gcc (and by
  1030. extension clang) check in favor of a gnulib test. Force failure,
  1031. rather than merely testing for a compiler extension.
  1032. * THANKS: Update.
  1033. Reported by Anders Kaseorg.
  1034. 2010-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1035. doc: AIX sed dislikes indented comments.
  1036. * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Update.
  1037. 2010-08-19 Stefano Lattarini <stefano.lattarini@gmail.com>
  1038. Fix autoreconf docs w.r.t. AUTOM4TE environment variable.
  1039. * doc/autoconf.texi (Using autoreconf to Update configure
  1040. Scripts): List `AUTOM4TE' among the environment variables
  1041. honored by autoreconf.
  1042. * bin/autoreconf.in ($help): Likewise.
  1043. 2010-08-17 Eric Blake <eblake@redhat.com>
  1044. doc: improve AS_VAR_IF details
  1045. * doc/autoconf.texi (Polymorphic Variables) <AS_VAR_IF>: Make it
  1046. clear that user must supply quotes as needed.
  1047. * THANKS: Update.
  1048. Suggested by Randall Cotton.
  1049. 2010-08-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1050. Fix Autotest --errexit to exit after XPASSing tests.
  1051. * lib/autotest/general.m4 (AT_INIT) <at_fn_group_postprocess>:
  1052. Exit after an unexpected passing test if $at_errexit.
  1053. * tests/autotest.at (errexit): Also try tests that xpass, skip,
  1054. xfail, or fail hard.
  1055. 2010-08-14 Eric Blake <eblake@redhat.com>
  1056. AC_INIT: allow bugreport to contain '?'
  1057. * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Relax check.
  1058. * tests/base.at (AC_INIT with unusual version strings): Enhance
  1059. test.
  1060. * doc/autoconf.texi (Initializing configure): Document this.
  1061. * NEWS: Likewise.
  1062. * THANKS: Update.
  1063. Reported by Yavor Doganov and others.
  1064. 2010-08-10 Peter Rosin <peda@lysator.liu.se>
  1065. Keep testsuite files on unexpected pass.
  1066. * lib/autotest/general.m4 (AT_INIT) <at_fn_group_postprocess>:
  1067. Don't cleanup the group directory when a test unexpectedly passes.
  1068. * tests/autotest.at (Cleanup): Check that an unexpected pass leaves
  1069. the test group directory intact.
  1070. 2010-08-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1071. Skip AC_FC_SRCEXT([f90]) tests with a Fortran 77 compiler in $FC.
  1072. * tests/fortran.at (AC_FC_FREEFORM with AC_FC_SRCEXT)
  1073. (AC_FC_FIXEDFORM with AC_FC_SRCEXT): Skip if the compiler cannot
  1074. handle files with .f90 extension.
  1075. Report by Luke Dalessandro.
  1076. Fix testsuite failures with typical m4-x.y.z program suffix.
  1077. * tests/local.at (AT_CHECK_M4): Normalize hyphens and digits
  1078. after the `m4' program name.
  1079. * THANKS: Update.
  1080. Report by Luke Dalessandro.
  1081. 2010-08-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1082. Fix description of AC_CONFIG_TESTDIR to not mention atconfig.in.
  1083. * doc/autoconf.texi (Making testsuite Scripts): atconfig is not
  1084. created from an input template.
  1085. 2010-08-05 Bruno Haible <bruno@clisp.org>
  1086. and Eric Blake <eblake@redhat.com>
  1087. AC_FUNC_ALLOCA: modernize
  1088. * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA): Assume that alloca's
  1089. return type is 'void *', not 'char *'. Supply C89 prototype.
  1090. Reported by Thomas Klausner.
  1091. 2010-08-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1092. Fix testsuite failure due to bugs in third-party aclocal macros.
  1093. * tests/torture.at (Non-literal AC_CONFIG_SUBDIRS): Create a
  1094. hand-written aclocal.m4 file, so the -Werror test doesn't fail
  1095. over aclocal warnings about errors in third-party macro files.
  1096. Simplify test accordingly, calling autoreconf throughout.
  1097. Report by Bob Friesenhahn.
  1098. Fix AC_LANG_SOURCE and AC_LANG_PROGRAM tests.
  1099. * tests/compile.at (AC_LANG_SOURCE example)
  1100. (AC_LANG_PROGRAM example): Fix broken sed script for
  1101. extracting the interesting part of the conftest.c file.
  1102. Fixes test failure on Haiku.
  1103. * THANKS: Update.
  1104. Report by Scott McCreary.
  1105. 2010-08-03 Eric Blake <eblake@redhat.com>
  1106. docs: mention bash bug with word splitting
  1107. * doc/autoconf.texi (Shell Substitutions): Document bash bug, and
  1108. zsh default behavior difference.
  1109. Reported by Ralf Wildenhues.
  1110. docs: mention ksh bug with function syntax
  1111. * doc/autoconf.texi (Shell Functions): Document ksh93 limitation.
  1112. 2010-08-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1113. Fix typo in Autotest color test, for dash testsuite failure.
  1114. * tests/autotest.at (colored test results): Use exit not
  1115. Exit. Fixes test failure with dash 0.5.4.
  1116. 2010-08-02 Eric Blake <eblake@redhat.com>
  1117. docs: track recent copyright assignment
  1118. * AUTHORS: Add Peter Rosin.
  1119. 2010-08-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1120. Add testsuite exposure for last-minute fix in 2.67.
  1121. * tests/autotest.at (parallel args but non-working mkfifo):
  1122. New test, to expose the failure v2.66-23-g991183c avoided.
  1123. Ensure unnamed test group categories are separated from previous.
  1124. * doc/autoconf.texi (Writing Testsuites) <AT_BANNER>: Update
  1125. description.
  1126. * lib/autotest/general.m4 (AT_INIT) <at_fn_banner>: Set banner
  1127. to single space, not empty line, once printed. For empty
  1128. banners, print a single empty line to separate them from a
  1129. previous test group category.
  1130. * tests/autotest.at (Banners): Insert another test group; adjust
  1131. tests accordingly. Extend test to cover semantic change.
  1132. * NEWS: Update.
  1133. 2010-07-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1134. Fix typos in perlpod docs.
  1135. * lib/Autom4te/ChannelDefs.pm, lib/Autom4te/Channels.pm,
  1136. lib/Autom4te/General.pm: Fix typos and spacing in perlpod
  1137. documentation and in comments.
  1138. 2010-07-29 Eric Blake <eblake@redhat.com>
  1139. docs: mention ksh file descriptor limitation
  1140. * doc/autoconf.texi (File Descriptors): Document issue with fd 10
  1141. and above.
  1142. Reported by Ralf Wildenhues.
  1143. docs: mention cd limitation
  1144. * doc/autoconf.texi (Limitations of Builtins) <cd>: Document
  1145. issues with empty argument.
  1146. 2010-07-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1147. Add missing index entries to manual.
  1148. * doc/autoconf.texi (Fortran Compiler, Language Choice): Add
  1149. index entries for AC_FC_DUMMY_MAIN, AC_LANG; reformat entry for
  1150. AC_LANG_ASSERT.
  1151. 2010-07-21 Eric Blake <eblake@redhat.com>
  1152. Release Version 2.67.
  1153. * NEWS: Mention the release.
  1154. Prepare for release.
  1155. * maint.mk (PREV_VERSION_REGEXP): New macro, missed when
  1156. backporting update-NEWS_hash from gnulib.
  1157. * cfg.mk (old_NEWS_hash): Correctly generate.
  1158. * build-aux/gendocs.sh: Temporarily break sync from upstream, to
  1159. avoid including spurious directories in info source tarball.
  1160. Avoid spurious testsuite failures.
  1161. * doc/autoconf.texi (Generating Sources): Don't mix gcc '-E' and
  1162. '-o -', since the former already implies stdout, while the latter
  1163. creates -.exe on cygwin.
  1164. * tests/compile.at (AC_LANG_SOURCE example)
  1165. (AC_LANG_PROGRAM example): Likewise. Also prevent any config.site
  1166. interference.
  1167. Partially revert previous patch.
  1168. * lib/autotest/general.m4 (AT_INIT) <serial testing>: Changing
  1169. at_jobs here breaks output if -j2 was requested but shell is
  1170. insufficient to support parallel testing.
  1171. Reported by Ralf Wildenhues.
  1172. Minor testsuite size reduction.
  1173. * lib/autotest/general.m4 (AT_INIT) <serial testing>: Ensure
  1174. at_jobs is 1.
  1175. (AT_SETUP, AT_CLEANUP): Factor initialization code...
  1176. (AT_INIT) <at_fn_group_banner>: ...into new function.
  1177. Based in part on suggestion by Ralf Wildenhues.
  1178. 2010-07-20 Eric Blake <eblake@redhat.com>
  1179. Close job control fd before running tests.
  1180. * doc/autoconf.texi (File Descriptors): Clarify limitations.
  1181. * lib/autotest/general.m4 (AT_CLEANUP): Avoid leaking job control
  1182. fifo fd to user tests.
  1183. (AT_INIT): Delete comment, now that close is done elsewhere.
  1184. Suggested by Ralf Wildenhues.
  1185. 2010-07-20 Paul Eggert <eggert@cs.ucla.edu>
  1186. and Eric Blake <eblake@redhat.com>
  1187. Plug race in parallel autotest.
  1188. * lib/autotest/general.m4 (AT_INIT) <Fifo job dispatcher>: Track
  1189. two fds to fifo in parent, to avoid race where parent can see EOF
  1190. before child opens fifo. Avoid any atomicity problems with tokens
  1191. larger than one byte.
  1192. * NEWS: Document the bug fix.
  1193. 2010-07-20 Eric Blake <eblake@redhat.com>
  1194. Another empty argument through expr workaround.
  1195. * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Detect empty
  1196. arguments. Reject empty file argument.
  1197. * tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
  1198. Check for missing argument.
  1199. Also reject ' and newline from AC_INIT strings.
  1200. * lib/autoconf/general.m4 (_AC_INIT_LITERAL): Reject a couple more
  1201. problematic characters.
  1202. * tests/base.at (AC_INIT with unusual version strings): Enhance
  1203. test.
  1204. * doc/autoconf.texi (Initializing configure) <AC_INIT>: Further
  1205. clarifications, and clean up wording about use of m4_esyscmd.
  1206. * NEWS: Update previous news entry.
  1207. Suggested by Paolo Bonzini.
  1208. 2010-07-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1209. Let autoreconf pass warning flags to new-enough aclocal.
  1210. * bin/autoreconf.in ($aclocal_supports_warnings)
  1211. ($automake_supports_warnings): New globals.
  1212. (parse_args): Set and use them. Be sure to invoke `aclocal
  1213. --help' and `automake --help' just once each.
  1214. * NEWS: Update.
  1215. Prompted by report from Bruno Haible.
  1216. Fix parsing of empty variable settings on the command line.
  1217. * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Work around
  1218. expr bug returning 0 instead of the empty string.
  1219. * lib/autotest/general.m4 (AT_INIT): Likewise.
  1220. Fix typo in the manual.
  1221. * doc/autoconf.texi (AC_ACT_IFELSE vs AC_TRY_ACT): Fix typo.
  1222. 2010-07-19 Eric Blake <eblake@redhat.com>
  1223. Fix up AC_INIT vs. " issues, and document it.
  1224. * doc/autoconf.texi (Initializing configure): Improve
  1225. documentation on argument restrictions.
  1226. * NEWS: Tweak information.
  1227. * lib/autoconf/general.m4 (_AC_INIT_GENERAL): New macro, that also
  1228. rejects literal ".
  1229. (_AC_INIT_PACKAGE): Use it to plug hole in last patch.
  1230. * tests/base.at (AC_INIT with unusual version strings): Enhance
  1231. test.
  1232. 2010-07-19 Eric Blake <eblake@redhat.com>
  1233. and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1234. Relax AC_INIT requirements for PACKAGE and VERSION strings again.
  1235. * lib/m4sugar/m4sh.m4 (AS_LITERAL_HEREDOC_IF): New macro.
  1236. (_AS_LITERAL_HEREDOC_IF, _AS_LITERAL_HEREDOC_IF_YES)
  1237. (_AS_LITERAL_HEREDOC_IF_NO): New helper macros.
  1238. * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Use
  1239. AS_LITERAL_HEREDOC_IF for PACKAGE and VERSION strings.
  1240. * tests/base.at (AC_INIT with unusual version strings): New test.
  1241. * tests/m4sh.at (AS@&t@_LITERAL_IF): Extend test.
  1242. * NEWS: Update.
  1243. 2010-07-19 Eric Blake <eblake@redhat.com>
  1244. Fix testsuite failures from previous patch.
  1245. * lib/autoconf/c.m4 (_AC_PROG_PREPROC_WORKS_IFELSE): Also remove
  1246. conftest.i when preprocessor tests break out of a loop.
  1247. 2010-07-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1248. Allow inspecting AC_PREPROC_IFELSE output in true branch.
  1249. * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE_BODY): Redirect
  1250. preprocessor output to conftest.i rather than /dev/null.
  1251. (_AC_PREPROC_IFELSE): Remove conftest.i in the postprocessing.
  1252. * tests/compile.at (Order of user actions and cleanup): Extend
  1253. test in the ACTION-IF-TRUE branch.
  1254. * doc/autoconf.texi (Running the Preprocessor): Document new
  1255. feature.
  1256. * NEWS: Update.
  1257. Fix AC_FC_LIBRARY_LDFLAGS detection for BlueGene xlf -qipa.
  1258. * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
  1259. '-link', added spuriously when -qipa is used with the XL
  1260. Fortran compilers on BlueGene.
  1261. manual: compiler flags -D and -L should not be followed by space
  1262. * doc/autoconf.texi (Preset Output Variables): Remove space
  1263. between -D and -L flags and their arguments, traditional cpp
  1264. implementations like Solaris 10, IRIX 6.5, OSF Tru64 5.1D,
  1265. AIX 5.3 do not accept it.
  1266. 2010-07-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1267. Fix comment typo in the manual.
  1268. * doc/autoconf.texi (Generic Compiler Characteristics): Refer
  1269. to the right test in the example marker comment.
  1270. Spotted by Eric Blake.
  1271. 2010-07-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1272. New Fortran macro AC_FC_LINE_LENGTH.
  1273. * lib/autoconf/fortran.m4 (AC_FC_LINE_LENGTH): New macro.
  1274. * doc/autoconf.texi (Fortran Compiler): Document it.
  1275. * tests/fortran.at (AC_FC_LINE_LENGTH): New test.
  1276. * NEWS: Update.
  1277. Fix wording about AC_CONFIG_SUBDIRS warning.
  1278. * doc/autoconf.texi (Subdirectories): We warn, not error, about
  1279. nonexistent config subdirs, but only at configure run time.
  1280. 2010-07-10 Eric Blake <eblake@redhat.com>
  1281. and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1282. Fix regression of AC_CHECK_SIZEOF on pointer types.
  1283. * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Translate `*' to `p'
  1284. when checking literal-ness of the type, for pointer types.
  1285. * lib/m4sugar/m4sh.m4 (_AS_TR_SH): Also consider `*' as literal.
  1286. (_AS_TR_CPP): Likewise.
  1287. * tests/semantics.at (AC_CHECK_ALIGNOF struct): When checking
  1288. for numeric answer, be sure to not allow variable references.
  1289. (AC_CHECK_SIZEOF struct): Likewise. Also, test the
  1290. `AC_CHECK_SIZEOF([int *])' example from the manual.
  1291. * doc/autoconf.texi (Generic Compiler Characteristics): Add
  1292. example marker.
  1293. * NEWS: Update.
  1294. Reports by Nishio Futoshi and Roberto Bagnara.
  1295. 2010-07-08 Eric Blake <eblake@redhat.com>
  1296. and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1297. Fix regression of AC_CONFIG_SUBDIRS with multiple arguments.
  1298. * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS): Do not assume the
  1299. argument is a single word.
  1300. * tests/torture.at (Deep Package): Extend test to cover this.
  1301. (Non-literal AC_CONFIG_SUBDIRS): New test.
  1302. * doc/autoconf.texi (Subdirectories): Add example marker.
  1303. * NEWS: Update.
  1304. Report by Bruno Haible.
  1305. 2010-07-04 Stefano Lattarini <stefano.lattarini@gmail.com>
  1306. Fix minor copy&paste leftover in m4sh tests.
  1307. * tests/m4sh.at (AS@&t@_TR_SH and AS@&t@_TR_CPP): Remove
  1308. useless variables assignements ($var, $vAr, $VAR).
  1309. 2010-07-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1310. Fix testsuite to not trigger Solaris sh for bug.
  1311. * tests/torture.at (Torturing config.status)
  1312. (Substitute a 2000-byte string)
  1313. (Substitute and define special characters)
  1314. (Substitute a newline): Quote first argument in for list so
  1315. that it does not look like an assignment.
  1316. 2010-07-02 Eric Blake <eblake@redhat.com>
  1317. Post-release administrivia.
  1318. * maint.mk (NEWS_hash): Define.
  1319. * NEWS: Add header line for next release.
  1320. * .prev-version: Record previous version.
  1321. * cfg.mk (old_NEWS_hash): Auto-update.
  1322. Release Version 2.66.
  1323. * NEWS: Mention the release.
  1324. 2010-07-02 Eric Blake <eblake@redhat.com>
  1325. Pick up some maint.mk improvements from gnulib.
  1326. * configure.ac (AM_INIT_AUTOMAKE): Require 1.11, and build xz
  1327. archives by default now.
  1328. * maint.mk (gzip_rsyncable): Avoid non-portable echo.
  1329. (VC-tag): Depend on gpg_key_ID.
  1330. (PREV_VERSION): Don't parse error as version.
  1331. (announcement): Populate email addresses with defaults.
  1332. (emit_upload_commands, web-manual): Reflect changes in scripts.
  1333. (update-NEWS-hash, emit-commit-log, release-prep): New macros.
  1334. * cfg.mk (announcement_Cc_, announcement_mail_headers_): Override
  1335. defaults.
  1336. * HACKING: Modernize a bit.
  1337. Resync upstream files.
  1338. * GNUmakefile: Run 'make fetch'.
  1339. * build-aux/announce-gen: Likewise.
  1340. * build-aux/config.guess: Likewise.
  1341. * build-aux/config.sub: Likewise.
  1342. * build-aux/gendocs.sh: Likewise.
  1343. * build-aux/git-version-gen: Likewise.
  1344. * build-aux/gnupload: Likewise.
  1345. * build-aux/texinfo.tex: Likewise.
  1346. * build-aux/vc-list-files: Likewise.
  1347. * doc/gendocs_template: Likewise.
  1348. * doc/gnu-oids.texi: Likewise.
  1349. * doc/make-stds.texi: Likewise.
  1350. * doc/standards.texi: Likewise.
  1351. * lib/Autom4te/Channels.pm: Likewise.
  1352. * lib/Autom4te/Configure_ac.pm: Likewise.
  1353. * lib/Autom4te/FileUtils.pm: Likewise.
  1354. * lib/Autom4te/XFile.pm: Likewise.
  1355. Make AS_TR_SH and AS_TR_CPP similar.
  1356. * lib/m4sugar/m4sh.m4 (_AS_TR_CPP_LITERAL): Avoid underquoting.
  1357. (_AS_TR_CPP_INDIR): Handle all polymorphic variables.
  1358. * tests/m4sh.at (AS@&t@_TR_SH and AS@&t@_TR_CPP): New test.
  1359. * NEWS: Document the fix.
  1360. Reported by Bruno Haible.
  1361. Reduce startup cost of autotest.
  1362. * lib/autotest/general.m4 (_AT_FINISH) <banners>: Rather than
  1363. doing a recursive find, limit ourselves to top ChangeLog only.
  1364. Reported by Ralf Wildenhues.
  1365. 2010-07-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1366. New macro AC_FC_FIXEDFORM, improved AC_FC_FREEFORM, coverage.
  1367. * lib/autoconf/fortran.m4 (_AC_FC_DIALECT_YEAR): Fix typo in
  1368. comment.
  1369. (AC_FC_FREEFORM): Update list of known options for Sun, HP,
  1370. Lahey/Fujitsu Fortran compilers. Use M4 quoting consistently.
  1371. (AC_FC_FIXEDFORM): New macro.
  1372. * tests/fortran.at (AC_FC_DUMMY_MAIN usage, AC_FC_MAIN usage):
  1373. Use AC_FC_FIXEDFORM, to avoid testsuite failure with FC=xlf95.
  1374. (AC_FC_FREEFORM with AC_FC_SRCEXT, AC_FC_FIXEDFORM)
  1375. (AC_FC_FIXEDFORM with AC_FC_SRCEXT): New tests.
  1376. * tests/mktests.sh: No need to exclude AC_FC_FREEFORM, it uses
  1377. AC_LANG_PUSH/AC_LANG_POP.
  1378. * doc/autoconf.texi (Fortran Compiler): Document it.
  1379. * NEWS: Update.
  1380. 2010-07-02 Eric Blake <eblake@redhat.com>
  1381. Optimize AS_BOX.
  1382. * lib/m4sugar/m4sh.m4 (AS_BOX): Use less m4 time.
  1383. (_AS_BOX_LITERAL): Use fewer forks in the common case.
  1384. * doc/autoconf.texi (Common Shell Constructs) <AS_BOX>: Document
  1385. the macro.
  1386. * NEWS: Mention it.
  1387. Use new AS_LITERAL_IF argument when appropriate.
  1388. * lib/m4sugar/m4sh.m4 (AS_VAR_SET): Reduce m4 overhead.
  1389. (AS_VAR_IF, AS_VAR_TEST_SET): Provide shorter variant for simple
  1390. references.
  1391. Suggested by Bruno Haible.
  1392. Add tests for AS_BOX.
  1393. * tests/m4sugar.at (m4@&t@_text_box): New test.
  1394. * tests/m4sh.at (AS@&t@_BOX): Likewise.
  1395. * lib/m4sugar/m4sugar.m4 (m4_text_box): Support comma.
  1396. * doc/autoconf.texi (Text processing Macros) <m4_text_box>:
  1397. Document further limitations.
  1398. Add optional argument to AS_LITERAL_IF.
  1399. * lib/m4sugar/m4sh.m4 (_AS_LITERAL_IF): Rewrite to generate macro
  1400. name, without using m4_cond.
  1401. (_AS_LITERAL_IF_, _AS_LITERAL_IF_YES, _AS_LITERAL_IF_NO): New
  1402. helpers.
  1403. (AS_LITERAL_IF, AS_LITERAL_WORD_IF, _AS_TR_SH, _AS_TR_CPP)
  1404. (_AS_VAR_PUSHDEF): Adjust callers.
  1405. * lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Relax restrictions on
  1406. invalid bytes, since this allows inline struct layouts.
  1407. (_AC_CHECK_ALIGNOF): New helper macro.
  1408. * tests/m4sh.at (AS@&t@_LITERAL_IF): Update test.
  1409. * doc/autoconf.texi (Polymorphic Variables) <AS_LITERAL_IF>:
  1410. Update documentation.
  1411. Use AS_LITERAL_WORD_IF as appropriate.
  1412. * lib/autoconf/autoheader.m4 (AH_VERBATIM): Use new macro.
  1413. * lib/autoconf/general.m4 (AC_REQUIRE_AUX_FILE, AC_CACHE_VAL)
  1414. (AS_CACHE_CHECK, AC_DEFINE_TRACE, _AC_LIBOBJ): Likewise.
  1415. * lib/autoconf/libs.m4 (AC_CHECK_LIB): Likewise.
  1416. * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS): Likewise.
  1417. * lib/m4sugar/m4sh.m4 (AS_UNSET, AS_VAR_COPY, AS_VAR_GET)
  1418. (AS_VAR_IF, AS_VAR_SET, AS_VAR_TEST_SET): Likewise.
  1419. Add AS_LITERAL_WORD_IF.
  1420. * lib/m4sugar/m4sh.m4 (_AS_LITERAL_IF): Also reject shell quoting
  1421. characters as non-literal, and provide way to reject space.
  1422. (AS_LITERAL_WORD_IF): New macro.
  1423. * doc/autoconf.texi (Polymorphic Variables) <AS_LITERAL_IF>:
  1424. Document new macro. Fix example to match reality.
  1425. * NEWS: Document change and new macro.
  1426. * tests/m4sh.at (AS@&t@_LITERAL_IF): Update test.
  1427. Optimize AC_DEFINE.
  1428. * lib/autoconf/general.m4 (_AC_DEFINE_Q): Avoid overhead of
  1429. AS_LITERAL_IF.
  1430. 2010-07-02 Stefano Lattarini <stefano.lattarini@gmail.com>
  1431. and Eric Blake <eblake@redhat.com>
  1432. Describe a Solaris /bin/sh bug w.r.t. for loops.
  1433. * doc/autoconf.texi (Limitations of Shell Builtins) <for>:
  1434. Document a bug of the 'for' builtin in Solaris /bin/sh, w.r.t.
  1435. tokens seeming variable assignment in the list of arguments.
  1436. 2010-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1437. Improve VPATH handling in config.status for non-Automake projects.
  1438. * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Be sure not
  1439. to remove references to a subdir of srcdir. Fix treatment of
  1440. multiple colon-separated VPATH entries.
  1441. * tests/torture.at (VPATH): New test.
  1442. Report by Keith Marshall.
  1443. Further improve docs about nested double-quotes and backquotes.
  1444. * doc/autoconf.texi (Shellology): Remove anchor for pdksh.
  1445. Move quoting bug example to ...
  1446. (Shell Substitutions): ... here. Document which behavior is
  1447. specified by Posix.
  1448. Coverage for Fortran compiler macros.
  1449. * tests/fortran.at (AC_OPENMP and Fortran 77)
  1450. (AC_OPENMP and Fortran): Simplify, using AT_CHECK_CONFIGURE.
  1451. (AC_F77_DUMMY_MAIN usage, AC_FC_DUMMY_MAIN usage)
  1452. (AC_F77_MAIN usage, AC_FC_MAIN usage, AC_F77_FUNC usage)
  1453. (AC_FC_FUNC usage, AC_FC_SRCEXT usage, AC_FC_FREEFORM): New
  1454. tests.
  1455. * doc/autoconf.texi (Fortran Compiler): Use GNU coding style
  1456. on C code snippets. Add markers for tested examples.
  1457. Suggest AC_FC_FREEFORM for source file extensions which the
  1458. compiler might not natively support but which are accepted
  1459. with help from AC_FC_SRCEXT. Suggest AC_CONFIG_HEADERS for
  1460. setups using one of the AC_*MAIN macros.
  1461. Accept any nonzero exit status upon config.status write failure.
  1462. * tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
  1463. Normalize nonzero status to 1 for writing to /dev/full, for HP-UX
  1464. 11.31 cat which exits 2.
  1465. Fix testsuite failure with Tru64 preprocessor.
  1466. * tests/compile.at (Order of user actions and cleanup): Add
  1467. incomplete comment to provoke failure with Tru64/OSF 5.1 cc
  1468. preprocessor.
  1469. 2010-06-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1470. and Eric Blake <eblake@redhat.com>
  1471. Further clarification on sed -e portability.
  1472. * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Clarify
  1473. more about sed -e and Posix limitations.
  1474. 2010-06-22 Bruno Haible <bruno@clisp.org>
  1475. Document how to use literal newlines in makefile rules.
  1476. * doc/autoconf.texi (Newlines in Make Rules): New section.
  1477. Document how to write comments in makefile rules.
  1478. * doc/autoconf.texi (Comments in Make Rules): Mention a workaround
  1479. syntax.
  1480. 2010-06-22 Ben Pfaff <blp@cs.stanford.edu>
  1481. Document how to propagate variables to submakes.
  1482. * doc/autoconf.texi: Describe technique used by Automake to
  1483. propagate variables to submakes in more detail.
  1484. 2010-06-22 Peter Johansson <trojkan@gmail.com> (tiny change)
  1485. Be consistent in doc example.
  1486. * doc/autoconf.texi: (Polymorphic Variables) be consistent in code
  1487. example and output
  1488. 2010-06-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1489. Add comments for vim syntax highlighting.
  1490. * doc/autoconf.texi: Restore font-lock in some examples using
  1491. $$, for vim.
  1492. Formatting cleanups for optional arguments.
  1493. * doc/autoconf.texi (Configuration Actions, Help Formatting)
  1494. (External Software): Use @r{} for brackets denoting optional
  1495. arguments, where @ovar is not safe to use.
  1496. Clarify nested double-quotes and backquotes shell issues.
  1497. * doc/autoconf.texi (Shellology): New anchor for pdksh.
  1498. (Shell Substitutions): Link to it for escaped double-quotes
  1499. within double-quoted backquotes; add ksh example for unescaped
  1500. inner double-quotes problem.
  1501. Mention Tru64 5.1 fgrep limitation with empty patterns.
  1502. * doc/autoconf.texi (Limitations of Usual Tools): Update.
  1503. Overhaul the manual, esp. the Autotest chapter.
  1504. * doc/autoconf.texi (Installation Directory Variables):
  1505. Replace some uses of @var with @code.
  1506. (Special Shell Variables): Fix misordered paragraph about IFS.
  1507. (Writing Testsuites): Include paragraph following AT_TESTED in
  1508. the macro definition.
  1509. (testsuite Invocation): Failed tests are not rerun.
  1510. (testsuite Scripts, Autotest Logs, testsuite Invocation)
  1511. (Making testsuite Scripts): Minor edits for consistency and
  1512. language.
  1513. 2010-06-18 Bruno Haible <bruno@clisp.org>
  1514. Document sed -e limitation.
  1515. * doc/autoconf.texi (Limitations of Usual Tools): Mention portability
  1516. problem of sed -e option with script fragments.
  1517. 2010-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1518. Document, test, and fix AT_ARG_OPTION, AT_ARG_OPTION_ARG.
  1519. * lib/autotest/general.m4 (_AT_ARG_OPTION): Fix translation of
  1520. hyphens to underscores when turning option names to variables.
  1521. Avoid macro name concatenation garbage with trailing `dnl'.
  1522. (AT_ARG_OPTION, AT_ARG_OPTION_ARG): Overhaul macro description.
  1523. The OPTIONS are space-separated, not comma-separated. The
  1524. negative form of AT_ARG_OPTION is prefixed with `--no-'.
  1525. * tests/autotest.at (AT@&t@_ARG_OPTION, AT@&t@_ARG_OPTION_ARG):
  1526. New tests.
  1527. * NEWS: Update.
  1528. * doc/autoconf.texi (Writing Testsuites): Document AT_ARG_OPTION
  1529. and AT_ARG_OPTION_ARG.
  1530. (testsuite Invocation): Call the thingies passed to the
  1531. testsuite options, not arguments. Note that the testsuite
  1532. author may add further package-specific options.
  1533. Autotest: enable colored test results.
  1534. * lib/autotest/general.m4 (HELP_TUNING_BEGIN): New diversion.
  1535. (HELP_TUNING, HELP_OTHER, HELP_END): Bump diversion numbers.
  1536. (AT_INIT): Accept
  1537. --color and --color=never|auto|always. If desired, colorize
  1538. test results and testsuite summary on standard output.
  1539. [HELP_TUNING]: Divert content instead to ...
  1540. [HELP_TUNING_BEGIN]: ... this diversion, m4_wrapped until the
  1541. end, when we know whether AT_COLOR_TESTS has been specified.
  1542. (AT_COLOR_TESTS): New macro, set the default for color to auto.
  1543. * doc/autoconf.texi (Writing Testsuites): Document it.
  1544. (testsuite Invocation): Document --color* options.
  1545. * tests/local.at: Call AT_COLOR_TESTS for Autoconf's testsuite.
  1546. * tests/autotest.at (color test results): New test, mirroring
  1547. color.test from Automake.
  1548. * NEWS: Update.
  1549. 2010-06-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1550. Avoid texinfo bug with backslashes in macro arguments.
  1551. * doc/autoconf.texi (Text processing Macros)
  1552. (Common Shell Constructs): Do not use @dvar with backslashes.
  1553. 2010-06-14 Eric Blake <eblake@redhat.com>
  1554. Make CONFIG_SITE handling more robust.
  1555. * lib/autoconf/general.m4 (AC_SITE_LOAD): Avoid leading - and path
  1556. search, and check for failure to load.
  1557. * tests/base.at (AC_CACHE_CHECK): Enhance test.
  1558. * doc/autoconf.texi (Site Defaults): Mention that CONFIG_SITE
  1559. works best as an absolute path.
  1560. * NEWS: Document the semantic change.
  1561. 2010-03-13 Bruno Haible <bruno@clisp.org>
  1562. and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1563. Allow plus signs in AC_ARG_ENABLE and AC_ARG_WITH.
  1564. * doc/autoconf.texi (External Software): Mention that AC_ARG_WITH
  1565. accepts packages with a + sign in it.
  1566. (Package Options): Likewise for AC_ARG_ENABLE.
  1567. * lib/autoconf/general.m4 (_AC_ENABLE_IF): Also replace '+' with '_'.
  1568. * tests/base.at (AC_ARG_ENABLE and AC_ARG_WITH): New test.
  1569. * NEWS: Update.
  1570. 2010-06-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1571. Autotest: simplify logic to compute test group result.
  1572. * lib/autotest/general.m4 (AT_INIT): Compactify result
  1573. computation logic.
  1574. New Autotest testsuite option --recheck.
  1575. * lib/autotest/general.m4 (AT_INIT): New variable $at_recheck.
  1576. Escape hyphen in $at_dir early. Accept command line switch
  1577. --recheck. Set $at_suite_log early, based on --directory
  1578. switch; with --recheck, include the list of FAILed and XPASSed
  1579. tests from old testsuite.log file in $at_groups. Document
  1580. --recheck in --help output.
  1581. * tests/autotest.at (recheck): New test.
  1582. * doc/autoconf.texi (testsuite Invocation): Document --recheck.
  1583. * NEWS: Update.
  1584. 2010-06-14 Karl Berry <karl@freefriends.org> (tiny change)
  1585. Clarify comment about old system.
  1586. * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Prefer GNU/Linux,
  1587. and note that bug has long since been fixed.
  1588. 2010-06-08 Eric Blake <eblake@redhat.com>
  1589. Run libtool test with modern libtool.
  1590. * tests/foreign.at (Libtool): Request that libtoolize install
  1591. auxiliary files. Assume libtool 2.x is modern.
  1592. 2010-06-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1593. Coverage and doc fixes for AC_LANG_SOURCE and AC_LANG_PROGRAM.
  1594. * tests/compile.at (AC_LANG_SOURCE, AC_LANG_SOURCE(C++))
  1595. (AC_LANG_SOURCE example, AC_LANG_PROGRAM example): New tests.
  1596. * doc/autoconf.texi (Generating Sources): Add markers for tested
  1597. examples; update quoting, and update AC_INIT usage to also set
  1598. optional URL arguments. Mention that the examples require gcc.
  1599. Prompted by report from Brian J. Murrell.
  1600. Make AS_SET_CATFILE polymorphic, and add testsuite coverage.
  1601. * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): Use AS_VAR_SET to set
  1602. the variable.
  1603. * tests/m4sh.at (AS@&t@_SET_CATFILE): New test.
  1604. * doc/autoconf.texi (Common Shell Constructs): Document that
  1605. AS_SET_CATFILE is polymorphic in its VAR argument now.
  1606. * NEWS: Update.
  1607. Testsuite coverage for AC_COPYRIGHT and AT_COPYRIGHT.
  1608. * tests/autotest.at (AT@&t@_COPYRIGHT): New test.
  1609. * tests/base.at (AC@&t@_COPYRIGHT): Likewise.
  1610. Testsuite coverage for __file__ and __line__.
  1611. * tests/m4sugar.at (__file__ and __line__): New test.
  1612. Testsuite coverage for AC_CACHE_VAL and caching semantics.
  1613. * tests/base.at (AC_CACHE_CHECK): Extend test.
  1614. (AC_CACHE_LOAD): New test.
  1615. * tests/torture.at (Configuring subdirectories): Also test
  1616. --config-cache with AC_CONFIG_SUBDIRS.
  1617. * doc/autoconf.texi (Caching Results): Annotate code snippets
  1618. which are tested in the test suite.
  1619. (Cache Files): Documented cache variables may be used on the
  1620. configure command line to override individual entries in the
  1621. cache file.
  1622. Clarify OpenBSD sh errexit issue with compound commands.
  1623. * doc/autoconf.texi (Limitations of Builtins): Only the last
  1624. command in a compound list is problematic.
  1625. Tested on OpenBSD 4.4.
  1626. 2010-06-07 Eric Blake <eblake@redhat.com>
  1627. Properly quote AC_PREREQ during autoupdate.
  1628. * lib/autoconf/general.m4 (AC_PREREQ): Follow consistent quoting
  1629. style for AC_PREREQ.
  1630. * tests/tools.at (autoupdating AC_PREREQ): Update expected
  1631. results.
  1632. Reported by NightStrike.
  1633. 2010-06-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1634. Documentation and tests for the AC_CHECK_DECL change.
  1635. * lib/autoconf/general.m4 (_AC_CHECK_DECL_BODY): Squash trailing
  1636. spaces in as_decl_name.
  1637. (_AC_CHECK_DECLS): Likewise for the define.
  1638. * tests/semantics.at (AC_CHECK_DECLS): Extend test.
  1639. * doc/autoconf.texi (Generic Declarations): Update.
  1640. * NEWS: Update.
  1641. 2010-06-01 Joern Rennecke <joern.rennecke@embecosm.com> (tiny change)
  1642. Generalize AC_CHECK_DECL for C++: allow optional arguments.
  1643. * general.m4 (_AC_CHECK_DECL_BODY): Process trailing function
  1644. argument types as arguments to use for C++.
  1645. (_AC_CHECK_DECLS): Filter out trailing function argument types
  1646. when generating the HAVE_DECL_* macro.
  1647. 2010-05-25 Stefano Lattarini <stefano.lattarini@gmail.com>
  1648. Eric Blake <eblake@redhat.com>
  1649. Don't expose AC_{COMPILE,LINK}_IFELSE internals in documentation.
  1650. * doc/autoconf.texi (Runtime) <AC_LINK_IFELSE>: Suggest to use
  1651. `conftest$EXEEXT' rather than `conftest$ac_exeext' to acces the
  1652. just-linked program file.
  1653. (Runtime) <AC_COMPILE_IFELSE>: Suggest to use `conftest.$OBJEXT'
  1654. rather than `conftest.$ac_object' to access the just-compiled
  1655. object file. Also, refer to the object file as "just-compiled"
  1656. rather than "just-linked".
  1657. 2010-05-20 Eric Blake <eblake@redhat.com>
  1658. Mention another line-counting alternative.
  1659. * doc/autoconf.texi (Limitations of Usual Tools) <grep>: Mention
  1660. how to use sed to count lines.
  1661. Suggested by Paolo Bonzini.
  1662. 2010-05-12 Eric Blake <eblake@redhat.com>
  1663. Document the grep workaround.
  1664. * doc/autoconf.texi (Limitations of Usual Tools) <grep>: Document
  1665. the bug.
  1666. 2010-05-12 Mark Hessling <mark@rexx.org> (tiny change)
  1667. Work around QNX4 grep bug.
  1668. * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Count ^
  1669. rather than $ to avoid QNX4 grep bug.
  1670. * THANKS: Update.
  1671. 2010-05-11 David Reiss <dreiss@facebook.com> (tiny change)
  1672. Improve Erlang documentation.
  1673. * doc/autoconf.texi (Erlang Libraries): Document actual default
  1674. values.
  1675. * THANKS: Update.
  1676. 2010-05-11 Eric Blake <eblake@redhat.com>
  1677. Fix typo in previous patch.
  1678. * doc/autoconf.texi (File Descriptors): Add end '.
  1679. Reported by Ralf Wildenhues.
  1680. Mention how to silence program probes.
  1681. * doc/autoconf.texi (File Descriptors): Document how to silence a
  1682. program probe.
  1683. 2010-04-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1684. Error and warning message formatting cleanups.
  1685. * doc/autoconf.texi (Autoconf Language, Generic Structures):
  1686. Do not capitalize the first word in error messages, do not end
  1687. them with a period.
  1688. * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS, AC_MSG_FAILURE):
  1689. Likewise.
  1690. * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Likewise.
  1691. * lib/autotest/general.m4 (AT_INIT, at_fn_group_prepare):
  1692. Likewise.
  1693. * m4/m4.m4 (AC_PROG_GNU_M4): Likewise.
  1694. * tests/base.at (AC_TRY_COMMAND): Likewise.
  1695. * tests/torture.at (datarootdir workaround): Adjust expected
  1696. message.
  1697. Fix placing of ellipses in English text.
  1698. * lib/autoconf/general.m4 (_AC_INIT_HELP): Be sure to add a
  1699. space before `...' in natural language text.
  1700. * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL_BODY):
  1701. Likewise.
  1702. * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Likewise.
  1703. * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Likewise.
  1704. * tests/suite.at: Likewise.
  1705. * tests/torture.at (@%:@define header templates): Likewise.
  1706. Ensure autotest tests have an atconfig file, for testsuite -v.
  1707. * tests/autotest.at (AT_CHECK_AT_PREP): Create a default
  1708. atconfig file in the directory of the testsuite.
  1709. (AT_CHECK_AT_TITLE): Also check that `./micro-suite -v' output
  1710. does not contain empty $at_srcdir expansion.
  1711. (srcdir propagation): Remove the atconfig file generated by
  1712. AT_CHECK_AT_PREP. Check each suite invocation for $at_srcdir
  1713. expansion.
  1714. Fix autotest testsuite -v output to print test group title.
  1715. * lib/autotest/general.m4 (AT_CLEANUP): Actually print test
  1716. title in verbose output. Fixes AUTOCONF-2.57-101-gc102ed8
  1717. regression.
  1718. * tests/autotest.at (AT_CHECK_AT_TITLE): Amend macro to check
  1719. for test title in -v output.
  1720. 2010-04-26 Eric Blake <eblake@redhat.com>
  1721. Clarify octal escapes with tr.
  1722. * doc/autoconf.texi (Limitations of Usual Tools): Carriage return
  1723. is portable in octal, but not newline.
  1724. 2010-04-22 Joel James Adamson <joel@chondestes.bio.unc.edu> (tiny change)
  1725. Add a paragraph to FAQ on Debugging configure scripts.
  1726. * doc/autoconf.texi (Debugging): Mention inspecting config.log.
  1727. * THANKS: Update.
  1728. 2010-04-21 Mike Frysinger <vapier@gentoo.org> (tiny change)
  1729. Fix typo in doc example.
  1730. * doc/autoconf.texi (Subdirectories): Fix typo.
  1731. 2010-04-05 Eric Blake <eblake@redhat.com>
  1732. Fix m4_cr_all for EBCDIC.
  1733. * lib/m4sugar/m4sugar.m4 (m4_cr_all): Swap * and $, so that we
  1734. don't end up with $* in EBCDIC.
  1735. * NEWS: Document the fix.
  1736. * THANKS: Update.
  1737. Reported by Steve Goetze.
  1738. 2010-03-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1739. Do not use @acronym in the manual.
  1740. * doc/autoconf.texi: Remove all usage of @acronym.
  1741. Suggested by Karl Berry.
  1742. Do not use @sc in the manual.
  1743. * doc/autoconf.texi: Remove all usage of @sc in the manual.
  1744. Suggested by Karl Berry.
  1745. 2010-03-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1746. Fix wrong comment in testsuite.
  1747. * tests/m4sugar.at (m4@&t@_warn): Remove copy&pasted comment.
  1748. Formatting cleanups in macro comments.
  1749. * lib/autoconf/c.m4, lib/autoconf/erlang.m4,
  1750. lib/autoconf/fortran.m4, lib/autoconf/functions.m4,
  1751. lib/autoconf/general.m4, lib/autoconf/lang.m4,
  1752. lib/autoconf/programs.m4, lib/autoconf/specific.m4,
  1753. lib/autoconf/status.m4, lib/autoconf/types.m4,
  1754. lib/autotest/general.m4, lib/autotest/specific.m4,
  1755. lib/m4sugar/m4sh.m4, lib/m4sugar/m4sugar.m4,
  1756. tests/autotest.at, tests/local.at, tests/m4sh.at,
  1757. tests/semantics.at, tests/tools.at, tests/torture.at: Fix macro
  1758. comment format.
  1759. 2010-03-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1760. manual: index strings containing colon in non-info outputs.
  1761. * doc/autoconf.texi (Quadrigraphs, Shell Substitutions): Produce
  1762. index entries for concepts containing a colon in output formats
  1763. other than info.
  1764. Update copyright years for files generated by mktests.sh.
  1765. * tests/mktests.sh: Update copyright years for generated files.
  1766. 2010-03-04 Eric Blake <eblake@redhat.com>
  1767. Document AC_LANG_CONFTEST semantic change.
  1768. * doc/autoconf.texi (Generating Sources) <AC_LANG_CONFTEST>:
  1769. Enhance documentation, to show that semantic change in 2.63b was
  1770. intentional.
  1771. * THANKS: Update.
  1772. Reported by Brian J. Murrell, analyzed by Ralf Wildenhues.
  1773. 2010-03-04 Peter Johansson <trojkan@gmail.com> (tiny change)
  1774. Autoconf Macro Archive URL has changed.
  1775. * doc/autoconf.texi (Introduction, Coding Style, Defining
  1776. Directories): The Autoconf Macro Archive is officially `GNU'.
  1777. Update URL.
  1778. 2010-03-02 Eric Blake <eblake@redhat.com>
  1779. Fix shell code in AS_TR_SH documentation.
  1780. * doc/autoconf.texi (Common Shell Constructs) <AS_TR_SH>: Fix
  1781. example to expand to valid shell code.
  1782. Reported by Ralf Wildenhues.
  1783. Improve documentation on AC_{COMPILE,LINK}_IFELSE.
  1784. * doc/autoconf.texi (Running the Compiler): Mention that the
  1785. object file is available after a successful compile.
  1786. (Running the Linker): Likewise for the linker output.
  1787. Suggested by Paolo Bonzini.
  1788. Fix typo in docs.
  1789. * doc/autoconf.texi (Conditional constructs) <m4_ifblank>: Fix
  1790. typo.
  1791. 2010-03-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1792. Fix AS_ERROR for FreeBSD sh.
  1793. * lib/m4sugar/m4sh.m4 (_AS_ERROR_PREPARE): Rewrite as_fn_error
  1794. to take additional first argument STATUS instead of transporting
  1795. $? across shell function entry, which does not work with FreeBSD
  1796. sh. Shift all other arguments by one, adjust.
  1797. (AS_ERROR): Pass EXIT-STATUS, defaulting to $?, to as_fn_error.
  1798. Report by Václav Haisman.
  1799. Fix `autom4te cache creation' testsuite failure on FreeBSD.
  1800. * tests/tools.at (autom4te cache creation): Normalize exit
  1801. status of failed redirection to 1, may be 2 with FreeBSD sh.
  1802. * THANKS: Update.
  1803. Report by Václav Haisman.
  1804. Fix Autotest tracing of shell pipelines for FreeBSD sh.
  1805. * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): Do not trace
  1806. commands that contain [^|]|[^|], a likely shell pipeline.
  1807. * tests/local.at (_AT_CHECK_ENV): Turn off tracing for egrep |
  1808. grep pipeline.
  1809. * doc/autoconf.texi (File Descriptors): Document limitation.
  1810. * tests/autotest.at (Trace output): New test.
  1811. 2010-03-01 Eric Blake <eblake@redhat.com>
  1812. Update file flow diagram to mention Automake.
  1813. * doc/autoconf.texi (Making configure Scripts): Avoid confusion
  1814. with listing Makefile.in twice on one line. Add a diagram showing
  1815. how automake fits into the picture.
  1816. Reported by santilín.
  1817. 2010-02-26 Eric Blake <eblake@redhat.com>
  1818. Optimize AC_REPLACE_FUNCS.
  1819. * lib/autoconf/functions.m4 (_AC_REPLACE_FUNC): New helper macro.
  1820. (AC_REPLACE_FUNCS): Use it to reduce forks when checking for
  1821. replacements, by using literal rather than shell variable.
  1822. Document how to safely override CFLAGS default.
  1823. * doc/autoconf.texi (C Compiler) <AC_PROG_CC>: Document a way to
  1824. change the default CFLAGS.
  1825. (C++ Compiler) <AC_PROG_CXX>: Likewise, for CXXFLAGS.
  1826. Reported by Monty Taylor; wording suggested by Paolo Bonzini.
  1827. Document that Autoconf relies on IFS.
  1828. * doc/autoconf.texi (Special Shell Variables) <IFS>: Add details
  1829. about use of IFS within configure script.
  1830. * THANKS: Update.
  1831. Reported by Arkadiusz Miskiewicz.
  1832. Recommend latest m4 release.
  1833. * README: Bump recommendation to m4 1.4.14 (minimum remains
  1834. 1.4.6).
  1835. * doc/autoconf.texi (Introduction): Likewise.
  1836. * m4/m4.m4 (AC_PROG_GNU_M4): Likewise.
  1837. 2010-02-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1838. Fix testsuite failures due to setting of $U.
  1839. * tests/local.at (_AT_CHECK_ENV): Ignore setting of $U.
  1840. 2010-02-10 Eric Blake <ebb9@byu.net>
  1841. Avoid $U if it is not initialized.
  1842. * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Ensure $U is
  1843. set if automake did not define it.
  1844. * THANKS: Update.
  1845. Reported by Heiko Schlichting, via Julien Élie.
  1846. 2010-01-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1847. Fix substitution of carriage return on Darwin.
  1848. * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Set
  1849. ac_cs_awk_cr to '\\r', so that sed portably expands this to '\r'
  1850. rather than a literal carriage return, to fix substitution on
  1851. Darwin. Regression introduced in 2.63b.
  1852. Report by Peter O'Gorman.
  1853. 2010-01-21 Dmitry V. Levin <ldv@altlinux.org>
  1854. Fix test failure when a shell uses $TMPDIR for here-documents.
  1855. * tests/tools.at (autotools and whitespace in file names): Create
  1856. $TMPDIR before potential use like in other whitespace tests.
  1857. 2010-01-20 Paolo Bonzini <bonzini@gnu.org>
  1858. Add recommendation on (not) unsetting IFS.
  1859. * doc/autoconf.texi (Special shell variables): Explain why it's
  1860. better not to unset IFS.
  1861. 2010-01-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1862. config.status: consistent exit status with nonexistent config file input.
  1863. * lib/autoconf/status.m4 (_AC_OUTPUT_MAIN_LOOP): Ensure we
  1864. exit with status 1 rather than with that of 'false', for
  1865. reproducibility.
  1866. (AC_OUTPUT): Ensure to exit 1 in case of config.status failure.
  1867. * tests/torture.at (Missing templates): Also test code path
  1868. for $srcdir != '.'.
  1869. Report by Tim Rice.
  1870. 2010-01-13 Eric Blake <ebb9@byu.net>
  1871. Fix previous example.
  1872. * doc/autoconf.texi (Here-Documents): Touch up the example to
  1873. match output to sample command line.
  1874. Document here-doc pitfall.
  1875. * doc/autoconf.texi (Here-Documents): Mention problem with <<-
  1876. operator.
  1877. Reported by Jim Meyering.
  1878. 2010-01-12 Eric Blake <ebb9@byu.net>
  1879. Typo fix in earlier commit.
  1880. * doc/autoconf.texi (Autoconf Language): Fix typo.
  1881. 2010-01-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1882. Allow AC_FUNC_MKTIME to work with C++.
  1883. * lib/autoconf/functions.m4 (AC_FUNC_MKTIME): ANSIfy KnR function
  1884. definitions. Use `const char*' for character literals; cast them
  1885. to `char*' for putenv.
  1886. 2010-01-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1887. Export AUTOM4TE in tests/atlocal.in, for aclocal.
  1888. * tests/atlocal.in: Set and export $AUTOM4TE, for aclocal.
  1889. Report by Tim Rice.
  1890. 2010-01-08 Eric Blake <ebb9@byu.net>
  1891. Make autotest example act better with automake.
  1892. * doc/autoconf.texi (Making testsuite Scripts): Rely on automake
  1893. feature for recommended autotest snippet, following our own use.
  1894. Clarify language on handling of opening parenthesis.
  1895. * doc/autoconf.texi (Autoconf Language): Give an example of
  1896. improper argument passing.
  1897. * THANKS: Update.
  1898. Reported by Juan Carlos Hurtado.
  1899. 2010-01-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1900. Don't fail autom4te preselection test due to different Automake.
  1901. * tests/tools.at (autom4te preselections): If the cache test
  1902. fails, extract the Automake version from the toplevel
  1903. Makefile.in file of the source tree; skip, rather than fail
  1904. the test group if the automake program has a different version.
  1905. * THANKS: Update.
  1906. Report by Dieter Jurzitza, fix suggested by Eric Blake.
  1907. 2010-01-06 Peter Breitenlohner <peb@mppmu.mpg.de>
  1908. Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1909. Fix AC_CONFIG_LINKS to generated files when srcdir is absolute.
  1910. * lib/autoconf/status.m4 (_AC_OUTPUT_LINK): Check $ac_source,
  1911. not $srcdir, for being relative or absolute.
  1912. * tests/torture.at (AC_CONFIG_LINKS): New test.
  1913. (AC_CONFIG_LINKS and identical files): Extend test, avoid some
  1914. forks.
  1915. Report, patch and testcase example by Peter Breitenlohner.
  1916. 2010-01-05 Eric Blake <ebb9@byu.net>
  1917. Improve release automation.
  1918. * maint.mk (gnulib_dir, gnulib-version, bootstrap-tools)
  1919. (announcement): Copy from latest gnulib maint.mk.
  1920. * cfg.mk (announce_gen, gpg_key_ID): Delete.
  1921. (bootstrap-tools): Override the default.
  1922. Update upstream files.
  1923. * GNUmakefile: Update via 'make fetch'.
  1924. * build-aux/announce-gen: Likewise.
  1925. * build-aux/config.guess: Likewise.
  1926. * build-aux/config.sub: Likewise.
  1927. * build-aux/gendocs.sh: Likewise.
  1928. * build-aux/gnupload: Likewise.
  1929. * build-aux/move-if-change: Likewise.
  1930. * build-aux/update-copyright: Likewise.
  1931. * build-aux/vc-list-files: Likewise.
  1932. * doc/standards.texi: Likewise.
  1933. * cfg.mk (update-copyright-env): Enforce wrap column.
  1934. Update copyright year.
  1935. All files changed to add 2010, via 'make update-copyright'.
  1936. 2009-12-31 Bruno Haible <bruno@clisp.org>
  1937. Improve documentation on Solaris tr bugs.
  1938. * doc/autoconf.texi (Limitations of Usual Tools) <tr>: Refine
  1939. description of NUL handling by Solaris tr.
  1940. 2009-12-31 Eric Blake <ebb9@byu.net>
  1941. Another tr tweak.
  1942. * doc/autoconf.texi (Limitations of Usual Tools) <tr>: Clarify
  1943. previous commit.
  1944. Reported by Ralf Wildenhues.
  1945. 2009-12-29 Eric Blake <ebb9@byu.net>
  1946. Improve documentation on tr portability.
  1947. * doc/autoconf.texi (Limitations of Usual Tools) <tr>: Refine
  1948. description of NUL handling. Document set size issue.
  1949. Reported by Bruno Haible.
  1950. Fix comment in AC_CHECK_DECLS.
  1951. * lib/autoconf/general.m4 (AC_CHECK_DECL): Document the includes
  1952. argument to the shell function.
  1953. 2009-12-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1954. Add testsuite exposure for shtool usage.
  1955. * tests/foreign.at (shtool): New test.
  1956. Report by Dmitry Grebeniuk.
  1957. 2009-12-12 Eric Blake <ebb9@byu.net>
  1958. Improve wording about m4 quote characters.
  1959. * doc/autoconf.texi (Autoconf Language): Autoconf quote characters
  1960. come from m4sugar, not raw m4.
  1961. (Active Characters): Mention that it is m4sugar which changes
  1962. quotes from `' to [].
  1963. * THANKS: Update.
  1964. Suggested by Josef Vukovic.
  1965. 2009-12-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1966. Revert "Improve AC_CONFIG_AUX_DIRS a bit." to fix shtool usage.
  1967. * lib/autoconf/general.m4 (AC_CONFIG_AUX_DIRS): Revert test for
  1968. shtool as install script. Regression introduced in 2.64.
  1969. * NEWS, THANKS: Update.
  1970. Report by Dmitry Grebeniuk.
  1971. This reverts commit 93d9386de9c1320afed43f1337ac5ddb2d2dcbb4.
  1972. 2009-12-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1973. Fix NEWS description for AC_FUNC_MMAP entry.
  1974. * NEWS: Update.
  1975. Fix 2.65 AC_TYPE_INT*_T macro body text regression.
  1976. * lib/autoconf/types.m4 (_AC_TYPE_INT_BODY): Move helper enum
  1977. definition to prologue section, to avoid syntax error.
  1978. * NEWS, THANKS: Update.
  1979. Report by Pierre Ynard.
  1980. 2009-12-09 Paolo Bonzini <bonzini@gnu.org>
  1981. Fix `recursion' test failure.
  1982. * tests/m4sugar.at (recursion): Use empty diversion, not 0.
  1983. 2009-12-05 Stefano Lattarini <stefano.lattarini@gmail.com>
  1984. Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1985. Document Solaris/Heirloom sh set -e issue with command substitutions.
  1986. * doc/autoconf.texi (Limitations of Builtins): Fix typos `set -d'
  1987. in previous example. Document failure to honor && lists with set -e
  1988. and a command substitution in the failing command.
  1989. Report and initial patch by Stefano Lattarini against Automake.
  1990. 2009-12-04 Eric Blake <ebb9@byu.net>
  1991. Warn if using unnamed diversion.
  1992. * lib/m4sugar/m4sugar.m4 (_m4_divert, m4_divert_push): Add
  1993. optional parameter, which controls warning.
  1994. (m4_divert_pop, m4_cleardivert, m4_divert_require)
  1995. (_m4_require_call): Adjust callers.
  1996. * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Likewise.
  1997. * tests/m4sh.at (AT_DATA_LINENO): Avoid triggering the warning.
  1998. * tests/m4sugar.at (AT_CHECK_M4SUGAR_TEXT, m4@&t@_append)
  1999. (m4@&t@_text_wrap, recursion): Likewise.
  2000. (m4@&t@_warn, m4@&t@_divert_stack): Adjust expected output.
  2001. * tests/tools.at (autom4te and whitespace in file names)
  2002. (autoconf: the empty token): Avoid triggering the warning.
  2003. (autoconf: AC_PRESERVE_HELP_ORDER): New test.
  2004. * tests/mktests.sh (ac_exclude_list): Retire prior test.
  2005. * NEWS: Document the warning.
  2006. * doc/autoconf.texi (Redefined M4 Macros) <m4_divert>,
  2007. <m4_undivert>: Make even more explicit that using these directly
  2008. is discouraged.
  2009. (Diversion support): Further warn against improper diversion
  2010. changes.
  2011. <m4_divert_text>: Give an example of proper use.
  2012. Reported by Mike Frysinger.
  2013. 2009-11-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  2014. manual: AC_SEARCH_LIBS also prepends to LIBS.
  2015. * doc/autoconf.texi (Libraries): Document that AC_SEARCH_LIBS
  2016. prepends to LIBS, just like AC_CHECK_LIB.
  2017. 2009-11-27 Paolo Bonzini <bonzini@gnu.org>
  2018. Bump m4.m4 serial number.
  2019. * m4/m4: Bump serial number to 10.
  2020. 2009-11-27 Harald van Dijk <truedfx@gentoo.org>
  2021. Fix m4 detection test on dash.
  2022. * m4/m4 (AC_PROG_GNU_M4): Use AS_ECHO.
  2023. 2009-11-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  2024. Fix AC_FUNC_MMAP regression with C++ compiler in 2.65.
  2025. * lib/autoconf/functions.m4 (AC_FUNC_MMAP): Use const char*
  2026. for the constant string. Cast void* to char* for assignment.
  2027. * NEWS, THANKS: Update.
  2028. Report by Michal Čihař.
  2029. Add pgfortran to list of Fortran 95+ compilers.
  2030. * lib/autoconf/fortran.m4 (_AC_F95_FC): Add pgfortran before
  2031. pgf95.
  2032. Based on report by Jeff Squyres.
  2033. 2009-11-22 Bruno Haible <bruno@clisp.org>
  2034. Fix failure of test 35 when the user has a .autom4te.cfg file.
  2035. * tests/tools.at (autom4te cache creation): Skip the test if the
  2036. user has a .autom4te.cfg file.
  2037. 2009-11-21 Eric Blake <ebb9@byu.net>
  2038. Release Version 2.65.
  2039. * NEWS: Mention the release.
  2040. Prepare for release.
  2041. * build-aux/announce-gen: Sync from upstream.
  2042. * build-aux/config.guess: Likewise.
  2043. * build-aux/config.sub: Likewise.
  2044. * cfg.mk (gnu_rel_host, url_dir_list): Move...
  2045. * maint.mk: ...here, copying ideas from gnulib.
  2046. (major): Rename...
  2047. (stable): ...to this, copying gnulib.
  2048. * HACKING (release): Document changes in process.
  2049. Avoid spurious newline in traced macros.
  2050. * bin/autoreconf.in (tracing): Drop newline before parsing traced
  2051. arguments; regression from 2009-11-14.
  2052. 2009-11-20 Eric Blake <ebb9@byu.net>
  2053. Allow absolute names in AT_TESTED.
  2054. * lib/autotest/general.m4 (AT_INIT) <PREPARE_TESTS>: Check for
  2055. absolute names before path walk.
  2056. * THANKS: Update.
  2057. Suggested by Allan Clark.
  2058. 2009-11-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  2059. Fix AC_CONFIG_SUBDIRS tracing in autoreconf.
  2060. * bin/autoreconf.in (autoreconf_current_directory): Collapse
  2061. newlines in the autoconf trace output, similar to how automake
  2062. invokes autoconf, so that newlines do not matter in the argument
  2063. to AC_CONFIG_SUBDIRS.
  2064. * tests/torture.at (Deep Package): Expose this issue in the
  2065. test.
  2066. * THANKS: Update.
  2067. Report by Nathan Schulte.
  2068. 2009-11-09 Eric Blake <ebb9@byu.net>
  2069. Fix AC_FUNC_MMAP for cygwin.
  2070. * lib/autoconf/functions.m4 (AC_FUNC_MMAP): Make the test more
  2071. portable: Actually check for <sys/param.h>, and only use MAP_FIXED
  2072. on an address previously returned from mmap.
  2073. * THANKS: Update.
  2074. Reported by Corinna Vinschen.
  2075. 2009-11-04 Eric Blake <ebb9@byu.net>
  2076. Redocument AS_DIRNAME, even with its flaws.
  2077. * doc/autoconf.texi (Common Shell Constructs) <AS_DIRNAME>:
  2078. Restore documentation, since dirname mentions it.
  2079. Reported by Peter Johansson.
  2080. Update upstream files.
  2081. * build-aux/announce-gen: Synchronize from upstream.
  2082. * build-aux/config.guess: Likewise.
  2083. * build-aux/config.sub: Likewise.
  2084. * build-aux/gendocs.sh: Likewise.
  2085. * build-aux/git-version-gen: Likewise.
  2086. * build-aux/texinfo.tex: Likewise.
  2087. * build-aux/update-copyright: Likewise.
  2088. * doc/standards.texi: Likewise.
  2089. * lib/Autom4te/Channels.pm: Likewise.
  2090. * lib/Autom4te/Configure_ac.pm: Likewise.
  2091. * lib/Autom4te/FileUtils.pm: Likewise.
  2092. * lib/Autom4te/Struct.pm: Likewise.
  2093. * lib/Autom4te/XFile.pm: Likewise.
  2094. 2009-11-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  2095. Coverage for autom4te cache creation issues.
  2096. * tests/tools.at (autom4te cache creation): New test.
  2097. 2009-11-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  2098. Fix testsuite failures with SHELL=zsh.
  2099. * tests/statesave.m4 (AC_STATE_SAVE): Ignore argv and ARGC when
  2100. comparing configure variables.
  2101. 2009-11-03 Eric Blake <ebb9@byu.net>
  2102. and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  2103. Update NEWS for recent fixes.
  2104. * NEWS: Add some entries.
  2105. 2009-10-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  2106. Micro-optimization of config.status substitution.
  2107. * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): No need to
  2108. concatenate an empty second string, when we have exactly 148
  2109. characters to substitute.
  2110. * tests/torture.at (Substitute a 2000-byte string): Add test
  2111. exposure for runs of backslashes near the 148 character limit.
  2112. Fix testsuite failure on AIX 4.3.3.
  2113. * lib/autoconf/general.m4 (_AC_RUN_LOG_LIMIT): Remove conftest.err
  2114. also if it is empty.
  2115. Fix testsuite failure on IRIX and AIX.
  2116. * tests/torture.at (Substitute and define special characters):
  2117. Double the backslash before the double-quote in
  2118. AC_DEFINE_UNQUOTED, as documented for here-documents.
  2119. 2009-10-31 Eric Blake <ebb9@byu.net>
  2120. Fix cross-manual link to gcc.
  2121. * doc/autoconf.texi (Portable C and C++): Provide uref rather than
  2122. xref when building for html.
  2123. Reported via Karl Berry.
  2124. Update authors.
  2125. * AUTHORS: Document recent copyright assignments.
  2126. 2009-10-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  2127. Fix AC_OPENMP configure message for non-C compilers.
  2128. * lib/autoconf/lang.m4 (AC_LANG_DEFINE): Accept as additional
  2129. fourth arg the compiler variable name, defined in _AC_CC($1).
  2130. (_AC_CC): New language dispatch macro.
  2131. * lib/autoconf/erlang.m4 (AC_LANG(Erlang)): Adjust.
  2132. * lib/autoconf/fortran.m4 (AC_LANG(Fortran 77), AC_LANG(Fortran)):
  2133. Likewise.
  2134. * lib/autoconf/c.m4 (AC_LANG(C), AC_LANG(C++))
  2135. (AC_LANG(Objective C), AC_LANG(Objective C++)): Likewise.
  2136. (AC_OPENMP): Use _AC_CC instead of $CC.
  2137. Do not fail OpenMP tests on systems without aclocal.
  2138. * tests/c.at (AC_OPENMP and C, AC_OPENMP and C++): Override
  2139. `ACLOCAL=true' for autoreconf, the tests don't need aclocal.
  2140. * tests/fortran.at (AC_OPENMP and Fortran 77)
  2141. (AC_OPENMP and Fortran): Likewise.
  2142. 2009-10-31 Bruno Haible <bruno@clisp.org>
  2143. Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  2144. Improve cache variable documentation.
  2145. * doc/autoconf.texi (AC_PROG_AWK, AC_PROG_GREP, AC_PROG_EGREP,
  2146. AC_PROG_FGREP, AC_PROG_INSTALL, AC_PROG_MKDIR_P, AC_PROG_LEX,
  2147. AC_PROG_YACC, AC_CHECK_PROG, AC_CHECK_PROGS, AC_PATH_PROG,
  2148. AC_PATH_PROGS): Don't suggest to use the cache variable, only to
  2149. override it, or preferably, a non-cache variable associated with
  2150. the test.
  2151. (AC_PROG_SED): Likewise. Fix name of cache variable.
  2152. (AC_FUNC_GETMNTENT): Fix name cache variable.
  2153. (AC_FUNC_LSTAT): Fix typo.
  2154. 2009-10-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  2155. Fix AC_OPENMP for Fortran (F77 and FC).
  2156. * lib/autoconf/fortran.m4 (AC_LANG_FUNC_LINK_TRY(Fortran): New.
  2157. * tests/c.at (AC_C_RESTRICT and C++, AC_OPENMP and C)
  2158. (AC_OPENMP and C++): New tests.
  2159. * tests/fortran.at (AC_OPENMP and Fortran 77)
  2160. (AC_OPENMP and Fortran): New tests.
  2161. * THANKS: Update.
  2162. Report by Bart Oldeman.
  2163. Perl coverage convenience targets.
  2164. * Makefile.am (PERL_COVERAGE_DB, PERL_COVERAGE_FLAGS)
  2165. (PERL_COVER): New variables.
  2166. (check-coverage, check-coverage-run, check-coverage-report)
  2167. (clean-coverage): New phony targets.
  2168. (clean-local): Depend on clean-coverage.
  2169. 2009-10-28 Eric Blake <ebb9@byu.net>
  2170. Fix corner cases in AS_LITERAL_IF and AS_TR_SH.
  2171. * lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Fix bug with unbalanced
  2172. parens. Move guts...
  2173. (_AS_LITERAL_IF): into new helper.
  2174. (AS_TR_SH, AS_TR_CPP): Fix bugs with expansion of wrong macro.
  2175. Move guts...
  2176. (_AS_TR_SH, _AS_TR_SH_LITERAL, _AS_TR_SH_INDIR, _AS_TR_CPP)
  2177. (_AS_TR_CPP_LITERAL, _AS_TR_CPP_INDIR): ...into new helpers.
  2178. (AS_VAR_PUSHDEF): Hoist m4_require, by moving guts...
  2179. (_AS_VAR_PUSHDEF): ...into new helper.
  2180. * tests/m4sh.at (AS@&t@_LITERAL_IF): Enhance test.
  2181. Minor optimizations to m4sh.
  2182. * lib/m4sugar/m4sh.m4 (AS_VAR_IF, AS_IDENTIFIER_IF)
  2183. (AS_LITERAL_IF): Parse fewer bytes during expansion, by visiting
  2184. if-true and if-false arguments only once.
  2185. Optimize m4_escape for common case.
  2186. * lib/m4sugar/m4sugar.m4 (m4_escape): Don't use regex if string is
  2187. already sane, by copying from AS_LITERAL_IF. Move guts...
  2188. (_m4_escape): ...into new helper.
  2189. Fix m4_text_wrap handling of quoted whitespace.
  2190. * lib/m4sugar/m4sugar.m4 (m4_escape): New macro.
  2191. (m4_text_wrap): Use it to avoid issues with embedded [ and ].
  2192. * tests/m4sugar.at (m4@&t@_text_wrap): Test it.
  2193. * NEWS: Document this.
  2194. * doc/autoconf.texi (Text processing Macros) <m4_escape>:
  2195. Likewise.
  2196. Reported by Mike Frysinger.
  2197. 2009-10-27 Eric Blake <ebb9@byu.net>
  2198. Mention another feature of AC_RUN_IFELSE.
  2199. * doc/autoconf.texi (Runtime) <AC_RUN_IFELSE>: Mention that
  2200. compiled test program still exists during if-true branch.
  2201. * THANKS: Update.
  2202. Reported by Stefano Lattarini, suggestion by Ralf Wildenhues.
  2203. 2009-10-26 Paolo Bonzini <bonzini@gnu.org>
  2204. Pass Autom4te path down to programs that autoreconf invokes.
  2205. * bin/autoreconf.in (autom4te): New variable. Export its value
  2206. as $ENV{'AUTOM4TE'}. Suggested by Peter Johansson.
  2207. * THANKS: Update.
  2208. 2009-10-20 Eric Blake <ebb9@byu.net>
  2209. Fix AC_TYPE_UINT64_T on Tru64 with gcc 3.4.4.
  2210. * lib/autoconf/types.m4 (_AC_TYPE_UNSIGNED_INT_BODY)
  2211. (_AC_TYPE_INT_BODY): Avoid undefined behavior of attempting shift
  2212. wider than type.
  2213. * NEWS: Document this.
  2214. Reported by Rainer Orth.
  2215. 2009-10-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  2216. Fix a couple of index entries in the manual.
  2217. * doc/autoconf.texi (Polymorphic Variables): Fix index entries
  2218. for AS_VAR_APPEND, AS_VAR_ARITH.
  2219. 2009-10-15 Eric Blake <ebb9@byu.net>
  2220. Fix typos in INSTALL.
  2221. * doc/install.texi (Basic Installation, Installation Names): Fix
  2222. typos in last patch.
  2223. Reported by Ralf Wildenhues.
  2224. Improve INSTALL wording.
  2225. * doc/install.texi (Basic Installation): Clarify installcheck
  2226. behavior.
  2227. (Installation Names): Mention that --prefix only overrides
  2228. directory locations not specified on the command line. Prefer
  2229. /alternate/directory over /path/to. Remove a sentence targeted to
  2230. the developer, not the user.
  2231. * THANKS: Update.
  2232. Suggested by Alfred M. Szmidt.
  2233. 2009-10-15 Peter Breitenlohner <peb@mppmu.mpg.de>
  2234. Fix typos in documentation.
  2235. * doc/autoconf.texi (Cache Variable Index): Fix typo.
  2236. (Libraries) <AC_SEARCH_LIBS>: Mention 'none required' result.
  2237. 2009-10-09 Bruno Haible <bruno@clisp.org>
  2238. Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  2239. Recommend `sh -n' debugging, and public result variables for macros.
  2240. * doc/autoconf.texi (Debugging): Recommend to use "bash -n
  2241. configure". Recommend the use of result variables as an
  2242. alternative to run-if-true/run-if-false parameters.
  2243. 2009-10-05 Bruno Haible <bruno@clisp.org>
  2244. * doc/autoconf.texi (Particular Functions): Swap sections about
  2245. AC_FUNC_MBRTOWC and AC_FUNC_MEMCMP.
  2246. 2009-10-01 Paolo Bonzini <bonzini@gnu.org>
  2247. Unconditionally check for junk ./--version after mkdir search loop.
  2248. * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Always check for
  2249. presence of ./--version. Reported by Eric Blake.
  2250. 2009-09-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  2251. Clarify documentation about Solaris sed quantifier restriction.
  2252. * doc/autoconf.texi (Limitations of Usual Tools) <sed>: '*' does
  2253. not work after subexpressions, \{M,N\} only after one-character
  2254. expressions. From GCC PR 38923.
  2255. 2009-09-21 Eric Blake <ebb9@byu.net>
  2256. Fit configure output in 80 columns.
  2257. * lib/autoconf/functions.m4
  2258. (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Shorten message.
  2259. 2009-09-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  2260. Use consistent notation for cache variables.
  2261. * doc/autoconf.texi (Generic Programs): Remove `$' before
  2262. variable name.
  2263. Documentation of specific and general cache variables.
  2264. * doc/autoconf.texi (Default Includes, Alternative Programs)
  2265. (Particular Programs, Generic Programs, Files, Libraries)
  2266. (Function Portability, Particular Functions, Generic Functions)
  2267. (Particular Headers, Generic Headers, Declarations)
  2268. (Generic Declarations, Particular Structures, Particular Types)
  2269. (Specific Compiler Characteristics)
  2270. (Generic Compiler Characteristics, C Compiler, System Services):
  2271. Document lots of cache variables.
  2272. * NEWS: Update.
  2273. Suggested by Bruno Haible.
  2274. New cache variable index in the manual.
  2275. * doc/autoconf.texi: Define new index `CA' for cache variables.
  2276. (caindex): New macro.
  2277. (Cache Variable Index): New appendix node.
  2278. (Top, Indices): Adjust menus.
  2279. (Cache Variable Names, Site Defaults): Adjust text.
  2280. * doc/Makefile.am (CLEANFILES): Add files generated for CA index.
  2281. New FAQ node: Debugging.
  2282. * doc/autoconf.texi (Debugging): New node.
  2283. (Top, FAQ): Adjust menus.
  2284. Report by Bruno Haible.
  2285. Document AM_MAKEFLAGS workaround to the macro override problem.
  2286. * doc/autoconf.texi (Macros and Submakes): Automake makefiles
  2287. provide AM_MAKEFLAGS to help with overriding macros in submake
  2288. invocations.
  2289. Prompted by bug report from Bruno Haible.
  2290. 2009-09-15 Peter Breitenlohner <peb@mppmu.mpg.de>
  2291. Implement and document Objective C++ support.
  2292. * lib/autoconf/c.m4 (AC_LANG(Objective C++), AC_LANG_OBJCXX)
  2293. (AC_LANG_PREPROC(Objective C++), AC_PROG_OBJCXXCPP)
  2294. (AC_LANG_COMPILER(Objective C++), AC_PROG_OBJCXX)
  2295. (_AC_PROG_OBJCXX_G): New macros.
  2296. (_AC_ARG_VAR_CPPFLAGS, _AC_ARG_VAR_LDFLAGS)
  2297. (_AC_ARG_VAR_LIBS): Adjusted.
  2298. * doc/autoconf.texi (Objective C++ Compiler): New node.
  2299. (Preset Output Variables): Document OBJCXXFLAGS.
  2300. (Language Choice): Document `Objective C++' language.
  2301. * NEWS: Updated.
  2302. * tests/local.at (AT_CHECK_ENV): Ignore AC_SUBSTed Objective C++
  2303. related variables.
  2304. 2009-09-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  2305. Work around DJGPP shell function return bug with command substitutions.
  2306. DJGPP bash 2.04 has a bug in that `return $ac_retval' done in a
  2307. shell function which also contains a command substitution causes
  2308. the shell to barf. For more details and a fix see:
  2309. <http://www.delorie.com/djgpp/mail-archives/browse.cgi?p=djgpp-workers/2009/09/09/03:35:08>
  2310. Possible workaround include putting the `return' in a subshell
  2311. or calling another function to set the status.
  2312. * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE_BODY)
  2313. (_AC_COMPILE_IFELSE_BODY, _AC_LINK_IFELSE_BODY)
  2314. (_AC_RUN_IFELSE_BODY, _AC_COMPUTE_INT_BODY): Use AS_SET_STATUS
  2315. instead of `return'.
  2316. * doc/autoconf.texi (Common Shell Constructs, Shell Functions):
  2317. Document the issue.
  2318. * THANKS: Update.
  2319. Report by Rugxulo and Reuben Thomas.
  2320. DJGPP fix: Do not redirect standard input in configure scripts.
  2321. * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): If $DJGPP is
  2322. nonempty, do not dup fd 0 to AS_ORIGINAL_STDIN_FD, do not close
  2323. fd 0.
  2324. 2009-09-14 Eric Blake <ebb9@byu.net>
  2325. Quote result of m4_toupper and m4_tolower.
  2326. * lib/m4sugar/m4sugar.m4 (m4_tolower, m4_toupper): Quote result.
  2327. * lib/autotest/general.m4 (AT_KEYWORDS): Adjust caller.
  2328. * tests/m4sugar.at (m4@&t@_toupper and m4@&t@_tolower): New test.
  2329. * NEWS: Document this.
  2330. * THANKS: Update.
  2331. Reported by Sam Steingold.
  2332. 2009-09-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  2333. DJGPP fix: remove both conftest and conftest.exe.
  2334. The DJGPP compiler may create both `a.out' and `a.exe' without -o,
  2335. and both `conftest' and `conftest.exe' with `-o conftest', but not
  2336. with `-o conftest.exe'.
  2337. * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_O): Also remove
  2338. `conftest' without $ac_exeext suffix.
  2339. DJGPP fix: do not try to source /dev/null as cache or site file.
  2340. * lib/autoconf/general.m4 (AC_SITE_LOAD, AC_CACHE_LOAD): Do not
  2341. load the cache or site file if it is `/dev/null', as DJGPP treats
  2342. it as a regular file, but the shell then warns about it later.
  2343. Fixes several test suite failures on DJGPP.
  2344. testsuite: pass $configure_options to configure invocations.
  2345. * tests/local.at (AT_CHECK_CONFIGURE): Add $configure_options
  2346. to configure command line.
  2347. * tests/autotest.at, tests/base.at, tests/c.at, tests/torture.at:
  2348. Likewise for each configure invocation.
  2349. * README-hacking: Document configure_options.
  2350. testsuite: improve Erlang tests portability, overridability.
  2351. * tests/autotest.at (Erlang Eunit unit tests): Use "no" as
  2352. value-if-not-found for Erlang tools.
  2353. * tests/erlang.at: Likewise. Also, use AS_EXIT instead of plain
  2354. exit.
  2355. 2009-09-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  2356. * bin/autoupdate.in: Fix typos in comments.
  2357. Improve autotest testsuite summary message.
  2358. * lib/autotest/general.m4 (AT_INIT): Hint at the toplevel log
  2359. only if not $at_debug_p. Always hint at the per-test output.
  2360. Four new autoupdate tests, expected failures.
  2361. * tests/tools.at (autoupdating macros recursively)
  2362. (autoupdating with m4@&t@_pushdef, autoupdating with AC_REQUIRE)
  2363. (autoupdating with complex quoting): New tests.
  2364. Fix description of AC_CHECK_LIB regarding other deplibs.
  2365. * doc/autoconf.texi (Libraries): Library linking may not fail
  2366. even without missing additional libs.
  2367. 2009-09-12 Eric Blake <ebb9@byu.net>
  2368. Track recent copyright assignments.
  2369. * AUTHORS: Update.
  2370. Improve documentation on quoting.
  2371. * doc/autoconf.texi (Autoconf Language): Clarify quoting example.
  2372. * THANKS: Update.
  2373. Reported by santilín.
  2374. 2009-09-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  2375. New config.status option --config.
  2376. * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Implement
  2377. --config.
  2378. * doc/autoconf.texi (config.status Invocation): Document it.
  2379. * NEWS: Update.
  2380. * tests/torture.at (configure invocation): Test it.
  2381. Suggested several times, by several people, in the past.
  2382. 2009-09-10 Eric Blake <ebb9@byu.net>
  2383. Document that AS_INIT is automatically used.
  2384. * doc/autoconf.texi (Initialization Macros) <AS_INIT>: Add words
  2385. to clarify that only bare-bones scripts need a direct AS_INIT.
  2386. Suggested by Reuben Thomas.
  2387. Clarify portability pitfall of test.
  2388. * doc/autoconf.texi (Limitations of Builtins) <test>: Give more
  2389. reasons why -a and -o are not portable.
  2390. Reported by Reuben Thomas.
  2391. 2009-09-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  2392. Document sed limitation with escaped metacharacters.
  2393. * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Use `%'
  2394. rather than `/' as delimiter in an example `s' command.
  2395. Document inconsistent treatment of escaped metacharacters.
  2396. * THANKS: Update.
  2397. Report by Dave Korn, with additional input from Paolo Bonzini
  2398. and Eric Blake.
  2399. Document temporary directory `$tmp' for use in config.status.
  2400. * doc/autoconf.texi (Configuration Actions): Document `$tmp'.
  2401. * NEWS: Update.
  2402. 2009-09-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  2403. Update License to GPLv3+ including new Autoconf Exception.
  2404. * NEWS, README: Update licensing information.
  2405. * COPYING.EXCEPTION: New file.
  2406. * Makefile.am (EXTRA_DIST): Distribute it.
  2407. * cfg.mk (autom4te-update): Remove copyright change warning.
  2408. * lib/autoconf/autoconf.m4, lib/autoconf/autoheader.m4,
  2409. lib/autoconf/autoscan.m4, lib/autoconf/autotest.m4,
  2410. lib/autoconf/autoupdate.m4, lib/autoconf/c.m4,
  2411. lib/autoconf/erlang.m4, lib/autoconf/fortran.m4,
  2412. lib/autoconf/functions.m4, lib/autoconf/general.m4,
  2413. lib/autoconf/headers.m4, lib/autoconf/lang.m4,
  2414. lib/autoconf/libs.m4, lib/autoconf/oldnames.m4,
  2415. lib/autoconf/programs.m4, lib/autoconf/specific.m4,
  2416. lib/autoconf/status.m4, lib/autoconf/types.m4,
  2417. lib/autotest/autotest.m4, lib/autotest/general.m4,
  2418. lib/autotest/specific.m4, lib/m4sugar/foreach.m4,
  2419. lib/m4sugar/m4sh.m4, lib/m4sugar/m4sugar.m4: Update exception
  2420. statement, bump to GPLv3.
  2421. * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in,
  2422. bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
  2423. bin/ifnames.in: Bump to GPLv3+, adjust --version output
  2424. to reflect the GPLv3+ and the Autoconf Exception.
  2425. * lib/Autom4te/C4che.pm, lib/Autom4te/ChannelDefs.pm,
  2426. lib/Autom4te/General.pm, lib/Autom4te/Request.pm,
  2427. lib/autom4te.in, lib/autoscan/autoscan.pre,
  2428. lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el,
  2429. lib/freeze.mk, tests/atlocal.in, tests/autoscan.at,
  2430. tests/autotest.at, tests/base.at, tests/c.at,
  2431. tests/compile.at, tests/erlang.at, tests/foreign.at,
  2432. tests/fortran.at, tests/local.at, tests/m4sh.at,
  2433. tests/m4sugar.at, tests/mktests.sh, tests/semantics.at,
  2434. tests/statesave.m4, tests/suite.at, tests/tools.at,
  2435. tests/torture.at, tests/wrapper.as: Bump to GPLv3+.
  2436. Allow to work on systems without Fcntl::flock implementation.
  2437. * configure.ac (PERL_FLOCK): New substitution variable with test
  2438. whether Fcntl::flock is implemented by the system.
  2439. * bin/Makefile.am (edit): Substitute @PERL_FLOCK@.
  2440. * bin/autom4te.in: Call XFile::lock only if flock is
  2441. implemented.
  2442. 2009-09-04 Reuben Thomas <rrt@sc3d.org> (tiny change)
  2443. Mention the Autoconf archive.
  2444. * doc/autoconf.texi (Coding Style): Add a link.
  2445. 2009-08-30 Bruno Haible <bruno@clisp.org>
  2446. Document another Solaris tr pitfall.
  2447. * doc/autoconf.texi (Limitations of Usual Tools) <tr>: Mention
  2448. that Solaris /usr/bin/tr does not only have problems with
  2449. replacing NUL bytes but discards all NUL bytes from the input.
  2450. 2009-09-04 Eric Blake <ebb9@byu.net>
  2451. Improve wording about what goes before AC_INIT.
  2452. * doc/autoconf.texi (Initializing configure): Update wording.
  2453. (Versioning) <AC_PREREQ>: Remove misleading text, to match
  2454. autoscan's behavior.
  2455. * THANKS: Update.
  2456. Reported by NightStrike, with input from Ralf Wildenhues.
  2457. 2009-09-04 Thomas Jahns <jahns@dkrz.de> (tiny change)
  2458. Fix illegal tab character in Fortran source.
  2459. * lib/autoconf/fortran.m4 (AC_FC_SRCEXT): Change TAB back to
  2460. multiple spaces; regression introduced 2008-10-23.
  2461. * NEWS: Mention this.
  2462. * THANKS: Update.
  2463. 2009-08-22 Romain Lenglet <romain.lenglet@laposte.net>
  2464. Fix AT_CHECK_EUNIT for versions of Erlang/OTP without init:stop/1.
  2465. * lib/autotest/specific.m4 (AT_CHECK_EUNIT): Support older
  2466. versions of Erlang/OTP with an erlang:stop() function that doesn't
  2467. take arguments.
  2468. 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  2469. Drop unneeded line in Eunit test.
  2470. * tests/autotest.at (Erlang Eunit unit tests): Do not copy
  2471. install-sh.
  2472. Fix build dependencies for Erlang macro files.
  2473. * lib/freeze.mk (autotest_m4f_dependencies): Add
  2474. $(src_libdir)/autotest/specific.m4.
  2475. * tests/Makefile.am (AUTOCONF_FILES): Add erlang.m4.
  2476. 2009-09-19 Paolo Bonzini <bonzini@gnu.org>
  2477. Use a separate program to test whether the compiler works.
  2478. * lib/autoconf/erlang.m4 (_AC_LANG_NULL_PROGRAM(Erlang)): New.
  2479. * lib/autoconf/lang.m4 (AC_LANG_DEFINE): Copy _AC_LANG_NULL_PROGRAM.
  2480. (_AC_LANG_NULL_PROGRAM(), _AC_LANG_NULL_PROGRAM): New.
  2481. (_AC_COMPILER_EXEEXT_DEFAULT): Print here "whether the xyz compiler
  2482. works", before exiting.
  2483. (_AC_COMPILER_EXEEXT_WORKS): Merge into _AC_COMPILER_EXEEXT_CROSS,
  2484. remove the "whether the xyz compiler works" message, use
  2485. conftest$ac_cv_exeext instead of $ac_file.
  2486. (_AC_COMPILER_EXEEXT): Try _AC_COMPILER_EXEEXT_DEFAULT using
  2487. the null program, and clean conftest.out only after
  2488. _AC_COMPILER_EXEEXT_CROSS.
  2489. (AC_NO_EXECUTABLES): Use _AC_LANG_NULL_PROGRAM.
  2490. (_AC_COMPILER_OBJEXT): Use _AC_LANG_NULL_PROGRAM.
  2491. 2009-08-18 Bruno Haible <bruno@clisp.org>
  2492. Document Solaris tr range and NUL limitations.
  2493. * doc/autoconf.texi (Limitations of Usual Tools): Mention that
  2494. Solaris /usr/bin/tr does not support ranges, nor the '\0' octal
  2495. escape.
  2496. 2009-08-14 Eric Blake <ebb9@byu.net>
  2497. Simplify version control metadata.
  2498. * .cvsignore: Delete.
  2499. * bin/.cvsignore: Likewise.
  2500. * config/.cvsignore: Likewise.
  2501. * doc/.cvsignore: Likewise.
  2502. * lib/.cvsignore: Likewise.
  2503. * lib/autoconf/.cvsignore: Likewise.
  2504. * lib/Autom4te/.cvsignore: Likewise.
  2505. * lib/autoscan/.cvsignore: Likewise.
  2506. * lib/autotest/.cvsignore: Likewise.
  2507. * lib/emacs/.cvsignore: Likewise.
  2508. * lib/m4sugar/.cvsignore: Likewise.
  2509. * man/.cvsignore: Likewise.
  2510. * tests/.cvsignore: Likewise.
  2511. * bin/.gitignore: Likewise.
  2512. * build-aux/.gitignore: Likewise.
  2513. * config/.gitignore: Likewise.
  2514. * doc/.gitignore: Likewise.
  2515. * lib/.gitignore: Likewise.
  2516. * lib/autoconf/.gitignore: Likewise.
  2517. * lib/Autom4te/.gitignore: Likewise.
  2518. * lib/autoscan/.gitignore: Likewise.
  2519. * lib/autotest/.gitignore: Likewise.
  2520. * lib/emacs/.gitignore: Likewise.
  2521. * lib/m4sugar/.gitignore: Likewise.
  2522. * man/.gitignore: Likewise.
  2523. * tests/.gitignore: Likewise.
  2524. * .gitignore: Consolidate all rules into one file.
  2525. Normalize remaining copyright lines.
  2526. * BUGS: Reformat copyright line, using UPDATE_COPYRIGHT_FORCE.
  2527. * NEWS: Likewise.
  2528. * README-hacking: Likewise.
  2529. * TODO: Likewise.
  2530. * lib/Autom4te/ChannelDefs.pm: Likewise.
  2531. * lib/autoconf/fortran.m4: Likewise.
  2532. * lib/autoconf/general.m4: Likewise.
  2533. * lib/autoconf/lang.m4: Likewise.
  2534. * lib/autotest/general.m4: Likewise.
  2535. * maint.mk: Likewise.
  2536. * tests/compile.at: Likewise.
  2537. Improve copyright updating.
  2538. * build-aux/update-copyright: Resynchronize from upstream.
  2539. * maint.mk (update-copyright): Simplify based on gnulib.
  2540. (update-copyright-env): New variable.
  2541. * cfg.mk (update-copyright-exclude-regexp): Delete.
  2542. (update-copyright-env): New override.
  2543. * .x-update-copyright: New file.
  2544. * lib/Autom4te/Makefile.am: Add copyright.
  2545. * lib/Autom4te/Channels.pm: Revert copyright update to upstream
  2546. file.
  2547. * lib/Autom4te/Configure_ac.pm: Likewise.
  2548. * lib/Autom4te/FileUtils.pm: Likewise.
  2549. * lib/Autom4te/Struct.pm: Likewise.
  2550. * lib/Autom4te/XFile.pm: Likewise.
  2551. Update copyright.
  2552. * AUTHORS: Include 2009 in copyright.
  2553. * lib/Autom4te/C4che.pm: Likewise.
  2554. * lib/Autom4te/Channels.pm: Likewise.
  2555. * lib/Autom4te/Configure_ac.pm: Likewise.
  2556. * lib/Autom4te/FileUtils.pm: Likewise.
  2557. * lib/Autom4te/General.pm: Likewise.
  2558. * lib/Autom4te/Request.pm: Likewise.
  2559. * lib/Autom4te/Struct.pm: Likewise.
  2560. * lib/autoconf/Makefile.am: Likewise.
  2561. * lib/autoconf/autoconf.m4: Likewise.
  2562. * lib/autoconf/autoscan.m4: Likewise.
  2563. * lib/autoconf/autoupdate.m4: Likewise.
  2564. * lib/autoconf/functions.m4: Likewise.
  2565. * lib/autoconf/libs.m4: Likewise.
  2566. * lib/autoconf/oldnames.m4: Likewise.
  2567. * lib/autoconf/types.m4: Likewise.
  2568. * lib/autoscan/Makefile.am: Likewise.
  2569. * lib/autoscan/autoscan.pre: Likewise.
  2570. * lib/autotest/Makefile.am: Likewise.
  2571. * lib/autotest/autotest.m4: Likewise.
  2572. * lib/emacs/autoconf-mode.el: Likewise.
  2573. * lib/emacs/autotest-mode.el: Likewise.
  2574. * lib/freeze.mk: Likewise.
  2575. * lib/m4sugar/foreach.m4: Likewise.
  2576. * man/Makefile.am: Likewise.
  2577. * tests/atlocal.in: Likewise.
  2578. * tests/autoscan.at: Likewise.
  2579. * tests/foreign.at: Likewise.
  2580. * tests/fortran.at: Likewise.
  2581. * tests/mktests.sh: Likewise.
  2582. * tests/semantics.at: Likewise.
  2583. * tests/suite.at: Likewise.
  2584. * tests/wrapper.as: Likewise.
  2585. Prepare to bulk update copyright years.
  2586. * build-aux/update-copyright: New file.
  2587. * cfg.mk (gnulib-update): Sync it from gnulib.
  2588. (update-copyright-exclude-regexp): New variable.
  2589. (web-manual): Move...
  2590. * maint.mk (web-manual): ...here, to match gnulib.
  2591. (update-copyright): New target, copied from gnulib's
  2592. maint.mk (it would be nice to sync this file...).
  2593. (build_aux): New macro.
  2594. (VC_LIST, emit_upload_commands): Use it.
  2595. * build-aux/texinfo.tex: Resynchronize from upstream.
  2596. * lib/autoconf/general.m4 (_AC_COPYRIGHT_YEARS): Reformat to meet
  2597. expected pattern.
  2598. * lib/autotest/general.m4 (_AT_COPYRIGHT_YEARS): Likewise.
  2599. 2009-08-12 Paolo Bonzini <bonzini@gnu.org>
  2600. Fix testsuite log capturing for tests 183 and 186.
  2601. * tests/autotest.at (AT_CHECK_AT_PREP): Prepend AT_dir to
  2602. testsuite log file for AT_CAPTURE_FILE.
  2603. 2009-08-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  2604. Ensure we do not regress with AC_CHECK_MEMBERS.
  2605. * tests/semantics.at (AC_CHECK_MEMBERS): Expose the recent
  2606. AC_CHECK_MEMBERS fix.
  2607. (AC_CHECK_MEMBER): New test group.
  2608. 2009-08-10 Jeff Squyres <jsquyres@cisco.com> (tiny change)
  2609. Fix typo in AC_REQUIRE description.
  2610. * doc/autoconf.texi (Prerequisite macros): Fix typo.
  2611. 2009-08-10 Paolo Bonzini <bonzini@gnu.org>
  2612. Fix description of the macro generated by AC_CHECK_MEMBERS.
  2613. * lib/autoconf/types.m4 (_AC_CHECK_MEMBERS): Fix regex
  2614. replacement. Reported by Bruno Haible.
  2615. 2009-08-07 Romain Lenglet <romain.lenglet@laposte.net>
  2616. * lib/autoconf/erlang.m4 (AC_LANG(Erlang)): Make AC_RUN_IFELSE
  2617. fail if the test module doesn't compile.
  2618. 2009-08-02 Paolo Bonzini <bonzini@gnu.org>
  2619. Use exit code to detect no occurrences with grep.
  2620. * tests/autotest.at (Erlang Eunit unit tests): Fix grep invocation.
  2621. 2009-08-01 Romain Lenglet <romain.lenglet@laposte.net>
  2622. Paolo Bonzini <bonzini@gnu.org>
  2623. * lib/autotest/specific.m4 (AT_CHECK_EUNIT): New file.
  2624. * lib/autotest/Makefile.am (dist_autotestlib_DATA): Add specific.m4.
  2625. * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Add definitions of
  2626. variables used by AT_CHECK_EUNIT macro: ERL, ERLC, ERLCFLAGS.
  2627. * tests/autotest.at (Erlang Eunit unit tests): Add test for macro
  2628. AT_CHECK_EUNIT.
  2629. * doc/autoconf.texi (Writing Testsuites): Document macro
  2630. AT_CHECK_EUNIT.
  2631. * NEWS: Mention macro AT_CHECK_EUNIT.
  2632. 2009-07-30 Paolo Bonzini <bonzini@gnu.org>
  2633. Joel E. Denny <jdenny@clemson.edu>
  2634. Clarify comparison of echo, printf, and AS_ECHO*.
  2635. * doc/autoconf.texi (Limitations of Builtins): In echo's entry,
  2636. give a reason why printf is better than echo. In printf's
  2637. entry, cross-reference echo's entry.
  2638. 2009-07-30 Paolo Bonzini <bonzini@gnu.org>
  2639. Add back AH_CHECK_HEADERS.
  2640. * lib/autoconf/general.m4 (AH_CHECK_HEADERS): New.
  2641. * NEWS: Create new section.
  2642. 2009-07-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  2643. testsuite: avoid bogus hostname match from inner test logs.
  2644. * tests/autotest.at (Hard fail): Check more restrictively for
  2645. passed tests, so that hostnames recorded in the log file do not
  2646. wrongly match.
  2647. Report by Ludovic Courtès.
  2648. 2009-07-26 Eric Blake <ebb9@byu.net>
  2649. Release Version 2.64.
  2650. * NEWS: Mention the release.
  2651. * README: This release is stable.
  2652. * HACKING (release): Use dist-xz, not dist-lzma.
  2653. Document some optional features in INSTALL.
  2654. * doc/install.texi (Basic Installation): Mention that INSTALL is
  2655. generic, and that not all packages implement all features.
  2656. Mention 'make distcheck' for maintainers, and 'make installcheck'
  2657. for users. Mention the GNU Coding Standards.
  2658. (Installation Names): Mention DESTDIR vs. 'make prefix= install'
  2659. as ways to alter the configuration, with caveats of each. Move
  2660. --program-prefix discussion...
  2661. (Optional Features): ...here. Mention --enable-silent-rules and
  2662. use of make V=0.
  2663. Basic improvements to INSTALL.
  2664. * doc/install.texi (Basic Installation): Use better markup.
  2665. (Multiple Architectures): Introduce the term VPATH.
  2666. (Installation Names): Mention that --prefix must be absolute.
  2667. * doc/autoconf.texi (Preset Output Variables)
  2668. (Installation Directory Variables): Consistently refer to GNU
  2669. Coding Standards.
  2670. Update some upstream files.
  2671. * build-aux/config.guess: Resynchronize from upstream.
  2672. * build-aux/config.sub: Likewise.
  2673. * build-aux/texinfo.tex: Likewise.
  2674. * build-aux/vc-list-files: Likewise.
  2675. * doc/standards.texi: Likewise.
  2676. 2009-07-25 Eric Blake <ebb9@byu.net>
  2677. Recognize new m4sugar keywords.
  2678. * lib/emacs/autoconf-mode.el (autoconf-current-defun): Recognize
  2679. m4_define_default, m4_defun_init, m4_defun_once.
  2680. (autoconf-font-lock-keywords): Likewise.
  2681. Require m4 1.4.6, and fix testsuite to support this version.
  2682. * m4/m4.m4 (AC_PROG_GNU_M4): Reject m4 1.4.5, now that we use
  2683. regexp it can't handle.
  2684. * NEWS: Mention minimum version bump.
  2685. * README: Likewise.
  2686. * README-hacking: Likewise.
  2687. * doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
  2688. * tests/tools.at (autom4te --trace and whitespace): Update test so
  2689. still work with older m4 line numbers.
  2690. * tests/m4sugar.at (m4@&t@_require: nested): Likewise.
  2691. Reported by Ralf Wildenhues.
  2692. 2009-07-25 Bruno Haible <bruno@clisp.org>
  2693. Clarify autom4te debugging tips.
  2694. * doc/autoconf.texi (Debugging via autom4te): Fix example from
  2695. previous commit, and add clarification.
  2696. 2009-07-25 Eric Blake <ebb9@byu.net>
  2697. Document some autom4te debugging tips.
  2698. * doc/autoconf.texi (Debugging via autom4te): New node.
  2699. Suggested by Bruno Haible.
  2700. Fix font-lock.
  2701. * configure.ac (ac_cv_unsupported_fs_chars): Make editing easier.
  2702. Let autoheader see through m4 macros in AC_DEFINE.
  2703. * lib/autoconf/general.m4 (AC_DEFINE_TRACE): Expand macro before
  2704. tracing its name.
  2705. * lib/autoconf/autoheader.m4 (AH_VERBATIM, AH_TEMPLATE): Likewise,
  2706. for using the macro in a template file.
  2707. * tests/tools.at (autoheader and macros): New test.
  2708. * NEWS: Mention this.
  2709. Reported by Bruno Haible.
  2710. Improve NEWS wording.
  2711. * NEWS: Use more accurate statement.
  2712. Suggestedy by Ralf Wildenhues.
  2713. 2009-07-24 Eric Blake <ebb9@byu.net>
  2714. Fix AS_EXIT for FreeBSD sh.
  2715. * lib/m4sugar/m4sh.m4 (AS_EXIT): Always supply an argument to the
  2716. shell function, since $? is not reliable on function entry.
  2717. (_AS_EXIT_PREPARE): Simplify to assume argument.
  2718. Reported by Ralf Wildenhues.
  2719. 2009-07-23 Eric Blake <ebb9@byu.net>
  2720. Run more tests under Solaris.
  2721. * tests/local.at (AT_CHECK_AUTOCONF): Don't skip entire test
  2722. group when passing over syntax checks.
  2723. 2009-07-23 Romain Lenglet <romain.lenglet@laposte.net>
  2724. Clean up temporary files generated by Erlang macros.
  2725. * lib/autoconf/erlang.m4 (AC_ERLANG_CHECK_LIB)
  2726. (AC_ERLANG_SUBST_ROOT_DIR, AC_ERLANG_SUBST_LIB_DIR)
  2727. (AC_ERLANG_SUBST_ERTS_VER): Delete conftest.out; renamed
  2728. erlang_cv_* cache variables into ac_cv_erlang_*.
  2729. * lib/autoconf/general.m4 (AC_RUN_IFELSE): Delete conftest.beam
  2730. files generated by Erlang compiler.
  2731. * tests/local.at (AT_CHECK_ENV): Ignore variables defined by
  2732. Erlang macros.
  2733. * tests/erlang.at (AT_SETUP_ERLANG): Delete; replace all uses by
  2734. AT_CHECK_MACRO.
  2735. * tests/Makefile.am (AUTOCONF_FILES): Revert previous addition of
  2736. generated Erlang tests; they are all hand-tested.
  2737. Add autotests for Erlang macros.
  2738. * tests/erlang.at: Added tests for all macros in erlang.m4.
  2739. * tests/Makefile.am (TESTSUITE_HAND_AT, AUTOCONF_FILES): Added
  2740. erlang.at.
  2741. * tests/suite.at: Likewise.
  2742. * tests/compile.at (AC_LANG, AC_LANG_PUSH & AC_LANG_POP): Added
  2743. test for extension of Erlang files.
  2744. (Multiple languages): Use correct m4 quoting.
  2745. * NEWS: Mention this.
  2746. 2009-07-22 Eric Blake <ebb9@byu.net>
  2747. Fix test of autom4te from stdin.
  2748. * tests/tools.at (autom4te cache locking): Make stdin request
  2749. explicit, so that --force is properly used.
  2750. 2009-07-16 Eric Blake <ebb9@byu.net>
  2751. Don't hide leading space in autom4te --trace output.
  2752. * bin/autom4te.in (handle_traces): Don't flatten leading and
  2753. trailing space, since tracing spacing bugs can be useful.
  2754. * tests/tools.at (autom4te --trace and whitespace): New test.
  2755. 2009-07-13 Eric Blake <ebb9@byu.net>
  2756. Document that $srcdir can be used during configure.
  2757. * doc/autoconf.texi (Preset Output Variables): Add a paragraph.
  2758. * THANKS: Update.
  2759. Reported by Monty Taylor.
  2760. 2009-07-13 Eric Blake <ebb9@byu.net>
  2761. Disable asynchronous job notification for parallel tests.
  2762. * lib/autotest/general.m4 (AT_INIT) <Driver loop>: Turn off notify
  2763. mode, since zsh leaves it on after 'emulate sh'.
  2764. * doc/autoconf.texi (Limitations of Builtins) <set>: Document that
  2765. job control options are not portable.
  2766. Guarantee that exit status trumps output matching.
  2767. * doc/autoconf.texi (Writing Testsuites) <AT_CHECK>: Document this
  2768. better.
  2769. * tests/autotest.at (Skip, parallel skip): Enhance tests.
  2770. Fix nits in recent patches.
  2771. * configure.ac (ac_cv_dir_trailing_space): Avoid $status, for
  2772. zsh.
  2773. * doc/autoconf.texi (Writing Testsuites) <AT_FAIL_IF, AT_SKIP_IF>:
  2774. Tweak wording.
  2775. (Introduction): Recommend m4 1.4.13.
  2776. * README: Likewise.
  2777. * m4/m4.m4 (AC_PROG_GNU_M4): Likewise. Use long option --gnu
  2778. rather than -g.
  2779. 2009-07-13 Paolo Bonzini <bonzini@gnu.org>
  2780. Introduce AT_SKIP_IF and AT_FAIL_IF
  2781. * NEWS: Mention AT_SKIP_IF and AT_FAIL_IF.
  2782. * doc/autoconf.texi (Autotest): Document them.
  2783. * lib/autotest/general.m4 (_AT_LINE_ESCAPED, AT_SKIP_IF,
  2784. AT_FAIL_IF, _AT_CHECK_EXIT): New.
  2785. (AT_CHECK): Use _AT_LINE_ESCAPED.
  2786. * tests/autotest.at: Add tests for AT_SKIP_IF and AT_FAIL_IF.
  2787. Use AT_SKIP_IF.
  2788. * tests/local.at: Use AT_SKIP_IF.
  2789. 2009-07-13 Paolo Bonzini <bonzini@gnu.org>
  2790. Use m4 -g when available.
  2791. * m4/m4.m4: Unset POSIXLY_CORRECT during first test. Test for -g.
  2792. Warn user if he has POSIXLY_CORRECT set but -g is not supported.
  2793. * bin/Makefile.am: Substitute @M4_GNU@ into generated files.
  2794. * bin/autom4te.in: Pass @M4_GNU@ to m4.
  2795. 2009-07-13 Eric Blake <ebb9@byu.net>
  2796. Fix previous patch.
  2797. * lib/autotest/general.m4 (at_fn_check_prepare_notrace): Use
  2798. proper m4 quoting.
  2799. (_AT_DECIDE_TRACEABLE): Likewise.
  2800. 2009-07-13 Paolo Bonzini <bonzini@gnu.org>
  2801. * lib/autotest/general.m4 (at_fn_check_prepare_notrace): Use
  2802. $at_trace_echo. Add new REASON argument.
  2803. (at_fn_check_prepare_trace): Do not call at_fn_check_prepare_notrace.
  2804. Use $at_check_filter_trace.
  2805. (at_fn_check_prepare_dynamic): Use at_fn_check_prepare_notrace.
  2806. (at_traceon): Initialize to ':'.
  2807. (at_traceoff): Remove, use 'set +x' instead throughout.
  2808. (at_check_filter_trace, at_trace_echo): New shell variables.
  2809. Initialize them if tracing is requested.
  2810. (_AT_DECIDE_TRACEABLE): Adjust call to at_fn_check_prepare_notrace.
  2811. 2009-07-12 Paolo Bonzini <bonzini@gnu.org>
  2812. Move atlocal feature tests to configure
  2813. * configure.ac: Test for unsupported characters in files and
  2814. directories here...
  2815. * tests/atlocal.in: ... and not here.
  2816. 2009-07-09 Eric Blake <ebb9@byu.net>
  2817. Fix test typo.
  2818. * tests/m4sh.at (AS@&t@_INIT_GENERATED): Close fd, rather than
  2819. creating file named -.
  2820. Fix testsuite under dash.
  2821. * tests/m4sh.at (LINENO stack, AS@&t@_BASENAME, AS@&t@_DIRNAME)
  2822. (AS@&t@_ECHO and AS@&t@_ECHO_N, AS@&t@_EXIT, AS@&t@_MKDIR_P)
  2823. (AS@&t@_VERSION_COMPARE, as_me, Negated classes in globbing)
  2824. (Functions Support, Functions and return Support)
  2825. (Nested AS@&t@_REQUIRE_SHELL_FN, Nested AS@&t@_REQUIRE)
  2826. (AS@&t@_REQUIRE_SHELL_FN and m4@&t@_require, AS@&t@_HELP_STRING)
  2827. (AS@&t@_IF and AS@&t@_CASE, AS@&t@_FOR, AS@&t@_LITERAL_IF)
  2828. (AS@&t@_VAR basics, AS@&t@_VAR_APPEND, AS@&t@_VAR_ARITH)
  2829. (AS@&t@_INIT cleanup, AS@&t@_INIT_GENERATED, AS@&t@_MESSAGE_FD)
  2830. (_AS@&t@_CLEAN_DIR, ECHO_C): Allow testing different CONFIG_SHELL
  2831. options during the testsuite run.
  2832. Reported by Ralf Wildenhues.
  2833. 2009-07-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  2834. Ignore messages on stderr when testing for the zsh issue.
  2835. * tests/autotest.at (AT_SKIP_PARALLEL_TESTS): Ignore stderr.
  2836. 2009-07-07 Eric Blake <ebb9@byu.net>
  2837. Skip parallel tests when zsh 'set -m' fails.
  2838. * tests/autotest.at (AT_SKIP_PARALLEL_TESTS): Skip test if set -m
  2839. is not supported.
  2840. Reported by Ralf Wildenhues.
  2841. Make parallel testsuite more portable.
  2842. * lib/autotest/general.m4 (AT_INIT) <AT_JOB_FIFO_FD>: Avoid <>;
  2843. instead open write descriptor in each group and read descriptor in
  2844. main driver.
  2845. * tests/autotest.at (AT_SKIP_PARALLEL_TESTS): Relax condition.
  2846. 2009-07-03 Eric Blake <ebb9@byu.net>
  2847. Avoid syntax error in ash.
  2848. * lib/autotest/general.m4 (AT_INIT) <driver loop>: Avoid syntax
  2849. errors on shells that don't recognize <>.
  2850. * tests/autotest.at (AT_SKIP_PARALLEL_TESTS): Also skip parallel
  2851. tests for this reason. Skip based on the shell to be tested,
  2852. not the shell driving the testsuite.
  2853. (parallel syntax error): Rearrange similar to previous patch.
  2854. (parallel test execution): Defer skip until after serial tests.
  2855. 2009-07-02 Eric Blake <ebb9@byu.net>
  2856. Skip test on shells that can't catch syntax failure.
  2857. * tests/autotest.at (Syntax error): Skip test if shell aborts on
  2858. syntax error (AIX ksh88) or doesn't detect it (zsh).
  2859. * doc/autoconf.texi (Limitations of Builtins) <.>: Mention these
  2860. limitations.
  2861. Reported by Ralf Wildenhues.
  2862. 2009-06-30 Jan Madzik <jmadzik@gmail.com> (tiny change)
  2863. Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  2864. Avoid AIX 6.1 ksh88 ECHO_C command substitution bug.
  2865. * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): Ensure more than
  2866. one character is output with `\c'; reset echo output state
  2867. if buggy ksh was detected, and set ECHO_T instead of ECHO_C.
  2868. * doc/autoconf.texi (Limitations of Builtins): Document it.
  2869. * tests/m4sh.at (ECHO_C): New test.
  2870. * THANKS: Update.
  2871. 2009-06-27 William Pursell <bill.pursell@gmail.com> (tiny change)
  2872. Fix grammaro in documenation.
  2873. * doc/autoconf.texi (Guidelines): Fix grammaro.
  2874. 2009-06-17 Eric Blake <ebb9@byu.net>
  2875. Fix AC_CHECK_HEADER infloop for gcc.
  2876. * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_NEW)
  2877. (_AC_CHECK_HEADER_OLD): Give up on AU_DEFUN, and manually warn
  2878. about obsoletion, to avoid infinite loop in gcc.
  2879. Reported by Ralf Wildenhues.
  2880. 2009-06-15 Eric Blake <ebb9@byu.net>
  2881. Add m4_copy_force, m4_rename_force.
  2882. * lib/m4sugar/m4sugar.m4 (m4_copy_force, m4_rename_force): New
  2883. macros.
  2884. * tests/m4sugar.at (m4@&t@_defn): Test them.
  2885. * doc/autoconf.texi (Redefined M4 Macros) <m4_copy>: Document
  2886. them.
  2887. * NEWS: Likewise.
  2888. Suggested by Ralf Wildenhues.
  2889. Reinstate _AC_CHECK_HEADER_OLD for gcc.
  2890. * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_NEW)
  2891. (_AC_CHECK_HEADER_OLD): Provide autoupdate versions, since gcc and
  2892. others used these undocumented macros.
  2893. Reported by Ralf Wildenhues.
  2894. 2009-06-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  2895. Fix concurrent autom4te.cache directory creation race.
  2896. * bin/autom4te.in: Do not error out if another `autom4te'
  2897. instance created the cache directory before we could.
  2898. 2009-06-11 Steven G. Johnson <stevenj@alum.mit.edu>
  2899. and Eric Blake <ebb9@byu.net>
  2900. Create a file in test program when detecting cross-compilation.
  2901. * lib/autoconf/lang.m4 (_AC_LANG_IO_PROGRAM): New macro, returns
  2902. program that creates a file.
  2903. (_AC_COMPILER_EXEEXT,_AC_COMPILER_EXEEXT_WORKS): Call new macro
  2904. and document why it's needed to robustly detect cross-compiling.
  2905. (AC_LANG_DEFINE): Copy implementation across similar languages.
  2906. * lib/autoconf/c.m4 (_AC_LANG_IO_PROGRAM(C)): Implement new macro.
  2907. * lib/autoconf/fortran.m4 (_AC_LANG_IO_PROGRAM(Fortran 77)):
  2908. Likewise.
  2909. * lib/autoconf/erlang.m4 (_AC_LANG_IO_PROGRAM(Erlang)): Likewise.
  2910. 2009-06-11 Eric Blake <ebb9@byu.net>
  2911. Simplify AC_LANG(Fortran).
  2912. * lib/autoconf/fortran.m4 (AC_LANG(Fortran)): Borrow from Fortran
  2913. 77, which requires reordering portions of the file.
  2914. (AC_LANG_PROGRAM(Fortran), AC_LANG_CALL(Fortran)): Now defined
  2915. automatically.
  2916. Clarify m4_copy semantics.
  2917. * doc/autoconf.texi (Redefined M4 Macros) <m4_copy>: Update
  2918. documentation.
  2919. * tests/m4sugar.at (m4@&t@_defn): Enhance test.
  2920. 2009-06-06 Eric Blake <ebb9@byu.net>
  2921. Improve documentation on trap pitfalls.
  2922. * doc/autoconf.texi (Limitations of Builtins) <trap>: Mention new
  2923. Posix 2008 requirement on trap, and dash bug in implementing it.
  2924. Mention various shell bugs with traps defined inside subshells.
  2925. Mention older bash limitation with single-command exit trap.
  2926. <set>: Mention another 'set -e' limitation.
  2927. Reported by Jens Schmidt.
  2928. 2009-06-06 Jim Meyering <meyering@redhat.com>
  2929. Improve testsuite --help
  2930. * lib/autotest/general.m4: Correct the example in ./testsuite --help.
  2931. Improve wording.
  2932. 2009-06-06 Eric Blake <ebb9@byu.net>
  2933. Document fallback behavior of AC_PROG_LEX.
  2934. * doc/autoconf.texi (Particular Programs) <AC_PROG_LEX>: Mention
  2935. why fallback is :, and that a --version check must be used to
  2936. determine whether flex was found.
  2937. Reported by Patrick Welche.
  2938. 2009-05-28 Jim Meyering <meyering@redhat.com>
  2939. Fix syntax errors in autoconf.texi.
  2940. * doc/autoconf.texi (Erlang Libraries): @-escape curly braces
  2941. in example code.
  2942. 2009-05-28 Romain Lenglet <romain.lenglet@laposte.net>
  2943. New AC_ERLANG_SUBST_ERTS_VER macro.
  2944. * lib/autoconf/erlang.m4: Add macro AC_ERLANG_SUBST_ERTS_VER.
  2945. * doc/autoconf.texi (Erlang Libraries): Document
  2946. AC_ERLANG_SUBST_ERTS_VER.
  2947. * NEWS: Likewise.
  2948. * AUTHORS: Update Romain Lenglet's email address.
  2949. * THANKS: Update.
  2950. Suggested by Ruslan Babayev.
  2951. 2009-05-26 Eric Blake <ebb9@byu.net>
  2952. Sanitize more problematic environment variables.
  2953. * doc/autoconf.texi (Environment Variable Index): Add more
  2954. entries, particularly for precious variables and known culprit
  2955. variables. Needed to avoid overfull vbox.
  2956. (Special Shell Variables) <CLICOLOR_FORCE, GREP_OPTIONS>: Add
  2957. variables known to cause misbehavior.
  2958. * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Unset variables
  2959. known to cause problems.
  2960. * THANKS: Update.
  2961. Based on reports from Ilya Bobir and Joey Mingrone.
  2962. 2009-05-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  2963. Document VPATH = $(variable) issue in VPATH chapter.
  2964. * doc/autoconf.texi (Variables listed in VPATH): New node.
  2965. (Top, VPATH and Make): Adjust menus.
  2966. (Build Directories): Refer to it.
  2967. Prompted by report from Bruno Haible.
  2968. 2009-05-19 Eric Blake <ebb9@byu.net>
  2969. Update uses of all-permissive license.
  2970. * ChangeLog: Relicense under GPL.
  2971. * ChangeLog.0: Likewise.
  2972. * ChangeLog.1: Likewise.
  2973. * ChangeLog.2: Likewise.
  2974. * THANKS: Likewise.
  2975. * m4/m4.m4: Use latest wording of FSF all-permissive license.
  2976. * m4/make-case.m4: Likewise.
  2977. * doc/install.texi: Likewise.
  2978. * tests/statesave.m4: Relicense to match rest of testsuite; this
  2979. file does not need all-permissive license since it is not designed
  2980. for reuse by other packages.
  2981. * BUGS: Relicense under all-permissive license.
  2982. * HACKING: Likewise.
  2983. * NEWS: Likewise.
  2984. * README: Likewise.
  2985. * README-alpha: Likewise.
  2986. * README-hacking: Likewise.
  2987. * TODO: Likewise.
  2988. Update some upstream files.
  2989. * build-aux/config.guess: Resynchronize from upstream.
  2990. * build-aux/gnupload: Likewise.
  2991. * build-aux/vc-list-files: Likewise.
  2992. * build-aux/texinfo.tex: Likewise.
  2993. * doc/gendocs_template: Likewise.
  2994. Don't mention undocumented interface in NEWS.
  2995. * NEWS: Correct earlier entry about AS_FOR.
  2996. 2009-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  2997. New manual section `Parallel Make'.
  2998. * doc/autoconf.texi (Parallel Make): New node, document NetBSD
  2999. `make -jN' quirks.
  3000. (Top, Portable Make): Adjust menus.
  3001. 2009-05-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  3002. testsuite: skip `Multiple languages' test without C++ compiler.
  3003. * tests/compile.at (Multiple languages): Skip test on systems
  3004. without a C++ compiler.
  3005. Report by Jim Meyering.
  3006. 2009-05-13 Eric Blake <ebb9@byu.net>
  3007. Document zsh bug with empty commands.
  3008. * doc/autoconf.texi (Special Shell Variables) <?>: Add mention of
  3009. more problems with $?.
  3010. 2009-05-11 Patrick Welche <prlw1@cam.ac.uk> (tiny change)
  3011. Also try X11R7 when looking for X11 files, for NetBSD.
  3012. * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Also try directories
  3013. with X11R7 in the name.
  3014. 2009-05-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  3015. Limit stderr logging for C compiler version.
  3016. * lib/autoconf/general.m4 (_AC_RUN_LOG_LIMIT, _AC_DO_LIMIT): New
  3017. internal macros, equivalent to _AC_RUN_LOG and _AC_DO, but with
  3018. an optional additional argument to limit the number of lines of
  3019. stderr output logged, defaulting to 10.
  3020. * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Use
  3021. _AC_DO_LIMIT for capturing compiler version output. Also test
  3022. -qversion, for the IBM xlc compiler.
  3023. * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
  3024. * THANKS: Update.
  3025. Report by Christian Rössel and John R. Cary against Libtool.
  3026. 2009-04-24 Eric Blake <ebb9@byu.net>
  3027. Fix quoting of m4 macros in AT_CHECK.
  3028. * lib/autotest/general.m4 (AT_CHECK): Expand prior to adding
  3029. escapes, to avoid shell syntax errors caused by late macro
  3030. expansion.
  3031. * NEWS: Document this change.
  3032. * tests/autotest.at (Metacharacters in command from M4 expansion):
  3033. New test.
  3034. manual: Use consistent spelling of here-document.
  3035. * doc/autoconf.texi (Defining Symbols, Programming in M4sh)
  3036. (Common Shell Constructs, Macro Names, Writing Testsuites): Fix
  3037. spelling.
  3038. Reported by Ralf Wildenhues.
  3039. Make AT_CHECK_UNQUOTED more like AC_DEFINE_UNQUOTED.
  3040. * lib/autotest/general.m4 (AT_CHECK_NOESCAPE): Keep older,
  3041. undocumented semantics, where unbalanced " cannot be used in the
  3042. stdout/stderr argument.
  3043. (AT_CHECK_UNQUOTED): Treat " in stdout/stderr as a literal, since
  3044. the text is used in double-quoted context.
  3045. * tests/autotest.at (unquoted output): New test.
  3046. * doc/autoconf.texi (Writing Testsuites) <AT_CHECK>: Mention which
  3047. shell expansions are handled.
  3048. Rename AT_CHECK_NOESCAPE to AT_CHECK_UNQUOTED.
  3049. * lib/autotest/general.m4 (AT_CHECK_NOESCAPE): Deprecate, in favor
  3050. of new spelling...
  3051. (AT_CHECK_UNQUOTED): ...for consistency with AC_DEFINE_UNQUOTED.
  3052. * doc/autoconf.texi (Writing Testsuites) <AT_CHECK>: Document the
  3053. rename.
  3054. * NEWS: Likewise.
  3055. * tests/autotest.at (Binary output, Cleanup): Adjust tests.
  3056. * tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
  3057. Likewise.
  3058. Reported by Ralf Wildenhues.
  3059. 2009-04-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  3060. New test to ensure autom4te cache file locking works.
  3061. * tests/tools.at (autom4te cache locking): New test.
  3062. Report by Eric Blake.
  3063. 2009-04-22 Paolo Bonzini <bonzini@gnu.org>
  3064. manual: another grammar improvement.
  3065. * doc/autoconf.texi (Fortran Compiler): Avoid dependency on
  3066. pronunciation of `FCFLAGS_f90'.
  3067. 2009-04-23 Eric Blake <ebb9@byu.net>
  3068. Change FOO placeholder to use @var{text} instead.
  3069. * doc/autoconf.texi (Configuration Actions): Rename AC_CONFIG_FOOS
  3070. to AC_CONFIG_@var{ITEMS}.
  3071. * doc/autoconf.texi (config.status Invocation): Likewise.
  3072. (AC_FOO_IFELSE vs AC_TRY_FOO): Rename node...
  3073. (AC_ACT_IFELSE vs AC_TRY_ACT): ...to this.
  3074. 2009-04-22 Eric Blake <ebb9@byu.net>
  3075. Add m4_argn.
  3076. * lib/m4sugar/m4sugar.m4 (m4_argn): New macro.
  3077. * NEWS: Document it.
  3078. * doc/autoconf.texi (Looping constructs) <m4_argn>: Likewise.
  3079. <m4_car, m4_cdr>: Improve documentation.
  3080. * tests/m4sugar.at (m4 lists): New test.
  3081. 2009-04-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  3082. Improve description of AC_PROG_CC_C89 and AC_PROG_CC_C99.
  3083. * doc/autoconf.texi (C Compiler): Document that AC_PROG_CC_C89
  3084. and AC_PROG_CC_C99 prefer extended over strict conformance modes.
  3085. Report by Vincent Lefèvre.
  3086. 2009-04-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  3087. Revert bogus change in last commit.
  3088. * doc/autoconf.texi (Initialization Macros): Revert change.
  3089. Spotted by Eric Blake.
  3090. manual: fix trivial grammar errors.
  3091. * doc/autoconf.texi (Fortran Compiler, Initialization Macros)
  3092. (Limitations of Usual Tools, Pretty Help Strings)
  3093. (config.status Invocation): Fix `a' vs. `an' errors.
  3094. Report by Eric Blake.
  3095. 2009-04-21 Eric Blake <ebb9@byu.net>
  3096. Shuffle maintainer-specific rules.
  3097. * Makefile.am (maintainer-check-tests): Delete.
  3098. (autom4te-update): Move...
  3099. * cfg.mk (autom4te-update): ...here.
  3100. (fetch): Depend on autom4te-update. Split...
  3101. (gnulib-update): ...into new rule. Import move-if-change from
  3102. gnulib.
  3103. * maint.mk (maintainer-distcheck): Absorb former maintainer-check
  3104. rule.
  3105. * build-aux/move-if-change: New file, undistributed.
  3106. * .gitattributes: Handle new upstream file.
  3107. * .gitignore: Ignore maintainer cruft.
  3108. * HACKING: Update maintainer instructions.
  3109. * build-aux/config.guess: Update from upstream.
  3110. * build-aux/config.sub: Likewise.
  3111. * build-aux/gendocs.sh: Likewise.
  3112. * build-aux/texinfo.tex: Likewise.
  3113. * doc/gendocs_template: Likewise.
  3114. * doc/standards.texi: Likewise.
  3115. 2009-04-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  3116. Sync autom4te perl modules from Automake.
  3117. * lib/Autom4te/Channels.pm: Sync from Automake.
  3118. * lib/Autom4te/FileUtils.pm: Likewise.
  3119. * lib/Autom4te/XFile.pm: Likewise.
  3120. Adjust channel definitions for new Automake `ordered' flag.
  3121. * lib/Autom4te/ChannelDefs.pm (Autom4te::ChannelDefs): Set
  3122. `ordered' flag to zero for channels `fatal', `automake', and
  3123. `verb'. This has currently no effect on actual semantics but
  3124. avoids a consistency check needed for Automake's usage of the
  3125. Channels.pm code.
  3126. manual: clarify m4_if synopsis.
  3127. * doc/autoconf.texi (Redefined M4 Macros): Rewrite synopsis of
  3128. m4_if in the presence of more than three arguments.
  3129. Improve and clarify `config.status' usage documentation.
  3130. * doc/autoconf.texi (config.status Invocation): Fix markup in
  3131. synopsis. Use `tag' instead of `file' notation for the
  3132. non-option arguments, to be consistent with the documentation
  3133. of the AC_CONFIG_* macros.
  3134. * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Likewise,
  3135. use `tag' notation for non-option arguments.
  3136. Report by John Calcote.
  3137. 2009-04-15 Eric Blake <ebb9@byu.net>
  3138. Test that autotest handles binary output.
  3139. * tests/autotest.at (Binary output): New test.
  3140. Suggested by Ralf Wildenhues.
  3141. Add stdout-nolog and ignore-nolog to AT_CHECK.
  3142. * lib/autotest/general.m4 (AT_DIFF_STDERR(stderr-nolog))
  3143. (AT_DIFF_STDERR(ignore-nolog), AT_DIFF_STDOUT(stdout-nolog))
  3144. (AT_DIFF_STDOUT(ignore-nolog)): New macros.
  3145. * tests/autotest.at (Logging): New test.
  3146. * doc/autoconf.texi (Writing Testsuites) <AT_CHECK>: Document the
  3147. new logging actions.
  3148. * NEWS: Likewise.
  3149. Reported by Ralf Wildenhues.
  3150. Teach AT_CHECK about hard failures.
  3151. * lib/autotest/general.m4 (AT_INIT) <at_fn_check_skip>
  3152. <at_fn_check_status, at_fn_group_postprocess>: Handle hard
  3153. failures.
  3154. * doc/autoconf.texi (Writing Testsuites) <AT_CHECK>: Document
  3155. AT_CHECK_NOESCAPE and exit status 99.
  3156. * NEWS: Likewise.
  3157. * tests/autotest.at (Hard fail, Cleanup): New tests.
  3158. 2009-04-14 Eric Blake <ebb9@byu.net>
  3159. Fix yesterday's regression in AS_IF.
  3160. * lib/m4sugar/m4sh.m4 (_AS_IF_ELSE): Don't corrupt $? in else
  3161. branch; it is up to the user to avoid syntax errors.
  3162. * tests/m4sh.at (AS@&t@_IF and AS@&t@_CASE): Adjust test.
  3163. 2009-04-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  3164. Add traces for AM_SILENT_RULES.
  3165. * lib/autom4te.in (Automake-preselections): Trace
  3166. AM_SILENT_RULES.
  3167. 2009-04-13 Eric Blake <ebb9@byu.net>
  3168. Improve documentation related to expanded-before-required.
  3169. * doc/autoconf.texi (Expanded Before Required): Add a case study.
  3170. (Running the Compiler) <AC_COMPILE_IFELSE>: Remind users that
  3171. running a compile test will AC_REQUIRE the compiler check.
  3172. (Macro Definitions) <AC_DEFUN>: Contrast AC_DEFUN and m4_define.
  3173. (C Compiler) <AC_PROG_CC>: Mention the fact that only first
  3174. invocation of this macro checks for $EXEEXT, and that many other
  3175. macros use it via AC_REQUIRE.
  3176. Reported by Andreas Schwab.
  3177. Mention latest rules about make and set -e.
  3178. * doc/autoconf.texi (Failure in Make Rules): Posix is now clear
  3179. that make must use set -e.
  3180. (Limitations of Builtins) <set>: Clarify more about set -e
  3181. behavior.
  3182. Improve documentation about if exit status.
  3183. * doc/autoconf.texi (Limitations of Builtins) <if>: Mention that
  3184. exit status bugs don't affect modern targets.
  3185. Reported by Andreas Schwab.
  3186. Add cross-reference to new macros.
  3187. * doc/autoconf.texi (Text processing Macros) <m4_normalize>
  3188. <m4_strip>: Reference the new m4_ifblank.
  3189. Suggested by Mike Frysinger.
  3190. Make AS_IF, AS_CASE, and AS_FOR more robust to blank arguments.
  3191. * lib/m4sugar/m4sh.m4 (_AS_CASE, _AS_CASE_DEFAULT, AS_FOR, _AS_IF)
  3192. (_AS_IF_ELSE, AS_IF): Avoid syntax error on blank argument,
  3193. including a macro with an empty expansion.
  3194. * NEWS: Mention this.
  3195. * tests/m4sh.at (AS@&t@_IF and AS@&t@_CASE, AS@&t@_FOR): Update
  3196. tests.
  3197. Reported by Mike Frysinger.
  3198. Add m4_blank and friends.
  3199. * lib/m4sugar/m4sugar.m4 (m4_blank, m4_nblank, m4_default_nblank)
  3200. (m4_default_nblank_quoted): New macros.
  3201. * NEWS: Document them.
  3202. * doc/autoconf.texi (Conditional constructs): Likewise.
  3203. * tests/m4sugar.at (m4sugar shorthand conditionals): New test.
  3204. Suggested by Mike Frysinger.
  3205. 2009-04-13 Eric Blake <ebb9@byu.net>
  3206. Finish upgrade to GFDL 1.3.
  3207. * doc/autoconf.texi (copying): Use correct license; comment change
  3208. was missed on 2008-11-04.
  3209. 2009-04-10 Eric Blake <ebb9@byu.net>
  3210. Test parallel handling of syntax error.
  3211. * tests/autotest.at (parallel syntax error): New test.
  3212. Suggested by Ralf Wildenhues.
  3213. 2009-04-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  3214. Document awk and config.status line length limitations.
  3215. * doc/autoconf.texi (Configuration Actions): The input to
  3216. config.status should have reasonable line length.
  3217. (Limitations of Usual Tools): Document IRIX, HP-UX awk input
  3218. line length limit.
  3219. Report by Bruno Haible.
  3220. Skip `Multiple languages' test if CC is a C++ compiler.
  3221. * tests/compile.at (Multiple languages): Before starting the
  3222. test proper, build and run a configure script that tests the
  3223. C compiler only, and skips the test if this is found to be a
  3224. C++ compiler.
  3225. Report by Eric Blake.
  3226. Note that AC_DEFUN is needed for aclocal.
  3227. * doc/autoconf.texi (Coding Style): Public third-party macros
  3228. should be AC_DEFUN'ed.
  3229. Report by John Calcote.
  3230. 2009-04-10 Eric Blake <ebb9@byu.net>
  3231. Add undocumented _AS_CLEAN_DIR.
  3232. * lib/m4sugar/m4sh.m4 (_AS_CLEAN_DIR): New macro; fixes m4 quoting
  3233. in previous patch.
  3234. * lib/autotest/general.m4 (AT_INIT) <at_fn_group_prepare>: Use new
  3235. macro.
  3236. * tests/m4sh.at (_AS@&t@_CLEAN_DIR): New test.
  3237. Reported by Ralf Wildenhues.
  3238. 2009-04-09 Eric Blake <ebb9@byu.net>
  3239. Avoid problems caused by deleting in-use directory.
  3240. * lib/autotest/general.m4 (AT_INIT) <at_fn_group_prepare>: Only
  3241. remove the contents of $at_group_dir, not the directory itself.
  3242. Fix regression in empty test.
  3243. * lib/autotest/general.m4 (AT_SETUP): Prep AT_ingroup for fallback
  3244. use in empty test. Fixes regression introduced 2009-04-06.
  3245. (_AT_CHECK): Undo fallback when a test is not empty.
  3246. (AT_CLEANUP): Expand AT_ingroup before deleting.
  3247. 2009-04-09 Paolo Bonzini <bonzini@gnu.org>
  3248. Make a less conservative cross-compilation guess for AC_FUNC_UTIME_NULL.
  3249. * lib/autoconf/functions.m4 (AC_FUNC_UTIME_NULL): Assume
  3250. not crosscompiling to an obsolete system.
  3251. 2009-04-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  3252. Automake relies on the undocumented `_AC_COMPILER_EXEEXT' macro.
  3253. * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT): Document that
  3254. Automake relies on this macro.
  3255. 2009-04-06 Eric Blake <ebb9@byu.net>
  3256. Reduce testsuite size.
  3257. * tests/statesave.m4: New file.
  3258. * tests/Makefile.am (EXTRA_DIST): Distribute it.
  3259. * tests/local.at (AT_CONFIGURE_AC): Reuse file, rather than
  3260. repeating inline definition of AC_STATE_SAVE.
  3261. (AT_CHECK_ENV): Factor code...
  3262. (_AT_CHECK_ENV): ...into shell function.
  3263. * tests/m4sh.at (AT_DATA_LINENO): Avoid churn in testsuite.
  3264. Handle shell comments in AT_CHECK.
  3265. * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): Handle # in
  3266. test correctly. Latent bug in handling shell comment was first
  3267. fixed 2008-11-20, but regressed two patches later.
  3268. * tests/autotest.at (Shell comment in command): New test.
  3269. * NEWS: Document the fix.
  3270. Hard fail any test with syntax errors.
  3271. * lib/autotest/general.m4 (AT_INIT) <at_fn_group_postprocess>:
  3272. Guarantee test failure on syntax error, rather than inheriting
  3273. status from previous test.
  3274. * tests/autotest.at (Syntax error): New test.
  3275. 2009-03-31 Eric Blake <ebb9@byu.net>
  3276. Beta Release Version 2.63b.
  3277. * NEWS: Mention the release.
  3278. * README: Clarify that this is a beta release.
  3279. * build-aux/texinfo.tex: Synchronize from upstream.
  3280. * .x-sc_trailing_blank: Exempt more upstream files.
  3281. 2009-03-30 Eric Blake <ebb9@byu.net>
  3282. Fix testsuite failures under zsh.
  3283. * tests/local.at (AT_CHECK_ENV): Exempt $argv and $ARGC, which are
  3284. set by zsh -c 'emulate sh'.
  3285. Reported by Ralf Wildenhues.
  3286. For now, skip parallel tests under less-tested shells.
  3287. * tests/autotest.at (AT_CHECK_AT): Add pre-test argument.
  3288. (Tested programs, Startup error messages, AT_CHECK_AT_TITLE)
  3289. (Fallacy, Skip, errexit, Long test source lines)
  3290. (Debugging a successful test, Debugging script and environment)
  3291. (Debugging a failed test, Using atlocal)
  3292. (Choosing where testsuite is run): Adjust callers.
  3293. (AT_SKIP_PARALLEL_TESTS): New macro, to skip parallel tests except
  3294. under zsh, bash, or when TEST_PARALLEL_AUTOTEST is defined. Makes
  3295. it easier to avoid testsuite hangs for users with dash or other
  3296. less-tested shell.
  3297. (parallel test execution, parallel truth, parallel fallacy)
  3298. (parallel skip, parallel errexit)
  3299. (parallel autotest and signal handling): Use it.
  3300. * BUGS: Mention this.
  3301. 2009-03-24 Andris Pavenis <andris.pavenis@iki.fi> (tiny change)
  3302. Fix awk substitution of carriage returns on DJGPP.
  3303. * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fix typo in
  3304. generation of ac_cs_awk_cr.
  3305. * THANKS: Update.
  3306. 2009-03-24 Aaron W. LaFramboise <aaronenvelope277@aaronwl.com> (tiny change)
  3307. Work around cygwin bash igncr mode.
  3308. * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fall back to
  3309. bash carriage returns if ac_cr lost \r from ``.
  3310. * THANKS: Update.
  3311. Suggested by Eric Blake.
  3312. 2009-03-24 Eric Blake <ebb9@byu.net>
  3313. Fix underquoted example in manual.
  3314. * doc/autoconf.texi (Common Shell Constructs) <AS_TR_CPP>:
  3315. Properly m4-quote #.
  3316. * THANKS: Update spelling.
  3317. Reported by Matěj Týč.
  3318. 2009-03-18 Eric Blake <ebb9@byu.net>
  3319. Manual: mention more expr pitfalls.
  3320. * doc/autoconf.texi (Limitations of Usual Tools) <expr (:)>:
  3321. Mention HP-UX limitation, and $ ambiguity.
  3322. * THANKS: Update.
  3323. Reported by Jens Schmidt, in http://bugs.debian.org/466990.
  3324. 2009-03-17 Jim Meyering <meyering@redhat.com>
  3325. Manual: fix a typo.
  3326. * lib/m4sugar/m4sh.m4: s/are/is/ => "there is no indirection"
  3327. 2009-03-17 Eric Blake <ebb9@byu.net>
  3328. Use test consistently in examples.
  3329. * doc/autoconf.texi (Subdirectories, Caching Results)
  3330. (Common Shell Constructs, Prerequisite Macros, Coding Style)
  3331. (Changed Results, Particular Programs, Defining Symbols):
  3332. Protect against arbitrary user strings.
  3333. (Multiple Cases): Mention why $fstype does not need protection.
  3334. Reported by Reuben Thomas.
  3335. Improve confusing section names.
  3336. * doc/autoconf.texi (Specifying Names): Rename node...
  3337. (Specifying Target Triplets): ...to this.
  3338. (Generic Programs): Adjust references.
  3339. * doc/install.texi (System Type): Touch up formatting.
  3340. * THANKS: Update.
  3341. Reported by Tim Freeman, in http://bugs.debian.org/312873.
  3342. Remove historical inaccuracy.
  3343. * doc/autoconf.texi (Portable Shell): Don't perpetuate myth about
  3344. #!/bin/sh needing a space.
  3345. Reported by Reuben Thomas.
  3346. Recommend AS_HELP_STRING more prominently.
  3347. * doc/autoconf.texi (External Software): Reduce mention of
  3348. hand-written help strings.
  3349. Reported by Reuben Thomas.
  3350. 2009-03-16 Eric Blake <ebb9@byu.net>
  3351. Fix 'make pdf'.
  3352. * doc/autoconf.texi (Balancing Parentheses): Fix usage of
  3353. @itemize.
  3354. Reported by Ralf Wildenhues, fix suggested by Karl Berry.
  3355. 2009-03-14 Eric Blake <ebb9@byu.net>
  3356. Resync upstream files.
  3357. * GNUmakefile: Run 'make fetch'.
  3358. * build-aux/announce-gen: Likewise.
  3359. * build-aux/config.guess: Likewise.
  3360. * build-aux/config.sub: Likewise.
  3361. * build-aux/gnupload: Likewise.
  3362. * build-aux/texinfo.tex: Likewise.
  3363. * build-aux/vc-list-files: Likewise.
  3364. * doc/gnu-oids.texi: Likewise.
  3365. * doc/standards.texi: Likewise.
  3366. 2009-03-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  3367. New test for SunStudio `restrict' handling.
  3368. * tests/c.at (AC_C_RESTRICT and C++): New test.
  3369. Prompted by bug report from Rolf Vandevaart.
  3370. 2009-03-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  3371. Manual: testsuite depends on package.m4.
  3372. * doc/autoconf.texi (Making testsuite Scripts): In the example
  3373. makefile snippet, $(TESTSUITE) depends on $(srcdir)/package.m4.
  3374. 2009-03-02 Allan Caffee <allan.caffee@gmail.com> (tiny change)
  3375. Fix a typo in comment for AS_LITERAL_IF.
  3376. * lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Update a comment that fell
  3377. out of date when this function was moved/renamed in 59ecd766.
  3378. * THANKS: Update.
  3379. 2009-03-02 Eric Blake <ebb9@byu.net>
  3380. Improve wording for AS_ESCAPE.
  3381. * doc/autoconf.texi (Common Shell Constructs) <AS_ESCAPE>: Touch
  3382. up documentation.
  3383. * lib/m4sugar/m4sh.m4 (_AS_ESCAPE): Fix comment typos.
  3384. Reported by Ralf Wildenhues.
  3385. 2009-02-24 Eric Blake <ebb9@byu.net>
  3386. Use pkgdatadir consistently.
  3387. * bin/Makefile.am (edit): Substitute pkgdatadir, not datadir.
  3388. * lib/Makefile.am (edit): Likewise.
  3389. * lib/autom4te.in (Autoconf-without-aclocal-m4, Autotest, M4sh)
  3390. (M4sugar): Use @pkgdatadir@, not @datadir@.
  3391. * bin/autoheader.in ($datadir): Likewise.
  3392. * bin/autom4te.in ($datadir): Likewise.
  3393. * bin/autoreconf.in ($datadir): Likewise.
  3394. * bin/autoscan.in ($datadir): Likewise.
  3395. * bin/autoupdate.in ($datadir): Likewise.
  3396. * bin/ifnames.in ($datadir): Likewise.
  3397. * doc/autoconf.texi (Installation Directory Variables): Update
  3398. example to be consistent; focus on $(bindir) as an autoconf
  3399. variable, and mention that $(pkgdatadir) comes from automake.
  3400. Reported by Reuben Thomas.
  3401. 2009-02-19 Eric Blake <ebb9@byu.net>
  3402. Use m4_translit more efficiently in AS_ESCAPE.
  3403. * lib/m4sugar/m4sh.m4 (_AS_ESCAPE): Alter API to take first byte
  3404. of set separately from rest.
  3405. (AS_ESCAPE, _AS_QUOTE_MODERN, AS_TR_SH, AS_VAR_GET): Adjust
  3406. callers.
  3407. * lib/autoconf/autoheader.m4 (AH_VERBATIM): Avoid duplicate
  3408. characters in translit request.
  3409. * doc/autoconf.texi (Common Shell Constructs) <AS_ESCAPE>:
  3410. Document the macro.
  3411. * NEWS: Likewise.
  3412. Mention recently documented macros.
  3413. * NEWS: Update list of new documentation.
  3414. 2009-02-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  3415. Add index for config.site.
  3416. * doc/autoconf.texi (Site Defaults): Add index for config.site.
  3417. * THANKS: Update.
  3418. Report by Stephen P. Schaefer.
  3419. 2009-02-12 Eric Blake <ebb9@byu.net>
  3420. Fix m4_set speed regression introduced 2008-12-18.
  3421. * lib/m4sugar/m4sugar.m4 (_m4_stack_reverse): Alter API to avoid
  3422. creating larger argument on each iteration.
  3423. (m4_stack_foreach_sep, m4_stack_foreach_sep_lifo)
  3424. (_m4_set_contents_2): Adjust all four-argument callers.
  3425. 2009-02-05 Eric Blake <ebb9@byu.net>
  3426. Mention new AC_DEFUN_ONCE clients.
  3427. * NEWS: Mention recent semantic changes.
  3428. Reported by Ralf Wildenhues.
  3429. 2009-02-03 Eric Blake <ebb9@byu.net>
  3430. Use AC_DEFUN_ONCE for some one-shot AC_PROG macros.
  3431. * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Switch to
  3432. AC_DEFUN_ONCE, since this is a one-shot macro.
  3433. (AC_PROG_INSTALL): Likewise.
  3434. 2009-02-03 Eric Blake <ebb9@byu.net>
  3435. Mention that packagers should not pre-set CFLAGS.
  3436. * doc/autoconf.texi (Preset Output Variables) <CFLAGS>: Copy
  3437. advice given by automake on handling variables reserved by GNU
  3438. Coding Standards.
  3439. Reported by Karl Berry.
  3440. Document lib64 in config.site.
  3441. * doc/autoconf.texi (Site Defaults): Fix typo in FHS sample file.
  3442. Mention use of lib64.
  3443. * THANKS: Update.
  3444. Reported by Tom Browder, with help from Peter Breitenlohner.
  3445. 2009-01-28 Eric Blake <ebb9@byu.net>
  3446. Use AC_DEFUN_ONCE for uncontroversial one-shot macros.
  3447. * lib/autoconf/headers.m4 (AC_HEADER_ASSERT): Switch to
  3448. AC_DEFUN_ONCE, since this is a one-shot macro.
  3449. * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): Likewise.
  3450. * lib/autoconf/general.m4 (AC_CANONICAL_BUILD)
  3451. (AC_CANONICAL_HOST, AC_CANONICAL_TARGET): Likewise.
  3452. 2009-01-28 Eric Blake <ebb9@byu.net>
  3453. Reduce blank lines in AC_DEFUN_ONCE macros.
  3454. * lib/m4sugar/m4sugar.m4 (m4_defun_once): Avoid redundant blank
  3455. line when a defun_once macro is required.
  3456. (_m4_defun_once): New helper macro, for less memory use.
  3457. * tests/m4sugar.at (m4@&t@_require: nested): Adjust test.
  3458. Silence another false positive expand-before-require.
  3459. * lib/m4sugar/m4sugar.m4 (_m4_defun_pro_outer)
  3460. (_m4_defun_epi_outer, _m4_require_call, m4_provide): Track name
  3461. that caused a diversion change, not just diversion number.
  3462. (m4_require): Factor...
  3463. (_m4_require_check): ...into new macro, which also checks whether
  3464. diversion that performed the expansion has been collected.
  3465. * tests/m4sugar.at (m4@&t@_require: nested): Enhance test.
  3466. Reported by Ralf Wildenhues.
  3467. 2009-01-28 Eric Blake <ebb9@byu.net>
  3468. Fix AC_C_RESTRICT for Sun Studio 12 C++.
  3469. * lib/autoconf/c.m4 (AC_C_RESTRICT): Newer Sun Studio C provides
  3470. __restrict__ rather than _Restrict, which still trips up Sun
  3471. Studio 12 C++.
  3472. * THANKS: Update.
  3473. Reported by Rolf Vandevaart.
  3474. 2009-01-28 Eric Blake <ebb9@byu.net>
  3475. Fix years in copyright notices.
  3476. * lib/m4sugar/m4sugar.m4 (m4_copyright_condense): New macro,
  3477. undocumented for now.
  3478. * lib/m4sugar/Makefile.am (version.m4): Add m4_PACKAGE_YEAR,
  3479. m4_PACKAGE_URL.
  3480. (RELEASE_YEAR): New macro, copied from bin/Makefile.am.
  3481. * lib/autoconf/general.m4 (_AC_COPYRIGHT_YEARS): New macro.
  3482. (AC_COPYRIGHT): Add undocumented third parameter.
  3483. (_AC_INIT_COPYRIGHT): Avoid need to bump copyright years.
  3484. * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Likewise.
  3485. * lib/autotest/general.m4 (AT_INIT): Likewise.
  3486. * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Likewise.
  3487. (AT_COPYRIGHT): Add undocumented third parameter.
  3488. * tests/local.at (AT_COPYRIGHT): Don't add an extra copyright
  3489. parameter; the generic copyright given by autotest is sufficient
  3490. since we are the package that owns autotest.
  3491. 2009-01-27 Eric Blake <ebb9@byu.net>
  3492. Use URLs in --help output, part 3: testsuite.
  3493. * doc/autoconf.texi (Writing Testsuites): Mention autotest
  3494. namespace.
  3495. (Writing Testsuites) <AT_INIT>: Mention mandatory macros.
  3496. (Making testsuite Scripts): Document AT_PACKAGE_URL.
  3497. * tests/Makefile.am (package.m4): Follow our own advice.
  3498. * lib/autotest/general.m4 (AT_INIT): Give the user a hint about
  3499. package.m4. Enhance --help output.
  3500. (_AT_COPYRIGHT_YEARS): New macro, to make copyright bump easier.
  3501. Use URLs in --help output, part 2: configure.
  3502. * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Bump copyright
  3503. date.
  3504. (_AC_INIT_PACKAGE): Support optional URL parameter, mapped to
  3505. AC_PACKAGE_URL.
  3506. (_AC_INIT_DEFAULTS, _AC_INIT_PREPARE): Substitute it.
  3507. (_AC_INIT_HELP): Use it in './configure --help' output.
  3508. * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Likewise, for
  3509. './config.status --help'. Bump copyright date.
  3510. * doc/autoconf.texi (Initializing configure) <AC_INIT>: Document
  3511. new parameter.
  3512. * NEWS: Likewise.
  3513. * tests/tools.at (autoheader): Adjust test.
  3514. * tests/torture.at (@%:@define header templates)
  3515. (Torturing config.status): Likewise.
  3516. Use URLs in --help output, part 1: autoconf executables.
  3517. * bin/autoconf.as (usage): Make output consistent with recent
  3518. change in gnulib version-etc module.
  3519. * bin/autoheader.in ($help): Likewise.
  3520. * bin/autom4te.in ($help): Likewise.
  3521. * bin/autoreconf.in ($help): Likewise.
  3522. * bin/autoscan.in ($help): Likewise.
  3523. * bin/autoupdate.in ($help): Likewise.
  3524. * bin/ifnames.in ($help): Likewise.
  3525. 2009-01-27 Peter Breitenlohner <peb@mppmu.mpg.de> (tiny change)
  3526. Quote traced macros passed from autom4te to M4.
  3527. * bin/autom4te (handle_m4): Apply shell_quote to macro names.
  3528. * tests/tools.at (autom4te --trace and unusual macro names): New
  3529. test.
  3530. * THANKS: Update.
  3531. 2009-01-26 Eric Blake <ebb9@byu.net>
  3532. Improve AC_DEFUN_ONCE semantics.
  3533. * lib/m4sugar/m4sugar.m4 (m4_defun_once): Rewrite to be no-op,
  3534. rather than warning, on second use, and make sure first use never
  3535. occurs out of order.
  3536. * tests/m4sugar.at (m4@&t@_require: one-shot initialization):
  3537. Enhance test.
  3538. * tests/base.at (AC_REQUIRE & AC_DEFUN_ONCE: [Require, expand],
  3539. (AC_REQUIRE & AC_DEFUN_ONCE: [Expand, require]): Adjust tests.
  3540. * NEWS: Document this.
  3541. * doc/autoconf.texi (Macro Definitions) <AC_DEFUN>: Mention
  3542. AC_DEFUN_ONCE.
  3543. (Prerequisite Macros) <AC_REQUIRE>: Likewise.
  3544. (Expanded Before Required): Likewise.
  3545. (One-Shot Macros) <AC_DEFUN_ONCE>: Document new semantics.
  3546. Reported by Bruno Haible, with suggestion by Paolo Bonzini.
  3547. 2009-01-24 Eric Blake <ebb9@byu.net>
  3548. Fix typos in recent patches.
  3549. * lib/m4sugar/m4sugar.m4: Improve m4_defun comments.
  3550. * doc/autoconf.texi (Expanded Before Required): Fix typos.
  3551. Reported by Ralf Wildenhues.
  3552. Revert change to AC_DIR_HEADER.
  3553. * lib/autoconf/headers.m4 (AC_DIR_HEADER): Explicitly expanding
  3554. AC_HEADER_DIRENT no longer triggers a warning, and helps the user
  3555. who decides they don't need the obsolete AC_FUNC_CLOSEDIR_VOID.
  3556. Reported by Paolo Bonzini.
  3557. 2009-01-22 Eric Blake <ebb9@byu.net>
  3558. Silence a false positive expand-before-require case.
  3559. * lib/m4sugar/m4sugar.m4 (m4_provide): Track the diversion in
  3560. which a macro was provided.
  3561. (m4_require): Compare diversion numbers, rather than m4_require
  3562. nesting, when determining direct requires.
  3563. * tests/m4sugar.at (m4@&t@_require: nested): Test it.
  3564. Reported by Ralf Wildenhues, affecting Libtool.
  3565. 2009-01-21 Eric Blake <ebb9@byu.net>
  3566. Fix out-of-order expansion with expand-before-require.
  3567. * lib/m4sugar/m4sugar.m4 (m4_require): Redundantly expand a
  3568. required macro when issuing expand-before-require warning.
  3569. * doc/autoconf.texi (Prerequisite Macros): Adjust documentation.
  3570. (Expanded Before Required): New node.
  3571. * tests/m4sugar.at (m4@&t@_require: nested): Adjust test.
  3572. * NEWS: Mention this fix.
  3573. Suggested by Bruno Haible.
  3574. Warn if macro is provided before indirectly required.
  3575. * lib/m4sugar/m4sugar.m4 (m4_provide): Track the set of all macros
  3576. provided since last outermost defun.
  3577. (_m4_defun_pro_outer): Empty the set.
  3578. (_m4_require_call): Distinguish between direct and indirect
  3579. requires, and remove required macros from the set.
  3580. (m4_require): Check the set, in order to warn.
  3581. * tests/m4sugar.at (m4@&t@_require: nested): Remove xfail, and add
  3582. test case for direct requires.
  3583. 2009-01-20 Eric Blake <ebb9@byu.net>
  3584. Clean up some bugs caught by preliminary dependency validation.
  3585. * lib/autoconf/headers.m4 (AC_DIR_HEADER): Don't invoke
  3586. AC_HEADER_DIRENT, since AC_FUNC_CLOSEDIR_VOID requires it.
  3587. * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL)
  3588. (_AS_SHELL_SANITIZE): Fix quoting bugs.
  3589. 2009-01-19 Eric Blake <ebb9@byu.net>
  3590. Improve AC_REQUIRE documentation.
  3591. * doc/autoconf.texi (Macro Definitions) <AC_DEFUN>: Add @defmac,
  3592. and mention interaction with AC_REQUIRE.
  3593. (Prerequisite Macros) <AC_REQUIRE>: Give more detail on user
  3594. ordering constraint bug, and how to fix it.
  3595. * tests/m4sugar.at (m4@&t@_require: nested): New test.
  3596. Speed up m4_require.
  3597. * lib/m4sugar/m4sugar.m4 (_m4_divert_dump): Change semantics to
  3598. always be defined, as either empty or a number.
  3599. (_m4_defun_pro_outer, _m4_defun_epi_outer): Treat _m4_divert_dump
  3600. as a stack, rather than a one-shot macro.
  3601. (_m4_require_call): Expect third argument to be pre-expanded.
  3602. (m4_divert_require, m4_require): Adjust clients accordingly.
  3603. * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Likewise.
  3604. 2009-01-17 Eric Blake <ebb9@byu.net>
  3605. Avoid underfull hbox.
  3606. * doc/autoconf.texi (Installation Directory Variables): Reword to
  3607. fit on line.
  3608. 2009-01-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  3609. Ignore `set -e'-related failure of NetBSD sh.
  3610. * tests/m4sh.at (AS@&t@_EXIT): Skip test if (NetBSD) shell
  3611. fails to finish EXIT trap after set -e.
  3612. 2009-01-06 Eric Blake <ebb9@byu.net>
  3613. Maintainer cleanups.
  3614. * cfg.mk (web-manual): Use new feature of gendocs.
  3615. (fetch): Fetch gendocs.
  3616. * Makefile.am (EXTRA_DIST): Distribute new file.
  3617. * doc/Makefile.am (EXTRA_DIST): Likewise.
  3618. * .gitattributes: Ignore whitespace in upstream files.
  3619. * HACKING (Other web updates): Update Free Software Directory
  3620. instructions.
  3621. (Upload): No longer mention xdelta.
  3622. * maint.mk (xd-delta): Likewise.
  3623. * build-aux/gendocs.sh: New upstream file.
  3624. * doc/gendocs_template: Likewise.
  3625. * build-aux/announce-gen: Resync from upstream.
  3626. * build-aux/config.guess: Likewise.
  3627. * build-aux/config.sub: Likewise.
  3628. * build-aux/gnupload: Likewise.
  3629. * build-aux/texinfo.tex: Likewise.
  3630. 2008-12-30 Eric Blake <ebb9@byu.net>
  3631. Make it easier to track diversion bugs.
  3632. * lib/m4sugar/m4sugar.m4 (_m4_divert_raw, _m4_undivert): New
  3633. internal macros, which are easier to trace than m4_builtin.
  3634. (m4_cleardivert, m4_divert, m4_divert_push, m4_divert_pop)
  3635. (m4_undivert): Use them.
  3636. (_m4_require_call): Likewise. Use fewer macros.
  3637. * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): Fix typo.
  3638. 2008-12-26 Bruno Haible <bruno@clisp.org>
  3639. Improve multiarch detection.
  3640. * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Make detection of options
  3641. indicating a universal build more reliable.
  3642. 2008-12-28 William Pursell <bill.pursell@gmail.com> (tiny change)
  3643. Use AS_CASE in documented example.
  3644. * doc/autoconf.texi (Using the System Type): Use AS_CASE in
  3645. example instead of raw case.
  3646. 2008-12-23 Eric Blake <ebb9@byu.net>
  3647. Make m4_dumpdef more useful with M4 1.6.
  3648. * lib/m4sugar/m4sugar.m4 (_m4_dumpdef): New macro.
  3649. (m4_init): Install it for new enough m4.
  3650. * tests/m4sugar.at (m4@&t@_dumpdef): Enhance test.
  3651. * doc/autoconf.texi (Redefined M4 Macros) <m4_dumpdef>: Mention
  3652. lack of sorting.
  3653. 2008-12-24 Bruno Haible <bruno@clisp.org>
  3654. Improve INSTALL for HP-UX.
  3655. * doc/install.texi (Particular Systems): For HP-UX, also recommend
  3656. -D_XOPEN_SOURCE=500. Needed for the declaration of mbstate_t on
  3657. HP-UX 11.11.
  3658. 2008-12-22 Bruno Haible <bruno@clisp.org>
  3659. Improve INSTALL for Haiku.
  3660. * doc/install.texi (Particular Systems): Add a recommendation
  3661. which prefix to use on Haiku.
  3662. 2008-12-19 Eric Blake <ebb9@byu.net>
  3663. Fix typo in previous commit.
  3664. * doc/autoconf.texi (Set manipulation Macros) <m4_set_map_sep>:
  3665. Fix typo.
  3666. Document some recently added macros.
  3667. * lib/m4sugar/m4sugar.m4 (m4_map_args_w): Add optional sep
  3668. parameter.
  3669. * doc/autoconf.texi (Looping constructs) <m4_map_args_sep>
  3670. <m4_map_args_w, m4_stack_foreach, m4_stack_foreach_sep>: Document
  3671. new macros.
  3672. (Set manipulation Macros) <m4_set_map_sep>: Likewise.
  3673. * tests/m4sugar.at (m4@&t@_stack, M4 loops): Enhance tests.
  3674. * NEWS: Document new macros.
  3675. 2008-12-18 Eric Blake <ebb9@byu.net>
  3676. Fix separator in m4_stack_foreach_sep.
  3677. * lib/m4sugar/m4sugar.m4 (_m4_stack_reverse): Separate separator
  3678. from prefix.
  3679. * tests/m4sugar.at (m4@&t@_stack): Enhance test.
  3680. 2008-12-18 Eric Blake <ebb9@byu.net>
  3681. Mention limitation of M4 1.4.x on builtin tokens.
  3682. * doc/autoconf.texi (Redefined M4 Macros) <m4_dumpdef>: Document
  3683. ramification of M4 1.4.x's inability to pass builtin tokens
  3684. through text macros.
  3685. (Evaluation Macros) <m4_curry>: Likewise.
  3686. * tests/m4sugar.at (m4@&t@_defn): Enhance test.
  3687. * NEWS: Mention subtle change in m4_dumpdef semantics.
  3688. Document m4_version_prereq.
  3689. * doc/autoconf.texi (Number processing Macros)
  3690. <m4_version_prereq>: Add documentation.
  3691. * NEWS: Mention it.
  3692. Reported by Bruno Haible.
  3693. 2008-12-10 Jim Meyering <meyering@redhat.com>
  3694. AC_HEADER_ASSERT: don't say assertions are disabled when they're not
  3695. * lib/autoconf/headers.m4 (AC_HEADER_ASSERT): Do not make configure
  3696. report "checking whether to enable assertions... no", when they are
  3697. in fact enabled. This is solely a bug in the output of configure.
  3698. In spite of saying "no", NDEBUG was not defined in that case.
  3699. Also, as noted by Eric Blake, leave assertions enabled upon
  3700. --enable-assert=INVALID.
  3701. 2008-12-09 Eric Blake <ebb9@byu.net>
  3702. Fix m4_location inside m4_wrap with m4 1.4.5.
  3703. * lib/m4sugar/m4sugar.m4 (m4_undefine): Redefine m4_location
  3704. inside wrapped text if older m4 is detected.
  3705. Reported by William Pursell.
  3706. 2008-12-08 William Pursell <bill.pursell@gmail.com> (tiny change)
  3707. and Eric Blake <ebb9@byu.net>
  3708. Fix AC_HEADER_ASSERT w.r.t. --enable-assert.
  3709. * lib/autoconf/headers.m4 (AC_HEADER_ASSERT): Honor --enable-assert,
  3710. rather than treating it as a synonym for --disable-assert.
  3711. * NEWS: Document the fix.
  3712. 2008-12-06 William Pursell <bill.pursell@gmail.com> (tiny change)
  3713. Fix AC_HEADER_ASSERT to honor --enable-assert, rather than
  3714. treat --enable-assert and --disable-assert equivalently.
  3715. * lib/autoconf/headers.m4 (AC_HEADER_ASSERT): Check value of $enableval.
  3716. 2008-12-05 William Pursell <bill.pursell@gmail.com> (tiny change)
  3717. Fix some typos and grammatical errors in documentation.
  3718. * doc/autoconf.texi: Clean up some bad use of English.
  3719. 2008-12-03 Eric Blake <ebb9@byu.net>
  3720. Improve AC_STATE_SAVE.
  3721. * tests/local.at (AC_STATE_SAVE): Avoid ls -1, and use one less
  3722. process by hoisting the uniqueness check into sed.
  3723. * doc/autoconf.texi (Limitations of Usual Tools) <ls>: Mention
  3724. MacOS bug.
  3725. 2008-12-02 Eric Blake <ebb9@byu.net>
  3726. Avoid MacOS readdir bug in testsuite.
  3727. * tests/local.at (AC_STATE_SAVE): Avoid spurious failures due to
  3728. duplicated ls entries.
  3729. * THANKS: Update.
  3730. Reported by Bruce Dugan and others.
  3731. 2008-11-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  3732. * lib/autotest/general.m4 (AT_JOB_FIFO_FD): Hide zsh 4.3.4
  3733. error messages about `set -m'.
  3734. 2008-11-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  3735. Fix a couple of test failures with dash.
  3736. * tests/autotest.at (AT_CHECK_AT_TITLE_CHAR): Normalize
  3737. exit status of `cd'.
  3738. * tests/m4sh.at (AS_MESSAGE_LOG_FD): Remove script before
  3739. regeneration, to avoid timing effects.
  3740. 2008-11-25 Eric Blake <ebb9@byu.net>
  3741. Add m4_cleardivert.
  3742. * lib/m4sugar/m4sugar.m4 (m4_cleardivert): New macro.
  3743. * lib/autotest/general.m4 (AT_INIT): Use it.
  3744. * lib/autoconf/general.m4 (_AC_INIT_NOTICE): Likewise.
  3745. * tests/m4sugar.at (m4@&t@_divert_stack): Test it.
  3746. * doc/autoconf.texi (Diversion support) <m4_cleardivert>: Document
  3747. it.
  3748. * NEWS: Likewise.
  3749. Suggested by Paolo Bonzini.
  3750. Add safety check for m4_expand vs. diversions.
  3751. * lib/m4sugar/m4sugar.m4 (m4_expand): Make more robust against
  3752. diverted text.
  3753. * doc/autoconf.texi (Evaluation Macros) <m4_expand>: Document new
  3754. safety check.
  3755. 2008-11-24 Eric Blake <ebb9@byu.net>
  3756. Fix typo in AS_MESSAGE_LOG_FD patch.
  3757. * lib/m4sugar/m4sh.m4 (AS_ERROR): Check correct condition.
  3758. 2008-11-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  3759. More reliable signal handling in Autotest.
  3760. * lib/autotest/general.m4 (Driver loop): Rewrite signal handler.
  3761. Start parallel jobs in their own process group, enabling job
  3762. control in the shell if possible, for better signal handling.
  3763. Deal with INT, TERM, and HUP in the testsuite driver. In the
  3764. parallel driver, propagate TSTP to jobs either as TSTP or as
  3765. STOP (to avoid fork bombs with ksh).
  3766. Inside the job processes, add PIPE handler to write back the
  3767. job token, so the master process does not hang.
  3768. Disable the parallel driver if job control is not provided or if
  3769. trap does not understand signal names.
  3770. * tests/autotest.at (parallel autotest and signals): New test,
  3771. exercises INT, TERM, and PIPE, serial and parallel, with and
  3772. without `make' in the loop.
  3773. Kudos to Richard Stevens for writing APUE.
  3774. 2008-11-22 Eric Blake <ebb9@byu.net>
  3775. Fix testsuite failure on Solaris.
  3776. * tests/torture.at (AT_CHECK_CONFIG_CREATION_NOWRITE): Normalize
  3777. failure status to 1.
  3778. 2008-11-21 Eric Blake <ebb9@byu.net>
  3779. Clean up AS_MESSAGE_LOG_FD usage.
  3780. * lib/m4sugar/m4sh.m4 (AS_MESSAGE_FD, AS_MESSAGE_LOG_FD)
  3781. (AS_ORIGINAL_STDIN_FD): Provide default M4sh values.
  3782. (_AS_ECHO_LOG, AS_MESSAGE, _AS_ERROR_PREPARE, AS_ERROR): Simplify
  3783. usage.
  3784. (AS_INIT_GENERATED): Don't shuffle an unchanged AS_MESSAGE_FD.
  3785. * tests/m4sh.at (AS@&t@_INIT_GENERATED): Update test.
  3786. (AS@&t@_MESSAGE_FD): New test.
  3787. * doc/autoconf.texi (Initialization Macros) <AS_INIT_GENERATED>:
  3788. Give more details about fd manipulation.
  3789. (File Descriptor Macros): Describe M4sh defaults for the fds.
  3790. 2008-11-21 Eric Blake <ebb9@byu.net>
  3791. Use shell function for AS_ERROR.
  3792. * lib/m4sugar/m4sh.m4 (_AS_ERROR_PREPARE): New macro, defining a
  3793. new shell function.
  3794. (AS_ERROR): Use it.
  3795. (_AS_LINENO_PREPARE): Break circular dependency.
  3796. (AS_PREPARE, _AS_PREPARE): Initialize for child scripts.
  3797. 2008-11-21 Eric Blake <ebb9@byu.net>
  3798. Fix typos in recent testsuite improvements.
  3799. * lib/autotest/general.m4 (AT_INIT) <at_fn_check_prepare_dynamic>:
  3800. Fix typo.
  3801. * NEWS: Clarify the potential impact to users.
  3802. * tests/autotest.at (AT_DATA_AUTOTEST): New macro, patterned after
  3803. AT_DATA_M4SUGAR.
  3804. (AT_CHECK_AT_PREP, AT_CHECK_AT_TITLE): Use it.
  3805. (unusual file names): Test that the recent echo fix does not
  3806. regress. Fix quoting bug that made the test a no-op.
  3807. Reported by Paolo Bonzini and Ralf Wildenhues.
  3808. 2008-11-21 Eric Blake <ebb9@byu.net>
  3809. Use modern m4sh constructs in autoconf.
  3810. * bin/autoconf.as (exit_missing_arg, getopt): Use AS_ERROR, rather
  3811. than AS_EXIT.
  3812. Change the semantics of AS_EXIT without argument.
  3813. * lib/m4sugar/m4sh.m4 (_AS_EXIT_PREPARE): When defaulting, use $?
  3814. even if it is 0.
  3815. (AS_ERROR): Guarantee non-zero status.
  3816. * bin/autoconf.as (exit_missing_arg, getopt): Revert prior change;
  3817. we want non-zero status.
  3818. * tests/m4sh.at (AS@&t@_EXIT): Update test accordingly.
  3819. * doc/autoconf.texi (Common Shell Constructs) <AS_EXIT>: Update
  3820. the documentation.
  3821. <AS_SET_STATUS>: Don't overly restrict implementation.
  3822. (Printing Messages) <AC_MSG_ERROR>: Describe better default.
  3823. Suggestions by Paolo Bonzini and Ralf Wildenhues.
  3824. 2008-11-21 Eric Blake <ebb9@byu.net>
  3825. Add @anchors within Builtins and Usual Tools lists.
  3826. * doc/autoconf.texi (Limitations of Builtins)
  3827. (Limitatations of Usual Tools): Add anchors for tools called out
  3828. by name. Adjust callers to narrow in on tool of interest.
  3829. Move case statement style discussion to m4 quoting section.
  3830. * doc/autoconf.texi (Limitations of Builtins): Move comparison of
  3831. quoting styles...
  3832. (Balancing Parentheses): ...to this new node.
  3833. Suggested by Ralf Wildenhues.
  3834. 2008-11-20 Eric Blake <ebb9@byu.net>
  3835. Factor more common code out of AT_CHECK into shell function.
  3836. * lib/autotest/general.m4 (_AT_CHECK): Avoid echo bug if AT_LINE
  3837. starts with -. Move preparations...
  3838. (AT_INIT) <at_fn_check_prepare_trace>
  3839. <at_fn_check_prepare_notrace, at_fn_check_prepare_dynamic>:
  3840. ...into these new shell functions.
  3841. <at_fn_check_newline>: Inline into only caller.
  3842. (_AT_DECIDE_TRACEABLE): Use them to condense testsuite size.
  3843. 2008-11-20 Eric Blake <ebb9@byu.net>
  3844. Handle version numbers as decimal, even if they start with 0.
  3845. * lib/m4sugar/m4sugar.m4 (_m4_version_unletter): Avoid
  3846. interpreting leading zeros as octal.
  3847. 2008-11-20 Eric Blake <ebb9@byu.net>
  3848. Speed up AT_CHECK.
  3849. * lib/autotest/general.m4 (AT_CHECK, AT_CHECK_UNQUOTED): Expand
  3850. third and fourth arguments once.
  3851. (_AT_CHECK): Don't re-expand expected output. Rearrange code for
  3852. fewer scans of arguments.
  3853. (AT_CHECK): Update caller.
  3854. (AT_INIT) <at_fn_filter_trace>: Drop parameter.
  3855. * tests/m4sugar.at (m4@&t@_split): Protect test with
  3856. quadrigraphs.
  3857. Fix XFAIL related to AT_CHECK.
  3858. * lib/autotest/general.m4 (AT_CHECK, AT_CHECK_UNQUOTED): Expand
  3859. first argument once.
  3860. (_AT_CHECK): Don't re-expand commands.
  3861. * tests/autotest.at (Multiline command from M4 expansion): Remove
  3862. XFAIL.
  3863. * tests/tools.at (autoupdating AU_ALIAS): Quote unbalanced paren.
  3864. * NEWS: Document the fallout.
  3865. 2008-11-20 Eric Blake <ebb9@byu.net>
  3866. Reduce forks in AC_DEFINE.
  3867. * lib/autoconf/general.m4 (_AC_DEFINE_Q_PRINT): New macro.
  3868. (_AC_DEFINE_Q): Use it to avoid forks for all AC_DEFINE and most
  3869. AC_DEFINE_UNQUOTED.
  3870. * lib/autoconf/fortran.m4 (_AC_FC_WRAPPERS): Properly quote #.
  3871. * tests/torture.at (Substitute and define special characters):
  3872. (Define to a 2000-byte string): Enhance tests to cover
  3873. AC_DEFINE_UNQUOTED.
  3874. (@%:@define header templates): Enhance test to cover #.
  3875. 2008-11-20 Eric Blake <ebb9@byu.net>
  3876. Improve m4_expand robustness, part 2.
  3877. * lib/m4sugar/m4sugar.m4 (m4_expand): Support unterminated
  3878. comments, by wrapping old implementation...
  3879. (_m4_expand): ...as this, and renaming old core...
  3880. (_m4_expand_): ...to this.
  3881. (m4_text_box): Use lighter-weight _m4_expand.
  3882. * lib/m4sugar/m4sh.m4 (_AS_DETECT_EXPAND)
  3883. (_AS_DETECT_BETTER_SHELL, AS_FUNCTION_DESCRIBE): Likewise.
  3884. * lib/autotest/general.m4 (AT_KEYWORDS): Likewise.
  3885. * tests/m4sugar.at (m4@&t@_expand): Enhance test.
  3886. * tests/autotest.at (AT_CHECK_AT_TITLE_CHAR): Likewise.
  3887. * doc/autoconf.texi (Evaluation Macros) <m4_expand>: Mention new
  3888. functionality.
  3889. Improve m4_expand robustness, part 1.
  3890. * lib/m4sugar/m4sugar.m4 (_m4_expand): Tolerate unquoted
  3891. unbalanced `)'.
  3892. * tests/m4sugar.at (m4@&t@_expand): New test.
  3893. 2008-11-20 Eric Blake <ebb9@byu.net>
  3894. Add m4_chomp, m4_esyscmd_s.
  3895. * lib/m4sugar/m4sugar.m4 (m4_esyscmd_e, m4_chomp, m4_chomp_all):
  3896. New macros.
  3897. * doc/autoconf.texi (Redefined M4 Macros) <m4_esyscmd_s>: Document
  3898. them.
  3899. (Text processing Macros) <m4_chomp>: Likewise.
  3900. * NEWS: Likewise.
  3901. * tests/m4sugar.at (m4@&t@_esyscmd_s): New test.
  3902. Remove _m4_index.
  3903. * lib/m4sugar/m4sugar.m4 (_m4_index): Delete; it is more efficient
  3904. to make callers guarantee a match.
  3905. (m4_init): Adjust caller.
  3906. * lib/autoconf/status.m4 (_AC_CONFIG_COMPUTE_DEST): Likewise.
  3907. * lib/autoconf/general.m4 (_AC_DEFINE_Q): Likewise.
  3908. Describe different hacks for balancing ')' in case statements.
  3909. * doc/autoconf.texi (Limitations of Builtins) <case>: Add an
  3910. exposition on various quoting styles.
  3911. 2008-11-20 Eric Blake <ebb9@byu.net>
  3912. Speed up _AS_QUOTE.
  3913. * lib/m4sugar/m4sh.m4 (_AS_QUOTE_IFELSE): Inline into...
  3914. (_AS_QUOTE): ...here, delete unused second parameter, and factor
  3915. choice into...
  3916. (_AS_QUOTE_MODERN, _AS_QUOTE_OLD): ...new helpers.
  3917. 2008-11-20 Alfred G. de Wijn <dwijn@iluvatar.eu.org> (tiny change)
  3918. For consistency, make temporary variable match language name.
  3919. * lib/autoconf/fortran.m4 (_AC_PROG_FC_G, _AC_PROG_FC_V_OUTPUT):
  3920. Match the save/test variables' names to the FFLAGS/FCFLAGS being
  3921. saved.
  3922. * THANKS: Update.
  3923. 2008-11-19 Eric Blake <ebb9@byu.net>
  3924. Improve testsuite generation.
  3925. * tests/local.at (AT_DATA_M4SUGAR, AT_DATA_M4SH)
  3926. (AT_DATA_AUTOCONF): Escape all quadrigraphs, not just @&t@. Use
  3927. fewer macros.
  3928. 2008-11-18 Eric Blake <ebb9@byu.net>
  3929. Use fn for shell functions, func for autoconf CHECK_FUNCS.
  3930. * lib/autoconf/functions.m4 (AC_CHECK_FUNC): Abbreviate shell
  3931. function names.
  3932. * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE)
  3933. (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE, _AC_RUN_IFELSE)
  3934. (AC_CHECK_DECL, AC_COMPUTE_INT): Likewise.
  3935. * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
  3936. (_AC_CHECK_HEADER_COMPILE, _AC_CHECK_HEADER_PREPROC): Likewise.
  3937. * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW, _AC_TYPE_INT)
  3938. (_AC_TYPE_UNSIGNED_INT, AC_CHECK_MEMBER): Likewise.
  3939. * lib/autotest/general.m4 (AT_INIT): Likewise.
  3940. * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK, _AS_EXIT_PREPARE)
  3941. (AS_EXIT, AS_SET_STATUS, _AS_UNSET_PREPARE, _AS_MKDIR_P)
  3942. (_AS_MKDIR_P_PREPARE, _AS_VAR_APPEND_PREPARE, AS_VAR_APPEND)
  3943. (_AS_VAR_ARITH_PREPARE, AS_VAR_ARITH): Likewise.
  3944. * doc/autoconf.texi (Shell Functions): Likewise.
  3945. 2008-11-18 Eric Blake <ebb9@byu.net>
  3946. Alter default value of AS_EXIT.
  3947. * lib/m4sugar/m4sh.m4 (_AS_EXIT_PREPARE): Let as_func_exit
  3948. parameter be optional.
  3949. (AS_EXIT): Use it to make better default.
  3950. (_AS_DETECT_BETTER_SHELL): Use new default.
  3951. * bin/autoconf.as (exit_missing_arg, getopt): Likewise.
  3952. * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
  3953. * tests/m4sh.at (AS@&t@_EXIT): Update test.
  3954. * doc/autoconf.texi (Common Shell Constructs) <AS_EXIT>: Mention
  3955. new default behavior.
  3956. (Limitations of Builtins) <trap>: Adjust to use new default.
  3957. * NEWS: Mention the semantic change.
  3958. Suggested by Ralf Wildenhues.
  3959. Update example to match actual Tru64 behavior.
  3960. * doc/autoconf.texi (Limitations of Builtins) <trap>: Correct
  3961. the example.
  3962. Reported by Ralf Wildenhues.
  3963. Add AS_SET_STATUS, make AS_EXIT more efficient.
  3964. * lib/m4sugar/m4sh.m4 (_AS_EXIT_PREPARE, AS_SET_STATUS): New
  3965. macros.
  3966. (AS_EXIT): Rewrite to avoid forks.
  3967. (_AS_SHELL_SANITIZE): Avoid AS_EXIT prior to shell functions.
  3968. (AS_PREPARE, _AS_PREPARE): Add new preparation.
  3969. * doc/autoconf.texi (Common Shell Constructs) <AS_SET_STATUS>:
  3970. Document.
  3971. * NEWS: Mention new macro.
  3972. * tests/m4sh.at (AS@&t@_EXIT): New test.
  3973. (BASENAME_TEST): Sort.
  3974. Document Tru64 bug with 'set -e'.
  3975. * doc/autoconf.texi (Limitations of Builtins) <trap>: Mention a
  3976. bug in mixing 'set -e' with 'trap .. 0'.
  3977. Reported by Ralf Wildenhues.
  3978. Document a Solaris /bin/sh bug with 'set -e'.
  3979. * doc/autoconf.texi (Shell Functions): Mention the bug.
  3980. 2008-11-17 Eric Blake <ebb9@byu.net>
  3981. Detect empty list in AS_FOR.
  3982. * lib/m4sugar/m4sh.m4 (AS_FOR): Handle iteration over $@
  3983. properly.
  3984. * tests/m4sh.at (AS@&t@_FOR): Enhance test to catch it.
  3985. Reported by Paolo Bonzini.
  3986. 2008-11-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  3987. Use a different workaround for an automake quirk.
  3988. * tests/Makefile.am (AUTOMAKE_OPTIONS): Remove.
  3989. (distclean_generic): New helper variable, to fool automake.
  3990. ($(distclean_generic)): Depend on clean-local, to prevent
  3991. the race in the two rules with accessing and removing
  3992. $(TESTSUITE).
  3993. Report by Eric Blake.
  3994. * lib/m4sugar/m4sh.m4 (_AS_VAR_ARITH_PREPARE): Simplify, avoid
  3995. unbalanced parentheses from last change.
  3996. Spotted by Eric Blake, fix suggested by Paolo Bonzini.
  3997. Fix exit status of expr version of as_func_arith.
  3998. * lib/m4sugar/m4sh.m4 (_AS_VAR_ARITH_PREPARE): Count an exit
  3999. status of 1 of expr also as success, to avoid failure if the
  4000. computation result is zero. Fixes test failures with IRIX sh,
  4001. where the expr variant of as_func_arith is used.
  4002. Do not use read-only variable $status.
  4003. * tests/compile.at (AC_RUN_IFELSE): Use $estatus instead of
  4004. $status, for zsh.
  4005. 2008-11-15 Eric Blake <ebb9@byu.net>
  4006. Use the new AS_FOR function.
  4007. * lib/autoconf/functions.m4 (AC_CHECK_FUNCS): Use new
  4008. abstraction for cleaner code.
  4009. * lib/autoconf/headers.m4 (AC_CHECK_HEADERS): Likewise.
  4010. Add AS_FOR, undocumented for now.
  4011. * lib/m4sugar/m4sh.m4 (AS_FOR): New macro.
  4012. * tests/m4sh.at (AS@&t@_FOR): New test.
  4013. Suggested by Paolo Bonzini.
  4014. 2008-11-13 Eric Blake <ebb9@byu.net>
  4015. Optimize single-argument loop.
  4016. * lib/autoconf/functions.m4 (AC_CHECK_FUNCS): Avoid forks when
  4017. loop only has one argument.
  4018. * lib/autoconf/headers.m4 (AC_CHECK_HEADERS): Likewise.
  4019. 2008-11-13 Eric Blake <ebb9@byu.net>
  4020. Fix AS_ESCAPE usage bugs.
  4021. * lib/m4sugar/m4sh.m4 (_AS_VAR_APPEND_PREPARE)
  4022. (_AS_VAR_ARITH_PREPARE): Expand macros prior to adding shell
  4023. escapes.
  4024. (AS_TR_SH, AS_VAR_GET): Use _AS_ESCAPE for speed.
  4025. * doc/autoconf.texi (Polymorphic Variables) <AS_VAR_SET>: Document
  4026. caveat due to conditional AS_ESCAPE.
  4027. * tests/m4sh.at (AS@&t@_VAR basics): Enhance test.
  4028. 2008-11-12 Eric Blake <ebb9@byu.net>
  4029. Whitespace reduction in configure.
  4030. * lib/autoconf/autoheader.m4 (AH_VERBATIM): Avoid empty lines.
  4031. * lib/autoconf/general.m4 (_AC_INIT_PREPARE, AC_CHECK_FILES):
  4032. Likewise.
  4033. (_AC_DEFINE_Q): Restore empty line, since some clients in the wild
  4034. depend on it.
  4035. 2008-11-12 Eric Blake <ebb9@byu.net>
  4036. Make M4sh, not autoconf, guarantee sane $SHELL.
  4037. * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Move setting of
  4038. SHELL...
  4039. * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): ...to here.
  4040. * doc/autoconf.texi (Initialization Macros): Document the effect
  4041. on SHELL.
  4042. * tests/m4sh.at (AS@&t@_INIT_GENERATED): New test.
  4043. Reported by Ralf Wildenhues.
  4044. 2008-11-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  4045. Wrap keywords in `testsuite --list' output.
  4046. * lib/autotest/general.m4 (AT_INIT): Rewrite --list awk script,
  4047. avoid lint warnings from gawk, wrap keyword lists to stay below
  4048. 80 characters per line if possible.
  4049. * tests/autotest.at (Keyword wrapping): New test.
  4050. * tests/local.at (AT_COPYRIGHT): Bump copyright years.
  4051. * doc/autoconf.texi (Conditional constructs, Macro Names): Fix
  4052. typos.
  4053. 2008-11-10 Eric Blake <ebb9@byu.net>
  4054. Work around <=m4-1.4.9 bug in m4_format.
  4055. * lib/m4sugar/m4sugar.m4 (_m4_index): New internal macro.
  4056. (m4_init): Only use it in older m4.
  4057. * lib/autoconf/general.m4 (_AC_DEFINE_Q): Use it to avoid
  4058. m4_format bug in older m4.
  4059. * lib/autoconf/status.m4 (_AC_CONFIG_COMPUTE_DEST): Likewise.
  4060. Reported by Bob Proulx.
  4061. 2008-11-10 Eric Blake <ebb9@byu.net>
  4062. Match upstream standards.texi.
  4063. * doc/standards.texi: Resync from upstream.
  4064. * doc/fdl-1.3.texi: Rename...
  4065. * doc/fdl.texi: ...to this.
  4066. * doc/Makefile.am (autoconf_TEXINFOS, standards_TEXINFOS): Update
  4067. users.
  4068. * doc/autoconf.texi (GNU Free Documentation License): Likewise.
  4069. * cfg.mk (fetch): Likewise.
  4070. Yet more FDL 1.3 fallout.
  4071. * NEWS: Mention manual license change.
  4072. 2008-11-10 Eric Blake <ebb9@byu.net>
  4073. Avoid some regex uses.
  4074. * lib/autoconf/general.m4 (_AC_DEFINE_Q): Use m4_format rather
  4075. than m4_bpatsubst to grab string prefix.
  4076. * lib/autoconf/status.m4 (_AC_CONFIG_REGISTER)
  4077. (_AC_CONFIG_REGISTER_DEST, AC_CONFIG_SUBDIRS): Likewise.
  4078. (_AC_FILE_DEPENDENCY_TRACE_COLON): Use m4_translit instead of
  4079. m4_bpatsubst to change bytes.
  4080. (_AC_CONFIG_DEPENDENCY_DEFAULT): Use m4_index rather than
  4081. m4_bmatch to find byte.
  4082. (_AC_CONFIG_COMPUTE_DEST): New helper macro.
  4083. Use more efficient macros in AC_CONFIG_SUBDIRS.
  4084. * lib/autoconf/status.m4 (_AC_CONFIG_FOOS, AC_CONFIG_SUBDIRS): Use
  4085. m4_map_args_w.
  4086. (_AC_OUTPUT_FILE): Use m4_map_args_sep and m4_map_args.
  4087. (_AC_OUTPUT_FILE_ADJUST_DIR): New helper macro.
  4088. Use more efficient macros in AC_CHECK_FILES and AC_CHECK_DECLS.
  4089. * lib/autoconf/general.m4 (AC_CHECK_FILES): Use m4_map_args_w,
  4090. and avoid typo.
  4091. (AC_CHECK_DECLS, AC_CHECK_DECLS_ONCE): Use m4_map_args_sep.
  4092. (_AC_CHECK_FILES, _AC_CHECK_DECLS, _AC_CHECK_DECL_ONCE): New
  4093. helper macros.
  4094. (AC_LIBSOURCES): Use m4_map_args.
  4095. Use more efficient macros in AC_CHECK_TYPES.
  4096. * lib/autoconf/types.m4 (AC_CHECK_TYPES, AC_CHECK_MEMBERS): Use
  4097. m4_map_args_sep.
  4098. (_AC_CHECK_TYPES, _AC_CHECK_MEMBERS): New helper macros.
  4099. Use more efficient macros in AC_CHECK_HEADERS.
  4100. * lib/autoconf/headers.m4 (AH_CHECK_HEADERS)
  4101. (AH_CHECK_HEADERS_DIRENT): Rename...
  4102. (_AH_CHECK_HEADER, _AH_CHECK_HEADER_DIRENT): ...and take only one
  4103. argument, rather than a list.
  4104. (AC_CHECK_HEADERS, AC_CHECK_HEADERS_ONCE):
  4105. Adjust callers to use m4_map_args_w.
  4106. (AC_HEADER_DIRENT): Adjust caller to use m4_map_args.
  4107. (_AC_CHECK_HEADER_ONCE): New helper macro.
  4108. Use more efficient macros in AC_CHECK_FUNCS.
  4109. * lib/autoconf/functions.m4 (_AH_CHECK_FUNCS): Rename...
  4110. (_AH_CHECK_FUNC): ...and take only one argument, rather than a
  4111. list.
  4112. (AC_CHECK_FUNCS, AC_CHECK_FUNCS_ONCE): Adjust callers to use
  4113. m4_map_args_w.
  4114. (_AC_CHECK_FUNC_ONCE): New helper macro.
  4115. (AC_REPLACE_FUNCS): Use m4_map_args_w.
  4116. Use more efficient macro in AT_INIT.
  4117. * lib/autotest/general.m4 (AT_INIT): Use m4_map_args.
  4118. 2008-11-10 Eric Blake <ebb9@byu.net>
  4119. More FDL 1.3 fallout.
  4120. * cfg.mk (fetch): Add gnu-oids.texi, drop fdl.texi.
  4121. * doc/Makefile.am (standards_TEXINFOS): Reflect upstream
  4122. dependency changes.
  4123. * doc/fdl.texi: Delete.
  4124. * doc/gnu-oids.texi: New upstream file.
  4125. * doc/standards.texi: Resync from upstream.
  4126. * doc/make-stds.texi: Likewise.
  4127. * build-aux/announce-gen: Likewise.
  4128. * build-aux/texinfo.tex: Likewise.
  4129. 2008-11-10 Clinton Roy <clinton.roy@gmail.com> (tiny change)
  4130. Pass autoreconf -I to aclocal -I
  4131. * bin/autoreconf.in (parse_args): Pass --include to aclocal.
  4132. * doc/autoconf.texi (autoreconf Invocation): Updates for above.
  4133. * NEWS: Document it.
  4134. * THANKS: Update.
  4135. 2008-11-10 Eric Blake <ebb9@byu.net>
  4136. Try 'print -r --' as a non-forking variant of 'printf %s\\n'.
  4137. * lib/m4sugar/m4sh.m4 (_AS_ECHO_PREPARE): Cater to Solaris ksh.
  4138. * doc/autoconf.texi (Limitations of Builtins) <printf>: Document
  4139. the print workaround.
  4140. Idea by Paolo Bonzini.
  4141. 2008-11-10 Eric Blake <ebb9@byu.net>
  4142. Provide a section on all tools allowed in GNU Coding Standards.
  4143. * doc/autoconf.texi (Limitations of Builtins) <read>: Sort.
  4144. <wait>: Add section.
  4145. (Limitations of Usual Tools) <awk>: Make table entry consistent.
  4146. <chgrp, mkfifo, rmdir, sleep, sort, tar> Add sections.
  4147. 2008-11-09 Paolo Bonzini <bonzini@gnu.org>
  4148. Balance parentheses in _AC_CACHE_DUMP.
  4149. * lib/autoconf/general.m4 (_AC_CACHE_DUMP): Balance parentheses
  4150. without introducing \).
  4151. 2008-11-07 Eric Blake <ebb9@byu.net>
  4152. Further doc updates for AC_CHECK_HEADER change.
  4153. * doc/autoconf.texi (Generic Headers) <AC_CHECK_HEADER>: Mention
  4154. new default, and make it more obvious that using [-] is generally
  4155. broken.
  4156. 2008-11-07 Eric Blake <ebb9@byu.net>
  4157. * ChangeLog: Enforce UTF-8 encoding.
  4158. 2008-11-06 Eric Blake <ebb9@byu.net>
  4159. Skip preprocessor check in AC_CHECK_HEADERS_ONCE.
  4160. * lib/autoconf/headers.m4 (_AC_HEADERS_EXPANSION): Provide fourth
  4161. argument to speed up check.
  4162. 2008-11-06 Eric Blake <ebb9@byu.net>
  4163. Speed up AC_CHECK_TYPE.
  4164. * lib/autoconf/types.m4 (AC_CHECK_TYPE): Factor out $@, and avoid
  4165. regex when enough arguments are present.
  4166. 2008-11-06 Paolo Bonzini <bonzini@gnu.org>
  4167. Remove three forks per _AC_RUN_LOG_STDERR in the common case.
  4168. * lib/autoconf/general.m4 (_AC_RUN_LOG_STDERR): Avoid grep/rm/cat
  4169. sequence when the program's stderr was empty, while providing a
  4170. conftest.err file even in that case.
  4171. (_AC_CACHE_DUMP): Fix mismatched parenthesis.
  4172. 2008-11-06 Paolo Bonzini <bonzini@gnu.org>
  4173. Change `present but cannot be compiled' behavior to use compiler result.
  4174. * NEWS: Document it.
  4175. * doc/autoconf.texi (Present But Cannot Be Compiled): Document it.
  4176. * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Implement it
  4177. and adjust warning.
  4178. * tests/semantics.at (AC_CHECK_HEADERS): Test new semantics.
  4179. 2008-11-05 Eric Blake <ebb9@byu.net>
  4180. Add m4_map_args_w.
  4181. * lib/m4sugar/m4sugar.m4 (m4_map_args_w): New macro, undocumented
  4182. for now.
  4183. (_m4_split): Allow user control over separator.
  4184. (m4_split): Adjust caller.
  4185. (m4_foreach_w, m4_append_uniq_w, _m4_text_wrap): Rewrite to use
  4186. m4_map_args_w.
  4187. * tests/m4sugar.at (m4@&t@_append): Augment test keywords.
  4188. (M4 loops): Test new interface.
  4189. Use m4_set_map_sep in more places.
  4190. * lib/m4sugar/m4sugar.m4 (m4_set_difference, m4_set_intersection)
  4191. (m4_set_union): Use m4_set_map_sep rather than m4_set_foreach.
  4192. * doc/autoconf.texi (Set manipulation Macros) <m4_set_map>:
  4193. Enhance documentation.
  4194. <m4_set_foreach>: Mention faster alternative.
  4195. (Looping constructs) <m4_foreach>: Likewise.
  4196. Unify m4_set_foreach and m4_set_map.
  4197. * lib/m4sugar/m4sugar.m4 (m4_set_map_sep): New macro, undocumented
  4198. for now.
  4199. (m4_set_contents, m4_set_foreach, m4_set_list, m4_set_listc)
  4200. (m4_set_map): Adjust callers.
  4201. Use _m4_foreach in more places.
  4202. * lib/m4sugar/foreach.m4 (m4_dquote_elt, m4_join, m4_joinall)
  4203. (_m4_minmax, m4_set_add_all): Use _m4_foreach instead of
  4204. m4_foreach.
  4205. * lib/m4sugar/m4sugar.m4 (_m4_joinall): Use m4_map_args_sep
  4206. instead of m4_foreach or m4_map_args.
  4207. Unify _m4_foreach and _m4_map.
  4208. * lib/m4sugar/m4sugar.m4 (_m4_map): Delete, merged with...
  4209. (_m4_foreach): ...this.
  4210. (m4_foreach, m4_map, m4_mapall, m4_map_sep, _m4_mapall_sep)
  4211. (m4_map_args, m4_map_args_sep): Adjust callers.
  4212. * lib/m4sugar/foreach.m4 (_m4_map): Rename...
  4213. (_m4_foreach): ...to this, overwriting old definition.
  4214. 2008-11-04 Eric Blake <ebb9@byu.net>
  4215. Add m4_map_args_sep, undocumented for now.
  4216. * lib/m4sugar/m4sugar.m4 (m4_map_args_sep): New macro.
  4217. (_m4_map): Change API to cover more of m4_map*.
  4218. * lib/m4sugar/foreach.m4 (_m4_map): Adjust to new API.
  4219. (m4_map_args): Delete.
  4220. * tests/m4sugar.at (m4@&t@_map_args and m4@&t@_curry): Enhance
  4221. test.
  4222. Improve m4_for performance.
  4223. * lib/m4sugar/m4sugar.m4 (_m4_for): Alter API to make it easier to
  4224. avoid m4_define by some clients.
  4225. (m4_for): Adjust caller.
  4226. * lib/m4sugar/foreach.m4 (_m4_foreach, m4_case, m4_bmatch)
  4227. (_m4_cond, _m4_bpatsubsts, _m4_shiftn, m4_do, m4_reverse)
  4228. (_m4_map, m4_map_args, m4_map_args_pair, _m4_list_pad)
  4229. (_m4_list_cmp): Likewise.
  4230. 2008-11-04 Eric Blake <ebb9@byu.net>
  4231. Adjust expected output.
  4232. * tests/torture.at (Missing templates): Reflect added quoting.
  4233. Detected by Bob Proulx's buildbot.
  4234. Reject arguments with leading =.
  4235. * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Detect case of
  4236. missing variable name, with fewer forks. Quote invalid arguments
  4237. in message, in case they include spaces.
  4238. * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS)
  4239. (_AC_OUTPUT_MAIN_LOOP): Quote invalid arguments.
  4240. * lib/autotest/general.m4 (AT_INIT): Likewise.
  4241. * tests/base.at (configure arguments): Test this.
  4242. Reported by Jeff Squyres.
  4243. 2008-11-04 Eric Blake <ebb9@byu.net>
  4244. Upgrade to FDL 1.3.
  4245. * cfg.mk (fetch): Add fdl-1.3.texi.
  4246. * .gitattributes: Likewise.
  4247. * doc/autoconf.texi (GNU Free Documentation License): Point to new
  4248. upstream version.
  4249. * doc/Makefile.am (autoconf_TEXINFOS): Likewise.
  4250. (standards_TEXINFOS): Mention current dependence on older license.
  4251. * doc/fdl-1.3.texi: New upstream file.
  4252. * GNUmakefile: Resync from upstream.
  4253. * build-aux/announce-gen: Likewise.
  4254. * build-aux/texinfo.tex: Likewise.
  4255. 2008-11-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  4256. Point at AM_SUBST_NOTMAKE.
  4257. * doc/autoconf.texi (Setting Output Variables): Add cross
  4258. reference to new Automake macro AM_SUBST_NOTMAKE.
  4259. 2008-11-03 Paolo Bonzini <bonzini@gnu.org>
  4260. Eliminate a fork per invocation of AC_LANG_CONFTEST.
  4261. * lib/autoconf/c.m4 (AC_LANG_CONFTEST(C)): Define instead of
  4262. AC_LANG_SOURCE(C).
  4263. * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Add a comment at the
  4264. top of confdefs.h, which also works around cpp deficiencies.
  4265. * lib/autoconf/lang.m4 (AC_LANG_DEFINE): Define AC_LANG_CONFTEST(xyz)
  4266. (AC_LANG_CONFTEST): Dispatch based on _AC_LANG.
  4267. (AC_LANG_CONFTEST()): New.
  4268. 2008-11-03 Paolo Bonzini <bonzini@gnu.org>
  4269. Reorganize definition of languages.
  4270. * lib/autoconf/c.m4 (AC_LANG(C), AC_LANG(C++), AC_LANG(Objective C),
  4271. _AC_LANG_ABBREV(C), _AC_LANG_ABBREV(C++), _AC_LANG_ABBREV(Objective C),
  4272. _AC_LANG_PREFIX(C), _AC_LANG_PREFIX(C++), _AC_LANG_PREFIX(Objective C)):
  4273. Replace definitions with usage of AC_LANG_DEFINE.
  4274. (Sections 2b, 2c): Delete.
  4275. (Sections 1b, 1c): Move after section 2a.
  4276. * lib/autoconf/erlang.m4 (AC_LANG(Erlang), _AC_LANG_ABBREV(Erlang),
  4277. _AC_LANG_PREFIX(Erlang), AC_LANG_SOURCE(Erlang)): Replace definitions
  4278. with usage of AC_LANG_DEFINE.
  4279. (AC_LANG_ERLANG): Define using AU_DEFUN.
  4280. * lib/autoconf/fortran.m4 (AC_LANG(Fortran), AC_LANG(Fortran 77),
  4281. _AC_LANG_ABBREV(Fortran), _AC_LANG_ABBREV(Fortran 77),
  4282. _AC_LANG_PREFIX(Fortran), _AC_LANG_PREFIX(Fortran 77),
  4283. _AC_LANG_SOURCE(Fortran), AC_LANG_SOURCE(Fortran 77)): Replace
  4284. definitions with usage of AC_LANG_DEFINE.
  4285. * lib/autoconf/lang.m4 (AC_LANG_DEFINE, AC_LANG_SOURCE()): New.
  4286. 2008-11-03 Paolo Bonzini <bonzini@gnu.org>
  4287. Use preprocessor in cpp tests.
  4288. * tests/c.at (CPP tests): Use AC_CHECK_HEADERS(..., [-]).
  4289. 2008-10-31 Paolo Bonzini <bonzini@gnu.org>
  4290. Rename _AC_CHECK_HEADER_OLD and _AC_CHECK_HEADER_NEW.
  4291. * lib/autoconf/headers.m4 (AC_CHECK_HEADER): Adjust naming.
  4292. (_AC_CHECK_HEADER_PREPROC_BODY): New name of _AC_CHECK_HEADER_OLD_BODY.
  4293. (_AC_CHECK_HEADER_COMPILE_BODY): New name of _AC_CHECK_HEADER_NEW_BODY.
  4294. (_AC_CHECK_HEADER_PREPROC): New name of _AC_CHECK_HEADER_OLD.
  4295. (_AC_CHECK_HEADER_COMPILE): New name of _AC_CHECK_HEADER_NEW.
  4296. * tests/semantics.at (AC_CHECK_HEADERS_OLD, AC_CHECK_HEADER_NEW):
  4297. Give better name.
  4298. 2008-10-31 Eric Blake <ebb9@byu.net>
  4299. Support multiple undiverts and dumpdefs at once.
  4300. * lib/m4sugar/m4sugar.m4 (m4_dumpdefs, m4_undivert): Allow extra
  4301. arguments.
  4302. * doc/autoconf.texi (Redefined M4 Macros) <m4_dumpdef>,
  4303. <m4_undivert>: Document argument list change.
  4304. * tests/m4sugar.at (m4@&t@_divert_stack, m4@&t@_dumpdef): Test
  4305. them.
  4306. Simplify diversion stack handling.
  4307. * lib/m4sugar/m4sugar.m4 (m4_divert_stack): Use fewer macros, and
  4308. avoid extra newlines.
  4309. (m4_divert_stack_push): Compute location here, rather than caller.
  4310. (m4_divert_push): Update caller.
  4311. (m4_divert): Likewise, and also adjust current diversion name.
  4312. (m4_divert_pop): Simplify rule that diversion stack must never go
  4313. empty.
  4314. (_m4_require_call): Bypass diversion stack when collecting
  4315. required macro text.
  4316. (m4_init): Set current diversion without requiring m4_init.
  4317. * lib/m4sugar/m4sh.m4 (AS_INIT): Avoid too many pops.
  4318. * lib/autotest/general.m4 (AT_INIT): Likewise.
  4319. * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Schedule wrapped
  4320. text to run prior to m4sugar cleanup.
  4321. * doc/autoconf.texi (Text processing Macros) <m4_newline>: Mention
  4322. optional argument.
  4323. (Conditional constructs) <m4_ifvaln, m4_n>: Mention use of dnl.
  4324. * NEWS: Undo blurb about m4_divert.
  4325. * tests/m4sugar.at (m4@&t@_divert_stack): New test.
  4326. Simplify expansion stack handling.
  4327. * lib/m4sugar/m4sugar.m4 (m4_expansion_stack): Use fewer macros;
  4328. always output 'top level'.
  4329. (_m4_expansion_stack_entry): New macro, to format the string only
  4330. when needed.
  4331. (m4_expansion_stack_push): Only push a macro name.
  4332. (m4_warn, _m4_defun_pro): Update callers.
  4333. (m4_expansion_stack_pop, m4_expansion_stack_dump): Delete.
  4334. (_m4_defun_epi, m4_fatal): Inline the calls.
  4335. * tests/m4sugar.at (m4@&t@_expansion_stack): New test.
  4336. 2008-10-30 Eric Blake <ebb9@byu.net>
  4337. Better documentation of AC_CHECK_HEADER's fourth argument.
  4338. * doc/autoconf.texi (Generic Headers) <AC_CHECK_HEADER>: Mention
  4339. how to suppress compiler or preprocessor header check.
  4340. Reported by Jeff Squyres.
  4341. 2008-10-30 Eric Blake <ebb9@byu.net>
  4342. Fix LINENO testsuite failure.
  4343. * tests/m4sh.at (AT_DATA_LINENO): Use AS_LINENO_PREPARE, not
  4344. undocumented _AS_PREPARE, and move unset earlier in script.
  4345. Update LINENO documentation.
  4346. * doc/autoconf.texi (Initialization Macros) <AS_INIT_GENERATED>:
  4347. (Special Shell Variables) <LINENO>: Mention that LINENO support in
  4348. child scripts may be broken. Modernize example.
  4349. 2008-10-30 Paolo Bonzini <bonzini@gnu.org>
  4350. Do not check for $LINENO in generated scripts.
  4351. * lib/m4sugar/m4sh.m4 (_AS_PREPARE): Do not call _AS_LINENO_PREPARE,
  4352. and explain why.
  4353. 2008-10-30 Eric Blake <ebb9@byu.net>
  4354. Don't check for non-POSIX extensions in suggested tests.
  4355. * lib/m4sugar/m4sh.m4 (_AS_VAR_APPEND_WORKS): Remove suggestion;
  4356. we still use += if available, but should not reject shells (like
  4357. dash) that don't provide it.
  4358. (_AS_DETECT_SUGGESTED): Document a policy for m4sh.
  4359. Reported by Paolo Bonzini.
  4360. 2008-10-30 Paolo Bonzini <bonzini@gnu.org>
  4361. Pass CONFIG_SHELL down to generated scripts, and re-export SHELL.
  4362. * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): If proceeding
  4363. with a given CONFIG_SHELL, move it to SHELL.
  4364. (AS_INIT_GENERATED): Re-export SHELL.
  4365. 2008-10-30 Eric Blake <ebb9@byu.net>
  4366. Work around Solaris /bin/sh case bug.
  4367. * lib/m4sugar/m4sh.m4 (_AS_CASE, _AS_CASE_DEFAULT): Always provide
  4368. a non-empty command list.
  4369. (AS_CASE): Always guarantee that a case will match.
  4370. * doc/autoconf.texi (Limitations of Builtins) <case>: Document the
  4371. Solaris bug, and mention AS_CASE.
  4372. 2008-10-30 Paolo Bonzini <bonzini@gnu.org>
  4373. Require _AS_CR_PREPARE where appropriate.
  4374. * lib/m4sugar/m4sh.m4 (_AS_PREPARE): Call _AS_CR_PREPARE.
  4375. (AS_PREPARE): Require _AS_CR_PREPARE.
  4376. Avoid walking the entire PATH when looking for a better shell.
  4377. * lib/m4sugar/m4sh.m4 (_AS_SHELL_SANITIZE): Test shell characteristics
  4378. as the PATH is walked.
  4379. Add third argument to _AS_PATH_WALK
  4380. * lib/m4sugar/m4sh.m4 (_AS_SHELL_SANITIZE): Do not call _AS_CR_PREPARE.
  4381. (_AS_PATH_WALK): Add third optional argument.
  4382. Trim down the length of the shell function test.
  4383. * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Condense.
  4384. 2008-10-29 Eric Blake <ebb9@byu.net>
  4385. Fix LINENO detection to work around bash and pdksh limitations.
  4386. * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Enhance the test, so
  4387. that we can choose which of two tests to trust.
  4388. (_AS_RUN): Set flag when alternate shell is running.
  4389. (_AS_DETECT_EXPAND): New macro.
  4390. (_AS_DETECT_BETTER_SHELL): Use it to massage LINENO tests.
  4391. 2008-10-29 Eric Blake <ebb9@byu.net>
  4392. Mention proper fix for zsh users.
  4393. * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Recommend zsh
  4394. version known to work.
  4395. Suggested by Paolo Bonzini.
  4396. Document current beta-quality status.
  4397. * configure.ac: Reflect fact that change to git-version-gen
  4398. produces -, but not always a letter, on non-release builds.
  4399. * BUGS: Mention known issues.
  4400. * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Ask for help in
  4401. debugging platforms with deficient shells.
  4402. 2008-10-29 Eric Blake <ebb9@byu.net>
  4403. Alter signature of AS_INIT_GENERATED.
  4404. * lib/m4sugar/m4sh.m4 (AS_INIT_GENERATED): Add parameters, and
  4405. manage here-doc and chmod in place. This also allows future
  4406. changes for optimizing the child via diversion/m4_wrap magic.
  4407. * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Update
  4408. caller.
  4409. * doc/autoconf.texi (Initialization Macros) <AS_INIT_GENERATED>:
  4410. Update the documentation.
  4411. 2008-10-29 Eric Blake <ebb9@byu.net>
  4412. Use _m4_stack_reverse in m4_set.
  4413. * lib/m4sugar/m4sugar.m4 (_m4_set_contents_1)
  4414. (_m4_set_contents_2): Rewrite to share _m4_stack_reverse
  4415. implementation.
  4416. (m4_set_contents, m4_set_foreach, m4_set_list, m4_set_listc)
  4417. (m4_set_map): Adjust callers to new API.
  4418. Add m4_stack_foreach_sep.
  4419. * lib/m4sugar/m4sugar.m4 (m4_stack_foreach_sep)
  4420. (m4_stack_foreach_sep_lifo): New macros.
  4421. (_m4_stack_reverse): Adjust prototype, to support it.
  4422. (m4_copy): Use fewer macros.
  4423. * tests/m4sugar.at (m4@&t@_stack_foreach): Rename...
  4424. (m4@&t@_stack): ...and add m4_stack_foreach_sep tests.
  4425. 2008-10-29 Bruno Haible <bruno@clisp.org>
  4426. Mention Sun WorkShop 6.2 OpenMP bug.
  4427. * doc/autoconf.texi (AC_OPENMP): Document portability pitfall.
  4428. 2008-10-29 Paolo Bonzini <bonzini@gnu.org>
  4429. Rewrite handling of diversion and expansion stack.
  4430. * NEWS: Document stricter requirement on m4_init.
  4431. * lib/m4sugar/m4sugar.m4 (m4_divert_stack): New, replacing
  4432. _m4_divert_n_stack.
  4433. (_m4_divert_stack_push): New.
  4434. (m4_divert): Use _m4_divert_stack_push and replace m4_define with
  4435. m4_popdef.
  4436. (m4_divert_push): Use _m4_divert_stack_push.
  4437. (m4_divert_pop): Use m4_divert_stack instead of _m4_divert_n_stack,
  4438. pop _m4_divert_stack instead of m4_divert_stack.
  4439. (m4_expansion_stack): New. Update comment above it.
  4440. (m4_expansion_stack_push, m4_expansion_stack_pop): Work on
  4441. _m4_expansion_stack instead of m4_expansion_stack.
  4442. (m4_expansion_stack_dump): Check presence of _m4_expansion_stack
  4443. instead of m4_expansion_stack. Use m4_expansion_stack's expansion
  4444. instead of the definition, and compensate for the trailing newline
  4445. in the expansion.
  4446. (m4_warn, _m4_defun_pro, _m4_defun_epi): Check presence of
  4447. _m4_expansion_stack instead of m4_expansion_stack.
  4448. (m4_newline): Expand first argument after the newline.
  4449. (m4_init): Use m4_divert_stack instead of _m4_divert_n_stack,
  4450. * tests/m4sugar.at (m4_append, m4_text_wrap): Invoke m4_init.
  4451. * tests/tools.at (whitespace in file names, the empty token): Likewise.
  4452. 2008-10-28 Eric Blake <ebb9@byu.net>
  4453. Reduce forks while searching for better shell.
  4454. * lib/m4sugar/m4sh.m4 (_AS_DETECT_REQUIRED)
  4455. (_AS_DETECT_SUGGESTED): No need to provide extra subshell; _AS_RUN
  4456. already does the job.
  4457. (_AS_DETECT_BETTER_SHELL): Simplify AS_EXIT when not run in a trap
  4458. 0 context.
  4459. Undo needless efforts to protect $2 in $2_t.
  4460. * lib/autoconf/types.m4 (_AC_TYPE_INT_BODY)
  4461. (_AC_TYPE_UNSIGNED_INT_BODY): Reduce extra quoting.
  4462. 2008-10-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  4463. Fix parallel test execution output lossage.
  4464. * lib/autotest/general.m4 (_AT_CHECK): Truncate files to hold
  4465. standard output and standard error before the test, use append
  4466. mode for writing.
  4467. * THANKS: Update.
  4468. Caught by Bob Proulx' build daemons, analysis and suggested fix
  4469. by Stéphane Chazelas.
  4470. 2008-10-28 Eric Blake <ebb9@byu.net>
  4471. Use m4_map_args in more places.
  4472. * lib/m4sugar/m4sugar.m4 (m4_defn, m4_dumpdef, m4_popdef)
  4473. (m4_undefine, m4_combine): Use m4_map_args, rather than
  4474. m4_foreach.
  4475. 2008-10-28 Eric Blake <ebb9@byu.net>
  4476. Override m4 1.4.x dumpdef, as it breaks autom4te.
  4477. * lib/m4sugar/m4sugar.m4 (m4_dumpdef): New implementation.
  4478. (m4_copy): Formatting touchup.
  4479. * doc/autoconf.texi (Redefined M4 Macros) <m4_dumpdef>: Mention
  4480. semantic differences as well as m4_dumpdefs.
  4481. * NEWS: Likewise.
  4482. * tests/m4sugar.at (m4@&t@_dumpdef): New test.
  4483. 2008-10-28 Eric Blake <ebb9@byu.net>
  4484. Allow m4sugar to be used without autom4te, such as in bison.
  4485. * lib/m4sugar/m4sugar.m4 (m4_text_wrap, m4_qlen): Document that
  4486. alternate escape sequences can be used.
  4487. (m4_text_box): Likewise. Don't output quadrigraphs.
  4488. (m4_qdelta): Delete unused macro.
  4489. 2008-10-28 Paolo Bonzini <bonzini@gnu.org>
  4490. Add m4_stack_foreach and m4_stack_foreach_lifo.
  4491. * lib/m4sugar/m4sugar.m4 (_m4_stack_reverse): New from _m4_copy.
  4492. (m4_stack_foreach, m4_stack_foreach_lifo): New.
  4493. (m4_copy): Use m4_stack_foreach and m4_curry.
  4494. (_m4_dumpdefs_down, _m4_dumpdefs_up): Remove.
  4495. (m4_dumpdefs): Rewrite using m4_stack_foreach_lifo.
  4496. * tests/m4sugar.at (m4_stack_foreach): New test.
  4497. 2008-10-28 Paolo Bonzini <bonzini@gnu.org>
  4498. use a shell function for AC_TYPE_INTx_T
  4499. * lib/autoconf/types.m4 (_AC_TYPE_INT_BODY, _AC_TYPE_UNSIGNED_INT_BODY):
  4500. New.
  4501. (_AC_TYPE_INT, _AC_TYPE_UNSIGNED_INT): Define and use a shell function.
  4502. 2008-10-28 Paolo Bonzini <bonzini@gnu.org>
  4503. * lib/autoconf/general.m4 (AC_CHECK_DECL): Fix AS_ESCAPE usage.
  4504. * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL,
  4505. _AC_CHECK_HEADER_NEW): Likewise.
  4506. * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW, AC_CHECK_MEMBER): Likewise.
  4507. 2008-10-28 Paolo Bonzini <bonzini@gnu.org>
  4508. * lib/autoconf/types.m4 (_AC_CHECK_MEMBER_BODY): New.
  4509. (AC_CHECK_MEMBER): Define and use a shell function.
  4510. 2008-10-27 Eric Blake <ebb9@byu.net>
  4511. Prefer m4_fatal over AC_FATAL.
  4512. * lib/autoconf/types.m4 (AC_CHECK_SIZEOF, AC_CHECK_ALIGNOF)
  4513. (AC_CHECK_MEMBER): Use non-obsolete macro name.
  4514. * lib/autoconf/fortran.m4 (_AC_LIST_MEMBER_IF): Likewise.
  4515. * lib/autoconf/general.m4 (AC_REQUIRE_AUX_FILE, AC_SUBST):
  4516. Likewise.
  4517. * lib/autoconf/lang.m4 (_AC_LANG_DISPATCH): Likewise.
  4518. * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCY_DEFAULT)
  4519. (_AC_CONFIG_UNIQUE, _AC_CONFIG_REGISTER_DEST): Likewise.
  4520. 2008-10-27 Eric Blake <ebb9@byu.net>
  4521. Avoid raw carriage return in scripts.
  4522. * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Generate CR
  4523. via tr, rather than with literal byte.
  4524. * THANKS: Update.
  4525. Reported by Steven R. Loomis; patch suggested by Thomas Dickey.
  4526. 2008-10-27 Eric Blake <ebb9@byu.net>
  4527. Use AS_VAR_ARITH.
  4528. * lib/autotest/general.m4 (at_func_arith): Delete; replace all
  4529. clients with AS_VAR_ARITH instead.
  4530. * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE): Use new
  4531. macro.
  4532. * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Likewise.
  4533. * tests/torture.at (Torturing config.status): Likewise.
  4534. * tests/tools.at (autom4te --force): Likewise.
  4535. Add AS_VAR_ARITH.
  4536. * lib/m4sugar/m4sh.m4 (_AS_VAR_ARITH_PREPARE, _AS_VAR_ARITH_WORKS)
  4537. (AS_VAR_ARITH): New macros.
  4538. (_AS_PREPARE, AS_PREPARE): Emit preparation.
  4539. * tests/m4sh.at (AS@&t@_VAR_ARITH): New test.
  4540. * doc/autoconf.texi (Polymorphic Variables) <AS_VAR_ARITH>:
  4541. Document new macro.
  4542. (Limitations of Usual Tools) <expr>: Mention portability problem
  4543. if first argument starts with -.
  4544. (Shell Substitutions) <$((expression))>: Mention it.
  4545. * NEWS: Likewise.
  4546. 2008-10-27 Eric Blake <ebb9@byu.net>
  4547. Use read, rather than `cat`, for safe one-line files.
  4548. * lib/autotest/general.m4 (AT_CLEANUP): Avoid a fork, since it is
  4549. known that the file has only one line and no \.
  4550. * lib/autoconf/general.m4 (_AC_COMPUTE_INT_RUN): Likewise.
  4551. 2008-10-27 Paolo Bonzini <bonzini@gnu.org>
  4552. * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE,
  4553. _AC_COMPUTE_INT_RUN): Add IF-SUCCESS argument.
  4554. (_AC_COMPUTE_INT_BODY): New.
  4555. (AC_COMPUTE_INT): Define and use a shell function.
  4556. 2008-10-27 Paolo Bonzini <bonzini@gnu.org>
  4557. * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW_BODY): Extract
  4558. test body here. Move head comment of _AC_CHECK_TYPE_NEW here.
  4559. (_AC_CHECK_TYPE_NEW): Define a shell function and call it.
  4560. 2008-10-27 Paolo Bonzini <bonzini@gnu.org>
  4561. * lib/autoconf/general.m4 (_AC_CHECK_DECL_BODY): New.
  4562. (AC_CHECK_DECL): Use a shell function.
  4563. 2008-10-27 Paolo Bonzini <bonzini@gnu.org>
  4564. * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_OLD,
  4565. _AC_CHECK_HEADER_NEW): Use a shell function.
  4566. 2008-10-25 Eric Blake <ebb9@byu.net>
  4567. Track recent copyright assignments.
  4568. * AUTHORS: Update.
  4569. 2008-10-25 Paolo Bonzini <bonzini@gnu.org>
  4570. and Eric Blake <ebb9@byu.net>
  4571. Use a shell function for _AC_CHECK_HEADER_MONGREL.
  4572. * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL_BODY): New
  4573. macro.
  4574. (_AC_CHECK_HEADER_MONGREL): Use a shell function.
  4575. 2008-10-25 Eric Blake <ebb9@byu.net>
  4576. Simplify _AS_PREPARE handling of functions.
  4577. * lib/m4sugar/m4sh.m4 (AS_REQUIRE_SHELL_FN): Factor...
  4578. (_AS_REQUIRE_SHELL_FN): ...into new helper macro.
  4579. (_AS_PREPARE): Temporarily redefine AS_REQUIRE_SHELL_FN to make
  4580. this task easier.
  4581. (_AS_LINENO_PREPARE): Make more efficient.
  4582. (_AS_MKDIR_P_PREPARE): Simplify use in _AS_PREPARE.
  4583. (_AS_UNSET_PREPARE): Avoid blank newline.
  4584. (AS_INIT): Emit as_func_unset alongside other functions.
  4585. 2008-10-25 Eric Blake <ebb9@byu.net>
  4586. Document AS_EXIT.
  4587. * doc/autoconf.texi (Common Shell Constructs) <AS_EXIT>: Document
  4588. this macro.
  4589. (Limitations of Builtins): Mention AS_EXIT.
  4590. * NEWS: Mention it.
  4591. Use AS_EXIT in autoconf.as.
  4592. * bin/autoconf.as: Consistently use AS_EXIT.
  4593. 2008-10-24 Eric Blake <ebb9@byu.net>
  4594. Fix m4 underquoting in AC_PROG_INSTALL.
  4595. * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Produce accurate
  4596. character ranges.
  4597. Speed up AC_CHECK_HEADER.
  4598. * lib/autoconf/headers.m4 (AC_CHECK_HEADER): Factor out $@.
  4599. 2008-10-24 Paolo Bonzini <bonzini@gnu.org>
  4600. and Eric Blake <ebb9@byu.net>
  4601. Use a shell function for AC_CHECK_FUNC.
  4602. * lib/autoconf/functions.m4 (_AC_CHECK_FUNC_BODY): New macro.
  4603. (AC_CHECK_FUNC): Use a shell function.
  4604. * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Reduce number of forks.
  4605. 2008-10-24 Eric Blake <ebb9@byu.net>
  4606. Work around fact that gnulib-tool doesn't use m4_copy.
  4607. * lib/autoconf/general.m4 (AC_LIBOBJ, AC_LIBSOURCES): Defun, not
  4608. define, so that an initial location is present, to account for
  4609. fact that gnulib-tool pushes another AC_DEFUN'd macro on top.
  4610. Make m4_defun_init more robust.
  4611. * lib/m4sugar/m4sugar.m4 (m4_defun_init): Handle indirect macro
  4612. names, and correct number of arguments.
  4613. (m4_copy): Also set up location of the copy.
  4614. (m4_defun): When copied, use current macro name, not original.
  4615. * tests/m4sugar.at (m4@&t@_require: one-shot initialization):
  4616. Update test.
  4617. Optimize clients of AS_REQUIRE.
  4618. * lib/m4sugar/m4sugar.m4 (m4_defun): Add undocumented third
  4619. argument.
  4620. (m4_defun_init): New undocumented macro.
  4621. * lib/m4sugar/m4sh.m4 (_AS_ECHO_LOG, AS_MESSAGE, AS_BASENAME)
  4622. (_AS_DIRNAME_EXPR, AS_DIRNAME, AS_ECHO, AS_ECHO_N, AS_TEST_X)
  4623. (AS_LN_S, AS_MKDIR_P, _AS_PATH_WALK, AS_VERSION_COMPARE)
  4624. (AS_TR_SH, AS_TR_CPP, AS_VAR_APPEND, AS_VAR_PUSHDEF): Use it to
  4625. simplify these macros once the one-shot initialization is
  4626. complete.
  4627. * tests/m4sugar.at (m4@&t@_require: one-shot initialization): New
  4628. test.
  4629. Improve m4_copy.
  4630. * lib/m4sugar/m4sugar.m4 (m4_copy): Add second implementation for
  4631. public use.
  4632. (_m4_copy): New macro, which preserves pushdef stacks.
  4633. (_m4_defun_pro_outer): Bypass it, for speed.
  4634. (m4_init): Bypass new implementation, since it breaks on m4_defn.
  4635. * bin/autoupdate.in (handle_autoconf_macros): Likewise.
  4636. * lib/autoconf/general.m4 (AC_PREREQ): Undefine before redefining,
  4637. now that m4_copy checks this.
  4638. * doc/autoconf.texi (Redefined M4 Macros) <m4_copy>: Document
  4639. this, as well as m4_rename.
  4640. * lib/autoconf/autoconf.m4 (m4_copy): Temporarily redefine when
  4641. renaming builtins, since it breaks on m4_ifdef.
  4642. * NEWS: Likewise.
  4643. * tests/m4sugar.at (m4@&t@_defn): Enhance test.
  4644. 2008-10-24 Eric Blake <ebb9@byu.net>
  4645. AC_FUNC_GETGROUPS: Revert regression.
  4646. * lib/autoconf/functions.m4 (AC_FUNC_GETGROUPS): Only set
  4647. ac_cv_func_getgroups_works=no when it is not available.
  4648. 2008-10-23 Eric Blake <ebb9@byu.net>
  4649. Whitespace cleanup.
  4650. * lib/autoconf/fortran.m4: Consistently use tabs.
  4651. 2008-10-23 Chikama Masaki <masaki.chikama@gmail.com> (tiny change)
  4652. For gfortran on sh, ignore -little.
  4653. * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Add -little to
  4654. list of ignored arguments.
  4655. * THANKS: Update.
  4656. 2008-10-23 Paolo Bonzini <bonzinI@gnu.org>
  4657. Eliminate empty lines after AC_*_IFELSE.
  4658. * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
  4659. _AC_LINK_IFELSE, _AC_RUN_IFELSE): Add a dnl at end.
  4660. 2008-10-23 Paolo Bonzini <bonzinI@gnu.org>
  4661. Avoid a fork in _AC_RUN_LOG and _AC_RUN_LOG_STDERR
  4662. * lib/autoconf/general.m4 (_AC_RUN_LOG, _AC_RUN_LOG_STDERR):
  4663. Return a boolean status code based on $ac_status.
  4664. 2008-10-23 Paolo Bonzini <bonzinI@gnu.org>
  4665. Ensure actions can look at conftest* files.
  4666. * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE_BODY,
  4667. _AC_COMPILE_IFELSE_BODY, _AC_LINK_IFELSE_BODY, _AC_RUN_IFELSE_BODY):
  4668. Move rm commands, except IPA files and Apple debug symbols...
  4669. (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE,
  4670. _AC_RUN_IFELSE): ...in here.
  4671. * tests/compile.at: Add regression test.
  4672. 2008-10-23 Eric Blake <ebb9@byu.net>
  4673. Remove excess dnl from m4sh.
  4674. * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL, _AS_PREPARE)
  4675. (_AS_SHELL_FN_WORK, _AS_SHELL_SANITIZE, AS_IF, _AS_ECHO_LOG)
  4676. (AS_MESSAGE, AS_ERROR, AS_BASENAME, _AS_BASENAME_PREPARE)
  4677. (_AS_DIRNAME_EXPR, AS_DIRNAME, _AS_DIRNAME_PREPARE, AS_ECHO)
  4678. (AS_ECHO_N, AS_TEST_X, AS_EXECUTABLE_P, _AS_ME_PREPARE)
  4679. (_AS_LINENO_PREPARE, AS_LN_S, AS_MKDIR_P, _AS_PATH_WALK)
  4680. (AS_SET_CATFILE, AS_HELP_STRING, AS_TMPDIR, AS_VERSION_COMPARE)
  4681. (_AS_TR_SH_PREPARE, AS_TR_SH, _AS_TR_CPP_PREPARE, AS_TR_CPP)
  4682. (_AS_TR_PREPARE, AS_VAR_APPEND, AS_VAR_PUSHDEF)
  4683. (AS_INIT_GENERATED): Use fewer dnl in m4sh macro bodies.
  4684. 2008-10-23 Paolo Bonzini <bonzini@gnu.org>
  4685. and Eric Blake <ebb9@byu.net>
  4686. Use a shell function for _AC_RUN_IFELSE.
  4687. * lib/autoconf/general.m4 (_AC_RUN_IFELSE_BODY): New macro.
  4688. (_AC_RUN_IFELSE): Use a shell function.
  4689. (_AC_RUN_LOG): Avoid subshell for logging.
  4690. 2008-10-23 Eric Blake <ebb9@byu.net>
  4691. Formatting tweak: balance () with m4sh case statements.
  4692. * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL)
  4693. (_AS_SHELL_SANITIZE, _AS_ECHO_N_PREPARE, _AS_ECHO_PREPARE)
  4694. (AS_SET_CATFILE, _AS_TEST_PREPARE): Add strategic shell comments.
  4695. (_AS_CASE, _AS_CASE_DEFAULT, AS_CASE): Rearrange newlines, to
  4696. allow output of strategic shell comments.
  4697. (AS_VERSION_COMPARE): Use AS_CASE.
  4698. * tests/m4sh.at (AS@&t@_IF and AS@&t@_CASE): Enhance test.
  4699. 2008-10-22 Jim Meyering <meyering@redhat.com>
  4700. AC_FUNC_GETGROUPS: always define $ac_cv_func_getgroups_works
  4701. * lib/autoconf/functions.m4 (AC_FUNC_GETGROUPS): Always define
  4702. the shell variable, $ac_cv_func_getgroups_works. Otherwise, if
  4703. it is set to "yes" in the environment and configure is run on
  4704. a system like mingw that lacks the getgroups function, it would
  4705. mistakenly define HAVE_GETGROUPS. Reported by Simon Josefsson in
  4706. <http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/15354>.
  4707. 2008-10-22 Paolo Bonzini <bonzini@gnu.org>
  4708. and Eric Blake <ebb9@byu.net>
  4709. Use a shell function for _AC_LINK_IFELSE.
  4710. * lib/autoconf/general.m4 (_AC_LINK_IFELSE_BODY): New macro.
  4711. (_AC_LINK_IFELSE): Use a shell function.
  4712. 2008-10-22 Eric Blake <ebb9@byu.net>
  4713. Fix autoconf logging commands.
  4714. * lib/autoconf/general.m4 (AC_MSG_RESULT_UNQUOTED, _AC_EVAL)
  4715. (_AC_EVAL_STDERR, AC_RUN_LOG): Respect as_lineno.
  4716. (_AC_DO_ECHO): Likewise, and use fewer dnl.
  4717. (_AC_RUN_LOG_STDERR): Avoid subshell for logging.
  4718. 2008-10-22 Eric Blake <ebb9@byu.net>
  4719. Fix testsuite failure.
  4720. * tests/mktests.sh (ac_exclude_list): Don't generate test for
  4721. AC_REQUIRE_SHELL_FN.
  4722. 2008-10-21 Eric Blake <ebb9@byu.net>
  4723. Improve wording related to automake and autotest.
  4724. * doc/autoconf.texi (Making testsuite Scripts): Clarify wording in
  4725. relation to automake. Mention dependency on package.m4.
  4726. Consolidate examples. Define AUTOM4TE.
  4727. * THANKS: Update.
  4728. Reported by William Pursell.
  4729. 2008-10-21 Eric Blake <ebb9@byu.net>
  4730. Allow AS_VAR_SET_IF in shell lists.
  4731. * lib/m4sugar/m4sh.m4 (AS_VAR_SET_IF): Allow continuation of
  4732. line.
  4733. * lib/autoconf/general.m4 (AC_CACHE_VAL): Supply newline no longer
  4734. provided by AS_VAR_SET_IF.
  4735. * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Adjust
  4736. clients.
  4737. * lib/autoconf/libs.m4 (AC_SEARCH_LIBS): Likewise.
  4738. * tests/m4sh.at (AS@&t@_VAR basics): Enhance test.
  4739. Allow AS_VAR_IF in shell lists.
  4740. * lib/m4sugar/m4sh.m4 (AS_VAR_IF): Allow continuation of line.
  4741. * lib/autoconf/functions.m4 (AC_CHECK_FUNC): Adjust clients.
  4742. * lib/autoconf/general.m4 (AC_CHECK_FILE, AC_CHECK_DECL):
  4743. Likewise.
  4744. * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
  4745. (_AC_CHECK_HEADER_NEW, _AC_CHECK_HEADER_OLD)
  4746. (_AC_CHECK_HEADER_DIRENT): Likewise.
  4747. * lib/autoconf/libs.m4 (AC_CHECK_LIB): Likewise.
  4748. * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW, AC_CHECK_MEMBER):
  4749. Likewise.
  4750. * tests/m4sh.at (AS@&t@_VAR basics): Enhance test.
  4751. Allow AS_CASE in shell lists.
  4752. * lib/m4sugar/m4sh.m4 (AS_CASE): Always execute test, in case of
  4753. side effects. Allow continuation of script on same line as esac.
  4754. * lib/autoconf/c.m4 (AC_PROG_CC_STDC): Adjust client.
  4755. * tests/m4sh.at (AS@&t@_IF and AS@&t@_CASE): Enhance test.
  4756. * NEWS: Document the subtle change.
  4757. Allow AS_IF in shell lists.
  4758. * lib/m4sugar/m4sh.m4 (AS_IF): Always execute test, in case of
  4759. side effects. Allow continuation of script on same line as fi.
  4760. (_AS_DETECT_BETTER_SHELL): Adjust clients.
  4761. (AS_VAR_IF, AS_VAR_SET_IF): For now, supply newline no longer
  4762. given by AS_IF.
  4763. * lib/autoconf/c.m4 (_AC_PROG_PREPROC_WORKS_IFELSE): Likewise.
  4764. * lib/autoconf/general.m4 (_AC_ENABLE_IF): Likewise.
  4765. (AC_EGREP_CPP, _AC_RUN_IFELSE): Adjust client.
  4766. * lib/autoconf/libs.m4 (AC_SEARCH_LIBS): Likewise.
  4767. * doc/autoconf.texi (Common Shell Constructs) <AS_IF>: Fix typo.
  4768. (Polymorphic Variables): Move mention of dnl to the only two
  4769. AS_VAR functions that need it.
  4770. 2008-10-21 Paolo Bonzini <bonzini@gnu.org>
  4771. and Eric Blake <ebb9@byu.net>
  4772. Use a shell function for _AC_COMPILE_IFELSE.
  4773. * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE_BODY): New macro.
  4774. (_AC_COMPILE_IFELSE): Use a shell function.
  4775. 2008-10-21 Eric Blake <ebb9@byu.net>
  4776. Use AS_VAR_APPEND.
  4777. * lib/autoconf/functions.m4 (AC_CHECK_FUNCS_ONCE): Use new macro.
  4778. * lib/autoconf/general.m4 (_AC_INIT_PREPARE)
  4779. (_AC_LIBOBJS_NORMALIZE): Likewise.
  4780. * lib/autoconf/headers.m4 (AC_CHECK_HEADERS_ONCE): Likewise.
  4781. * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS)
  4782. (_AC_OUTPUT_CONFIG_STATUS, _AC_OUTPUT_MAIN_LOOP): Likewise.
  4783. * lib/autotest/general.m4 (AT_INIT): Likewise.
  4784. Add AS_VAR_APPEND.
  4785. * lib/m4sugar/m4sh.m4 (_AS_VAR_APPEND_PREPARE)
  4786. (_AS_VAR_APPEND_WORKS, AS_VAR_APPEND): New macros.
  4787. (AS_PREPARE, _AS_PREPARE): Emit preparation.
  4788. * tests/m4sh.at (AS@&t@_VAR_APPEND): New test.
  4789. * doc/autoconf.texi (Polymorphic Variables) <AS_VAR_APPEND>:
  4790. Document new macro.
  4791. <AS_VAR_SET>: Mention ramification of `""` rules.
  4792. * NEWS: Mention new macro.
  4793. 2008-10-21 Paolo Bonzini <bonzini@gnu.org>
  4794. and Eric Blake <ebb9@byu.net>
  4795. Use a shell function for _AC_PREPROC_IFELSE.
  4796. * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE_BODY): New macro.
  4797. (_AC_PREPROC_IFELSE): Use a shell function.
  4798. * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Factor for faster execution.
  4799. (AS_REQUIRE_SHELL_FN): Bypass AS_REQUIRE if function has already
  4800. been provided.
  4801. 2008-10-21 Eric Blake <ebb9@byu.net>
  4802. Add banners to generated files.
  4803. * lib/m4sugar/m4sh.m4 (_AS_SHELL_SANITIZE): Use m4_text_box for
  4804. existing banner.
  4805. (AS_INIT): Add new banners at strategic points.
  4806. * lib/autoconf/general.m4 (AC_INIT): Alter banner location, and
  4807. make consistent with other banners.
  4808. * lib/autotest/general.m4 (AT_INIT): Make banners consistent.
  4809. 2008-10-20 Paolo Bonzini <bonzini@gnu.org>
  4810. Add AC_REQUIRE_SHELL_FN and the SHELL_FN diversion.
  4811. * lib/autoconf/general.m4 (AC_REQUIRE_SHELL_FN): New.
  4812. (m4_divert(SHELL_FN)): New.
  4813. 2008-10-20 Eric Blake <ebb9@byu.net>
  4814. Avoid unportable use of echo in testsuite.
  4815. * tests/m4sh.at (AS@&t@_VAR basics): Use AS_ECHO, since string
  4816. contains backslash.
  4817. 2008-10-18 Paolo Bonzini <bonzini@gnu.org>
  4818. Make sure that nested AS_REQUIRE do not lose the desired diversion.
  4819. * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Expand _m4_divert_desired before
  4820. passing it to m4_divert_require, so that its content is not used
  4821. anymore.
  4822. * tests/m4sh.at (Nested AS_REQUIRE): New testcase.
  4823. 2008-10-18 Eric Blake <ebb9@byu.net>
  4824. Document bugs in { } handling.
  4825. * doc/autoconf.texi (Limitations of Builtins): Mention bug on
  4826. empty list.
  4827. Fix some testsuite failures introduced two days ago.
  4828. * tests/m4sh.at (Nested AS@&t@_REQUIRE_SHELL_FN)
  4829. (AS@&t@_REQUIRE_SHELL_FN and m4@&t@_require): Adjust to changed
  4830. API.
  4831. Reported by Ralf Wildenhues.
  4832. 2008-10-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  4833. Show how to extract single substitutions from config.status.
  4834. * doc/autoconf.texi (config.status Invocation): Show example
  4835. using `--file=-'.
  4836. 2008-10-17 Eric Blake <ebb9@byu.net>
  4837. Add m4_curry.
  4838. * lib/m4sugar/m4sugar.m4 (m4_curry, _m4_curry): New macros.
  4839. * tests/m4sugar.at (m4@&t@_map_args): Rename...
  4840. (m4@&t@_map_args and m4@&t@_curry): ...and add currying tests.
  4841. * doc/autoconf.texi (Looping constructs) <m4_map_args>: Document
  4842. currying as a way to add parameters.
  4843. (Evaluation Macros) <m4_curry>: Document the new macro.
  4844. * NEWS: Likewise.
  4845. Improve suggested test filtering.
  4846. * lib/m4sugar/m4sh.m4 (_AS_DETECT_SUGGESTED_PRUNE): New macro,
  4847. extracted from...
  4848. (_AS_DETECT_BETTER_SHELL): ...here, to use faster API. No need to
  4849. check for an empty required set.
  4850. Add m4_set_map.
  4851. * lib/m4sugar/m4sugar.m4 (m4_set_foreach): New macro.
  4852. * tests/m4sugar.at (m4@&t@_set): Enhance test.
  4853. * doc/autoconf.texi (Set manipulation Macros) <m4_set_map>:
  4854. Document it.
  4855. * NEWS: Likewise.
  4856. Document m4_map_args.
  4857. * lib/m4sugar/m4sugar.m4 (m4_transform, m4_transform_pair):
  4858. Rename...
  4859. (m4_map_args, m4_map_args_pair): ...to these names, and document.
  4860. (m4_version_unletter): Use the interface.
  4861. * lib/m4sugar/foreach.m4 (m4_map_args, m4_map_args_pair)
  4862. (_m4_map_args_, _m4_map_args_pair_, _m4_map_args_pair_end):
  4863. Perform same renames.
  4864. * lib/m4sugar/m4sh.m4 (AS_CASE, AS_IF): Adjust callers.
  4865. * tests/m4sugar.at (m4@&t@_map_args): New test.
  4866. (recursion): Adjust caller.
  4867. * tests/m4sh.at (AS@&t@_IF and AS@&t@_CASE): Likewise.
  4868. * doc/autoconf.texi (Looping constructs) <m4_map_args>: Document
  4869. this interface.
  4870. * NEWS: Mention the new macros.
  4871. 2008-10-17 Eric Blake <ebb9@byu.net>
  4872. Reduce vertical whitespace in configure.
  4873. * lib/autoconf/general.m4 (AC_INIT): Silence newline output during
  4874. m4 side effect initializations.
  4875. * lib/m4sugar/m4sh.m4 (AS_PREPARE): Likewise.
  4876. 2008-10-17 Eric Blake <ebb9@byu.net>
  4877. Document AS_VAR interfaces.
  4878. * doc/autoconf.texi (Programming in M4sh): M4sh is now prime-time.
  4879. (Polymorphic Variables): New node.
  4880. * NEWS: Update accordingly.
  4881. Test AS_VAR interfaces.
  4882. * tests/m4sh.at (AS@&t@_VAR): New test.
  4883. * lib/m4sugar/m4sh.m4 (AS_VAR_PUSHDEF): Force expansion of
  4884. _AS_TR_SH_PREPARE at top level, rather than argument collection.
  4885. (AS_TR_SH): Support command substitution.
  4886. Add AS_VAR_COPY.
  4887. * lib/m4sugar/m4sh.m4 (AS_VAR_COPY): New macro.
  4888. (AS_VAR_IF): Use it, instead of the broken AS_VAR_GET.
  4889. * lib/autoconf/general.m4 (AC_CACHE_CHECK): Likewise.
  4890. * lib/autoconf/libs.m4 (AC_SEARCH_LIBS): Likewise.
  4891. * lib/autotest/general.m4 (_AT_FINISH): Likewise.
  4892. Sort AS_VAR_* interfaces.
  4893. * lib/m4sugar/m4sh.m4 (AS_VAR_GET): Reduce output to one line.
  4894. (AS_VAR_TEST_SET, AS_VAR_SET, AS_VAR_SET_IF, AS_VAR_POPDEF): Sort,
  4895. no code changes.
  4896. 2008-10-16 Eric Blake <ebb9@byu.net>
  4897. Allow comments before functions emitted by m4sh.
  4898. * lib/m4sugar/m4sh.m4 (AS_REQUIRE_SHELL_FN): Add comment
  4899. argument. Supply closing comment, to ease readability.
  4900. (_AS_MKDIR_P_PREPARE): Adjust caller.
  4901. (_AS_UNSET_PREPARE): Add comment.
  4902. Add AS_FUNCTION_DESCRIBE.
  4903. * lib/m4sugar/m4sh.m4 (AS_FUNCTION_DESCRIBE): New macro.
  4904. * lib/autotest/general.m4 (AT_INIT): Use it.
  4905. 2008-10-16 Eric Blake <ebb9@byu.net>
  4906. Speed up m4_qlen with caching.
  4907. * lib/m4sugar/m4sugar.m4 (_m4_qlen): Renamed from old m4_qlen.
  4908. (m4_qlen): Cache results for speed.
  4909. 2008-10-16 Paolo Bonzini <bonzini@gnu.org>
  4910. Add a testcase using more then one language.
  4911. * tests/compile.at (Multiple languages): New test.
  4912. 2008-10-16 Paolo Bonzini <bonzini@gnu.org>
  4913. Fix Libtool's config.lt test.
  4914. * lib/m4sugar/m4sh.m4 (_AS_PREPARE): Disable AS_REQUIRE while
  4915. expanding it.
  4916. 2008-10-15 Eric Blake <ebb9@byu.net>
  4917. Break circular require chain in _AS_LINENO_PREPARE.
  4918. * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Ensure that logging is
  4919. disabled when reporting LINENO failure, since logging requires
  4920. LINENO.
  4921. * doc/autoconf.texi (Initialization Macros): Recommend m4_pushdef,
  4922. not m4_rename, since the latter is undocumented.
  4923. * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Avoid
  4924. m4_rename, as it does not yet handle pushdef stacks.
  4925. Reported by Ralf Wildenhues.
  4926. 2008-10-15 Eric Blake <ebb9@byu.net>
  4927. Cleanups to previous patches.
  4928. * doc/autoconf.texi (Portable Shell): Minor edits.
  4929. (Limitations of Builtins): Touch up wording.
  4930. * lib/m4sugar/m4sh.m4 (AS_LINENO_PUSH): Nuke trailing whitespace.
  4931. (_AS_SHELL_SANITIZE): Wrap comments less than 80 columns.
  4932. 2008-10-15 Paolo Bonzini <bonzini@gnu.org>
  4933. Updates to shell portability documentation.
  4934. * doc/autoconf.texi: Updates all references to "Portable Shell" and
  4935. "Limitations of Builtins" to use three-argument commands.
  4936. (Programming in M4sh): Document AS_ECHO, AS_ECHO_N, AS_UNSET.
  4937. (Portable Shell): Move here discussion about "Where is the POSIX
  4938. shell?" Mention that M4sh provides a SVR2 shell and takes care
  4939. of unsetting variables if necessary. Talk about M4sh and not only
  4940. Autoconf-generated scripts.
  4941. (Special Shell Variables): Talk about M4sh and not only
  4942. Autoconf-generated scripts. Don't talk about things that Autoconf
  4943. does not do. Mention problems of $LINENO with shell functions.
  4944. (Limitations of Builtins). Mention AS_ECHO and AS_ECHO_N. Move
  4945. discussion of eval bugs before discussion on proper use of eval.
  4946. Mention AS_IF. Reword why not to use "shift N". Mention "foo=;
  4947. unset foo" trick. Include M4sh code that unsets MAIL for Bash 2.01.
  4948. * NEWS: Update list of documented M4sh macros.
  4949. 2008-10-15 Paolo Bonzini <bonzini@gnu.org>
  4950. Assume a (possibly buggy) `unset' is present after a
  4951. `better shell' was found.
  4952. * lib/autoconf/general.m4 (_AC_CACHE_DUMP): Use AS_UNSET.
  4953. * lib/autoconf/programs.m4 (AC_PROG_SED): Use AS_UNSET.
  4954. * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Provide $as_unset as an
  4955. alias for AS_UNSET, for backwards compatibility.
  4956. (_AS_DETECT_BETTER_SHELL): Set BASH_ENV and ENV to /dev/null in case
  4957. the shell does not support unset.
  4958. (_AS_SHELL_SANITIZE): Work around Bash 2.01 bugs. Unset BASH_ENV.
  4959. (AS_INIT, _AS_PREPARE, AS_PREPARE): Call it.
  4960. (AS_UNSET): Assume it is there but it might fail if the variable is
  4961. not set. Use it throughout instead of $as_unset.
  4962. 2008-10-15 Paolo Bonzini <bonzini@gnu.org>
  4963. Turn AS_SHELL_SANITIZE into a for-Libtool-only wrapper.
  4964. * lib/m4sugar/m4sh.m4 (_AS_DETECT_REQUIRED, _AS_DETECT_SUGGESTED): Remove
  4965. m4_require of _AS_DETECT_BETTER_SHELL.
  4966. (_AS_CLEANUP): Add it here.
  4967. (_AS_DETECT_BETTER_SHELL): Just expand the test instead of appending it
  4968. to _AS_CLEANUP.
  4969. (_AS_SHELL_SANITIZE): New name of the old AS_SHELL_SANITIZE macro.
  4970. (AS_SHELL_SANITIZE): New macro hacking around Libtool misuse.
  4971. (AS_PREPARE): Use _AS_SHELL_SANITIZE.
  4972. (AS_INIT): Add m4_provide of itself.
  4973. 2008-10-15 Paolo Bonzini <bonzini@gnu.org>
  4974. Use "test x$foo = xyes" to avoid upsetting Libtool's sh.test.
  4975. * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL, _AS_SHELL_FN_WORK): Use
  4976. "test x$foo = xyes".
  4977. 2008-10-15 Paolo Bonzini <bonzini@gnu.org>
  4978. Trim down the size of the better-shell test.
  4979. * lib/m4sugar/m4sh.at (_AT_DETECT_BETTER_SHELL): Store the common
  4980. snippets into shell variables.
  4981. (_AS_RUN): Rewrite.
  4982. 2008-10-15 Paolo Bonzini <bonzini@gnu.org>
  4983. Support a stack of LINENO values for AS_MESSAGE.
  4984. * lib/m4sugar/m4sh.m4 (_AS_ECHO_LOG): If defined, use $as_lineno as
  4985. the line number emitted to the log file.
  4986. (AS_LINENO_PUSH, AS_LINENO_POP): New.
  4987. * tests/m4sh.at (LINENO Stack): New test.
  4988. 2008-10-14 Eric Blake <ebb9@byu.net>
  4989. Correct previous patch.
  4990. * doc/autoconf.texi (Shell Functions): Bash obeys Posix, after
  4991. all.
  4992. Document shell function environment pitfall.
  4993. * doc/autoconf.texi (Shell Functions): Document bugs in bash,
  4994. Solaris /bin/sh.
  4995. 2008-10-14 Paolo Bonzini <bonzini@gnu.org>
  4996. Use m4_require to implement AS_REQUIRE.
  4997. * lib/m4sugar/m4sugar.m4 (_m4_require_call): Accept a third argument.
  4998. (m4_require): Pass it.
  4999. (m4_divert_require): New.
  5000. * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Rewrite using m4_divert_require.
  5001. Remove comment about differences with m4_require.
  5002. * tests/m4sh.at (AS_REQUIRE_SHELL_FN and m4_require): Update to test
  5003. the expected behavior.
  5004. (Nested AS_REQUIRE_SHELL_FN): New test.
  5005. 2008-10-13 Paolo Bonzini <bonzini@gnu.org>
  5006. Test AS_LINENO_PREPARE.
  5007. * tests/m4sh.at: Use documented AS_LINENO_PREPARE.
  5008. 2008-10-13 Paolo Bonzini <bonzini@gnu.org>
  5009. Test AS_ME_PREPARE.
  5010. * tests/m4sh.at (as_me): New test.
  5011. 2008-10-13 Paolo Bonzini <bonzini@gnu.org>
  5012. Add and document AS_INIT_GENERATED.
  5013. * lib/m4sugar/m4sh.m4 (AS_INIT_GENERATED): New.
  5014. * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Use it.
  5015. * doc/autoconf.texi (Initialization macros): Document it.
  5016. 2008-10-13 Eric Blake <ebb9@byu.net>
  5017. Use consistent shell function style.
  5018. * lib/m4sugar/m4sh.m4 (_AS_PREPARE, AS_REQUIRE_SHELL_FN)
  5019. (_AS_SHELL_FN_WORK): Imitate GNU Coding Standards for C
  5020. functions.
  5021. 2008-10-13 Paolo Bonzini <bonzini@gnu.org>
  5022. * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Place names of
  5023. contributors under m4 rather than shell comments.
  5024. 2008-10-10 Paolo Bonzini <bonzini@gnu.org>
  5025. * lib/m4sugar/m4sh.m4 (AS_ME_PREPARE, AS_LINENO_PREPARE): New.
  5026. * doc/autoconf.texi (Initialization macros): Document them.
  5027. (Portable Shell): Refer to AS_LINENO_PREPARE.
  5028. * NEWS: Mention them.
  5029. * bin/autoconf.as: Invoke AS_ME_PREPARE.
  5030. * lib/autotest/general.m4: Likewise.
  5031. 2008-10-10 Paolo Bonzini <bonzini@gnu.org>
  5032. * doc/autoconf.texi (Programming in M4sh): Make its own chapter.
  5033. 2008-10-10 Eric Blake <ebb9@byu.net>
  5034. Fix _AS_MKDIR_P usage.
  5035. * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P): Correct documentation to
  5036. match implementation.
  5037. (_AS_PREPARE, _AS_MKDIR_P_PREPARE): Adjust callers.
  5038. * doc/autoconf.texi (Programming in M4sh) <AS_MKDIR_P>: Tweak
  5039. wording to better match behavior.
  5040. 2008-10-10 Paolo Bonzini <bonzini@gnu.org>
  5041. * doc/autoconf.texi: Be less wary of shell functions.
  5042. * NEWS: Document the increased use of shell functions.
  5043. 2008-10-10 Paolo Bonzini <bonzini@gnu.org>
  5044. * m4sugar/m4sh.m4 (_AS_MKDIR_P): New, from AS_MKDIR_P. Adjust
  5045. meaning of as_mkdir_p to be `false' or a full `mkdir -p' command.
  5046. (AS_MKDIR_P): Just dispatch to as_func_mkdir_p.
  5047. (_AS_PREPARE): Define shell functions.
  5048. (_AS_MKDIR_P_PREPARE): Set as_mkdir_p according to the above change.
  5049. Define shell functions.
  5050. 2008-10-09 Eric Blake <ebb9@byu.net>
  5051. Only prepare $as_me if it will be used.
  5052. * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Avoid unconditional
  5053. preparation.
  5054. (_AS_ECHO_LOG): Depend on $LINENO preparation.
  5055. (AS_MESSAGE): Depend on $as_me preparation.
  5056. (AS_TMPDIR): Use AS_ERROR, rather than a hand-rolled copy.
  5057. 2008-10-09 Paolo Bonzini <bonzini@gnu.org>
  5058. * m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Delay setting as_me
  5059. until the M4SH-INIT diversion using _AS_ME_PREPARE.
  5060. (_AS_PREPARE): Invoke _AS_EXPR_PREPARE before _AS_BASENAME_PREPARE
  5061. and _AS_DIRNAME_PREPARE, and _AS_BASENAME_PREPARE and _AS_ME_PREPARE
  5062. before _AS_LINENO_PREPARE.
  5063. (AS_PREPARE): Include all the AS_REQUIREs manually.
  5064. (_AS_ME_PREPARE): New.
  5065. (_AS_LINENO_PREPARE): Use m4_defun.
  5066. 2008-10-09 Paolo Bonzini <bonzini@gnu.org>
  5067. * m4sugar/m4sh.m4 (_AS_BASENAME_EXPR, _AS_DIRNAME_EXPR): Do not
  5068. require _AS_EXPR_PREPARE.
  5069. (_AS_BASENAME_PREPARE, _AS_DIRNAME_PREPARE): Do it here.
  5070. (_AS_PREPARE): Add _AS_BASENAME_PREPARE.
  5071. 2008-10-08 Eric Blake <ebb9@byu.net>
  5072. Resync from gnulib.
  5073. * cfg.mk (cvs_executable_files, cvs_files): Rewrite...
  5074. (fetch): ...into new target.
  5075. (executable-update): Delete, now that it is unused.
  5076. * maint.mk (update, local_updates, cvs_files, gnulib_repo)
  5077. (wget-update, cvs-update): Likewise.
  5078. * HACKING (Update the foreign files): Document new procedure.
  5079. * GNUmakefile: Resync from upstream, via new 'make fetch'.
  5080. * build-aux/config.guess: Likewise.
  5081. 2008-10-08 Paolo Bonzini <bonzini@gnu.org>
  5082. * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_SPY): Remove.
  5083. (AS_INIT): Do not call it.
  5084. 2008-10-08 Paolo Bonzini <bonzini@gnu.org>
  5085. * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Expand
  5086. _AS_UNSET_PREPARE in M4SH-SANITIZE.
  5087. 2008-10-08 Eric Blake <ebb9@byu.net>
  5088. Avoid repeating required shell tests in suggested set.
  5089. * lib/m4sugar/m4sh.m4 (_AS_DETECT_REQUIRED, _AS_DETECT_SUGGESTED):
  5090. Use m4_set, rather than m4_expand_once/m4_append.
  5091. (_AS_DETECT_SUGGESTED): Adjust to new storage layout, and filter
  5092. required tests out of suggested tests.
  5093. Reported by Paolo Bonzini.
  5094. 2008-10-08 Paolo Bonzini <bonzini@gnu.org>
  5095. Add m4sh keyword to all m4sh.at tests.
  5096. * tests/m4sh.at: Add m4sh keyword to all tests. Fix comment
  5097. pastos.
  5098. 2008-10-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  5099. Document AS_VERSION_COMPARE.
  5100. * doc/autoconf.texi (Programming in M4sh): Document
  5101. AS_VERSION_COMPARE.
  5102. * NEWS: Update.
  5103. Do not write to testsuite log fd before initialization.
  5104. * lib/autotest/general.m4 (AS_MESSAGE_LOG_FD, AT_JOB_FIFO_FD):
  5105. Define fds only when initializing the log fd so early error
  5106. messages do not try to write to it.
  5107. * tests/autotest.at (Startup error messages): New test.
  5108. * NEWS: Document this 2.63 regression.
  5109. 2008-10-07 Eric Blake <ebb9@byu.net>
  5110. Ensure _AS_CLEANUP is defined.
  5111. * lib/m4sugar/m4sh.m4 (_AS_CLEANUP): Give initial definition.
  5112. * tests/m4sh.at (AS@&t@_INIT cleanup): Expose the need for this.
  5113. Improve m4sh maintainability.
  5114. * lib/m4sugar/m4sh.m4: Sort macros for sanitizing the shell; no
  5115. code change.
  5116. Fix m4 quoting in previous patch.
  5117. * lib/m4sugar/m4sh.m4 (AS_REQUIRE_SHELL_FN): Determine diversion
  5118. name prior to invoking AS_REQUIRE.
  5119. Reported by Ralf Wildenhues.
  5120. 2008-09-18 Paolo Bonzini <bonzini@gnu.org>
  5121. and Eric Blake <ebb9@byu.net>
  5122. Add a separate diversion for shell functions.
  5123. * lib/m4sugar/m4sh.m4 (M4SH-INIT-FN): New diversion.
  5124. (AS_REQUIRE): Accept diversion parameter.
  5125. (AS_REQUIRE_SHELL_FN): Use it.
  5126. 2008-10-06 Eric Blake <ebb9@byu.net>
  5127. Add m4_default_quoted.
  5128. * lib/m4sugar/m4sugar.m4 (m4_default_quoted): New macro.
  5129. (m4_for, m4_expand_once, m4_text_wrap, m4_text_box): Use it.
  5130. * doc/autoconf.texi (Conditional constructs): Document it.
  5131. * NEWS: Likewise.
  5132. Fix build with case-insensitive make, again.
  5133. * Makefile.am (pkgdata_DATA): Protect by MAKE_CASE_SENSITIVE.
  5134. Reported via Keith Marshall, originally by newthinker in
  5135. <http://thread.gmane.org/gmane.comp.gnu.mingw.user/27725>.
  5136. 2008-10-06 Bruno Haible <bruno@clisp.org>
  5137. Warn about /usr/ucb on Solaris.
  5138. * doc/install.texi (Particular Systems): Recommend putting
  5139. /usr/ucb late in PATH, if at all.
  5140. 2008-10-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  5141. Fix more testsuite hang corner cases.
  5142. * lib/autotest/general.m4: Use the serial code path if no test
  5143. is to be run.
  5144. * tests/autotest.at (parallel test execution): Test -j and -jN
  5145. with `-k notmatched'.
  5146. 2008-10-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  5147. Fix hang with `testsuite -k notmatched'.
  5148. * lib/autotest/general.m4: Do not reset $at_jobs if it is equal
  5149. to one. Fixes hang with `-k notmatched'.
  5150. 2008-10-02 Eric Blake <ebb9@byu.net>
  5151. Document more binary file portability traps.
  5152. * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Remind
  5153. reader that NUL and sed don't always mix.
  5154. <tr>: Mention Solaris /usr/ucb/tr bug with \0.
  5155. 2008-10-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  5156. Implement parallel Autotest test execution: testsuite --jobs.
  5157. * lib/autotest/general.m4 (AT_JOB_FIFO_FD): New macro.
  5158. (AT_INIT): <at_jobs>: New variable.
  5159. Accept -j, -jN, --jobs[=N], document them in --help output.
  5160. Implement parallel driver loop using a FIFO, enabled with --jobs
  5161. and if mkfifo works; otherwise, fall back to sequential loop.
  5162. (AT_SETUP): Store, do not output summary progress line if
  5163. parallel.
  5164. * tests/autotest.at (parallel test execution, parallel truth)
  5165. (parallel fallacy, parallel skip): New tests.
  5166. * doc/autoconf.texi (testsuite Invocation): Document -j, --jobs,
  5167. the mkfifo requirement, and that --errexit may cause concurrent
  5168. jobs to finish.
  5169. * NEWS: Update.
  5170. 2008-09-20 Eric Blake <ebb9@byu.net>
  5171. Fix sample isinf definition.
  5172. * doc/autoconf.texi (Function Portability) <isinf>: Filter out NaN
  5173. first.
  5174. * THANKS: Update.
  5175. Reported by David Cournapeau.
  5176. 2008-09-16 Eric Blake <ebb9@byu.net>
  5177. Fix Erlang regression, introduced 2006-11-17.
  5178. * lib/autoconf/erlang.m4 (AC_LANG(Erlang)): Avoid M4 comment
  5179. caused by underquoting.
  5180. * NEWS: Mention this fix.
  5181. * THANKS: Update.
  5182. Reported by BJ Terry.
  5183. 2008-09-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  5184. * lib/autoconf/general.m4 (AC_CONFIG_AUX_DIRS): Improve a bit.
  5185. Mention Solaris sh ':' redirection bug.
  5186. * doc/autoconf.texi (File Descriptors): Redirecting ':'
  5187. in a loop causes bogus optimization with Solaris sh.
  5188. 2008-09-10 Eric Blake <ebb9@byu.net>
  5189. Avoid testsuite bug when autom4te cache is disabled by user.
  5190. * tests/tools.at (autoconf: forbidden tokens, basic): Enable
  5191. cache, even if user normally disabled it.
  5192. Reported by Bruno Haible.
  5193. Avoid testsuite bug in presence of verbose config.site.
  5194. * tests/base.at (Input/Output): Nullify config.site during test.
  5195. Reported by Bob Friesenhahn.
  5196. 2008-09-09 Eric Blake <ebb9@byu.net>
  5197. Release Version 2.63.
  5198. * NEWS: Mention the release.
  5199. Formatting tweaks to the manual.
  5200. * doc/autoconf.texi (Introduction, Systemology)
  5201. (File System Conventions, Portable C and C++)
  5202. (Floating Point Portability): Allow URLs to split as needed.
  5203. (Indices): Add entries, to work around texinfo bug on indices that
  5204. start too close to a page break.
  5205. (Particular Functions): Mention ftello.
  5206. (Introduction, Language Choice): Use @enddots at sentence end.
  5207. Resync from gnulib.
  5208. * cfg.mk (cvs_executable_files, cvs_files): Update list of files,
  5209. although for now, they are still manually sync'd.
  5210. * build-aux/gnupload: Update.
  5211. * build-aux/config.sub: Likewise.
  5212. * GNUmakefile: Likewise.
  5213. 2008-09-06 Eric Blake <ebb9@byu.net>
  5214. Mention that Automake already supports VPATH.
  5215. * doc/autoconf.texi (Build Directories): Details in this section
  5216. only apply to users avoiding automake.
  5217. * THANKS: Update.
  5218. Reported by Matej Tyc.
  5219. Relax tone when warning about cross-compiler names.
  5220. * lib/autoconf/programs.m4 (_AC_TOOL_WARN): Support cross-compiles
  5221. with poorly named tools; the issue has been reported too many
  5222. times in the last four years to pull support.
  5223. * doc/autoconf.texi (Specifying Names, Generic Programs): Update
  5224. documentation accordingly.
  5225. * THANKS: Update.
  5226. Reported by Josef Tran and others, wording suggested by Ralf
  5227. Wildenhues.
  5228. 2008-09-01 Eric Blake <ebb9@byu.net>
  5229. Improve AC_C_BIGENDIAN.
  5230. * doc/autoconf.texi (C Compiler) <AC_C_BIGENDIAN>: Mention that
  5231. universal builds require a config header.
  5232. * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Enhance comments. Check
  5233. AH_HEADER at the last possible moment, so that users can use
  5234. AC_CONFIG_HEADER after this macro.
  5235. Reported by Stepan Kasal.
  5236. Fix manual date information.
  5237. * doc/autoconf.tex: UPDATED refers to the day the manual was
  5238. built, not the release date of Autoconf.
  5239. Based on a bison patch by Akim Demaille.
  5240. 2008-08-27 Eric Blake <ebb9@byu.net>
  5241. Fix off-by-one bug in _m4_shiftn.
  5242. * lib/m4sugar/foreach.m4 (_m4_shiftn): Handle case when shifting
  5243. all arguments.
  5244. * tests/m4sugar.at (M4 loops): Test it.
  5245. Reported by Akim Demaille.
  5246. 2008-08-26 Eric Blake <ebb9@byu.net>
  5247. Improve INSTALL formatting.
  5248. * doc/install.texi [!autoconf]: Ensure first paragraphs are
  5249. indented like all others in a plain text rendering.
  5250. * Makefile.am ($(srcdir)/INSTALL): Ensure plaintext formatting.
  5251. Reported by Bruno Haible.
  5252. 2008-08-26 Stepan Kasal <skasal@redhat.com>
  5253. Check for case sensitive make.
  5254. * m4/make-check.m4 (AC_PROG_MAKE_CASE_SENSITIVE): New macro,...
  5255. * configure.ac: ... called here.
  5256. * Makefile.am ($(abs_srcdir)/INSTALL, INSTALL): Return to...
  5257. ($(srcdir)/INSTALL): ...this, but enclose the rule in
  5258. "if MAKE_CASE_SENSITIVE".
  5259. 2008-08-26 Eric Blake <ebb9@byu.net>
  5260. Update invocation documentation.
  5261. * doc/autoconf.texi (autoscan Invocation): Mention --debug.
  5262. (autoreconf Invocation): Mention -v.
  5263. (autom4te Invocation): Tie --freeze to -F, not -f.
  5264. (autoupdate Invocation): Mention --prepend-include.
  5265. * doc/install.texi (configure Invocation): Mention --help=short,
  5266. --help=recursive, -n/--no-create, --prefix. Avoid TABs.
  5267. * bin/autoscan.in ($help): Omit space before `...'.
  5268. * bin/ifnames.in ($help): Likewise.
  5269. * bin/autoconf.as (Usage): Likewise.
  5270. * bin/autoreconf.in ($help): Likewise.
  5271. * bin/autoheader.in ($help): Likewise.
  5272. * bin/autom4te.in ($help): Likewise.
  5273. * bin/autoupdate.in ($help): Likewise.
  5274. * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Use
  5275. `[OPTION]...', rather than `[OPTIONS]'. Mention --silent. Indent
  5276. --file correctly.
  5277. Don't let frozen __m4_version__ break downgrade to m4 1.4.x.
  5278. * bin/autom4te.in: Adjust comments, now that we rely on 1.4.5+.
  5279. (files_to_options): Avoid inheriting __m4_version__ from frozen
  5280. file if current M4 does not support it.
  5281. 2008-08-25 Eric Blake <ebb9@byu.net>
  5282. Adjust to recent m4 1.6 change to support m4_debugmode(d).
  5283. * lib/m4sugar/m4sugar.m4 (m4_defn, m4_popdef, m4_undefine): Move
  5284. freeze-time decision of using faster 1.6 implementation...
  5285. (m4_init): ...to a runtime decision, and add use of new debugmode
  5286. flag.
  5287. 2008-08-22 Peter O'Gorman <pogma@thewrittenword.com>
  5288. Limit AC_C_BIGENDIAN univeral checks to Mac OS X.
  5289. * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Limit the check to
  5290. __APPLE_CC__ with possible -arch flags.
  5291. * NEWS: Document it.
  5292. 2008-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  5293. * NEWS: Fix typo.
  5294. 2008-08-22 Eric Blake <ebb9@byu.net>
  5295. * TODO: Add an item for additional m4sugar looping constructs.
  5296. Suggested by Ralf Wildenhues.
  5297. Add reminder to keep dual implementations in sync.
  5298. * lib/m4sugar/m4sugar.m4: Add comments.
  5299. * lib/m4sugar/foreach.m4: Likewise.
  5300. Suggested by Ralf Wildenhues.
  5301. 2008-08-22 Peter Eisentraut <peter_e@gmx.net> (tiny change)
  5302. Format warning and error messages to match GCS.
  5303. * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK)
  5304. (_AC_INIT_PARSE_ARGS, _AC_CACHE_DUMP): Start warning and error
  5305. messages with a lowercase letter, end them without punctuation.
  5306. * lib/autoconf/lang.m4 (AC_NO_EXECUTABLES): Likewise.
  5307. * lib/autoconf/libs.m4 (AC_PATH_X): Likewise.
  5308. * lib/autoconf/status.m4 (AC_OUTPUT, _AC_OUTPUT_MAIN_LOOP):
  5309. Likewise.
  5310. * tests/fortran.at (GNU Fortran): Likewise.
  5311. * tests/torture.at (Deep Package): Likewise.
  5312. 2008-08-21 Eric Blake <ebb9@byu.net>
  5313. Avoid extra side effects in m4sugar list expansion.
  5314. * lib/m4sugar/m4sugar.m4 (m4_mapall_sep, m4_list_cmp): Wrap
  5315. around...
  5316. (_m4_mapall_sep, _m4_list_cmp_raw): ...new helpers, to avoid
  5317. duplicate side effects.
  5318. (m4_version_compare): Adjust caller.
  5319. * lib/m4sugar/foreach.m4 (m4_list_cmp): Rename...
  5320. (_m4_list_cmp_raw): ...to match m4sugar.
  5321. * doc/autoconf.texi (Looping constructs): Document the behavior of
  5322. side effects.
  5323. * tests/m4sugar.at (M4 loops, m4@&t@_map, m4@&t@_version_compare):
  5324. Ensure only one side effect.
  5325. (recursion): Fix test typo.
  5326. Reported by Ralf Wildenhues.
  5327. 2008-08-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  5328. * TODO: Add item for compiler default flags.
  5329. Suggested by Bruno Haible.
  5330. * tests/m4sh.at (AS_IF and AS_CASE): Set the expansion limit
  5331. back to 1000.
  5332. 2008-08-21 Eric Blake <ebb9@byu.net>
  5333. Formatting improvements.
  5334. * doc/autoconf.texi: Use @file and @command, rather than @code,
  5335. where appropriate.
  5336. Document another make bug.
  5337. * doc/autoconf.texi (The Make Macro SHELL): Mention bug in BSD
  5338. make, GNU make <= 3.80.
  5339. Tweak wording about SHELL in Makefile.
  5340. * doc/autoconf.texi (The Make Macro SHELL): Stronger wording on
  5341. the importance of proper SHELL settings.
  5342. Reported by Bruno Haible, in
  5343. http://lists.gnu.org/archive/html/bug-libtool/2008-04/msg00029.html.
  5344. 2008-08-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  5345. Avoid timestamp races for updated input.
  5346. * tests/m4sh.at (AS_IF and AS_CASE): Use `autom4te --force' for
  5347. second script.
  5348. * tests/tools.at (autotools and whitespace in file names): Add
  5349. --force for repeated invocations.
  5350. 2008-08-20 Bruno Haible <bruno@clisp.org>
  5351. Add section to INSTALL about particular systems.
  5352. * doc/install.texi (Particular systems): New node.
  5353. * doc/autoconf.texi: Adjust menus.
  5354. 2008-08-19 Bruno Haible <bruno@clisp.org>
  5355. and Peter O'Gorman <peter@pogma.com>
  5356. Mention universal binaries in INSTALL.
  5357. * doc/install.texi (Compiling For Multiple Architectures): Explain
  5358. how to create universal binaries on MacOS X.
  5359. 2008-08-19 Jim Meyering <jim@meyering.net>
  5360. Eric Blake <ebb9@byu.net>
  5361. Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  5362. Avoid shell parse errors after interrupt due to empty ``.
  5363. * doc/autoconf.texi (Shell Substitutions): Document the issue.
  5364. * lib/m4sugar/m4sh.m4 (AS_VAR_IF): New function.
  5365. * lib/autoconf/functions.m4 (AC_CHECK_FUNC): Use it in place of
  5366. "test AS_VAR_GET([...]) = yes"
  5367. * lib/autoconf/general.m4 (AC_CHECK_FILE, AC_CHECK_DECL): Likewise.
  5368. * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Likewise.
  5369. (_AC_CHECK_HEADER_NEW, _AC_CHECK_HEADER_OLD): Likewise.
  5370. (_AC_CHECK_HEADER_DIRENT): Likewise.
  5371. * lib/autoconf/libs.m4 (AC_CHECK_LIB): Likewise.
  5372. * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW, AC_CHECK_MEMBER): Likewise.
  5373. * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Use
  5374. temporary variable to work around the issue.
  5375. * tests/foreign.at (Libtool): Quote result of command
  5376. substitution.
  5377. 2008-08-18 Eric Blake <ebb9@byu.net>
  5378. Test m4_transform without tickling shell bugs.
  5379. * tests/m4sh.at (AS@&t@_IF and AS@&t@_CASE): Relax test to
  5380. something more manageable.
  5381. * tests/m4sugar.at (recursion): Move stress test of
  5382. m4_transform_pair here.
  5383. Reported by Ralf Wildenhues.
  5384. Let 'git diff' give better context for doc updates.
  5385. * .gitattributes (*.texi*): Add new entry.
  5386. * README-hacking: Mention how to use it.
  5387. Inspired by a coreutils patch by Jim Meyering.
  5388. 2008-08-15 Eric Blake <ebb9@byu.net>
  5389. Fix m4_map regression from 2007-10-16.
  5390. * lib/m4sugar/m4sugar.m4 (_m4_apply): New macro.
  5391. (m4_map): Ignore empty sublists. For a list consisting of only an
  5392. empty sublist, this restores 2.61 behavior of being a no-op.
  5393. (m4_map_sep): Likewise, and expand separator.
  5394. (m4_mapall, m4_mapall_sep): New macros, to regain 2.62 behavior.
  5395. (_m4_map): Rewrite, to be common base for all four variants.
  5396. * lib/m4sugar/foreach.m4 (_m4_map): Adjust to new prototype.
  5397. * tests/m4sugar.at (m4@&t@_map): Add tests.
  5398. * doc/autoconf.texi (Looping constructs) <m4_map>: Document new
  5399. macros, and mention ramifications of expanded separator.
  5400. * NEWS: Mention the change.
  5401. 2008-08-14 Eric Blake <ebb9@byu.net>
  5402. Implement m4_transform_pair, to speed up AS_IF.
  5403. * lib/m4sugar/m4sugar.m4 (m4_transform, m4_transform_pair): New
  5404. macros, undocumented for now.
  5405. * lib/m4sugar/foreach.m4 (m4_transform, m4_transform_pair): Also
  5406. the m4 1.4.x counterparts.
  5407. * lib/m4sugar/m4sh.m4 (AS_IF, AS_CASE): Use it.
  5408. * tests/m4sh.at (AS@&t@_IF and AS@&t@_CASE): Test it.
  5409. 2008-08-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  5410. * lib/autoconf/programs.m4 (AC_PATH_TARGET_TOOL)
  5411. (AC_CHECK_TARGET_TOOL, AC_CHECK_TARGET_TOOLS): Require, do not
  5412. warn about previous AC_CANONICAL_TARGET.
  5413. (AC_CHECK_TARGET_TOOL): Add missing `$' making the macro
  5414. unusable in the non-cross-compiling case.
  5415. * NEWS, THANKS: Update.
  5416. Report by Dave Erickson.
  5417. 2008-08-12 Eric Blake <ebb9@byu.net>
  5418. Optimize m4_bmatch.
  5419. * lib/m4sugar/foreach.m4 (m4_bmatch): Provide linear
  5420. implementation for m4 1.4.x.
  5421. * tests/m4sugar.at (m4@&t@_bmatch): New test.
  5422. (recursion): Test the linear nature.
  5423. * NEWS: Document the fix.
  5424. Fix m4_cond corner case.
  5425. * lib/m4sugar/foreach.m4 (_m4_cond): Ensure alternate
  5426. implementation allows concatenation with subsequent text.
  5427. * tests/m4sugar.at (m4@&t@_cond): Enhance test.
  5428. Add test for m4_cond.
  5429. * tests/m4sugar.at (m4@&t@_cond): New test.
  5430. Reported by Ralf Wildenhues.
  5431. 2008-08-06 Eric Blake <ebb9@byu.net>
  5432. Fix autoheader 2.62 regression on AC_DEFINE([__EXTENSIONS__]).
  5433. * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): Use a
  5434. unique key for the AH_VERBATIM.
  5435. * tests/c.at (AC_USE_SYSTEM_EXTENSIONS): New test.
  5436. * NEWS: Mention the fix.
  5437. Reported by Andreas Schwab, analyzed by Stepan Kasal.
  5438. Add linear m4_cond for m4 1.4.x.
  5439. * lib/m4sugar/m4sugar.m4 (m4_cond): Split into...
  5440. (_m4_cond): ...this, for fewer macros per iteration.
  5441. * lib/m4sugar/foreach.m4 (_m4_cond): New implementation.
  5442. * tests/m4sugar.at (recursion): Test it.
  5443. * NEWS: Document the linear guarantee.
  5444. Speed up diversion handling.
  5445. * lib/m4sugar/m4sugar.m4 (m4_divert, m4_divert_push)
  5446. (m4_divert_pop, m4_divert_text): Avoid dnl for fewer macro
  5447. expansions.
  5448. AC_C_CHAR_UNSIGNED is not strictly necessary.
  5449. * doc/autoconf.texi (C Compiler) <AC_C_CHAR_UNSIGNED>: Mention a
  5450. portable alternative to this macro.
  5451. * THANKS: Update.
  5452. Reported by Hallvard B Furuseth.
  5453. Update some files from upstream.
  5454. * GNUmakefile: Update.
  5455. * build-aux/announce-gen: Likewise.
  5456. * build-aux/config.guess: Likewise.
  5457. * build-aux/config.sub: Likewise.
  5458. * build-aux/git-version-gen: Likewise.
  5459. * build-aux/texinfo.tex: Likewise.
  5460. * build-aux/vc-list-files: Likewise.
  5461. * doc/make-stds.texi: Likewise.
  5462. * doc/standards.texi: Likewise.
  5463. 2008-08-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  5464. Fix AC_CONFIG_FILES([$var]) 2.62 regression.
  5465. * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Flatten
  5466. whitespace in $ac_config_files and $ac_config_headers.
  5467. * tests/torture.at (Parameterized AC_CONFIG_FILES): New test.
  5468. Report by Andreas Schwab and Per Øyvind Karlsen.
  5469. * THANKS: Update.
  5470. 2008-07-30 Eric Blake <ebb9@byu.net>
  5471. Fix bugs in previous version of m4_bpatsubsts.
  5472. * lib/m4sugar/foreach.m4 (_m4_bpatsubsts): Don't expand $1, and
  5473. allow concatenation with subsequent text.
  5474. * tests/m4sugar.at (m4@&t@_bpatsubsts): Enhance test.
  5475. 2008-07-29 Eric Blake <ebb9@byu.net>
  5476. Add linear m4_bpatsubsts for m4 1.4.x.
  5477. * lib/m4sugar/m4sugar.m4 (m4_bpatsubsts): Match documentation
  5478. about anchors, even for only one substitution.
  5479. * lib/m4sugar/foreach.m4 (_m4_bpatsubsts): New implementation.
  5480. * doc/autoconf.texi (Conditional constructs) <m4_bpatsubsts>:
  5481. Clarify behavior with regard to quoting.
  5482. * tests/m4sugar.at (recursion): Test scaling of m4_bpatsubsts.
  5483. (m4@&t@_bpatsubsts): New test.
  5484. * NEWS: Document the linear guarantee.
  5485. Tweak m4_do semantics.
  5486. * lib/m4sugar/m4sugar.m4 (m4_do): Don't concat final argument with
  5487. subsequent text.
  5488. * lib/m4sugar/foreach.m4 (m4_do): Don't concat intermediate
  5489. arguments, and avoid infinite loop.
  5490. * doc/autoconf.texi (Evaluation Macros) <m4_do>: Document the
  5491. behavior.
  5492. * tests/m4sugar.at (m4@&t@_do): New test.
  5493. Optimize m4_for.
  5494. * lib/m4sugar/m4sugar.m4 (m4_for): Use fewer macros.
  5495. (_m4_for): Take additional parameter, for fewer m4_indir calls.
  5496. * lib/m4sugar/foreach.m4 (_m4_foreach, _m4_shiftn, m4_do)
  5497. (m4_reverse, _m4_list_pad, _m4_list_cmp): Adjust all callers.
  5498. * doc/autoconf.texi (Looping constructs) <m4_for>: Document subtle
  5499. semantic change caused by the optimization.
  5500. * tests/m4sugar.at (M4 loops): Test the new semantics.
  5501. One more m4_list_cmp tweak.
  5502. * lib/m4sugar/m4sugar.m4 (_m4_list_cmp_1): Don't defer shift.
  5503. * lib/m4sugar/foreach.m4 (m4_list_cmp): Fix comment.
  5504. * tests/m4sugar.at (recursion): Test both directions of list
  5505. disparity.
  5506. Add m4_reverse, and improve m4_list_cmp.
  5507. * lib/m4sugar/m4sugar.m4 (m4_reverse): New macro.
  5508. (m4_list_cmp): Rewrite to give linear behavior with M4 1.6 on an
  5509. m4_reverse'd list.
  5510. * lib/m4sugar/foreach.m4 (m4_reverse): Add the M4 1.4.x
  5511. counterpart.
  5512. * tests/m4sugar.at (recursion): Test it.
  5513. * doc/autoconf.texi (Evaluation Macros) <m4_reverse>: Document
  5514. it.
  5515. (Text processing Macros) <m4_append>: Cross-reference to m4_set.
  5516. * NEWS: Mention new macro.
  5517. 2008-07-28 Eric Blake <ebb9@byu.net>
  5518. Avoid _m4_shiftn for m4 1.6 speedup.
  5519. * lib/m4sugar/m4sugar.m4 (m4_foreach, _m4_foreach, m4_map)
  5520. (_m4_map, m4_map_sep): Rewrite recursion to use one less m4_if.
  5521. * lib/m4sugar/foreach.m4 (_m4_map): Accomodate changed signature.
  5522. Implement O(n) unique element set creation.
  5523. * lib/m4sugar/m4sugar.m4 (m4_set_add, m4_set_add_all)
  5524. (m4_set_contains, m4_set_contents, m4_set_delete)
  5525. (m4_set_difference, m4_set_dump, m4_set_empty, m4_set_foreach)
  5526. (m4_set_intersection, m4_set_list, m4_set_listc, m4_set_remove)
  5527. (m4_set_size, m4_set_union): New macros.
  5528. * lib/m4sugar/foreach.m4 (m4_set_add_all): Add O(n) fallback for
  5529. m4 1.4.x.
  5530. * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS, AC_SUBST): Use
  5531. new m4_set API for the set most likely to be large.
  5532. * doc/autoconf.texi (Set manipulation Macros): New node.
  5533. * NEWS: Mention new macros.
  5534. * tests/m4sugar.at (m4@&t@_set): New test.
  5535. 2008-07-25 Eric Blake <ebb9@byu.net>
  5536. Avoid infinite aclocal loop.
  5537. * lib/m4sugar/m4sugar.m4 (m4_init): Bypass m4_include tracing, so
  5538. that aclocal doesn't insist on finding m4sugar/foreach.m4.
  5539. Provide O(n) replacement macros for M4 1.4.x.
  5540. * lib/m4sugar/foreach.m4: New file.
  5541. (m4_foreach, m4_case, _m4_shiftn, m4_do, m4_dquote_elt, _m4_map)
  5542. (m4_join, m4_joinall, m4_list_cmp, _m4_minmax): Replace m4sugar
  5543. macros based on $@ recursion [fast on M4 1.6, but quadratic on M4
  5544. 1.4.x] with versions based on m4_for/m4_foreach [slow on 1.6, but
  5545. linear on 1.4.x].
  5546. * lib/m4sugar/m4sugar.m4 (m4_init): Dynamically load new file if
  5547. older M4 is assumed.
  5548. (m4_map_sep): Optimize.
  5549. (m4_max, m4_min): Refactor, by adding...
  5550. (_m4_max, _m4_min, _m4_minmax): ...more efficient helpers.
  5551. (m4_defn, m4_popdef, m4_undefine): Use foreach recursion.
  5552. * lib/m4sugar/Makefile.am (dist_m4sugarlib_DATA): Distribute new
  5553. file.
  5554. * tests/m4sugar.at (M4 loops): Add a stress test that takes
  5555. forever if m4_foreach and friends are quadratic.
  5556. * NEWS: Mention this.
  5557. 2008-07-21 Eric Blake <ebb9@byu.net>
  5558. Ignore undefined macros, necessary with m4 1.6.
  5559. * bin/autoupdate.in (_au___undefine): New macro,...
  5560. (_au__undefine): ...wrapped by ifdef to silence m4 warnings.
  5561. Reported by Ralf Wildenhues.
  5562. Resync with gnulib.
  5563. * GNUmakefile: Grab from upstream, to fix issue where 'make
  5564. install' would allow installation of stale version string.
  5565. 2008-07-19 Eric Blake <ebb9@byu.net>
  5566. Support multiple arguments to m4_defn, m4_popdef, and m4_undefine.
  5567. * lib/m4sugar/m4sugar.m4 (m4_defn, m4_popdef, m4_undefine): Loop
  5568. through all variables, per POSIX and newer m4.
  5569. (_m4_text_wrap): Exploit the looping capabilities.
  5570. * tests/m4sugar.at (m4@&t@_defn): Test this.
  5571. * NEWS: Document it.
  5572. * doc/autoconf.texi (Redefined M4 Macros) <m4_defn, m4_popdef>
  5573. <m4_undefine>: Likewise.
  5574. Reduce overhead of m4_builtin([defn]).
  5575. * lib/m4sugar/m4sugar.m4 (_m4_defn, _m4_popdef, _m4_undefine): New
  5576. internal macros, which are slightly more efficient than
  5577. m4_builtin([defn]) and company.
  5578. (m4_defn, m4_popdef, m4_undefine, m4_warn, m4_ifset)
  5579. (_m4_dumpdefs_up, _m4_dumpdefs_down, _m4_wrap, m4_for)
  5580. (_m4_divert_n_stack, m4_divert_pop, m4_expansion_stack_push)
  5581. (m4_expansion_stack_dump, _m4_defun_pro, _m4_defun_epi)
  5582. (_m4_defun_epi_outer, _m4_require_call, m4_combine, m4_append)
  5583. (_m4_append_uniq, m4_append_uniq_w, _m4_text_wrap, m4_text_box)
  5584. (m4_version_prereq): Use them.
  5585. Use warnings from m4 when available.
  5586. * lib/m4sugar/m4sugar.m4 (m4_defn, m4_popdef, m4_undefine): Don't
  5587. define slower wrapper if m4 will warn on our behalf; key off of
  5588. __m4_version__, added alongside the new warnings in m4 1.6.
  5589. * tests/m4sugar.at (m4@&t@_defn): New test.
  5590. 2008-07-18 Eric Blake <ebb9@byu.net>
  5591. Add m4_joinall.
  5592. * lib/m4sugar/m4sugar.m4 (m4_joinall, _m4_joinall): New macros.
  5593. * tests/m4sugar.at (m4@&t@_join): Test them.
  5594. * doc/autoconf.texi (Text processing Macros) <m4_join>: Document
  5595. m4_joinall.
  5596. * NEWS: Likewise.
  5597. 2008-07-17 Stepan Kasal <skasal@redhat.com>
  5598. and Eric Blake <ebb9@byu.net>
  5599. Improve documentation of config.h.in template rules.
  5600. * doc/autoconf.texi (Header Templates): Mention rules on comments
  5601. and whitespace, and that the user cannot rely on #undef to survive
  5602. through config.status.
  5603. 2008-07-16 Eric Blake <ebb9@byu.net>
  5604. Revert m4_prepend; it is less efficient, and unused by bison.
  5605. * lib/m4sugar/m4sugar.m4 (m4_prepend, m4_prepend_uniq)
  5606. (m4_prepend_uniq_w): Delete addition from 2008-07-11.
  5607. (_m4_grow_uniq_1): Rename back...
  5608. (_m4_append_uniq): ...to this.
  5609. * NEWS: Revert NEWS blurb.
  5610. * doc/autoconf.texi (Text processing Macros) <m4_prepend>: Delete.
  5611. * tests/m4sugar.at (m4@&t@_prepend): Delete.
  5612. 2008-07-15 Eric Blake <ebb9@byu.net>
  5613. Avoid failure if version.m4 is omitted but m4_PACKAGE_* unused.
  5614. * lib/m4sugar/m4sugar.m4 (m4_version_compare): Provide alternate
  5615. definition for non-Autoconf clients of m4sugar.
  5616. 2008-07-14 Eric Blake <ebb9@byu.net>
  5617. Tighten bound of potential speed of m4_append.
  5618. * doc/autoconf.texi (Text processing Macros) <m4_append>
  5619. <m4_prepend>: If m4 is fixed, m4_append can be linear rather than
  5620. O(n log n).
  5621. * lib/m4sugar/m4sugar.m4 (m4_append, m4_append_uniq): Fix comments.
  5622. Analysis by Bruno Haible.
  5623. 2008-07-11 Eric Blake <ebb9@byu.net>
  5624. Inherit improvements from bison's fork of m4sugar.
  5625. * lib/m4sugar/m4sugar.m4 (m4_PACKAGE_VERSION): Ignore failure to
  5626. find version.texi, since bison does not provide it.
  5627. (m4_prepend): Add new macro, from bison.
  5628. (m4_prepend_uniq, m4_prepend_uniq_w): Add new macros, for
  5629. completeness.
  5630. (_m4_append_uniq): Rename...
  5631. (_m4_grow_uniq_1): ...to this to share implementation, and
  5632. optimize initial assignment.
  5633. (m4_append_uniq_w): Adjust caller.
  5634. * NEWS: Document new macros.
  5635. * doc/autoconf.texi (Text processing Macros) <m4_append>: Mention
  5636. speed consideration.
  5637. <m4_prepend>: Document the new prepend variants.
  5638. * tests/m4sugar.at (m4@&t@_prepend): New test.
  5639. Work around M4 1.6 warning on undefined macros.
  5640. * lib/m4sugar/m4sugar.m4 (changeword, symbols): Don't rename if
  5641. not already available as builtins.
  5642. 2008-07-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  5643. * doc/autoconf.texi (@dvar): Remove trailing newline.
  5644. (@ovar): Likewise. Fix macro documentation.
  5645. 2008-07-02 Stepan Kasal <skasal@redhat.com>
  5646. Add quotes to the header of autoscan-generated source.
  5647. * bin/autoscan.in: Add quotes to AC_PREREQ and AC_INIT.
  5648. 2008-06-28 Andreas Schwab <schwab@suse.de>
  5649. * doc/autoconf.texi (autoscan Invocation): Fix spacing.
  5650. (autoconf Invocation): Likewise.
  5651. (autoreconf Invocation): Likewise.
  5652. (autoheader Invocation): Likewise.
  5653. (autom4te Invocation): Likewise.
  5654. 2008-06-19 Eric Blake <ebb9@byu.net>
  5655. Add comment explaining recent patch.
  5656. * lib/autotest/general.m4 (AT_INIT) <at_pass_list>: Explain choice
  5657. of * vs. ? globbing.
  5658. 2008-06-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  5659. * lib/autoconf/status.m4 (_AC_OUTPUT_LINK): Do not warn when not
  5660. linking a file to itself.
  5661. Report by Bruno Haible.
  5662. 2008-06-19 Eric Blake <ebb9@byu.net>
  5663. Resync with gnulib.
  5664. * GNUmakefile: Grab from upstream, to fix VPATH 'make dist' bug.
  5665. Reported by Stepan Kasal.
  5666. 2008-06-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  5667. Reorganize autotest files, factorize for parallel execution.
  5668. * lib/autotest/general.m4 (AS_MESSAGE_LOG_FD): Move definition
  5669. earlier in the file.
  5670. (AT_INIT): Create line number cache in
  5671. $at_suite_dir/at-source-lines.
  5672. <at_helper_dir>: New directory at-groups below $at_suite_dir.
  5673. Add comment explaining the new directory structure.
  5674. (at_func_group_prepare, at_func_group_postprocess): New shell
  5675. functions to factorize per-test group work. Keep the actual
  5676. test execution outside of a shell function in order to avoid
  5677. zsh 4.x exit status bugs.
  5678. <at_check_line_file, at_status_file, at_stdout, at_stder1>
  5679. <at_stderr, at_test_source>: Turn these into per-group files
  5680. below $at_helper_dir. Also store test results there in files
  5681. named pass, fail, xpass, xfail, skip. Let the parent collect
  5682. results from $at_helper_dir. Adjust summary statistics
  5683. computation and result output.
  5684. 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  5685. Fix '#undef variable /* comment */' transform in config headers.
  5686. * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS_PREPARE): For
  5687. undefined preprocessor macros that are followed by a comment
  5688. in the header template, do not create nested comments in the
  5689. output.
  5690. * tests/torture.at (@%:@define header templates): Extend test.
  5691. * NEWS: Update.
  5692. Report by Karsten Hopp <karsten@redhat.com>.
  5693. 2008-06-09 Eric Blake <ebb9@byu.net>
  5694. Mark AC_TYPE_SIGNAL as obsolete.
  5695. * lib/autoconf/types.m4 (AC_TYPE_SIGNAL): Switch to AU_DEFUN.
  5696. * doc/autoconf.texi (Function Portability): Update documentation.
  5697. (Particular Types): Move AC_TYPE_SIGNAL...
  5698. (Obsolete Macros): ...here, and mention why.
  5699. * NEWS: Mention the change.
  5700. Allow lib64 as a default X library location.
  5701. * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Add lib64.
  5702. * NEWS: Mention the change.
  5703. * THANKS: Update.
  5704. Reported by Brad Walker.
  5705. 2008-06-05 Eric Blake <ebb9@byu.net>
  5706. Fix regression in AT_KEYWORDS([Macro]), from 2007-10-18.
  5707. * lib/autotest/general.m4 (AT_KEYWORDS): Expand argument prior to
  5708. converting it to lower case.
  5709. * tests/autotest.at (Keywords and ranges): Test this.
  5710. * NEWS: Document the fix.
  5711. * THANKS: Update.
  5712. Reported via Karsten Hopp, by Jochen Schmitt in
  5713. https://bugzilla.redhat.com/show_bug.cgi?id=449973
  5714. 2008-06-03 Eric Blake <ebb9@byu.net>
  5715. Fix 'make dist' regression from 2008-05-08.
  5716. * Makefile.am (INSTALL): Add rule, to accomodate 'make dist' after
  5717. GNUmakefile's _autoconf rule removes INSTALL.
  5718. 2008-05-27 Eric Blake <ebb9@byu.net>
  5719. Document Solaris /bin/sh redirection pitfall.
  5720. * doc/autoconf.texi (File Descriptors): Mention redirection bug.
  5721. 2008-05-14 Eric Blake <ebb9@byu.net>
  5722. Improve documentation of ! issues.
  5723. * doc/autoconf.texi (Limitations of Builtins) <!>: Touch up.
  5724. Reported by Noah Misch.
  5725. Document some FreeBSD shell bugs.
  5726. * doc/autoconf.texi (Limitations of Builtins) <!>: Mention ! issue
  5727. in compound pipe commands.
  5728. <export>: Mention difference of exporting an undefined variable.
  5729. (Shell Functions): Mention loss of $? in entry to shell functions.
  5730. Extracted from the git mailing list.
  5731. 2008-05-13 Stepan Kasal <kasal@ucw.cz>
  5732. Work around MSYS and Cygwin bugs when dealing with trailing space.
  5733. * tests/atlocal.in (func_sanitize_dir_name): Let atlocal succeed,
  5734. even when platform bugs are tickled.
  5735. Reported by Keith Marshall and Eric Blake.
  5736. 2008-05-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  5737. Let AC_MSG_FAILURE report pwd.
  5738. * lib/autoconf/general.m4 (_AC_ARG_VAR_VALIDATE, AC_MSG_FAILURE):
  5739. Output $ac_pwd along with fatal failure.
  5740. * tests/torture.at (Deep Package): Extend test.
  5741. Reported numerous times against GCC, and probably other packages.
  5742. 2008-05-12 Eric Blake <ebb9@byu.net>
  5743. Enforce --help and --version compliance.
  5744. * configure.ac (AM_INIT_AUTOMAKE): Add std-options option.
  5745. 2008-05-08 Keith Marshall <keithmarshall@users.sourceforge.net> (tiny change)
  5746. Avoid case-insensitive `make install' vs. `INSTALL' conflict.
  5747. * Makefile.am ($(srcdir)/INSTALL): Replace all references...
  5748. ($(abs_srcdir)/INSTALL): ...with this.
  5749. 2008-05-06 Eric Blake <ebb9@byu.net>
  5750. Fix typo.
  5751. * doc/autoconf.texi (Shell Substitutions): Drop at_ prefix.
  5752. Avoid overfull \hbox.
  5753. * doc/autoconf.texi (Versioning): Reword to fit line size.
  5754. Document $(( )) pitfalls.
  5755. * doc/autoconf.texi (Shell Substitutions): Mention octal
  5756. vs. decimal. Mention autotest's at_func_arith.
  5757. Improve behavior of './testsuite 01'.
  5758. * lib/autotest/general.m4 (AT_INIT) <at_func_validate_ranges>:
  5759. Alter usage to eval its arguments, in order to normalize away
  5760. leading zero. All callers updated.
  5761. * tests/autotest.at (Keywords and ranges): Test range
  5762. normalization with leading 0.
  5763. 2008-04-26 Eric Blake <ebb9@byu.net>
  5764. Mention Solaris /usr/ucb/tr pitfall.
  5765. * doc/autoconf.texi (Limitations of Usual Tools) <tr>: Add section.
  5766. Reported by Bruno Haible and Jim Meyering.
  5767. 2008-04-24 Eric Blake <ebb9@byu.net>
  5768. Mention m4sugar's internal quote strings.
  5769. * doc/autoconf.texi (Quadrigraphs): Mention alternate quote used
  5770. in m4sugar, and how to still output it literally.
  5771. * tests/m4sugar.at (m4@&t@_split): And test it.
  5772. Reported by Joel E. Denny.
  5773. 2008-04-23 Eric Blake <ebb9@byu.net>
  5774. Allow unbalanced () in m4_expand.
  5775. * lib/m4sugar/m4sugar.m4 (m4_expand, _m4_expand): Use more complex
  5776. quotes.
  5777. (m4_noquote, _m4_split): Use consistent complex quote.
  5778. * tests/autotest.at (Left paren, Right paren): Test this.
  5779. (Parentheses): Ensure new quadrigraphs still work.
  5780. (AT_CHECK_AT_TITLE_CHAR): All title char tests exercise m4_expand.
  5781. * NEWS: Mention the fix.
  5782. * doc/autoconf.texi (Quadrigraphs): Revert mention of macros that
  5783. require quadrigraphs for ().
  5784. (Evaluation Macros) <m4_expand>: Relax the restriction against
  5785. unbalanced ().
  5786. (Pretty Help Strings) <AS_HELP_STRING>: Likewise.
  5787. (Writing Testsuites) <AT_SETUP>: Likewise.
  5788. Reported by Joel E. Denny, fix suggested by Noah Misch.
  5789. 2008-04-22 Eric Blake <ebb9@byu.net>
  5790. Support unbalanced () in AT_SETUP by adding two new quadrigraphs.
  5791. * bin/autom4te.in (handle_output): Substitute @{:@ and @:}@.
  5792. (handle_traces): Likewise.
  5793. * lib/m4sugar/m4sugar.m4 (m4_qlen): Account for new quadrigraphs.
  5794. * tests/autotest.at (AT_CHECK_AT_TITLE_CHAR): Add new tests.
  5795. * doc/autoconf.texi (Quadrigraphs): Document them.
  5796. (Evaluation Macros) <m4_expand>: Enhance documentation.
  5797. (Text processing Macros) <m4_text_box>: Document cases where
  5798. quadrigraphs can help for problemetic unbalanced parentheses.
  5799. (Pretty Help Strings) <AS_HELP_STRING>: Likewise.
  5800. (Writing Testsuites) <AT_SETUP>: Likewise.
  5801. (Limitations of Builtins) <case>: Consolidate text on unbalanced
  5802. parentheses, and add an example of creative comments.
  5803. * NEWS: Document the addition.
  5804. Reported by Joel E. Denny.
  5805. 2008-04-16 Eric Blake <ebb9@byu.net>
  5806. Document pdksh exec behavior.
  5807. * doc/autoconf.texi (Limitations of Builtins) <exec>: New
  5808. subsection.
  5809. Discovered by Jim Meyering.
  5810. 2008-04-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  5811. * tests/autotest.at (AT_CHECK_AT): Allow to pass additional
  5812. arguments to the inner suite.
  5813. (errexit, input from stdin): New tests.
  5814. 2008-04-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  5815. * NEWS: Post-release update.
  5816. 2008-04-10 Eric Blake <ebb9@byu.net>
  5817. AC_AUTOCONF_VERSION might contain arbitrary macro names.
  5818. * doc/autoconf.texi (Versioning): Mention problem with expansion.
  5819. * tests/tools.at (autoconf: AC_AUTOCONF_VERSION): Adjust test.
  5820. 2008-04-09 Slava Sysoltsev <Viatcheslav.Sysoltsev@h-d-gmbh.de> (tiny change)
  5821. Flush buffered output before exit.
  5822. * bin/autom4te.in (handle_output): Explicitly close file.
  5823. * THANKS: Update.
  5824. See http://lists.gnu.org/archive/html/autoconf/2008-04/msg00026.html.
  5825. 2008-04-08 Eric Blake <ebb9@byu.net>
  5826. Generate web docs for 2.62.
  5827. * doc/autoconf.texi (Evaluation Macros): Fix typo.
  5828. (Notices): Use recommended means to escape RCS keyword.
  5829. * cfg.mk (gnulib_dir): New macro.
  5830. (web-manual): New target.
  5831. 2008-04-05 Eric Blake <ebb9@byu.net>
  5832. Release Version 2.62.
  5833. * NEWS: Mention the release.
  5834. 2008-04-04 Stepan Kasal <kasal@ucw.cz>
  5835. and Eric Blake <ebb9@byu.net>
  5836. Return back to GPLv2+, until the text of the exceptions is
  5837. finalized, reverting the change from 2007-07-03 and the first
  5838. part of the change from 2007-07-20.
  5839. * COPYING: Revert to GPLv2.
  5840. * COPYINGv3: New file, since some auxiliary build tools, used for
  5841. building autoconf and not installed, are GPLv3.
  5842. * Makefile.am (EXTRA_DIST): Distribute COPYINGv3.
  5843. * NEWS: Remove mention of GPLv3.
  5844. * README: Clarify situation regarding GPLv3.
  5845. 2008-04-05 Eric Blake <ebb9@byu.net>
  5846. Prepare for release.
  5847. * maint.mk (announcement): Avoid deleted option.
  5848. * cfg.mk (release_archive_dir): Use default.
  5849. * build-aux/gnupload: New file, from automake/gnulib.
  5850. * Makefile.am (EXTRA_DIST): Distribute it.
  5851. * .x-sc_two_space_separator_in_usage: New file, to exempt gnupload
  5852. from syntax check.
  5853. 2008-04-05 Jim Meyering <meyering@redhat.com>
  5854. and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  5855. Work around CR EOL markers on OS/2 (www.ecomstation.com Ecs v2 rc4)
  5856. * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): When CR
  5857. is the EOL marker, skip a step that would remove and translate
  5858. carriage return bytes.
  5859. * THANKS: Update.
  5860. Reported by Elbert Pol.
  5861. 2008-04-05 Eric Blake <ebb9@byu.net>
  5862. Avoid some autoreconf -Wall warnings.
  5863. * configure.ac: Use proper quoting, to be a good example.
  5864. (PACKAGE_NAME): Remove setting covered by autoconf.
  5865. (AM_INIT_AUTOMAKE): Bump automake requirement, for html rules.
  5866. * doc/Makefile.am (TEXI2DVI): Remove settings covered by
  5867. automake.
  5868. (html, autoconf_1.html, standards_1.html): Likewise.
  5869. (TEXI2HTML, TEXI2HTML_FLAGS): Remove unused macros.
  5870. * Makefile.am (html): Likewise.
  5871. * doc/autoconf.texi (Quoting and Parameters): Add missing section
  5872. name.
  5873. * tests/Makefile.am (AUTOMAKE_OPTIONS): Intentionally ignore
  5874. warning about our override, until Automake is fixed.
  5875. * README-hacking: Document minimum requirements for bootstrap.
  5876. 2008-04-03 Eric Blake <ebb9@byu.net>
  5877. Fix version number generation in man pages.
  5878. * Makefile.am (EXTRA_DIST): Distribute .version.
  5879. (.version): New rule.
  5880. * man/Makefile.am (common_dep): Depend on .version, not
  5881. configure.ac.
  5882. (.x.1): Use package name for version string.
  5883. * GNUmakefile [!_have-Makefile]: Sync from upstream, again.
  5884. * build-aux/git-version-gen: Sync from upstream.
  5885. More maintainer tweaks: pass 'make maintainer-distcheck'.
  5886. * GNUmakefile (_is-dist-target): Sync from upstream.
  5887. * build-aux/vc-list-files: Sync from upstream, yet again.
  5888. * tests/atlocal.in (unsupported_fs_chars): Always remove tdir.
  5889. * tests/Makefile.am (EXTRA_DIST): Don't distribute the built
  5890. package.m4.
  5891. * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Bump year.
  5892. Fix VPATH 'make syntax-check'.
  5893. * maint.mk (VC_LIST, VC_LIST_EXCEPT, sc_changelog)
  5894. (sc_prohibit_jm_in_m4, makefile-check): Support VPATH.
  5895. (author_mark_check): Avoid error message.
  5896. * build-aux/vc-list-files: Sync from upstream again.
  5897. * build-aux/texinfo.tex: Likewise.
  5898. Sync files from upstream, and pass 'make syntax-check'.
  5899. * config/announce-gen: Move...
  5900. * build-aux/announce-gen: ...here, and sync from gnulib.
  5901. * Makefile.am (EXTRA_DIST): Adjust accordingly.
  5902. * cfg.mk (announce_gen): Likewise.
  5903. (prev_version_file): Delete, relying on default in maint.mk.
  5904. (gpg_key_ID): New macro.
  5905. (url_dir_list): Rewrite to match coreutils.
  5906. * config/prev-version.txt: Move...
  5907. * .prev-version: ...here, and adjust to 2.61.
  5908. * build-aux/vc-list-files: Sync from coreutils.
  5909. * maint.mk: Resynchronize with coreutils, where possible.
  5910. (ME): Remove $(srcdir) from definition.
  5911. (CVS): Delete.
  5912. (GIT, VC, VC-tag): New macros.
  5913. (CVS_LIST, CVS_LIST_EXCEPT): Rename...
  5914. (VC_LIST, VC_LIST_EXCEPT): ...to this.
  5915. (cvs-tag-check): Delete.
  5916. (cvs-diff-check): Rename...
  5917. (vc-diff-check): ...to this.
  5918. (sc_file_system): Allow FHS acronym.
  5919. * doc/autoconf.texi (Particular Functions): Recommend
  5920. unconditional <config.h>.
  5921. * build-aux/config.guess: Sync from upstream (manually).
  5922. * build-aux/config.sub: Likewise.
  5923. * build-aux/texinfo.tex: Likewise.
  5924. * doc/make-stds.texi: Likewise.
  5925. * doc/standards.texi: Likewise.
  5926. * .gitattributes: Ignore whitespace problems in upstream files.
  5927. 2008-04-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  5928. * doc/autoconf.texi (Limitations of Usual Tools): Mention awk %u
  5929. bug on HP-UX/IA.
  5930. Report by Peter O'Gorman.
  5931. 2008-04-02 Eric Blake <ebb9@byu.net>
  5932. Recommend the just-released M4 1.4.11.
  5933. * NEWS: Update recommendation.
  5934. * README: Likewise.
  5935. * doc/autoconf.texi (Introduction): Likewise.
  5936. * m4/m4.m4 (AC_PROG_GNU_M4): Likewise.
  5937. 2008-04-01 Eric Blake <ebb9@byu.net>
  5938. * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Bump
  5939. copyright year.
  5940. 2008-03-28 Peter O'Gorman <peter@pogma.com>
  5941. Find X11 on Mac OS X too.
  5942. * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT,_AC_PATH_X_XMKMF):
  5943. Check for libX11 with extensions dylib la and dll too.
  5944. * THANKS: Update.
  5945. Reported by Martin Costabel.
  5946. 2008-03-28 Eric Blake <ebb9@byu.net>
  5947. Update TODO based on completed tasks.
  5948. * TODO (AC_PROG_INSTALL takes multiple files): Done.
  5949. (AC_GNU_SOURCE deprecation): Done, see AC_USE_SYSTEM_EXTENSIONS.
  5950. (AC_COMPILE_IFELSE documentation): Done.
  5951. (Tracing builtins): Done, now that we require M4 1.4.5.
  5952. (AC_PROG_CC_POSIX suggestion, providing header files)
  5953. (AC_TYPE_SIGNAL): Not needed; gnulib's approach is better.
  5954. (cache consistency): Done with precious variables.
  5955. 2008-03-26 Eric Blake <ebb9@byu.net>
  5956. Document --trace=macro:format in --help output.
  5957. * bin/autom4te.in (help): Mention optional trace format.
  5958. * bin/autoconf.as (usage): Likewise.
  5959. * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Fix
  5960. typos in last patch.
  5961. Reported by Ralf Wildenhues.
  5962. 2008-03-26 Jim Meyering <meyering@redhat.com>
  5963. Fix texinfo syntax error.
  5964. * doc/autoconf.texi (Limitations of Usual Tools): s/@kbd {/@kbd{/
  5965. 2008-03-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  5966. Warn, not fail on whitespace-only precious variable differences.
  5967. * lib/autoconf/general.m4 (_AC_ARG_VAR_VALIDATE): Output
  5968. precious variable differences less ambiguous with `ugly-quotes'.
  5969. If their settings differ only in whitespace, do not fail, but
  5970. reuse the old value.
  5971. * tests/torture.at (AT_CHECK_AC_ARG_VAR): Extend macro to allow
  5972. an optional status and expected-warning argument. Fix m4
  5973. quotation for initial value.
  5974. (AC_ARG_VAR): Also test for whitespace-only differences, and
  5975. that the old value is retained in this case.
  5976. * doc/autoconf.texi (Setting Output Variables): Document this.
  5977. * NEWS: Update.
  5978. Report and initial patch by Paolo Bonzini.
  5979. 2008-03-26 Eric Blake <ebb9@byu.net>
  5980. Document busybox sed bug.
  5981. * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Mention
  5982. restrictions when using back-references.
  5983. Reported by Vincent Lefevre:
  5984. <http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/13013>.
  5985. Document Automake interaction with AC_CONFIG_MACRO_DIR.
  5986. * doc/autoconf.texi (Input): Mention ACLOCAL_AMFLAGS for automake
  5987. users.
  5988. * THANKS: Update.
  5989. Reported by Chris Pickett.
  5990. 2008-03-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  5991. * tests/autotest.at (Using atlocal): Quote instances of `pwd`.
  5992. * tests/local.at (AT_CHECK_M4): Factorize warning output
  5993. normalization.
  5994. Suggested by Eric Blake.
  5995. 2008-03-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  5996. Fix .exe-related test failure on MinGW.
  5997. * tests/local.at (AT_CHECK_M4): Normalize `/bin/m4.exe' correctly
  5998. for comparing warning output.
  5999. Fix Fortran testsuite failures with gfortran 4.3.
  6000. * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): When scanning
  6001. verbose compiler output, skip lines that set variables; gfortran
  6002. 4.3 sets LIBRARY_PATH, COMPILER_PATH, COLLECT_GCC_OPTIONS.
  6003. * THANKS: Update.
  6004. Report by Vincent Lefèvre.
  6005. 2008-03-21 Eric Blake <ebb9@byu.net>
  6006. * GNUmakefile: Resynchronize with gnulib.
  6007. Document more uses of $cross_compiling.
  6008. * doc/autoconf.texi (Runtime): Document that a temporary override
  6009. is permissible.
  6010. * THANKS: Update.
  6011. Reported by Ineiev, example by Ralf Wildenhues.
  6012. Don't swallow $1 in textual local variables.
  6013. * lib/m4sugar/m4sugar.m4 (m4_combine): Don't use overquoting and
  6014. expansion of text arguments, as that swallows $1.
  6015. (m4_text_wrap): Likewise, by splitting out...
  6016. (_m4_text_wrap): ...new helper macro. Also, allow arbitrary
  6017. expression for width.
  6018. * tests/m4sugar.at (m4@&t@_text_wrap): Test this.
  6019. (m4@&t@_combine): Likewise.
  6020. 2008-03-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  6021. Avoid leftover files on Leopard.
  6022. * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT): Remove a.out.dSYM
  6023. directory created on darwin.
  6024. (AC_NO_EXECUTABLES): Likewise; also remove objects which may be
  6025. left over from a broken link.
  6026. * tests/c.at (AC_NO_EXECUTABLES (working linker))
  6027. (AC_NO_EXECUTABLES (broken linker)): New tests.
  6028. Report by Gary V. Vaughan.
  6029. * lib/autom4te.in (Automake-preselections): Trace
  6030. _AM_COND_IF, _AM_COND_ELSE, _AM_COND_ENDIF.
  6031. 2008-03-20 Eric Blake <ebb9@byu.net>
  6032. Kill more CVS references.
  6033. * README-cvs: Delete. See README-hacking instead.
  6034. * README-hacking: Update wording, based on older file.
  6035. * BUGS: Remove CVS mention.
  6036. 2008-03-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  6037. * tests/tools.at (autotools and whitespace in file names): Skip
  6038. if aclocal is not present.
  6039. 2008-03-20 Eric Blake <ebb9@byu.net>
  6040. Sync GNUmakefile with gnulib.
  6041. * GNUmakefile (Makefile.cfg): Rename...
  6042. (cfg.mk): ...to this, and make optional.
  6043. (GNUmakefile.cfg): Delete, redundant with cfg.mk.
  6044. (Makefile.maint): Rename...
  6045. (maint.mk): ...to this.
  6046. (all) [!_have-Makefile]: Rename...
  6047. (abort-due-to-no-makefile): ...to this, and invoke via
  6048. .DEFAULT_GOAL to pick up all targets.
  6049. * Makefile.cfg: Rename...
  6050. * cfg.mk: ...to this.
  6051. * Makefile.maint: Rename...
  6052. * maint.mk ...to this.
  6053. (ME): Reflect name change.
  6054. (makefile-check, m4-check, author_mark_check, msg): Use $(ME)
  6055. rather than hard-coded name.
  6056. * GNUmakefile.cfg: Delete; move rules into cfg.mk.
  6057. * Makefile.am (EXTRA_DIST): Reflect file name changes.
  6058. * .x-sc_prohibit_atoi_atof: Likewise.
  6059. * lib/freeze.mk: Likewise.
  6060. 2008-03-19 Stepan Kasal <kasal@ucw.cz>
  6061. * doc/autoconf.texi (Introduction): Improve the paraphrase of
  6062. Henry Spencer's quotation.
  6063. 2008-03-19 Eric Blake <ebb9@byu.net>
  6064. AC_CONFIG_HEADERS replaced AC_CONFIG_HEADER.
  6065. * bin/autoscan.in (output): Avoid obsolete spelling.
  6066. * tests/local.at (AC_STATE_SAVE): Update usage.
  6067. * THANKS: Update.
  6068. Reported by John Calcote.
  6069. Emphasize that ease of configure triumphs over ease of autoconf.
  6070. * doc/autoconf.texi (Introduction): Expand on primary
  6071. vs. secondary goal of autoconf.
  6072. * THANKS: Update.
  6073. Inspired by Paul Smith.
  6074. 2008-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  6075. * lib/Autom4te/FileUtils.pm (handle_exec_errors): New argument
  6076. $hint, show if the executing program does not exist.
  6077. (xsystem_hint): New function, like xsystem but allows to pass
  6078. a hint.
  6079. * bin/autoreconf.in: Use xsystem_hint for spawning autopoint and
  6080. libtoolize.
  6081. Report by Bruce Korb.
  6082. 2008-03-14 Stepan Kasal <kasal@ucw.cz>
  6083. * lib/Autom4te/ChannelDefs.pm, tests/fortran.at,
  6084. tests/mktests.sh, tests/wrapper.as: Fix typos.
  6085. 2008-03-12 Eric Blake <ebb9@byu.net>
  6086. Fix yesterday's regression in m4_wrap([$1]).
  6087. * lib/m4sugar/m4sugar.m4 (_m4_wrap): Don't directly invoke wrapped
  6088. text, since it may contain text that looks like parameters.
  6089. * tests/m4sh.at (AS@&t@_INIT cleanup): Enhance test.
  6090. 2008-03-11 Eric Blake <ebb9@byu.net>
  6091. Improve error messages for common testsuite bugs.
  6092. * lib/autotest/general.m4 (_AT_DEFINE_INIT, _AT_DEFINE_SETUP): New
  6093. macros for defining order-enforced macros.
  6094. (AT_INIT, AT_SETUP, AT_CLEANUP, AT_BANNER, AT_XFAIL_IF)
  6095. (AT_CAPTURE_FILE, AT_DATA, AT_CHECK, AT_CHECK_NOESCAPE): Add error
  6096. messages when order violations are detected.
  6097. * tests/autotest.at (AT_CHECK_AT_SYNTAX): New helper macro.
  6098. (AT_SETUP without AT_INIT, AT_BANNER without AT_INIT)
  6099. (AT_CLEANUP without AT_INIT, Missing AT_CLEANUP)
  6100. (AT_CHECK without AT_SETUP, AT_DATA without AT_SETUP)
  6101. (AT_XFAIL_IF without AT_DATA, AT_KEYWORDS without AT_SETUP,
  6102. (AT_CLEANUP without AT_SETUP, AT_BANNER inside AT_SETUP)
  6103. (AT_SETUP inside AT_SETUP, Multiple AT_INIT)
  6104. (Banner-only test suite): New tests.
  6105. Reported by Christopher Hulbert.
  6106. Tweak m4_wrap to force FIFO or LIFO semantics.
  6107. * lib/m4sugar/m4sugar.m4 (m4_wrap): Override M4 implementation.
  6108. (m4_wrap_lifo, _m4_wrap): New macros.
  6109. * lib/m4sugar/m4sh.m4 (AS_INIT): Combine all cleanup into known
  6110. order, prior to m4sugar's.
  6111. (_AS_DETECT_BETTER_SHELL): Use cleanup parameter, rather than
  6112. m4_wrap.
  6113. * lib/autotest/general.m4 (AT_INIT): Combine all cleanup into
  6114. known order, prior to m4sh's.
  6115. * doc/autoconf.texi (Diagnostic Macros) <m4_fatal>: Document
  6116. argument.
  6117. (Redefined M4 Macros) <m4_wrap>: Rewrite documentation to match
  6118. new behavior.
  6119. * tests/m4sh.at (AS_INIT cleanup): New test.
  6120. * NEWS: Document the change.
  6121. 2008-03-10 Eric Blake <ebb9@byu.net>
  6122. Encode nested autotest data.
  6123. * tests/autotest.at (AT_CHECK_AT_PREP): Avoid raw AT_ in output.
  6124. (unusual file names): Likewise.
  6125. (m4_pattern_allow): Remove loophole, to make it easier to catch
  6126. poorly written tests.
  6127. Factor some autotest tests.
  6128. * tests/autotest.at (AT_CHECK_AT_PREP): New macro, to factor out
  6129. common initialization.
  6130. (AT_CHECK_AT, Banners, Keywords and ranges, srcdir propagation)
  6131. (whitespace in absolute testdir, unusual file names): Use it.
  6132. 2008-03-06 Eric Blake <ebb9@byu.net>
  6133. Minor documentation fix.
  6134. * doc/autoconf.texi (Evaluation Macros): Fix typo.
  6135. 2008-03-04 Eric Blake <ebb9@byu.net>
  6136. Make AT_CHECK act like a simple command.
  6137. * lib/autotest/general.m4 (_AT_CHECK): Wrap commands in {;}.
  6138. * tests/torture.at (AT_CHECK_CONFIG_CREATION_NOWRITE): Test it.
  6139. 2008-03-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  6140. On MinGW, substitution of CR and 0xFF fails.
  6141. * tests/torture.at (Substitute and define special characters):
  6142. MinGW awk cannot handle 0xFF, and on MinGW, the test does the
  6143. wrong thing for CR.
  6144. 2008-03-04 Eric Blake <ebb9@byu.net>
  6145. Pull in recent maintainer improvements from coreutils.
  6146. * GNUmakefile (_is-dist-target): 'make distclean' should not
  6147. trigger autoreconf.
  6148. (_dummy): Change directories before removing autom4te.cache.
  6149. (check dist distcheck install) [!_have-Makefile]: Provide nicer
  6150. diagnostics.
  6151. * configure.ac (AC_CONFIG_LINKS): Copy GNUmakefile into VPATH
  6152. builds, after initial bootstrap.
  6153. * Makefile.am (distclean-local): Work around current automake bug.
  6154. * Makefile.maint (ME): Allow VPATH usage.
  6155. Use git-merge-changelog when available.
  6156. * .gitattributes: New file.
  6157. * README-hacking: Document use of git-merge-changelog.
  6158. Work around cygwin bug.
  6159. * tests/atlocal.in (unsupported_fs_chars): Avoid cygwin bug where
  6160. "touch 't\'" creates regular file 't'.
  6161. Ignore tests that require read-only directories under root.
  6162. * tests/torture.at (AT_CHECK_CONFIG_CREATION_NOWRITE): Skip
  6163. no-write portion if user has root-like privileges.
  6164. 2008-03-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  6165. * lib/autotest/general.m4 (AT_INIT): Fix detection of '-C -'.
  6166. 2008-03-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  6167. autoreconf -m now honors $MAKE.
  6168. * bin/autoreconf.in ($run_make): Renamed from ...
  6169. ($make): ... this. Use now as command to run `make',
  6170. overridden by $MAKE. Document this in --help output.
  6171. * doc/autoconf.texi (autoreconf Invocation): Document
  6172. all environment variables honored by autoreconf.
  6173. * NEWS: Update.
  6174. Report by Paul Eggert.
  6175. 2008-03-03 Eric Blake <ebb9@byu.net>
  6176. Documentation improvements.
  6177. * doc/autoconf.texi (Looping constructs): s/recurses/repeats/.
  6178. (Evaluation Macros): Drop `1' suffix from metasyntax variable name
  6179. that preceeds @dots. Improve wording.
  6180. (Text processing Macros): Drop `1' suffix from metasyntax variable
  6181. name that preceeds @dots.
  6182. (Number processing Macros): Drop `1' suffix from metasyntax
  6183. variable name that preceeds @dots. Improve wording.
  6184. * lib/m4sugar/m4sugar.m4 (m4_cmp): Comment wording fix.
  6185. Suggested by Ralf Wildenhues.
  6186. 2008-03-02 Jim Meyering <meyering@redhat.com>
  6187. Don't infloop upon "make dist".
  6188. * GNUmakefile: Merge from coreutils.
  6189. * Makefile.am (dist-hook): Inject .tarball-version into tarball,
  6190. not .version.
  6191. * configure.ac (AC_INIT): Use .tarball-version, not .version.
  6192. * build-aux/git-version-gen: Update from gnulib.
  6193. 2008-03-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  6194. * tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
  6195. Before using /dev/full, check that it is a writable character
  6196. special device.
  6197. Report by Benoit Sigoure and Eric Blake.
  6198. Actually test that @configure_input@ is expanded correctly.
  6199. * tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
  6200. Actually check generated file contents for the name of the
  6201. generated file, using AC_PROG_FGREP and $FGREP.
  6202. 2008-03-01 Benoit Sigoure <tsuna@lrde.epita.fr>
  6203. Be nice with file systems that don't handle unusual characters.
  6204. * tests/atlocal.in (func_sanitize_file_name)
  6205. (func_sanitize_dir_name): New shell functions.
  6206. * tests/tools.at (autom4te and whitespace in file names)
  6207. (autotools and whitespace in file names): Use them.
  6208. * tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
  6209. Cover more potentially problemtic file names. Use the new
  6210. functions.
  6211. Properly handle funny file names for headers in config.status.
  6212. The test suite did not cover this bug because the code was not
  6213. quoting properly the arguments of `rm -f' (which "fails" silently)
  6214. as well as the arguments of `diff' (whose output was redirected to
  6215. /dev/null so we couldn't see its error message).
  6216. * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Properly quote the
  6217. file names passed to `rm' and `diff'.
  6218. * tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
  6219. Add a regression test.
  6220. 2008-03-01 Benoit Sigoure <tsuna@lrde.epita.fr>
  6221. and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  6222. Properly expand @configure_input@ in config.status.
  6223. * lib/autoconf/status.m4 (_AC_OUTPUT_FILE, _AC_OUTPUT_MAIN_LOOP):
  6224. Escape the backslashes and ampersands in $configure_input before
  6225. using it in the sed replacement string to expand @configure_input@.
  6226. Report by Eric Blake and Patrick Welche.
  6227. 2008-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  6228. Ignore errors from ./run on w32.
  6229. * tests/autotest.at (whitespace in absolute testdir):
  6230. Ignore stderr for `./run' which fails to remove the
  6231. busy test directory on w32.
  6232. 2008-02-22 Eric Blake <ebb9@byu.net>
  6233. Improve documentation for writing autotest suites.
  6234. * doc/autoconf.texi (Writing Testsuites) <AT_CHECK>: Mention that
  6235. checks must live inside a test group.
  6236. Reported by Christopher Hulbert.
  6237. 2008-02-21 Eric Blake <ebb9@byu.net>
  6238. Sync git-version-gen from upstream.
  6239. * build-aux/git-version-gen: Pull from gnulib.
  6240. * configure.ac (AC_INIT): Adjust to new calling convention.
  6241. 2008-02-12 Eric Blake <ebb9@byu.net>
  6242. Avoid trailing space in config.h with AC_DEFINE([var], []).
  6243. * lib/autoconf/general.m4 (_AC_DEFINE_Q): Explicitly mark empty
  6244. defines with a comment.
  6245. 2008-02-08 Eric Blake <ebb9@byu.net>
  6246. Fix texinfo typos in previous patch.
  6247. * doc/autoconf.texi (Site Defaults): s/[{}]/@&/g.
  6248. Reported by Ralf Wildenhues.
  6249. Describe a config.site that can be used for FHS compliance.
  6250. * doc/autoconf.texi (Site Defaults): Fix typo. Add new example
  6251. for FHS.
  6252. * THANKS: Update.
  6253. Reported by Jules Colding and Ralf Wildenhues.
  6254. 2008-02-02 Eric Blake <ebb9@byu.net>
  6255. * doc/autoconf.texi (Limitations of Usual Tools) <grep>: Fix typo.
  6256. 2008-02-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  6257. * lib/autotest/general.m4 (AT_INIT): Fix --clean to work
  6258. again, broken since introduction of `-C dir'.
  6259. * tests/autotest.at (Choosing where testsuite is run): Test it.
  6260. 2008-01-30 Paul Eggert <eggert@cs.ucla.edu>
  6261. * doc/autoconf.texi: Update Back-Cover text to reflect new GNU wording.
  6262. 2008-01-29 Eric Blake <ebb9@byu.net>
  6263. Fix more autotest regressions.
  6264. * lib/autotest/general.m4 (AT_LINE): Fix regression from
  6265. 2007-10-04 when file name is `dnl'.
  6266. (AT_INIT) <PREPARE_TESTS>: Move command-line assignments...
  6267. <TESTS_BEGIN>: ...to this new diversion, to fix regression from
  6268. yesterday in libtool's testsuite.
  6269. (_AT_ARG_OPTION): Detect write failure.
  6270. * doc/autoconf.texi (Diversion support): Document PREPARE_TESTS to
  6271. make libtool's use kosher. Document m4_init.
  6272. (Programming in M4sh): Document AS_INIT.
  6273. (Writing Testsuites): Document limitation of AT_DATA file name.
  6274. * tests/autotest.at (unusual file names): New test.
  6275. (Banners, Keywords and ranges): Use correct shell.
  6276. More corner cases in testsuite VAR=VALUE handling.
  6277. * lib/autotest/general.m4 (AT_INIT) <PREPARE_TESTS): Fix quoting
  6278. bug.
  6279. <PARSE_ARGS_END>: Also detect leading digits in assignments.
  6280. * tests/autotest.at (Using atlocal): Enhance test to catch last
  6281. bug.
  6282. * doc/autoconf.texi (Limitations of Builtins) <.>: Mention bash
  6283. bug.
  6284. 2008-01-28 Eric Blake <ebb9@byu.net>
  6285. Fix regression in handling VAR=VALUE arguments to testsuite.
  6286. * lib/autotest/general.m4 (AT_INIT) <PARSE_ARGS_END>: Detect
  6287. leading = as invalid. Defer use of command-line variable
  6288. assignments...
  6289. <PREPARE_TESTS>: ...here, after atconfig has been sourced. Fix
  6290. regression in sourcing files.
  6291. * tests/autotest.at (Using atlocal): New test to catch this.
  6292. (Debugging a successful test, Choosing where testsuite is run):
  6293. Use correct shell.
  6294. Reported by Ralf Wildenhues.
  6295. Document grep peculiarity.
  6296. * doc/autoconf.texi (Limitations of Usual Tools) <grep>: Document
  6297. BSD behavior on binary input.
  6298. Minor testsuite improvements.
  6299. * lib/autotest/general.m4 (AT_INIT) <PREPARE_TESTS>: Use fewer
  6300. forks when sanitizing PATH. Always output machine information,
  6301. not just when atconfig was located.
  6302. Add 'testsuite -C dir'.
  6303. * lib/autotest/general.m4 (_AT_ARG_OPTION): Move missing argument
  6304. detection...
  6305. (AT_INIT) <PARSE_ARGS_END>: ...here, since -k always takes
  6306. argument.
  6307. <DEFAULTS>: Delay computation of variables based on $at_dir...
  6308. <PREPARE_TESTS>: ...to here, since -C can change $at_dir.
  6309. <TESTS>: Re-invoke via absolute name, since -C may be in effect.
  6310. <PARSE_ARGS>: Parse new option.
  6311. <HELP_TUNING>: Document it.
  6312. * tests/autotest.at (Choosing where testsuite is run): New test
  6313. for this feature.
  6314. (Keywords and ranges): Add test for missing -k argument.
  6315. * NEWS: Document this.
  6316. * doc/autoconf.texi (testsuite Invocation): Likewise.
  6317. 2008-01-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  6318. * build-aux/config.guess, build-aux/config.sub,
  6319. build-aux/texinfo.tex: Sync from gnulib.
  6320. * doc/fdl.texi, doc/make-stds.texi, doc/standards.texi:
  6321. Likewise.
  6322. 2008-01-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  6323. * doc/autoconf.texi (Particular Programs): Do not mention the
  6324. Autoconf version in which the AC_PROG_INSTALL change was done.
  6325. Suggested by Paul Eggert.
  6326. 2008-01-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  6327. Fix --help=recursive with multiple AC_CONFIG_SUBDIRS.
  6328. * lib/autoconf/general.m4 (_AC_INIT_HELP): If, for recursive help
  6329. mode, we change to the source directory, also set $ac_pwd so we
  6330. do not go back to the build tree for the next config subdir.
  6331. * tests/torture.at (Deep Package): Extend test to contain two
  6332. config subdirs on the top level.
  6333. Fix parallel `maintainer-check'.
  6334. * Makefile.am (maintainer-check-tests): Depend on `all'.
  6335. Use `$(MAKE) $(AM_MAKEFLAGS)' instead of plain `make'.
  6336. * tests/Makefile.am (maintainer-check-c++, maintainer-check-posix):
  6337. Likewise.
  6338. (maintainer-check): Serialize the testsuite runs.
  6339. * lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE2): Accept `+'
  6340. in feature string for --enable/--with. Convert to underscore
  6341. for variable name.
  6342. * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Require that
  6343. `install -c file1 file2 dir' works.
  6344. * doc/autoconf.texi (Particular Programs): Document this.
  6345. * NEWS: Update.
  6346. 2008-01-21 Eric Blake <ebb9@byu.net>
  6347. Improve documentation about default include directives.
  6348. * doc/autoconf.texi (Generic Headers, Generic Declarations)
  6349. (Generic Structures, Generic Types)
  6350. (Generic Compiler Characteristics): Add links to
  6351. AC_INCLUDES_DEFAULT.
  6352. Reported by Reuben Thomas.
  6353. 2008-01-15 Eric Blake <ebb9@byu.net>
  6354. * lib/m4sugar/m4sugar.m4 (m4_qlen): Use fewer macros.
  6355. 2008-01-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  6356. * tests/Makefile.am (noinst_SCRIPTS): Renamed from
  6357. check_SCRIPTS. Building the wrappers for `all' allows help2man
  6358. to use them for the manpages.
  6359. Report by Benoit Sigoure.
  6360. * bin/autoreconf.in: Discard stderr for $autoconf/$aclocal --help.
  6361. 2007-12-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  6362. Fix some write failure cases in Autotest.
  6363. * lib/autotest/general.m4 (AT_INIT): Do not exit successfully
  6364. upon write failures for --help, --version, --list.
  6365. Guard against write failures for intermediate created scripts.
  6366. <at_func_create_debugging_script>: Do not make the debugging
  6367. script executable if it is not complete.
  6368. 2007-12-12 Eric Blake <ebb9@byu.net>
  6369. Fix thinko in earlier patch - m4_join isn't defined yet.
  6370. * lib/m4sugar/m4sugar.m4 (m4_expansion_stack_push, _m4_defun_pro)
  6371. (_m4_defun_pro_outer, _m4_defun_epi, _m4_defun_epi_outer)
  6372. (m4_require): Use m4_do, not m4_join.
  6373. Fix some whitespace tests on cygwin.
  6374. * tests/tools.at (autom4te and whitespace in file names): Restore
  6375. font-lock. Create $TMPDIR before it might be used.
  6376. Fix spurious testsuite failure with M4 1.4.11.
  6377. * tests/local.at (AT_CHECK_M4): Cater to new m4 error message.
  6378. Optimize AC_REQUIRE.
  6379. * lib/m4sugar/m4sugar.m4 (m4_expansion_stack_push, _m4_defun_pro)
  6380. (_m4_defun_pro_outer, _m4_defun_epi, _m4_defun_epi_outer)
  6381. (m4_require): Avoid extra macro calls.
  6382. 2007-12-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  6383. * tests/torture.at (srcdir): Fix quoting.
  6384. Do not pass top_srcdir to configure scripts in testsuite.
  6385. * tests/autotest.at (srcdir propagation): Copy install-sh to
  6386. source tree.
  6387. (my only test): Drop setting of `top_srcdir'.
  6388. * tests/base.at (Input/Output): Likewise.
  6389. * tests/local.at (AT_CONFIGURE_AC): Copy install-sh,
  6390. config.guess, and config.sub to test source tree.
  6391. Drop AC_CONFIG_AUX_DIR setting.
  6392. (AT_CHECK_CONFIGURE): Drop setting of `top_srcdir'.
  6393. * tests/torture.at (Substitute a 2000-byte string): Drop
  6394. AC_CONFIG_AUX_DIR setting, copy install-sh to test source tree.
  6395. (Substitute a newline, datarootdir workaround): Likewise.
  6396. (Define a newline): Adjust for linenumber changes in configure.ac.
  6397. * tests/foreign.at (Libtool): Adjust comment to reflect changes.
  6398. * tests/semantics.at (AC_PATH_PROGS_FEATURE_CHECK): Skip test
  6399. if `pwd` contains whitespace.
  6400. Quote $abs_top_srcdir in tests.
  6401. * tests/local.at (AT_CHECK_PERL_SYNTAX): Likewise.
  6402. * tests/tools.at (Syntax of the shell scripts): Likewise.
  6403. * tests/m4sh.at (LINENO): Quote $0.
  6404. Fix testsuite program wrapper for whitespace in `pwd`.
  6405. The problem here is that the usual mantra is that command
  6406. variables can contain arguments, thus we cannot just escape
  6407. $AUTOCONF, $AUTOM4TE etc. The compromise is to put the
  6408. $top_builddir/tests directory early in $PATH, so that the
  6409. wrappers are found by their plain name.
  6410. * tests/wrapper.as: Put $testdir early in $PATH.
  6411. (AUTOCONF, AUTOHEADER, AUTOM4TE): Set to plain command names.
  6412. Proper config.status --file/--header and $srcdir escaping.
  6413. * lib/autoconf/status.m4 (_AC_OUTPUT_MAIN_LOOP): Quote special
  6414. characters in $ac_file_inputs.
  6415. (_AC_OUTPUT_FILE, _AC_OUTPUT_HEADER): eval $ac_file_inputs
  6416. accordingly.
  6417. * tests/torture.at (datarootdir workaround): Adjust.
  6418. (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS): Extend test.
  6419. Fix Autotest for whitespace in `pwd`.
  6420. * lib/autotest/general.m4 (AT_INIT)
  6421. <at_func_create_debugging_script, Driver Loop>:
  6422. Quote $at_group_dir.
  6423. * tests/autotest.at (whitespace in absolute testdir): New test.
  6424. * lib/autom4te.in: Quote @datadir@.
  6425. Proper file name escaping in Autoconf programs and Perl modules.
  6426. This includes escaping of characters special to the shell
  6427. as well as special to Perl, e.g., leading `<' or `>'.
  6428. For example, when $file starts with `>', `open ">$file"'
  6429. wrongly tries to append to a different file.
  6430. * bin/autoconf.as: Fix quoting for autom4te options.
  6431. * lib/Autom4te/General.pm (shell_quote): New function, taken
  6432. from coreutils, written by Jim Meyering.
  6433. (mktmpdir): Use it.
  6434. * bin/autom4te.in (files_to_options, handle_m4): Use shell_quote
  6435. and open_quote.
  6436. * bin/autoreconf.in (parse_args): Likewise.
  6437. * bin/autoscan.in (main): Likewise.
  6438. * bin/autoupdate.in (main): Likewise.
  6439. * bin/autoheader.in: Likewise, fixing old insufficient escaping.
  6440. * bin/ifnames.in: Likewise, XFile usage fixes.
  6441. * tests/tools.at (autom4te and whitespace in file names): Extend
  6442. test. Test twice, with special characters allowed on w32, and the
  6443. rest. Test leading and trailing whitespace, for `open_quote'.
  6444. (autotools and whitespace in file names): New, analogous test.
  6445. Reported by Paul Eggert and Benoit Sigoure, additional suggestions
  6446. by Russ Allbery and Eric Blake.
  6447. Sync from Automake.
  6448. * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm,
  6449. lib/Autom4te/Struct.pm, lib/Autom4te/XFile.pm: Likewise.
  6450. * lib/Autom4te/FileUtils.pm (open_quote): New function.
  6451. (update_file, contents): Use it.
  6452. * Makefile.am (autom4te-update): Rewrite for git.
  6453. 2007-12-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  6454. * doc/autoconf.texi (autom4te Invocation, Autom4te Cache): Fix typos.
  6455. Fix copyright years.
  6456. * Makefile.am, doc/install.texi, lib/autoconf/fortran.m4,
  6457. lib/autoconf/lang.m4, lib/freeze.mk: Likewise.
  6458. 2007-12-04 Eric Blake <ebb9@byu.net>
  6459. Manually resync with gnulib, since 'make cvs-update' no longer works.
  6460. * build-aux/config.guess: New upstream version.
  6461. * build-aux/config.sub: Likewise.
  6462. When using older automake, don't downgrade build-aux/texinfo.tex.
  6463. * configure.ac (AM_INIT_AUTOMAKE): Add no-texinfo.tex option.
  6464. * doc/Makefile.am (TEXINFO_TEX): Add.
  6465. 2007-11-27 Paul Eggert <eggert@cs.ucla.edu>
  6466. Fix AC_C_BIGENDIAN bug caused by new awk method of substitution.
  6467. * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Don't comment out the
  6468. #undef as this runs afoul of our new way of creating config.h.
  6469. Problem reported by Jim Meyering in
  6470. <http://lists.gnu.org/archive/html/autoconf-patches/2007-11/msg00164.html>.
  6471. 2007-11-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  6472. Fix autom4te for unusual characters in input file names.
  6473. * bin/autom4te.in (files_to_options): Quote active characters
  6474. for the shell.
  6475. * tests/tools.at (autom4te and white space in file names):
  6476. New test.
  6477. * doc/autoconf.texi (Limitations of Usual Tools) <awk>:
  6478. Document that Tru64 awk always splits $0.
  6479. 2007-11-24 Stepan Kasal <kasal@ucw.cz>
  6480. * lib/autotest/general.m4 (AT_INIT): Do not extract the
  6481. `#AT_STOP_...' line at the end of each test.
  6482. 2007-11-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  6483. * lib/autotest/general.m4 (AT_INIT): For awk line number
  6484. extraction script, ensure `$at_group' has a defined value
  6485. even for the empty set, and properly quote its usage inside
  6486. the awk script.
  6487. 2007-11-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  6488. * doc/autoconf.texi (Shell Functions): New chapter. Document
  6489. IRIX sh $0 issue in functions, move content from ...
  6490. (Portable Shell): ... here.
  6491. (Shell Script Compiler): Note that shell functions are not
  6492. totally unportable any more.
  6493. 2007-11-22 Stepan Kasal <kasal@ucw.cz>
  6494. and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  6495. * lib/autotest/general.m4 (AT_INIT): Exit awk script after
  6496. extracting the line numbers of the last needed test.
  6497. 2007-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  6498. * lib/autotest/general.m4 (AT_INIT) <at_func_create_debugging_script>:
  6499. Fix quoting.
  6500. 2007-11-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  6501. Fix IRIX testsuite debugging failures: $0 in functions.
  6502. * lib/autotest/general.m4 (AT_INIT) <at_func_create_debugging_script>:
  6503. Do not use $0 inside a function, as IRIX sh will set that to the
  6504. function name rather than the script invocation name.
  6505. 2007-11-19 Paolo Bonzini <bonzini@gnu.org>
  6506. and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  6507. * lib/autotest/general.m4 (at_func_test): Use cached line numbers
  6508. to extract test scripts.
  6509. (AT_INIT): Extract and cache test script line numbers.
  6510. 2007-11-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  6511. * lib/autotest/general.m4: Revert 2007-11-15 patch and
  6512. subsequent fixups; the awk -> here-document conversion trashes
  6513. performance too much with AIX sh.
  6514. 2007-11-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  6515. * tests/local.at: Do not test m4, perl with AT_TESTED.
  6516. Diagnose and guard against write errors dealing with config.status.
  6517. The general idea is this: all write failures from `configure'
  6518. writing `config.status' are indicated by $ac_write_error, which
  6519. is only checked at the end. This is safe because config.status
  6520. code is not executed before the file is complete. Other write
  6521. failures, be they inside config.status, or in sub shell/awk
  6522. scripts spawned from configure or config.status, typically need
  6523. earlier checking, as their results are used right afterwards.
  6524. * lib/autoconf/status.m4 (AC_OUTPUT): Initialize `ac_write_fail'
  6525. before writing config.status, check afterwards.
  6526. (_AC_OUTPUT_FILES_PREPARE, _AC_OUTPUT_FILE)
  6527. (_AC_OUTPUT_HEADERS_PREPARE,_AC_OUTPUT_CONFIG_STATUS):
  6528. Set `ac_write_error' for write failures to config.status. Barf
  6529. upon write failures to temporary files.
  6530. Adjust note about closing and reopening the here-document.
  6531. (_AC_OUTPUT_HEADER, _AC_OUTPUT_LINK, _AC_OUTPUT_COMMAND)
  6532. (_AC_OUTPUT_MAIN_LOOP): Likewise, adjust note about closing and
  6533. reopening the here-document.
  6534. * tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
  6535. Ensure `ac_write_error' does not escape into config.status.
  6536. Also, add a couple of code paths not yet exercised in the test
  6537. suite: a config file with input from stdin, and a config header
  6538. output to stdout.
  6539. Suggestion for catching write errors by Bruno Haible.
  6540. 2007-11-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  6541. Avoid error with Tru64 awk and testsuite lines with many words.
  6542. * lib/autotest/general.m4 (AT_INIT): In the awk script that
  6543. reads the testsuite, set the field separator to an unusual value,
  6544. in order to not run over the limit of 199 fields. Tru64 4.0D awk
  6545. even splits the input if $i, i>0, was never accessed in the script.
  6546. Revert 2007-10-17 change.
  6547. * TODO: Multiline args in config files and headers mean something
  6548. different and are not fixed, see
  6549. <http://lists.gnu.org/archive/html/autoconf-patches/2007-05/msg00017.html>
  6550. Report by Stepan Kasal.
  6551. * doc/autoconf.texi (Generic Programs): Fix typo.
  6552. 2007-11-16 Stepan Kasal <kasal@ucw.cz>
  6553. AC_*_TOOL does not canonicalize the prefix
  6554. * doc/autoconf.texi (Generic Programs): Do not say that
  6555. the *_TOOL macros canonicalize, they simply use the `host_alias'.
  6556. 2007-11-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  6557. Diagnose write errors in config.status instantiations.
  6558. * lib/autoconf/status.m4 (_AC_OUTPUT_FILE)
  6559. (_AC_OUTPUT_HEADER, _AC_OUTPUT_MAIN_LOOP): Bail out
  6560. on write errors.
  6561. * tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
  6562. Extend test to also check for some write error failures, using...
  6563. <AT_CHECK_CONFIG_CREATION_NOWRITE>: ...this new macro.
  6564. Report by Bruno Haible.
  6565. Indentation fixups.
  6566. * lib/autotest/general.m4 (AT_INIT) <at_func_log_failure>: Fix
  6567. indentation.
  6568. (_AT_CHECK): Use less indentation, to save space.
  6569. 2007-11-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  6570. Add witness macro for @top_build_prefix@ substitution.
  6571. * lib/autoconf/status.m4 (_AC_HAVE_TOP_BUILD_PREFIX): New macro.
  6572. (_AC_OUTPUT_FILE): Mention it here.
  6573. 2007-11-15 Paolo Bonzini <bonzini@gnu.org>
  6574. and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  6575. * lib/autotest/general.m4 (at_func_test): Remove.
  6576. (AT_INIT): Pre-extract test groups into separate files.
  6577. (AT_CLEANUP): Source pre-extracted file instead of calling at_func_test.
  6578. Remove at-test-source files together with the $at_group_dir.
  6579. * tests/autotest.at (Long test source lines): New test.
  6580. 2007-11-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  6581. Shell functions and variables may share a namespace.
  6582. * doc/autoconf.texi (Portable Shell): Mention Solaris sh
  6583. limitation.
  6584. 2007-11-14 Paul Eggert <eggert@cs.ucla.edu>
  6585. * lib/autoconf/types.m4 (_AC_TYPE_LONG_LONG_SNIPPET): Make comment match
  6586. gnulib.
  6587. 2007-11-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  6588. * lib/autoconf/status.m4: Fix a couple of comment typos.
  6589. * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Use $as_me, not $me.
  6590. 2007-11-13 Jim Meyering <meyering@redhat.com>
  6591. Clean up the rule to create "expr".
  6592. * tests/Makefile.am (expr): Don't redirect directly to target.
  6593. Redirect just once, not for each echo statement.
  6594. Use $@, not literal "expr".
  6595. 2007-11-13 Paul Eggert <eggert@cs.ucla.edu>
  6596. Don't worry about preprocessor when testing long long.
  6597. See: http://lists.gnu.org/archive/html/bug-gnulib/2007-11/msg00075.html
  6598. * doc/autoconf.texi (Preprocessor Arithmetic): New section.
  6599. (AC_TYPE_LONG_LONG_INT, AC_TYPE_UNSIGNED_LONG_LONG_INT):
  6600. These no longer check for preprocessor flaws.
  6601. * lib/autoconf/types.m4 (_AC_TYPE_LONG_LONG_SNIPPET):
  6602. Do not check for preprocessor flaws.
  6603. 2007-11-13 Jim Meyering <meyering@redhat.com>
  6604. Adapt dependencies, now that a version change doesn't modify configure.ac
  6605. * GNUmakefile: Remove "make clean" kludge.
  6606. * lib/m4sugar/Makefile.am (version.m4): Depend on Makefile, not
  6607. configure.ac.
  6608. Don't redirect directly to target.
  6609. Use $@, not literal "version.m4".
  6610. 2007-11-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  6611. * doc/autoconf.texi (Making testsuite Scripts): Document
  6612. ":;{" shorthand as in previous patch.
  6613. 2007-11-12 Paul Eggert <eggert@cs.ucla.edu>
  6614. * doc/autoconf.texi (Limitations of Builtins): Document problem
  6615. with { ... } a bit more clearly. Suggest ":;{" as a shorthand
  6616. for the workaround.
  6617. * lib/m4sugar/Makefile.am (version.m4): Detect 'echo' failure.
  6618. Use ":;{" shorthand.
  6619. * tests/Makefile.am ($(srcdir)/package.m4): Likewise.
  6620. 2007-11-12 Jim Meyering <meyering@redhat.com>
  6621. Add more non-srcdir build support.
  6622. * GNUmakefile (dummy): Split a long line.
  6623. Add -v option to autoreconf invocation.
  6624. Remove the autoreconf-provided INSTALL, so that we regenerate it.
  6625. * GNUmakefile (dummy): Remove INSTALL.
  6626. Remove racy commands to build scripts in bin/ and tests/.
  6627. * man/Makefile.am (.x.1): Now that scripts in bin/ and tests/
  6628. are guaranteed to be built, remove the rules that tried to build
  6629. them. Before, with a parallel build, these rules could lead to
  6630. two processes writing tests/wrapper.in concurrently.
  6631. Build in man/ only *after* building in bin/ and tests/.
  6632. * Makefile.am (SUBDIRS): The man-page-creation process runs $(MAKE)
  6633. in both bin/ and tests/.
  6634. Accommodate non-srcdir build-from-checkout.
  6635. * build-aux/git-version-gen: Require an additional parameter: $srcdir.
  6636. Use git's --git-dir=$srcdir/.git option.
  6637. Add quotes, in case tarball_version_file contains shell meta-characters.
  6638. * GNUmakefile (_curr-ver): Pass $(srcdir) to git-version-gen.
  6639. * configure.ac: Pass "." to git-version-gen.
  6640. Avoid spurious test failures due to version skew.
  6641. * GNUmakefile (dummy): Run $(MAKE) clean after autoreconf -i.
  6642. 2007-11-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  6643. Avoid warnings about conftest.dSYM directories on Mac OS X Leopard.
  6644. * lib/autoconf/general.m4 (_AC_LINK_IFELSE, _AC_RUN_IFELSE):
  6645. Remove conftest.dSYM directory.
  6646. * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT)
  6647. (_AC_LANG_PROGRAM_C_, _AC_FC_MAIN, __AC_FC_NAME_MANGLING):
  6648. Remove `conftest.*' recursively.
  6649. * lib/autoconf/lang.m4 (AC_LINK_IFELSE): Likewise.
  6650. * lib/autoconf/specific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE):
  6651. Likewise.
  6652. (_AC_COMPILER_OBJEXT_REJECT): Reject *.dSYM.
  6653. * THANKS: Update.
  6654. Report and analysis by Jeff Squyres and Peter O'Gorman.
  6655. 2007-11-12 Benoit Sigoure <tsuna@lrde.epita.fr>
  6656. Fix typos in variable names.
  6657. * tests/semantics.at (test for AC_CHECK_LIB): s/at_m/ac_m/.
  6658. 2007-11-11 Benoit Sigoure <tsuna@lrde.epita.fr>
  6659. Document that $((expression)) is not portable.
  6660. * doc/autoconf.texi (Shell Substitutions): Here.
  6661. 2007-11-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  6662. Ignore configure --help* errors due to LINENO-impaired shells.
  6663. * tests/torture.at (Configuring subdirectories, Deep Package):
  6664. In the --help* tests in read-only trees, make `.' temporarily
  6665. writable again for the `stderr' file, and ignore errors due to
  6666. the attempt to write configure.lineno.
  6667. Report by Patrick Welche.
  6668. 2007-11-10 Jim Meyering <meyering@redhat.com>
  6669. Generate package.m4 in build-dir, not srcdir.
  6670. * tests/Makefile.am (package.m4): Adjust target.
  6671. Don't redirect directly to $@.
  6672. (CLEANFILES): Add package.m4.
  6673. ($(TESTSUITE)): Depend on just-built package.m4, not the one
  6674. in $(srcdir).
  6675. When running $(AUTOTEST), search "." before searching $(srcdir).
  6676. Avoid a race condition that would make parallel "distclean" fail.
  6677. * tests/Makefile.am (distclean-generic): Replace the default,
  6678. automake-provided rule with an identical one, but with an additional
  6679. dependency on distclean-local. Simply adding the dependency would
  6680. cause automake not to emit the rule at all.
  6681. * BUGS: Building with -jN works, now.
  6682. Distribute git-version-gen.
  6683. * Makefile.am (EXTRA_DIST): Add build-aux/git-version-gen,
  6684. since GNUmakefile is distributed, and requires it for dist* rules.
  6685. Remove two more generated files from version control.
  6686. * INSTALL: Remove generated file.
  6687. * lib/autoscan/autoscan.list: Remove generated file.
  6688. 2007-11-09 Paul Eggert <eggert@cs.ucla.edu>
  6689. * GNUmakefile (PATH): Remove stray apostrophes; they become
  6690. part of PATH, which isn't wanted here.
  6691. 2007-11-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  6692. New config files output variable `top_build_prefix'.
  6693. * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Substitute
  6694. `top_build_prefix'.
  6695. * doc/autoconf.texi (Preset Output Variables): Document it.
  6696. * NEWS: Update.
  6697. Report by Bob Friesenhahn.
  6698. Avoid expr for arithmetic evaluation if the shell accepts $((...)).
  6699. * lib/autotest/general.m4 (AT_INIT) <at_func_arith>: New
  6700. function, to parametrize arithmetic with expr vs. the shell.
  6701. Use it where possible.
  6702. Suggestion by Benoit Sigoure.
  6703. 2007-11-03 Benoit Sigoure <tsuna@lrde.epita.fr>
  6704. Adjust the documentation of autotest WRT atlocal.
  6705. * doc/autoconf.texi (Making testsuite Scripts): It is not necessary,
  6706. when using Automake, to write a rule to produce atlocal, since it's
  6707. an AC_CONFIG_FILES. Mention that atlocal.in needs to be
  6708. distributed, not atconfig.in.
  6709. 2007-11-04 Eric Blake <ebb9@byu.net>
  6710. Update list information.
  6711. * README: Mention new autoconf-commit list.
  6712. * doc/autoconf.texi (Introduction): Mention autoconf-commit list.
  6713. 2007-11-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  6714. * lib/autoconf/functions.m4 (_AC_FUNC_MALLOC_IF): Fix comment typo.
  6715. * lib/m4sugar/Makefile.am (version.m4): Another bash bug workaround.
  6716. * build-aux/.gitignore: Ignore mkinstalldirs.
  6717. * doc/autoconf.texi (autoreconf Invocation): Fix an underfull line.
  6718. 2007-11-03 Jim Meyering <meyering@redhat.com>
  6719. s/-/./ in snapshot version string: 2.61a-256-8b556 -> 2.61a.256-8b556
  6720. * build-aux/git-version-gen: This syncs from coreutils.
  6721. Adjust the build procedure so "make check" works reliably.
  6722. * README-hacking: Include an extra step between "make" and
  6723. "make check" to ensure that the latter passes.
  6724. Use just-built tools, when possible.
  6725. * GNUmakefile (PATH): Set and export here, ...
  6726. (dummy): ... rather than here.
  6727. 2007-11-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  6728. and Andreas Schwab <schwab@suse.de>
  6729. * tests/Makefile.am ($(srcdir)/package.m4): Work around bash
  6730. exit status bug.
  6731. 2007-11-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  6732. * configure.ac (AC_PREREQ): Require version 2.60, for
  6733. AC_PROG_SED, AC_PROG_GREP.
  6734. 2007-11-02 Benoit Sigoure <tsuna@lrde.epita.fr>
  6735. and Jim Meyering <meyering@redhat.com>
  6736. and Andreas Schwab <schwab@suse.de>
  6737. and Eric Blake <ebb9@byu.net>
  6738. Document a bug in GNU Bash with compound commands and redirections.
  6739. * doc/autoconf.texi (Limitations of Builtins): Mention that GNU
  6740. Bash doesn't properly set $? when `{ ... } >/bad' fails, and give
  6741. workaround.
  6742. 2007-11-03 Eric Blake <ebb9@byu.net>
  6743. Support m4 1.4.5 in testsuite.
  6744. * tests/torture.at (Define a newline): Exclude line numbers in
  6745. error message.
  6746. Reported by Ralf Wildenhues.
  6747. 2007-11-03 Jim Meyering <meyering@redhat.com>
  6748. Remove automake-provided files from version control.
  6749. * build-aux/elisp-comp: Remove file.
  6750. * build-aux/install-sh: Remove file.
  6751. * build-aux/missing: Remove file.
  6752. * build-aux/mdate-sh: Remove file.
  6753. * build-aux/.gitignore: New file.
  6754. Suggestion from Ralf Wildenhues.
  6755. 2007-11-03 Eric Blake <ebb9@byu.net>
  6756. Adjust version comparison to account for git snapshot numbers.
  6757. * lib/m4sugar/m4sugar.m4 (_m4_version_unletter): Also treat - as a
  6758. component separator.
  6759. * doc/autoconf.texi (Number processing Macros)
  6760. <m4_version_compare>: Document this change.
  6761. * tests/m4sugar.at (m4@&t@_version_compare): Test it.
  6762. 2007-10-30 Bruno Haible <bruno@clisp.org>
  6763. * lib/autoconf/types.m4 (_AC_TYPE_LONG_LONG_SNIPPET): New macro,
  6764. extracted from AC_TYPE_LONG_LONG_INT and AC_TYPE_UNSIGNED_LONG_LONG_INT.
  6765. (AC_TYPE_LONG_LONG_INT, AC_TYPE_UNSIGNED_LONG_LONG_INT): Use it.
  6766. Fixes problem with Sun C 5.[0-8] in 32-bit mode, reported in
  6767. <http://lists.gnu.org/archive/html/autoconf-patches/2007-10/msg00210.html>
  6768. Suggested by Paul Eggert.
  6769. 2007-10-28 Jim Meyering <meyering@redhat.com>
  6770. * README-hacking: Autoconf, Automake, and Perl are required to build.
  6771. List Gzip and Tar separately. Suggested by Ralf Wildenhues.
  6772. 2007-10-28 Jim Meyering <meyering@redhat.com>
  6773. README-hacking: Recommend running autoreconf -vi.
  6774. * GNUmakefile (dummy): Use autoreconf -i, with appropriate PATH,
  6775. so that we use just-built tools when they're available.
  6776. Suggestions from Ralf Wildenhues.
  6777. 2007-10-28 Jim Meyering <meyering@redhat.com>
  6778. Make inter-release --version output more useful.
  6779. Now, each unofficial build has a version "number" like 2.61a-19-58dd,
  6780. which indicates that it is built using the 19th change set
  6781. (in _some_ repository) following the "v2.61a" tag, and that 58dd
  6782. is a prefix of the commit SHA1.
  6783. * build-aux/git-version-gen: New file.
  6784. * configure.ac: Run it to set the version.
  6785. (AM_INIT_AUTOMAKE): Don't check NEWS here.
  6786. * Makefile.am (dist-hook): Arrange so that .version appears only
  6787. in distribution tarballs, never in a checked-out repository.
  6788. * .gitignore: Add .version here, too. Just in case.
  6789. * tests/Makefile.am ($(srcdir)/package.m4): Depend on Makefile,
  6790. not configure.ac, now that the version number changes automatically.
  6791. Ensure that $(VERSION) is up to date for dist-related targets.
  6792. * GNUmakefile: Arrange to rerun autoconf, if the version reported by
  6793. git-version-gen doesn't match $(VERSION), but only for dist targets.
  6794. 2007-10-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  6795. Fix `Deep Package' failure with a configure script early in PATH
  6796. * tests/torture.at (Deep Package): Add `.' early in PATH.
  6797. Report by Jim Meyering.
  6798. 2007-10-27 Jim Meyering <meyering@redhat.com>
  6799. Remove all generated files from version control.
  6800. * aclocal.m4: Remove.
  6801. * configure: Remove.
  6802. * Makefile.in: Remove, along with all other Makefile.in in subdirs.
  6803. * .gitignore: Add aclocal.m4, configure and Makefile.in. Sort.
  6804. * README-hacking: New file: how to build from just-checked-out sources.
  6805. 2007-10-23 Eric Blake <ebb9@byu.net>
  6806. Improve corner case of m4_expand.
  6807. * lib/m4sugar/m4sugar.m4 (m4_expand, _m4_expand): Rewrite more
  6808. efficiently.
  6809. * tests/m4sh.at (AS@&t@_HELP_STRING): Test overquoted comma.
  6810. * doc/autoconf.texi (Evaluation Macros) <m4_expand>: Update
  6811. documentation.
  6812. 2007-10-23 Paul Eggert <eggert@cs.ucla.edu>
  6813. * doc/make-stds.texi: Update from gnulib.
  6814. 2007-10-22 Paul Eggert <eggert@cs.ucla.edu>
  6815. and Eric Blake <ebb9@byu.net>
  6816. * lib/autoconf/c.m4 (AC_C_RESTRICT): Work around Sun C++ compatibility
  6817. problem reported by Bruno Haible in
  6818. <http://lists.gnu.org/archive/html/bug-autoconf/2007-10/msg00027.html>.
  6819. 2007-10-22 Eric Blake <ebb9@byu.net>
  6820. * doc/autoconf.texi (Particular Types): Mention bug in HP-UX 11.00
  6821. preprocessor.
  6822. 2007-10-22 Paul Eggert <eggert@cs.ucla.edu>
  6823. Don't check for bug in HP-UX 11.00 cpp.
  6824. * lib/autoconf/types.m4 (AC_TYPE_UNSIGNED_LONG_LONG_INT):
  6825. Use -1ull rather than -1u, since that causes problems with gnulib; see
  6826. <http://lists.gnu.org/archive/html/bug-gnulib/2007-10/msg00329.html>.
  6827. 2007-10-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  6828. * tests/autotest.at (Backquote command substitution)
  6829. (Multiline backquote command substitution)
  6830. (Parenthetical command substitution)
  6831. (Multiline parenthetical command substitution): Fix typos in
  6832. test names.
  6833. 2007-10-21 Eric Blake <ebb9@byu.net>
  6834. * configure: Regenerate.
  6835. 2007-10-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  6836. Fix config status generation with Tru64 ksh.
  6837. * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fix
  6838. escaping of backslash in here-documents.
  6839. Fix `Deep Package' test failure on FreeBSD.
  6840. * tests/torture.at (Deep Package): Do not add `.' to $PATH
  6841. unnecessarily. Do not try running `/bin/sh configure' with a
  6842. configure script to be found in $PATH, if the shell does not do
  6843. this resolution. Fixes test failure on FreeBSD.
  6844. Fix config header generation with AIX awk.
  6845. * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS_PREPARE): In awk
  6846. script, use helper array D_is_set, as `" 0"' does not evaluate
  6847. to true for AIX awk.
  6848. 2007-10-21 Eric Blake <ebb9@byu.net>
  6849. * tests/autotest.at (Banners): Reinstate test, with typo
  6850. corrected.
  6851. 2007-10-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  6852. * lib/autotest/general.m4 (Defaults): Validate input ranges ...
  6853. <at_func_validate_ranges>: ... using this new function.
  6854. * tests/autotest.at (Keywords and ranges): Test invalid ranges.
  6855. Test --list with ranges and keywords.
  6856. (Banners): Remove one now-failing test.
  6857. 2007-10-20 Eric Blake <ebb9@byu.net>
  6858. Fix testsuite --list subset.
  6859. * lib/autotest/general.m4 (AT_INIT) <at_list_p>: Swap newlines
  6860. back to spaces, before listing subset of tests.
  6861. Reported by Ralf Wildenhues.
  6862. 2007-10-19 Eric Blake <ebb9@byu.net>
  6863. s/parenthesis/parentheses/ where appropriate.
  6864. * doc/autoconf.texi: Fix typos.
  6865. * lib/m4sugar/m4sugar.m4: Likewise.
  6866. Reported by Ralf Wildenhues.
  6867. Document m4_expand limitation.
  6868. * lib/m4sugar/m4sugar.m4 (m4_expand): Mention problem with
  6869. unbalanced parse.
  6870. * doc/autoconf.texi (Pretty Help Strings, Evaluation Macros)
  6871. (Writing Testsuites): Mention limitations inherited from
  6872. m4_expand.
  6873. Improve AT_BANNER handling.
  6874. * lib/autotest/general.m4 (BANNERS): New named diversion.
  6875. (TESTS_END): Diversion no longer used.
  6876. (AT_INIT) <at_func_banner, BANNERS>: Factor all banners into a
  6877. shell function, which prints only as needed, using an associative
  6878. array of banner text from a special diversion.
  6879. <PARSE_ARGS_END>: No longer need awk to find banners.
  6880. <TESTS>: Banners are no longer processed by main driver loop, so
  6881. we no longer need case statement.
  6882. (AT_BANNER): Rewrite to populate new diversion.
  6883. (AT_SETUP): Each test invokes its own banner. No output is needed
  6884. to the TESTS diversion.
  6885. * doc/autoconf.texi (Writing Testsuites): Document slight
  6886. semantics change.
  6887. * tests/autotest.at (AT_BANNERS): Enhance test.
  6888. * NEWS: Document AT_BANNER.
  6889. Document and test AT_BANNER.
  6890. * doc/autoconf.texi (Writing Testsuites): Document AT_BANNER.
  6891. * tests/autotest.at (AT_CHECK_EGREP): Share between tests.
  6892. (AT_CHECK_BANNERS): New test.
  6893. Doc touchups.
  6894. * doc/autoconf.texi (Text processing Macros) <m4_strip>
  6895. <m4_text_wrap>: Clarify and fix typos.
  6896. 2007-10-18 Eric Blake <ebb9@byu.net>
  6897. Ignore `make dist' changelogs in testsuite.log.
  6898. * lib/autotest/general.m4 (AT_INIT) <ChangeLogs>: Prune
  6899. directories matching AT_PACKAGE_TARNAME-*.
  6900. Fix AT_TESTED, AT_KEYWORDS.
  6901. * lib/m4sugar/m4sugar.m4 (m4_append_uniq): Warn if separator
  6902. occurs in string, as duplicates may be added.
  6903. (_m4_append_uniq): New helper macro.
  6904. (m4_append_uniq_w): New macro.
  6905. * lib/autotest/general.m4 (AT_TESTED, AT_KEYWORDS): Fix
  6906. duplication bug by using new macro.
  6907. (AT_INIT) <at_tested>: Restore newline separators. Invoke tested
  6908. programs with stdin redirected, so programs that don't
  6909. understand --version won't try to behave interactively.
  6910. * tests/autotest.at (Tested programs): Catch this bug.
  6911. * tests/m4sugar.at (m4@&t@_append): Test new macro.
  6912. * tests/local.at (AT_TESTED): Add m4, perl.
  6913. * doc/autoconf.texi (Text processing Macros): Document
  6914. m4_append_uniq_w, and update text on m4_append.
  6915. * NEWS: Document the addition.
  6916. 2007-10-17 Eric Blake <ebb9@byu.net>
  6917. Function cleanup.
  6918. * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT): Convert
  6919. from m4 macro...
  6920. (AT_INIT) <at_func_create_debugging_script>: ...to shell
  6921. function.
  6922. (AT_INIT): Defer function declarations until after --help,
  6923. --version. Format functions consistently, trying to fit in 80
  6924. columns.
  6925. (TEST_FUNCTIONS): Based on recent changes, rename...
  6926. (TEST_GROUPS): ...to this.
  6927. Reject FreeBSD m4.
  6928. * m4/m4.m4 (AC_PROG_GNU_M4): Also check for frozen file support.
  6929. * configure: Regenerate.
  6930. Reported by Bob Friesenhahn.
  6931. Test recent additions.
  6932. * tests/m4sugar.at (m4@&t@_map, m4@&t@_combine)
  6933. (m4@&t_max and m4@&t_min): New tests.
  6934. * doc/autoconf.texi (Evaluation Macros) <m4_apply>: Enhance
  6935. description.
  6936. 2007-10-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  6937. * TODO: multiline args in config files and headers work now.
  6938. Autotest: do not use shell functions for individual tests.
  6939. * lib/autotest/general.m4 (AT_INIT) <at_func_test>: Merely
  6940. extract the source test source, do not invoke it.
  6941. (AT_SETUP, AT_CLEANUP): Source test code outside shell function.
  6942. * tests/autotest.at (Fallacy): Actually let the inner suite fail,
  6943. expect exit status of 1.
  6944. * tests/autotest.at (Skip): New test, for bogus zsh exit status.
  6945. * lib/autotest/general.m4 (at_func_test): Fix test extraction
  6946. script.
  6947. 2007-10-17 Eric Blake <ebb9@byu.net>
  6948. Fix m4_combine for empty suffix list.
  6949. * lib/m4sugar/m4sugar.m4 (m4_combine): Check for suffix list.
  6950. * doc/autoconf.texi (Text processing Macros): Document this.
  6951. Add m4_combine, based on Libtool's lt_combine.
  6952. * lib/m4sugar/m4sugar.m4 (m4_combine): New macro.
  6953. * doc/autoconf.texi (Text processing Macros): Document it.
  6954. * NEWS: Likewise.
  6955. 2007-10-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  6956. Fix `configure --help=recursive' in unconfigured/read-only trees.
  6957. * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): Avoid errors when `.'
  6958. is not writable, use 'cp -p' in this case, in the hope that it
  6959. will not actually be needed. Still try removing files, in case
  6960. of other write errors.
  6961. * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): For ac_confdir,
  6962. use $as_myself, not $0.
  6963. (_AC_INIT_HELP): For --help=recursive, if the subdir does not
  6964. exist, try again in the the source tree. This change assumes
  6965. that the subpackage configure script is capable of running
  6966. --help=recursive in the source tree.
  6967. * tests/torture.at (Configuring subdirectories, Deep Package):
  6968. Adjust tests to expose both issues, also try invocation as
  6969. `sh configure ...' and plain `configure ...' with PATH adjusted.
  6970. * NEWS, THANKS: Update.
  6971. Report by Hans Ulrich Niedermann.
  6972. 2007-10-16 Paul Eggert <eggert@cs.ucla.edu>
  6973. Check for 64-bit int errors in HP-UX 10.20 preprocessor.
  6974. Problem reported by H.Merijn Brand in
  6975. <http://lists.gnu.org/archive/html/bug-tar/2007-10/msg00018.html>.
  6976. * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT):
  6977. (AC_TYPE_UNSIGNED_LONG_LONG_INT):
  6978. Check that preprocessor handles 64-bit ints, too.
  6979. 2007-10-16 Eric Blake <ebb9@byu.net>
  6980. m4_map is a looping construct.
  6981. * lib/m4sugar/m4sugar.m4 (m4_map, _m4_map, m4_map_sep): Move.
  6982. Fix m4_map, and add some more utility macros.
  6983. * lib/m4sugar/m4sugar.m4 (m4_apply, m4_count, m4_dquote_elt)
  6984. (m4_echo, m4_make_list): New documented macros.
  6985. (_m4_quote, _m4_shift2): New helper macros.
  6986. (m4_map): Change semantics to allow calling macro without
  6987. arguments.
  6988. (m4_map_sep): Likewise. Also change semantics to quote separator,
  6989. to match m4_join and m4_append.
  6990. (m4_version_unletter): Fix use of m4_map.
  6991. * doc/autoconf.texi (Evaluation Macros): Document m4_apply,
  6992. m4_count, m4_dquote_elt, m4_echo, m4_make_list.
  6993. (Text processing Macros): Mention m4_dquote as a faster
  6994. alternative to joining with commas.
  6995. (Looping constructs): Document m4_map, m4_map_sep.
  6996. * NEWS: Mention new macros.
  6997. A few more m4sugar improvements, to benefit libtool.
  6998. * lib/m4sugar/m4sugar.m4 (m4_bpatsubsts, _m4_shiftn): Reduce size
  6999. of expansion by avoiding extra uses of $@.
  7000. (m4_shiftn): Avoid extra dnl, and forbid shifting by 0.
  7001. (_m4_cdr): New helper macro.
  7002. (_m4_map, m4_map_sep): Use it to reduce size of expansion.
  7003. (_m4_shift3): New helper macro.
  7004. (_m4_foreach): Swap argument order, and use new macro to reduce
  7005. size of expansion.
  7006. * doc/autoconf.texi (Looping constructs) <m4_shiftn>: Mention that
  7007. count must be positive.
  7008. * doc/autoconf.texi (Evaluation Macros) <m4_expand>: Fix typo.
  7009. Reported by Ralf Wildenhues.
  7010. 2007-10-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  7011. * doc/autoconf.texi (Portable Shell): Improve description of zsh
  7012. 4.x function subshell bug with exit and trap.
  7013. 2007-10-15 Eric Blake <ebb9@byu.net>
  7014. Enhance AS_HELP_STRING.
  7015. * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Don't expand arguments,
  7016. and reduce number of expansions.
  7017. * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Rework to use m4_expand,
  7018. and to take indent and wrap column numbers.
  7019. * tests/m4sh.at (AS@&t@_HELP_STRING): Update the test.
  7020. * doc/autoconf.texi (Pretty Help Strings): Document details about
  7021. arguments.
  7022. (Text processing Macros): Minor tweaks.
  7023. * NEWS: Document this change.
  7024. Fix 2007-10-03 regression with AT_SETUP([a, b]).
  7025. * lib/m4sugar/m4sugar.m4 (m4_expand): New macro.
  7026. (m4_text_box): Use it.
  7027. * lib/autotest/general.m4 (AT_SETUP): Use it.
  7028. * lib/m4sugar/m4sh.m4 (_AS_RUN): Use it.
  7029. * tests/autotest.at (AT_CHECK_AT_TITLE_CHAR): Test this.
  7030. * NEWS: Revert caveat about semantics change on comma.
  7031. * doc/autoconf.texi (Evaluation Macros): Document m4_expand.
  7032. 2007-10-13 Eric Blake <ebb9@byu.net>
  7033. Change m4_join to match libtool's ltsugar semantics.
  7034. * lib/m4sugar/m4sugar.m4 (m4_join): Just define this, not defun.
  7035. Ignore empty arguments, using...
  7036. (_m4_join): ...this new helper.
  7037. * tests/m4sugar.at (m4@&t@_join): New test.
  7038. * doc/autoconf.texi (Text processing Macros): Document new
  7039. semantics of m4_join.
  7040. Make AC_PREREQ faster and more robust.
  7041. * lib/m4sugar/m4sugar.m4 (m4_ignore, m4_unquote): New macros.
  7042. (m4_version_prereq): Inline constant expansions.
  7043. (m4_list_cmp): Reduce number of expansions, by avoiding m4_case.
  7044. Rewrite in terms of [] list, not () list.
  7045. (_m4_list_cmp, _m4_version_unletter): New helper macros.
  7046. (m4_version_unletter): Write wrapper around new implementation to
  7047. preserve old semantics.
  7048. (m4_version_compare): Pass correct type of list, and avoid
  7049. overhead of flattening expressions too early.
  7050. (m4_do): Move to be near other quoting macros.
  7051. (m4_max, m4_min): Always result in decimal output.
  7052. * doc/autoconf.texi (Looping constructs): Add m4_car, m4_cdr.
  7053. Move m4_do...
  7054. (Evaluation Macros): ...here. Add m4_ignore, m4_unquote.
  7055. (Text processing Macros): Move m4_version_compare...
  7056. (Number processing Macros): ...to this new node; document m4_cmp,
  7057. m4_list_cmp, m4_sign, m4_max, m4_min.
  7058. * tests/m4sugar.at (m4@&t@_version_compare): Enhance test, to pick
  7059. up on bugs fixed by this patch.
  7060. * NEWS: Document new macros.
  7061. 2007-10-12 Eric Blake <ebb9@byu.net>
  7062. * doc/autoconf.texi (Text processing Macros): Fix bad merge.
  7063. (Reporting Messages): Fix underfull hbox.
  7064. Some more m4sugar documentation.
  7065. * lib/m4sugar/m4sugar.m4: Clean up macro order.
  7066. * doc/autoconf.texi (Programming in M4): Lighten the warning on
  7067. using m4sugar; it is stabilizing and useful.
  7068. (Redefined M4 Macros): Touch up wording on M4 builtins; sort. Add
  7069. m4_divert, m4_undivert, __file__, __line__, __oline__.
  7070. (Diagnostics): New node, documenting m4_assert, m4_errprintn,
  7071. m4_fatal, m4_location, m4_warn.
  7072. (Diversion support): New node, documenting m4_divert_push,
  7073. m4_divert_pop, m4_divert_text, m4_divert_once.
  7074. (Text processing Macros): Sort. Add m4_flatten, m4_join,
  7075. m4_newline, m4_strip, m4_text_box, m4_text_wrap.
  7076. (Reporting Messages): Mark AC_DIAGNOSE, AC_WARNING, and AC_FATAL
  7077. as obsolescent.
  7078. (Printing Messages): Change cross-reference.
  7079. Document interaction of recent m4_append change with Libtool HEAD.
  7080. * lib/m4sugar/m4sugar.m4 (m4_append): Document semantics change.
  7081. (m4_append_uniq): Add new parameters, based on lt_append_uniq.
  7082. * tests/m4sugar.at (m4@&t@_append): New test.
  7083. * NEWS: Document semantics change.
  7084. * doc/autoconf.texi (Text processing Macros): Likewise.
  7085. s/AC_VERSION/AC_AUTOCONF_VERSION/.
  7086. * doc/autoconf.texi (Versioning): Change the name.
  7087. * NEWS: Likewise.
  7088. * lib/autoconf/general.m4 (AC_AUTOCONF_VERSION): Likewise.
  7089. * tests/tools.at (autoconf: AC_AUTOCONF_VERSION): Likewise.
  7090. Suggested by Ralf Wildenhues.
  7091. Namespace cleanup.
  7092. * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE)
  7093. (_AC_OUTPUT_HEADERS_PREPARE): Convert here-doc delimiters into
  7094. autoconf namespace.
  7095. * doc/autoconf.texi (Programming in M4sugar, Forbidden Patterns)
  7096. (Programming in M4sh, Macro Names): Beef up description of
  7097. namespaces reserved for autoconf.
  7098. * configure: Regenerate.
  7099. 2007-10-12 Eric Blake <ebb9@byu.net>
  7100. and Paolo Bonzini <bonzini@gnu.org>
  7101. Speed up execution of subset of testsuite.
  7102. * lib/autotest/general.m4 (TEST_FUNCTIONS): New diversion.
  7103. (AT_INIT) <at_func_test>: New shell function.
  7104. (AT_INIT) <at_myself>: New variable, set to absolute $as_myself.
  7105. (AT_INIT) <at_test_source> New variable, names file that holds
  7106. current test function definition.
  7107. (AT_SETUP): Start the shell function at_func_test_#, into the
  7108. TEST_FUNCTIONS diversion.
  7109. (AT_CLEANUP): End the shell function. Simplify the TESTS
  7110. diversion to invoke the function.
  7111. 2007-10-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  7112. * .gitignore: Ignore tags and TAGS files.
  7113. 2007-10-11 Eric Blake <ebb9@byu.net>
  7114. Config header generation followup.
  7115. * lib/autoconf/general.m4 (_AC_DEFINE_Q): Check for raw newlines,
  7116. which won't work with the preprocessor nor with the awk
  7117. implementation.
  7118. * tests/torture.at (Define a newline): Test raw newline detection,
  7119. removing the XFAIL.
  7120. * doc/autoconf.texi (Defining Symbols): Document recent change to
  7121. allow backslash-newline.
  7122. * THANKS: Update.
  7123. 2007-10-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  7124. * lib/autotest/general.m4: Put function braces in separate line.
  7125. 2007-10-10 Eric Blake <ebb9@byu.net>
  7126. Avoid some overhead from m4_defn and m4_popdef.
  7127. * lib/m4sugar/m4sugar.m4 (m4_defn, m4_popdef, m4_undefine): Only
  7128. pass on first argument, since we are documented that way.
  7129. (m4_for, m4_append_uniq, m4_text_wrap): Optimize out defined-ness
  7130. check where it is safe to do so.
  7131. (m4_append): Likewise, and quote the separator.
  7132. (m4_text_box): Likewise, and avoid regex, also be robust to
  7133. expansion and quadrigraphs.
  7134. Another AC_DEFINE speedup.
  7135. * lib/autoconf/general.m4 (AC_DEFINE_TRACE): Move parameter
  7136. elision...
  7137. (_AC_DEFINE_Q): ...here, and only do it once.
  7138. * lib/autoconf/functions.m4 (AC_CHECK_FUNCS): Avoid overquoting.
  7139. * lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Fix m4_defn overquoting
  7140. introduced 2007-10-05.
  7141. Whitespace cleanup.
  7142. * lib/autoconf/general.m4: Use consistent indentation.
  7143. * configure: Regenerate.
  7144. * NEWS: Announce recent round of speed optimizations.
  7145. 2007-10-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  7146. * NEWS: Announce shell function usage in Autotest.
  7147. 2007-10-10 Eric Blake <ebb9@byu.net>
  7148. and Paul Eggert <eggert@cs.ucla.edu>
  7149. Reduce number of forks at startup.
  7150. * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Speed up NLS
  7151. sanitization.
  7152. * configure: Regenerate.
  7153. 2007-10-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  7154. and Paul Eggert <eggert@cs.ucla.edu>
  7155. Use awk for config header generation.
  7156. * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fix comments.
  7157. (_AC_OUTPUT_HEADERS_PREPARE): New macro. Rewrite of the config
  7158. header machinery for use with awk and placement outside the main
  7159. config.status instantiation loop. Retain multi-line defines
  7160. through backslash-newline combinations, do not split the script
  7161. any more.
  7162. (_AC_OUTPUT_HEADER): Simplify accordingly, use $AWK.
  7163. (_AC_OUTPUT_MAIN_LOOP): Call _AC_OUTPUT_HEADERS_PREPARE if
  7164. needed.
  7165. (AC_OUTPUT_MAKE_DEFS): Remove backslash-newline combinations
  7166. from define values.
  7167. * NEWS: Update.
  7168. * tests/torture.at (#define header templates): Extend test by
  7169. several more cases: white space before and after `#', macros
  7170. with parameters in config.hin and as defines, multi-line macro
  7171. values.
  7172. (Torturing config.status): Use a define value twice the length
  7173. in order to exercise the awk literal string limit.
  7174. (Substitute and define special characters): Also try special
  7175. delimiter, to exercise the special-case code.
  7176. Suggestion by Eric Lemings.
  7177. 2007-10-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  7178. * tests/local.at (AT_COPYRIGHT): Bump copyright years.
  7179. 2007-10-09 Eric Blake <ebb9@byu.net>
  7180. Improve header of bin/autoconf.
  7181. * lib/m4sugar/m4sh.m4 (AS_INIT): Add a 'generated from' notice.
  7182. * lib/autoconf/general.m4 (_AC_INIT_NOTICE): Override new notice
  7183. from M4sh.
  7184. * bin/autoconf.as: Put copyright up front in generated file.
  7185. * bin/autoconf.as (exit_missing_arg): Font-lock tweak.
  7186. 2007-10-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  7187. * doc/install.texi (Basic Installation): Document `uninstall'.
  7188. * INSTALL: Regenerate.
  7189. Suggestion by Roberto Bagnara.
  7190. 2007-10-08 Paul Eggert <eggert@cs.ucla.edu>
  7191. * doc/autoconf.texi (Limitations of Usual Tools): V7 awk had 'index'.
  7192. Adjust doc. to match latest gnulib.
  7193. * build-aux/texinfo.tex: Sync from gnulib.
  7194. * doc/standards.texi: Likewise.
  7195. * doc/autoconf.texi (Copying This Manual): Rename to "GNU Free
  7196. Documentation License" and remove the subsection. This simplifies
  7197. the manual a bit and is more like what other GNU projects do
  7198. nowadays.
  7199. 2007-10-08 Eric Blake <ebb9@byu.net>
  7200. Use recent changes.
  7201. * configure: Regenerate.
  7202. Fix regression in m4_text_wrap from 2007-10-05.
  7203. * lib/m4sugar/m4sugar.m4 (m4_max, m4_min): New macros.
  7204. (m4_sign): Sort.
  7205. (m4_text_wrap): Fix off-by-one error in rewrite from m4_for to
  7206. m4_format.
  7207. * lib/autotest/general.m4 (AT_SETUP): Avoid negative width.
  7208. * tests/autotest.at (Long test title, Longer test title): Test
  7209. this fix, beyond what AS_HELP_STRING already tests.
  7210. Avoid m4 warnings on bad m4_format usage.
  7211. * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Use %*s, in case width
  7212. evaulates to 0.
  7213. * lib/autotest/general.m4 (AT_SETUP): Likewise; also ensure that
  7214. enough arguments are provided.
  7215. 2007-10-06 Paolo Bonzini <bonzini@gnu.org>
  7216. * doc/autoconf.texi (Shell portability): Document shell function
  7217. portability.
  7218. 2007-10-06 Paolo Bonzini <bonzini@gnu.org>
  7219. * lib/autotest/general.m4 (AT_INIT): Add at_func_diff_devnull,
  7220. at_func_check_skip, at_func_check_status, at_func_filter_trace,
  7221. at_func_log_failure shell functions. Use test -s to avoid
  7222. useless diff invocations.
  7223. (at_func_check_newline): Renamed from at_check_newline.
  7224. (AT_SETUP): Define AT_captured_files to empty.
  7225. (AT_DIFF_STDERR(*), AT_DIFF_STDOUT(*)): New, extracted from _AT_CHECK.
  7226. (_AT_CHECK): Replace m4_case with m4_ifdef/m4_indir. Use all
  7227. the shell functions.
  7228. 2007-10-05 Paul Eggert <eggert@cs.ucla.edu>
  7229. Don't assume "." is writeable, for commands like "autoconf --version".
  7230. * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Use a
  7231. different heuristic instead, one that doesn't rely on creating
  7232. files.
  7233. * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Handle "///"
  7234. correctly.
  7235. 2007-10-05 Jim Meyering <meyering@redhat.com>
  7236. Avoid makeinfo warnings.
  7237. * doc/autoconf.texi (Redefined M4 Macros): Add a `,' after @xref.
  7238. (Looping constructs): Add ` ' after @defmac'd name, m4_do.
  7239. 2007-10-05 Eric Blake <ebb9@byu.net>
  7240. Resolve Python issue 1676135 regarding configure directory args.
  7241. * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Strip trailing
  7242. slashes from directory arguments.
  7243. * tests/base.at (configure directories): New test.
  7244. * doc/autoconf.texi (Installation Directory Variables): Document
  7245. the change.
  7246. * NEWS: Likewise.
  7247. * THANKS: Update.
  7248. Reported by Björn Lindqvist.
  7249. Provide better short-circuiting operation.
  7250. * lib/m4sugar/m4sugar.m4 (m4_cond, m4_newline): New macros.
  7251. (m4_text_wrap): Use it. Also avoid useless m4_for.
  7252. * lib/m4sugar/m4sh.m4 (_AS_QUOTE_IFELSE, AS_LITERAL_IF): Use
  7253. new macro.
  7254. (_AS_IDENTIFIER_IF): Likewise, and fix bug when $1 is [,].
  7255. * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): Use new macros
  7256. to avoid regexps.
  7257. * doc/autoconf.texi (Redefined M4 Macros): Expand m4_if
  7258. documentation. Sort m4_mkstemp, m4_undefine. Move m4_ifndef...
  7259. (Conditional constructs): ...here, to new section. Also document
  7260. m4_cond, m4_ifval, m4_n, m4_ifvaln, m4_ifset, m4_case, m4_bmatch,
  7261. m4_bpatsubsts, and m4_default.
  7262. (Looping constructs): Document m4_shiftn, m4_shift2, m4_shift3,
  7263. m4_do.
  7264. 2007-10-04 Eric Blake <ebb9@byu.net>
  7265. Fix recent testsuite failures.
  7266. * lib/autotest/general.m4 (AT_INIT, AT_SETUP): Double-quote text
  7267. that must not be re-expanded after AS_ESCAPE.
  7268. * lib/m4sugar/m4sh.m4 (_AS_IDENTIFIER_IF): Don't expand $1 when
  7269. checking if it is an identifier.
  7270. Whitespace cleanup.
  7271. * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT): Avoid
  7272. leading whitespace, as it caused space-tab in testsuite.
  7273. (AT_INIT): Avoid trailing newlines in testsuite.
  7274. One more round of m4_foreach_w speedups.
  7275. * lib/m4sugar/m4sugar.m4 (m4_flatten): Only use regex if newline
  7276. is present.
  7277. (_m4_split): Avoid useless expansions inside definition. Move
  7278. argument defaulting...
  7279. (m4_split): ...here. Change alternate quote to something less
  7280. likely to appear in $1. Also, special case space as regexp...
  7281. (m4_foreach_w): ...to avoid regexp on single-term list.
  7282. (m4_default, m4_defn, m4_popdef, m4_undefine, _m4_foreach): Avoid
  7283. useless expansions inside definition.
  7284. * tests/m4sugar.at (m4@&t@_split): Add tests.
  7285. 2007-10-04 Paolo Bonzini <bonzini@gnu.org>
  7286. * general.m4 (AT_INIT): Add at_check_newline function.
  7287. (_AT_DECIDE_TRACEABLE): Include at_traceon test, use shell function.
  7288. (_AT_CHECK): Don't use at_trace_this.
  7289. 2007-10-04 Paolo Bonzini <bonzini@gnu.org>
  7290. Fix previous commit.
  7291. * lib/autotest/general.m4 (AT_LINE): Fix regex.
  7292. 2007-10-04 Eric Blake <ebb9@byu.net>
  7293. Speed up building testsuites.
  7294. * lib/autotest/general.m4 (AT_LINE): Only use regex when file
  7295. changed since last time. Use simpler regex.
  7296. 2007-10-03 Eric Blake <ebb9@byu.net>
  7297. Optimize checking for identifiers.
  7298. * lib/m4sugar/m4sh.m4 (AS_IDENTIFIER_IF, _AS_IDENTIFIER_IF): New
  7299. macros, more efficient than regex on m4_re_word.
  7300. * lib/autoconf/general.m4 (AC_SUBST, AC_DEFINE_TRACE_LITERAL):
  7301. Rewrite in terms of new macro. As a side-effect, AC_DEFINE can
  7302. now use @&t@.
  7303. * configure: Regenerate.
  7304. Remove some XFAILs, and make AT_SETUP output line up.
  7305. * lib/autotest/general.m4 (AT_SETUP): Only expand description
  7306. once; thereafter, use its expansion, properly quoted.
  7307. * tests/autotest.at (AT_CHECK_AT_TITLE): Also check macro
  7308. expansion with arguments, and check for aligned output.
  7309. (AT_CHECK_AT_TITLE_CHAR): Remove XFAILs for tests that now pass.
  7310. Add a test for macros with parameters.
  7311. * NEWS: Document the semantics change.
  7312. * tests/base.at: Fix test titles containing commas.
  7313. * tests/compile.at: Likewise.
  7314. * tests/tools.at: Likewise.
  7315. * tests/torture.at: Likewise.
  7316. Another round of regex avoidance.
  7317. * lib/m4sugar/m4sugar.m4 (m4_cr_alnum, m4_cr_all)
  7318. (_m4_define_cr_not, m4_cr_not_letters, m4_cr_not_LETTERS)
  7319. (m4_cr_not_Letters, m4_cr_not_digits, m4_cr_not_alnum)
  7320. (m4_cr_not_symbols1, m4_cr_not_symbols2): New macros, implementing
  7321. character ranges useful in m4_translit.
  7322. (m4_toupper, m4_tolower): Optimize the constant portion of
  7323. definition.
  7324. * lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Also reject @S|@ because it
  7325. creates $, and reject [] thanks to AS_TR_SH rewrite.
  7326. (AS_TR_SH, AS_TR_CPP): Use just translit, not bpatsubst.
  7327. (AS_ESCAPE): Factor...
  7328. (_AS_ESCAPE): ...into new macro, with second argument required.
  7329. Avoid regex in common case.
  7330. (_AS_QUOTE): Use new macro.
  7331. Whitespace cleanup.
  7332. * lib/autoconf/types.m4: Avoid space-tab.
  7333. * lib/m4sugar/m4sh.m4: Use tab consistently.
  7334. 2007-10-03 Paul Eggert <eggert@cs.ucla.edu>
  7335. * lib/m4sugar/m4sugar.m4 (m4_shift2, m4_shift3): New macros.
  7336. (m4_shiftn): Remove no-longer-needed optimization. Perhaps we
  7337. should remove m4_shiftn entirely?
  7338. (m4_case, b4_bmatch, m4_map_sep, m4_bpatsubsts, m4_join):
  7339. Prefer m4_shift2 and m4_shift3 to m4_shiftn.
  7340. * lib/autoconf/lang.m4 (_AC_LANG_DISPATCH): Likewise.
  7341. * lib/m4sugar/m4sh.m4 (AS_CASE, AS_IF): Likewise.
  7342. * tests/autotest.at (AT_CHECK_AT_TEST): Likewise.
  7343. 2007-10-03 Eric Blake <ebb9@byu.net>
  7344. Comment touchups.
  7345. * lib/m4sugar/m4sugar.m4: Grammar fixes in comments.
  7346. 2007-10-02 Eric Blake <ebb9@byu.net>
  7347. Optimize appending text.
  7348. * lib/m4sugar/m4sugar.m4 (m4_append_uniq): Use index, not regular
  7349. expressions.
  7350. Optimize recursion.
  7351. * lib/m4sugar/m4sugar.m4 (m4_shiftn): This macro is called in a
  7352. lot of hot spots; optimize it for 2 and 3 shifts.
  7353. Optimize AC_PREREQ and other m4sugar numerics.
  7354. * lib/m4sugar/m4sugar.m4 (m4_sign): Write with m4_eval.
  7355. (m4_cmp): Compare arbitrary expressions, without overflow.
  7356. (m4_version_unletter): Also recognize capital letters.
  7357. (m4_version_compare): Avoid regex when splitting version number
  7358. string.
  7359. 2007-10-01 Eric Blake <ebb9@byu.net>
  7360. Once again, reject IRIX m4.
  7361. * m4/m4.m4 (AC_PROG_GNU_M4): Use indir builtin to root out non-GNU
  7362. implementations that ignore --trace.
  7363. * configure: Regenerate.
  7364. Reported by Ralf Wildenhues.
  7365. Fix regression in AC_DEFINE([macro(with_arg)]).
  7366. * lib/autoconf/general.m4 (AC_DEFINE_TRACE): Don't chop off close
  7367. quotes with a careless m4_substr.
  7368. 2007-09-30 Eric Blake <ebb9@byu.net>
  7369. Allow nameless iteration.
  7370. * lib/m4sugar/m4sugar.m4 (m4_for, _m4_for): Access variable
  7371. indirectly.
  7372. * tests/m4sugar.at (myvar): Test this.
  7373. 2007-09-29 Eric Blake <ebb9@byu.net>
  7374. Speed optimization: avoid m4 regex when other algorithms work.
  7375. * lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Rewrite without regex.
  7376. (_AS_QUOTE_IFELSE): Likewise.
  7377. * lib/m4sugar/m4sugar.m4 (m4_strip): Reduce from 3 to 2 regex.
  7378. (m4_bpatsubsts): Split...
  7379. (_m4_bpatsubsts): ...so that recursion can avoid patsubst on empty
  7380. regex.
  7381. (_m4_divert()): Define, to avoid m4 warning on `m4_divert'.
  7382. (m4_qlen): Optimize on short strings, to avoid regex.
  7383. (m4_sign): Avoid regex, and fix bug with `01' and `-0'.
  7384. * lib/autoconf/general.m4 (AC_CACHE_VAL): Rewrite without regex.
  7385. (AC_DEFINE_TRACE): Likewise.
  7386. 2007-09-28 Eric Blake <ebb9@byu.net>
  7387. Oops - my earlier 'optimization' caused a regression.
  7388. * tests/local.at (AT_CHECK_M4): Fix typo.
  7389. 2007-09-27 Eric Blake <ebb9@byu.net>
  7390. and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  7391. Catch even more common AC_CACHE_VAL mistakes.
  7392. * lib/autoconf/general.m4 (AC_CACHE_VAL): Warn if cache variable
  7393. lacks '_cv_', or if AC_SUBST appears in body.
  7394. * tests/base.at (AC_CACHE_CHECK): Test this change.
  7395. 2007-09-27 Stepan Kasal <kasal@ucw.cz>
  7396. and Eric Blake <ebb9@byu.net>
  7397. Autotest no longer caters to Ultrix redirection limitation.
  7398. * doc/autoconf.texi (Writing testsuite.at): Remove the
  7399. limitation that the first parameter of AT_CHECK cannot
  7400. contain redirection.
  7401. (File Descriptors): Mention that Ultrix limitation is no longer a
  7402. show-stopper in modern code.
  7403. * tests/local.at (AT_CHECK_M4): Fix for cases when the fourth
  7404. parameter is `stderr' or `experr'. Optimize if it was `ignore'.
  7405. * lib/autotest/general.m4 (AT_CHECK): Update comment.
  7406. 2007-09-27 Eric Blake <ebb9@byu.net>
  7407. Squelch changeword in m4sugar.
  7408. * lib/m4sugar/m4sugar.m4 (changeword): Disable this experimental
  7409. feature of m4 1.4.x.
  7410. Configure whitespace touchups.
  7411. * lib/autoconf/general.m4 (_AC_INIT_HELP): Fix alignment of
  7412. installation directories, and avoid TAB, in configure --help
  7413. output.
  7414. * configure.ac: Avoid extra trailing newline.
  7415. * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Avoid space-tab.
  7416. * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Avoid TAB in
  7417. config.status --help output.
  7418. * configure: Regenerate.
  7419. Fix underquotation in AS_HELP_STRING.
  7420. * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Don't underquote lhs
  7421. argument.
  7422. * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Don't underquote
  7423. first-prefix argument.
  7424. * tests/m4sh.at (AS@&t@_HELP_STRING): Test this fix.
  7425. * NEWS: Document AS_HELP_STRING fix.
  7426. Autotest formatting touchups.
  7427. * lib/autotest/general.m4 (HELP_TUNING): Avoid TAB in terminal
  7428. output.
  7429. (PATH): Simplify computation of new PATH.
  7430. 2007-09-26 Eric Blake <ebb9@byu.net>
  7431. Fix testsuite breakage in last patch.
  7432. * tests/autotest.at (AT_CHECK_AT_TITLE): Properly quote the
  7433. font-lock fix.
  7434. * tests/torture.at (@%:@define header templates): Rename, so that
  7435. output lines up correctly.
  7436. More font-lock happiness.
  7437. * tests/autotest.at (AT_CHECK_AT_TITLE_CHAR): Clean up font
  7438. confusion.
  7439. 2007-09-25 Eric Blake <ebb9@byu.net>
  7440. Typo fixes.
  7441. * lib/autoconf/general.m4 (AC_SUBST): Fix typo in comment.
  7442. * lib/m4sugar/m4sh.m4 (AS_VAR_PUSHDEF): Likewise.
  7443. Improve documentation of M4 parameter expansion.
  7444. * doc/autoconf.texi (Quoting and Parameters): New section.
  7445. (Quotation and Nested Macros): Improve wording.
  7446. Improve C99 detection.
  7447. * lib/autoconf/c.m4 (_AC_PROG_CC_C99): Add support for HP cc, and
  7448. avoid deprecation warning with icc.
  7449. * THANKS: Update.
  7450. Reported by Ted Bullock.
  7451. 2007-09-24 Jim Meyering <jim@meyering.net>
  7452. Whenever possible, use the vertical bar as sed delimiter.
  7453. * lib/autoconf/functions.m4 (GETLOADAVG_LIBS) [AC_FUNC_GETLOADAVG]:
  7454. Use "|", not "!".
  7455. * lib/autoconf/status.m4 (_AC_SRCDIRS) [ac_top_builddir_sub]:
  7456. [ac_dir_suffix]: Use "|", not "," as sed delimiter.
  7457. * tests/mktests.sh (as_me): Likewise.
  7458. * lib/freeze.mk (check-forbidden-patterns): Likewise.
  7459. * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Likewise.
  7460. * configure: Regenerate.
  7461. * doc/autoconf.texi (Shell Substitutions): Use "|", not "," in examples.
  7462. * lib/autotest/general.m4 (AT_INIT): Use "|", not "&" as sed delimiter
  7463. in the : -> $PATH_SEPARATOR transformation of $AUTOTEST_PATH.
  7464. This is fine, as long as $PATH_SEPARATOR doesn't contain "|".
  7465. 2007-09-22 Jim Meyering <jim@meyering.net>
  7466. Add a comment.
  7467. * lib/autoconf/headers.m4 (HAVE_STDBOOL_H): Document the
  7468. 2004-05-31 change also with a comment in the code.
  7469. 2007-09-20 Eric Blake <ebb9@byu.net>
  7470. More contribution housekeeping.
  7471. * THANKS: Sort.
  7472. * AUTHORS: Sort, reflect recent assignment from Helge Deller.
  7473. Ignore additional files, when copying cross-repository.
  7474. * .gitignore: Ignore CVS directories, emacs edits.
  7475. * .cvsignore: Ignore .git directory, emacs edits.
  7476. 2007-09-15 Eric Blake <ebb9@byu.net>
  7477. Provide AC_VERSION, not m4_AUTOCONF_VERSION.
  7478. * doc/autoconf.texi (Text processing Macros): Remove mention of
  7479. m4_AUTOCONF_VERSION, and leave m4_PACKAGE_VERSION undocumented
  7480. once again.
  7481. (Notices): Move AC_PREREQ...
  7482. (Versioning): ...to this new section, alongside the new AC_VERSION
  7483. alias for the undocumented m4_PACKAGE_VERSION.
  7484. * lib/m4sugar/m4sugar.m4 (m4_AUTOCONF_VERSION): Revert change.
  7485. * lib/autoconf/general.m4 (AC_VERSION): New macro.
  7486. * NEWS: Update to match this rename.
  7487. * tests/m4sugar.at (m4@&t@_version_compare): Remove tests of
  7488. m4_PACKAGE_VERSION.
  7489. * tests/tools.at (autoconf: AC_VERSION): New test.
  7490. Suggested by Paolo Bonzini and Benoit Sigoure.
  7491. 2007-09-14 Eric Blake <ebb9@byu.net>
  7492. Prepare for conversion to git.
  7493. * doc/.cvsignore: Avoid multiple listings on one line.
  7494. * bin/.cvsignore: Likewise.
  7495. * .gitignore, bin/.gitignore, config/.gitignore, doc/.gitignore,
  7496. lib/.gitignore, lib/Autom4te/.gitignore, lib/autoconf/.gitignore,
  7497. lib/autoscan/.gitignore, lib/autotest/.gitignore,
  7498. lib/emacs/.gitignore, lib/m4sugar/.gitignore, man/.gitignore,
  7499. tests/.gitignore: New files, identical to .cvsignore counterpart.
  7500. 2007-09-13 Eric Blake <ebb9@byu.net>
  7501. Editing eye-candy.
  7502. * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Restore
  7503. font-lock balance.
  7504. * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Likewise.
  7505. * lib/autoconf/general.m4 (_AC_DO_ECHO): Likewise.
  7506. * configure: Regenerate.
  7507. Clean up 'make dist' of previous patch.
  7508. * tests/Makefile.am (EXTRA_DIST): Distribute mktests.stamp.
  7509. (CLEANFILES): Don't clean the stamp, since we distribute the
  7510. generated files pre-built.
  7511. (MAINTAINERCLEANFILES): Clean it here instead.
  7512. * tests/Makefile.in: Regenerate.
  7513. Avoid parallel 'make check' issue.
  7514. * tests/Makefile.am (mktests.stamp): New witness.
  7515. (TESTSUITE_GENERATED_AT): Use it.
  7516. (CLEANFILES): Clean the witness.
  7517. * tests/.cvsignore (mktests.stamp): Ignore the witness.
  7518. Document another awk pitfall.
  7519. * doc/autoconf.texi (Limitations of Usual Tools) <awk>: Document
  7520. limitation of field variables in END.
  7521. Reported by Gary V. Vaughan.
  7522. * AUTHORS: Add missing entries.
  7523. 2007-09-12 Eric Blake <ebb9@byu.net>
  7524. Publish m4_ifndef, m4_version_compare, m4_AUTOCONF_VERSION.
  7525. * doc/autoconf.texi (Text processing Macros): Document
  7526. m4_version_compare, m4_AUTOCONF_VERSION, m4_PACKAGE_VERSION.
  7527. (Redefined M4 Macros): Document m4_ifndef.
  7528. * lib/m4sugar/m4sugar.m4 (m4_AUTOCONF_VERSION): New macro; we
  7529. can't obsolete m4_PACKAGE_VERSION at this time since Autoconf 1.10
  7530. used it while it was undocumented.
  7531. * NEWS: Document this change.
  7532. * lib/m4sugar/Makefile.am (version.m4): Update copyright dates.
  7533. * lib/m4sugar/Makefile.in: Regenerate.
  7534. * tests/m4sugar.at (m4@&t@_version_compare): New test.
  7535. Reported by Bruno Haible.
  7536. * doc/autoconf.texi (Generic Compiler Characteristics): Add
  7537. missing index entries.
  7538. 2007-09-11 Eric Blake <ebb9@byu.net>
  7539. Centralize all system extensions checks.
  7540. * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): Inline code
  7541. from AC_AIX, AC_GNU_SOURCE, AC_MINIX. Add Interix support.
  7542. (AC_AIX, AC_GNU_SOURCE, AC_MINIX): Obsolete, and point to
  7543. AC_USE_SYSTEM_EXTENSIONS.
  7544. (AC_ISC_POSIX): Obsolete, and point to AC_SEARCH_LIBS.
  7545. (AC_XENIX_DIR, AC_IRIX_SUN): Promote proper quoting in AU_DEFUN.
  7546. * doc/autoconf.texi (Posix Variants): Reword this section,
  7547. emphasizing that AC_USE_SYSTEM_EXTENSIONS is the preferred method,
  7548. rather than a series of system-specific checks.
  7549. (Obsolete Macros): Add AC_AIX, AC_GNU_SOURCE, AC_ISC_POSIX,
  7550. AC_MINIX.
  7551. * NEWS: Document this change.
  7552. * THANKS: Update.
  7553. Reported by Martin Koeppe.
  7554. 2007-09-08 Eric Blake <ebb9@byu.net>
  7555. Clean up obsolete macros references.
  7556. * doc/autoconf.texi: Add anchors to support better
  7557. cross-referencing.
  7558. (Particular Structures): Move obsolete macros descriptions...
  7559. (External Software): Likewise.
  7560. (Package Options): Likewise.
  7561. (Obsolete Macros): ...to here. Add cross-references to
  7562. documentation on replacements.
  7563. * NEWS: Mention that these macros have been obsolete for a while
  7564. now: AC_STRUCT_ST_BLKSIZE AC_STRUCT_ST_RDEV AC_WITH AC_ENABLE.
  7565. Improve M4 path searching during configure.
  7566. * lib/autoconf/programs.m4 (AC_PATH_PROGS_FEATURE_CHECK): New
  7567. macro.
  7568. (_AC_PATH_PROG_FEATURE_CHECK): Rename...
  7569. (_AC_PATH_PROGS_FEATURE_CHECK): ...to this, add defaulted action
  7570. parameter, and kill side effects.
  7571. (_AC_PROG_GREP, AC_PROG_SED): Adjust callers.
  7572. (_AC_FEATURE_CHECK_LENGTH): Kill extra whitespace.
  7573. * m4/m4.m4 (AC_PROG_GNU_M4): Don't stop searching until working m4
  7574. is found.
  7575. (AC_PATH_PROGS_FEATURE_CHECK): Add backwards compatibility hack to
  7576. allow bootstrapping with autoconf 2.61.
  7577. * configure.ac (M4): AC_PROG_GNU_M4 now exits on failure.
  7578. * configure: Regenerate.
  7579. * doc/autoconf.texi (Generic Programs): Document new macro.
  7580. * tests/mktests.sh (au_exclude_script): Exclude auto-testing new
  7581. macro.
  7582. * tests/semantics.at (AC_PATH_PROGS_FEATURE_CHECK): New test.
  7583. * NEWS: Document the change.
  7584. * THANKS: Update.
  7585. Reported by Hans Aberg.
  7586. * doc/autoconf.texi (Generic Programs): Fix typo.
  7587. 2007-09-06 Eric Blake <ebb9@byu.net>
  7588. * doc/autoconf.texi (Generic Programs): Use $PATH_SEPARATOR, not
  7589. :, and make it clear that optional @var{path} defaults to $PATH.
  7590. (Erlang Compiler and Interpreter): Likewise.
  7591. Texinfo cleanup.
  7592. * doc/autoconf.texi: Avoid lines > 80 columns when possible.
  7593. Reword some paragraphs to avoid overfull, underfull hbox
  7594. warnings. Add index entries to avoid overfull vbox warnings.
  7595. 2007-09-05 Eric Blake <ebb9@byu.net>
  7596. * NEWS: Adjust wording for AC_CONFIG_LINKS.
  7597. Reported by Ralf Wildenhues.
  7598. 2007-09-03 Eric Blake <ebb9@byu.net>
  7599. * NEWS: Document fixes that have been applied since 2.61a.
  7600. Housekeeping.
  7601. * THANKS: Update, and convert to UTF-8 encoding.
  7602. * AUTHORS: Likewise.
  7603. 2007-08-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  7604. * lib/autoconf/general.m4 (AC_SITE_LOAD): Guard against file
  7605. names beginning with `-' again.
  7606. 2007-08-22 Stepan Kasal <kasal@ucw.cz>
  7607. Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  7608. * doc/autoconf.texi (Defining Directories): Mention
  7609. AM_CPPFLAGS, as the way to modify CPPFLAGS when using Automake.
  7610. 2007-08-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  7611. * lib/autoconf/general.m4 (AC_SITE_LOAD): Do not overwrite "$@"
  7612. here, this macro is expanded by AC_INIT. Fixes 2.60 regression.
  7613. * tests/base.at (configure arguments): New test.
  7614. * THANKS: Update.
  7615. Report by Olaf Lenz.
  7616. * lib/autoconf/general.m4 (_AC_ENABLE_IF): Expand macro
  7617. arguments in comment.
  7618. Report by Vincent Torri <vtorri at univ minus evry dot fr>.
  7619. 2007-08-20 Benoit Sigoure <tsuna@lrde.epita.fr>
  7620. * doc/autoconf.texi (File System Conventions): Index the proper
  7621. way of detecting absolute file names.
  7622. 2007-08-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  7623. * build-aux/config.guess, build-aux/config.sub,
  7624. build-aux/elisp-comp, build-aux/install-sh, build-aux/mdate-sh,
  7625. build-aux/missing, build-aux/texinfo.tex, doc/fdl.texi,
  7626. doc/make-stds.texi, doc/standards.texi: Sync from gnulib.
  7627. * doc/autoconf.texi (GNU Free Documentation License): Adjust for
  7628. sectioning change in fdl.texi.
  7629. * bin/autoconf.as: Update --version output to match current GCS.
  7630. * bin/autoheader.in: Likewise.
  7631. * bin/autom4te.in: Likewise.
  7632. * bin/autoreconf.in: Likewise.
  7633. * bin/autoscan.in: Likewise.
  7634. * bin/autoupdate.in: Likewise.
  7635. * bin/ifnames.in: Likewise.
  7636. 2007-08-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  7637. * lib/autoconf/status.m4 (_AC_OUTPUT_LINK): Do not try to link a
  7638. file to itself if source and build trees coincide.
  7639. * tests/torture.at (AC_CONFIG_LINKS and identical files): New
  7640. test.
  7641. Report by Sebastian Freundt <hroptatyr@gna.org>.
  7642. 2007-07-20 Paul Eggert <eggert@cs.ucla.edu>
  7643. Reword the copyright notices to match what's suggested in GPLv3.
  7644. In ChangeLog files, use more-permissive notice rather than GPL, as
  7645. per usual GNU standards these days.
  7646. 2007-07-13 Paul Eggert <eggert@cs.ucla.edu>
  7647. * doc/autoconf.texi (autoreconf Invocation): Document ACLOCAL_AMFLAGS
  7648. limitation reported by Leo Moisio in
  7649. <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=432941>.
  7650. 2007-07-03 Paul Eggert <eggert@cs.ucla.edu>
  7651. * COPYING: Update to GPLv3. All uses changed.
  7652. 2007-06-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  7653. and Paul Eggert <eggert@cs.ucla.edu>
  7654. * doc/autoconf.texi (Limitations of Usual Tools): sed -e ''
  7655. fails on AIX 5.3.
  7656. 2007-06-17 Noah Misch <noah@cs.caltech.edu>
  7657. * lib/autotest/general.m4 (AT_INIT): Handle absolute `srcdir'.
  7658. * tests/autotest.at (srcdir propagation): Test absolute `srcdir' and
  7659. `srcdir' as subdirectory of `builddir'.
  7660. 2007-06-13 Noah Misch <noah@cs.caltech.edu>
  7661. * lib/autotest/general.m4 (AT_INIT): Compute $srcdir correctly.
  7662. * tests/autotest.at (srcdir propagation): New test.
  7663. * THANKS: Update.
  7664. Reported by Mike Frysinger.
  7665. 2007-06-13 Paul Eggert <eggert@cs.ucla.edu>
  7666. * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Set FPATH too.
  7667. Problem reported by Fred Kreek in
  7668. <http://lists.gnu.org/archive/html/bug-autoconf/2007-06/msg00009.html>.
  7669. * doc/autoconf.texi (Special Shell Variables): Warn about FPATH.
  7670. (Macro Names, Defining Directories): Don't mention PATH as a name
  7671. for a fully qualified file name, as this usage violates the GNU
  7672. coding standards and we shouldn't recommend it.
  7673. * lib/autotest/general.m4 (AT_INIT): Don't set PATH to the empty
  7674. string and then assume shell builtins like "test" will work.
  7675. 2007-06-12 Noah Misch <noah@cs.caltech.edu>
  7676. * lib/autoconf/general.m4 (AC_SUBST): Raise a fatal error if VARIABLE is
  7677. not a valid shell variable name.
  7678. * tests/mktests.sh (ac_exclude_list): Add AC_ARG_VAR.
  7679. * tests/torture.at (AC_SUBST: variable name validation): New test.
  7680. Reported by Andreas Schwab.
  7681. 2007-06-04 Noah Misch <noah@cs.caltech.edu>
  7682. * doc/autoconf.texi (AC_F77_MAIN): Give a specific usage example that
  7683. works with both C and C++.
  7684. 2007-06-03 Noah Misch <noah@cs.caltech.edu>,
  7685. Bruno Haible <bruno@clisp.org>
  7686. * lib/autoconf/c.m4 (AC_OPENMP): Use a simple loop instead of compiler
  7687. brand tests.
  7688. 2007-05-31 Paul Eggert <eggert@cs.ucla.edu>
  7689. * doc/autoconf.texi (Particular Types): Give example of use for
  7690. AC_TYPE_INT8_T etc.
  7691. 2007-05-29 Stepan Kasal <kasal@ucw.cz>
  7692. * lib/autoconf/types.m4 (_AC_TYPE_UNSIGNED_INT): Fix a typo.
  7693. 2007-05-28 Paul Eggert <eggert@cs.ucla.edu>
  7694. * doc/autoconf.texi (Particular Types): AC_TYPE_INT8_T does not
  7695. define HAVE_INT8_T, and likewise for similar macros.
  7696. Problem reported by Patrick Welche in
  7697. <http://lists.gnu.org/archive/html/autoconf/2007-05/msg00062.html>.
  7698. 2007-05-25 Noah Misch <noah@cs.caltech.edu>
  7699. * bin/Makefile.am ($(top_builddir)/bin/autom4te): New dependency.
  7700. 2007-05-21 Paul Eggert <eggert@cs.ucla.edu>
  7701. * lib/autoconf/c.m4 (AC_OPENMP): Don't echo --enable-openmp
  7702. choice, since that's what we do with --enable-largefile etc.
  7703. Redo indenting and assignments to simplify things a bit, and make
  7704. the parens work with Emacs.
  7705. * doc/autoconf.texi (Generic Compiler Characteristics): Fix typo
  7706. in my previous change: AC_C_OPENMP -> AC_OPENMP. Reported by Bruno
  7707. Haible.
  7708. 2007-05-21 Noah Misch <noah@cs.caltech.edu>
  7709. * lib/autoconf/c.m4 (AC_OPENMP): Simplify use of AC_ARG_ENABLE.
  7710. * tests/local.at (AT_CHECK_ENV): Exempt OPENMP_CFLAGS.
  7711. 2007-05-21 Bruno Haible <bruno@clisp.org>
  7712. * NEWS: Rename AC_C_OPENMP to AC_OPENMP.
  7713. * lib/autoconf/c.m4 (AC_OPENMP): Renamed from AC_C_OPENMP.
  7714. * doc/autoconf.texi (Generic Compiler Characteristics): Move
  7715. renamed AC_OPENMP documentation here, from "C compiler".
  7716. Mention C++ and Fortran.
  7717. 2007-05-21 Paul Eggert <eggert@cs.ucla.edu>
  7718. * doc/autoconf.texi (C Compiler): Tweak OpenMP documentation a bit.
  7719. 2007-05-21 Bruno Haible <bruno@clisp.org>
  7720. * NEWS: Mention AC_C_OPENMP.
  7721. * lib/autoconf/c.m4 (AC_C_OPENMP): New macro.
  7722. * doc/autoconf.texi (C Compiler): Document AC_C_OPENMP.
  7723. Based in part on Steven G. Johnson's investigations for the AX_OPENMP
  7724. macro in the Autoconf macro archive.
  7725. 2007-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  7726. * bin/autom4te.in: Fix typos.
  7727. 2007-05-16 Noah Misch <noah@cs.caltech.edu>
  7728. * bin/autoconf.as: Handle `-' just like other input files.
  7729. * bin/autom4te.in (parse_args): Pass `-' through.
  7730. (handle_output): Skip the forbidden token search if we read from stdin.
  7731. (up_to_date): Always treat stdin as out of date.
  7732. * tests/tools.at (autoconf: input from stdin): New test.
  7733. (autoconf: forbidden tokens, basic): Check a second `autoconf' run.
  7734. 2007-05-16 Stepan Kasal <kasal@ucw.cz>
  7735. * tests/foreign.at tests/semantics.at, tests/tools.at: Remove
  7736. parameters for AT_CLEANUP.
  7737. * tests/local.at (AT_CHECK_AU_MACRO): Likewise.
  7738. 2007-05-14 Paul Eggert <eggert@cs.ucla.edu>
  7739. * NEWS: Document that AC_C_RESTRICT checks 'restrict' last.
  7740. * doc/autoconf.texi (C Compiler): Likewise.
  7741. 2007-05-14 Noah Misch <noah@cs.caltech.edu>
  7742. * lib/autoconf/c.m4 (AC_C_RESTRICT): Check `restrict' last.
  7743. 2007-05-09 Stepan Kasal <kasal@ucw.cz>
  7744. * doc/autoconf.texi: Direntry for "autoconf Invocation"
  7745. renamed to "autoconf-invocation"
  7746. * doc/autoconf.texi (Caching Results): The CACHE-ID variable
  7747. in the examples should not use the internal "ac_" prefix.
  7748. 2007-05-05 Noah Misch <noah@cs.caltech.edu>
  7749. * lib/autotest/general.m4 (_AT_NORMALIZE_TEST_GROUP_NUMBER): Use `eval'.
  7750. * doc/autoconf.texi ($@, case): Document Zsh limitations.
  7751. 2007-05-03 Stepan Kasal <kasal@ucw.cz>
  7752. * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Put a.out first.
  7753. Reorganize the comments before and in the macro.
  7754. 2007-05-02 Stepan Kasal <kasal@ucw.cz>
  7755. * lib/autoconf/lang.m4, lib/autoconf/c.m4,
  7756. lib/autoconf/fortran.m4, lib/autoconf/erlang.m4: Cleanup of
  7757. section titles and other comments; no code change.
  7758. 2007-05-01 Kevin Ryde <user42@zip.com.au>
  7759. * doc/autoconf.texi (Particular Programs): Typo
  7760. @acindex{AC_PROG_MKDIR_P} shouldn't have "AC" in that call.
  7761. 2007-04-30 Paul Eggert <eggert@cs.ucla.edu>
  7762. * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_SPY): Don't imply that
  7763. 'configure' will fail if the shell lacks proper support for shell
  7764. functions. Suggested by RMS.
  7765. 2007-04-29 Paul Eggert <eggert@cs.ucla.edu>
  7766. * doc/autoconf.texi (Limitations of Builtins): Correct the warning
  7767. about Solaris /bin/printf '%010000x' 123. Problem reported by
  7768. Bruno Haible.
  7769. 2007-04-28 Paul Eggert <eggert@cs.ucla.edu>
  7770. * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't look
  7771. for a.* when searching for executables, as this prevents users
  7772. from having files like a.c. Problem reported by Ralf Wildenhues in:
  7773. http://lists.gnu.org/archive/html/autoconf-patches/2007-04/msg00029.html
  7774. This fixes a problem introduced on 2000-12-19.
  7775. 2007-04-26 Paul Eggert <eggert@cs.ucla.edu>
  7776. * doc/autoconf.texi (Limitations of Builtins): Warn about Solaris
  7777. /bin/printf '%010000x' 123. Problem reported by Arto C. Nirkko
  7778. via Bruno Haible.
  7779. 2007-04-12 Paul Eggert <eggert@cs.ucla.edu>
  7780. * NEWS: Document recent changes to AC_CHECK_ALIGNOF, AC_CHECK_SIZEOF,
  7781. AC_CHECK_TYPE, AC_CHECK_TYPES.
  7782. * doc/autoconf.texi (Generic types): C types must be type-names
  7783. (the C terminology), not type-ids (the C++ term). C++ types
  7784. must not be anonymous.
  7785. * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW): Remove special case
  7786. for C++; this drops support for anonymous struct and union types,
  7787. which were problematic anyway.
  7788. * tests/semantics.at (AC_CHECK_HEADERS_NEW): Adjust test to work even
  7789. for C++.
  7790. 2007-04-12 Jim Meyering <jim@meyering.net>
  7791. * doc/autoconf.texi (Libraries): Typo fix: insert missing "in".
  7792. 2007-04-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  7793. * lib/autoconf/status.m4 (_AC_OUTPUT_LINK): Fix AC_CONFIG_LINKS
  7794. to prefer a link source from the build tree, if it exists.
  7795. Report by Pallav Gupta <pallavgupta@gmail.com>.
  7796. 2007-04-11 Paul Eggert <eggert@cs.ucla.edu>
  7797. * doc/autoconf.texi (Generic Types): Document the restrictions
  7798. on types imposed by AC_CHECK_TYPE, AC_CHECK_TYPES.
  7799. (Generic Compiler Characteristics): AC_CHECK_SIZEOF now works
  7800. with objects too. Document the restrictions on its use.
  7801. Document the restrictions on AC_CHECK_ALIGNOF's type argument.
  7802. * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW):
  7803. For C, just try sizeof (TYPE) and sizeof ((TYPE)); if the former
  7804. works but the latter doesn't, then it's a valid type.
  7805. This lets people use function types and so forth.
  7806. For C++ there doesn't seem to be a simple solution, so leave it alone.
  7807. (AC_CHECK_SIZEOF): Allow argument to be a variable.
  7808. (AC_CHECK_SIZEOF, AC_CHECK_ALIGNOF): Don't bother to invoke
  7809. AC_CHECK_TYPE; that wasn't documented or necessary.
  7810. 2007-04-11 Stepan Kasal <kasal@ucw.cz>
  7811. * lib/autoconf/general.m4 (_AC_LINK_IFELSE): Skip AS_TEST_X
  7812. when cross-compiling.
  7813. 2007-04-11 Stepan Kasal <kasal@ucw.cz>
  7814. * doc/autoconf.texi (External Software): Fix a typo in the
  7815. previous change.
  7816. 2007-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  7817. * doc/autoconf.texi (External Software, Package Options):
  7818. Fix ambiguous wording. Report by Reuben Thomas <rrt@sc3d.org>.
  7819. 2007-04-06 Paul Eggert <eggert@cs.ucla.edu>
  7820. * doc/autoconf.texi (Particular Types): AC_C_LONG_DOUBLE is now
  7821. obsolescent. Suggested by Bruno Haible.
  7822. * NEWS: Document this.
  7823. 2007-03-29 Paul Eggert <eggert@cs.ucla.edu>
  7824. * doc/autoconf.texi (Here-Documents, Limitations of Builtins):
  7825. (Limitations of Usual Tools): Don't say "older" if Solaris 10 by
  7826. default still has the problem. Problem reported by Bruce Korb.
  7827. 2007-03-28 Stepan Kasal <kasal@ucw.cz>
  7828. and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  7829. * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix a
  7830. comment in the generated config.status.
  7831. 2007-03-27 Stepan Kasal <kasal@ucw.cz>
  7832. * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS): Update comment.
  7833. 2007-03-26 Paul Eggert <eggert@cs.ucla.edu>
  7834. * doc/autoconf.texi (Shellology): Rework treatment of the 'test'
  7835. command and case statements to make it a bit clearer and describe
  7836. more pitfalls.
  7837. 2007-03-23 Paul Eggert <eggert@cs.ucla.edu>
  7838. * doc/autoconf.texi (C Compiler): Mention that AC_PROG_CC_C99 also
  7839. checks for unsigned long long int.
  7840. 2007-03-19 Paul Eggert <eggert@cs.ucla.edu>
  7841. * doc/autoconf.texi (Limitations of Usual Tools): Warn about other
  7842. nonstandard grep R.E. escape sequences.
  7843. 2007-03-17 Jim Meyering <jim@meyering.net>
  7844. * doc/autoconf.texi: Adjust grammar around use of "heuristics".
  7845. (Limitations of Usual Tools): Also list \< and \>, and mention that
  7846. HP-UX's grep, like the one from Solaris, does not support that syntax.
  7847. 2007-03-09 Stepan Kasal <kasal@ucw.cz>
  7848. * doc/autoconf.texi (Specifying Names): `--host' does not
  7849. change the build type.
  7850. 2007-03-05 Paul Eggert <eggert@cs.ucla.edu>
  7851. * doc/autoconf.texi (C Compiler): Warn that AC_C_BIGENDIAN
  7852. suggests AC_CONFIG_HEADERS.
  7853. * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Warn if not using
  7854. AC_CONFIG_HEADERS. Problem reported by
  7855. Peter O'Gorman.
  7856. 2007-02-28 Paul Eggert <eggert@cs.ucla.edu>
  7857. * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Fix typo "__LITLE_ENDIAN__".
  7858. Problem reported by Paolo Bonzini in:
  7859. http://lists.gnu.org/archive/html/autoconf-patches/2007-02/msg00024.html
  7860. * tests/semantics.at (AC_C_BIGENDIAN): Don't reject hosts that have
  7861. universal binaries. Problem reported by Elias Pipping.
  7862. 2007-02-27 Paul Eggert <eggert@cs.ucla.edu>
  7863. * NEWS: AC_C_BIGENDIAN now supports universal binaries a la Mac OS X.
  7864. * doc/autoconf.texi (C Compiler): Document this. There is a new
  7865. extra argument ACTION-IF-UNIVERSAL.
  7866. * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Implement this.
  7867. Add support for Solaris-style _LITTLE_ENDIAN and _BIG_ENDIAN.
  7868. Reindent for sanity's sake.
  7869. 2007-02-24 Eric Blake <ebb9@byu.net>
  7870. * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Update
  7871. copyright.
  7872. * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Likewise.
  7873. * lib/autotest/general.m4 (AT_INIT): Likewise.
  7874. (_AT_DECIDE_TRACEABLE): Fix syntax highlighting.
  7875. 2007-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  7876. * lib/autotest/general.m4 (AT_INIT): With --clean, return exit
  7877. status of rm so we know when it failed.
  7878. If cleaning of test dir failed before running the test, warn.
  7879. Output the line separator in verbose mode before the warning
  7880. to make clear the warning belongs to the following test.
  7881. 2007-02-08 Paul Eggert <eggert@cs.ucla.edu>
  7882. * doc/autoconf.texi (Parentheses): Mention problem with (( in
  7883. shells.
  7884. 2007-02-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  7885. and Paul Eggert <eggert@cs.ucla.edu>
  7886. * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fix quoting
  7887. errors introduced in last change.
  7888. 2007-02-07 Paul Eggert <eggert@cs.ucla.edu>
  7889. * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Prefer \r to
  7890. an actual carriage return. Use "ac_cr" to contain the actual
  7891. carriage return.
  7892. * doc/autoconf.texi (Limitations of Usual Tools): Document problem
  7893. with traditional Awk and begin.
  7894. * tests/torture.at (Limitations of Builtins): Document the problem
  7895. with Bash 2.03 printf.
  7896. (Substitute and define special characters):
  7897. Remove trailing white space. Work around a bug in Solaris 8 /bin/bash.
  7898. 2007-02-06 Ralf Menzel <menzel@ls6.cs.uni-dortmund.de> (tiny change)
  7899. * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Redirect
  7900. input from /dev/null in awk test, so even Solaris /usr/bin/awk
  7901. will not wait for input with a script containing only a BEGIN
  7902. rule.
  7903. 2007-02-03 Paul Eggert <eggert@cs.ucla.edu>
  7904. * doc/autoconf.texi (Introduction, Why GNU M4): Clarify M4 version
  7905. requirements.
  7906. * README: Likewise.
  7907. 2007-02-02 Eric Blake <ebb9@byu.net>
  7908. * NEWS: Update copyright.
  7909. * m4/m4.m4 (AC_PROG_GNU_M4): Reject M4 1.4 through 1.4.4 as
  7910. broken.
  7911. * configure.ac: Update error message.
  7912. * NEWS: Note that M4 1.4.5 or later is now a hard dependency.
  7913. Reported by Gary Vaughan and Jim Meyering, and problem analyzed
  7914. by Stepan Kasal:
  7915. http://lists.gnu.org/archive/html/bug-autoconf/2006-11/msg00025.html
  7916. 2007-01-31 Eric Blake <ebb9@byu.net>
  7917. * THANKS (people): Update.
  7918. 2007-01-28 Paul Eggert <eggert@cs.ucla.edu>
  7919. * doc/autoconf.texi (Shellology): pdksh 5.2.14 is still the
  7920. latest version.
  7921. (Shell Substitutions): Note problems with @{var:=value} etc.
  7922. Add a new section for problems with @{#var} etc. Problem noted
  7923. by Ralf Wildenhues. See:
  7924. http://lists.gnu.org/archive/html/libtool-patches/2005-01/msg00157.html
  7925. 2007-01-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  7926. * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Also
  7927. AC_SUBST([MKDIR_P]), so that Automake < 1.10 will pick up its
  7928. trace, if a package uses AC_PROG_MKDIR_P explicitly. The actual
  7929. substitution will still be done by the special code.
  7930. Report by Jim Meyering.
  7931. * doc/autoconf.texi (File System Conventions): Mention that
  7932. $PATH_SEPARATOR is for the build system only.
  7933. Report by Keith Marshall.
  7934. 2007-01-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  7935. * doc/autoconf.texi (Setting Output Variables): Mention that
  7936. all non-NUL characters are ok in substituted values.
  7937. * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): Fix comment typo.
  7938. (_AC_OUTPUT_FILES_PREPARE): Test and use backslash escaping of
  7939. carriage return for $AWK, needed for BSD awk.
  7940. * tests/torture.at (Substitute and define special characters):
  7941. Test all 8 bit non-NUL characters.
  7942. Report against Automake by Patrick Welche.
  7943. 2007-01-15 Stepan Kasal <kasal@ucw.cz>
  7944. * doc/autoconf.texi: Direntry for "autoconf Invocation" renamed.
  7945. 2007-01-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  7946. * lib/autoconf/programs.m4 (AC_PROG_SED): When closing a pipe
  7947. early on the reader side, drop stderr of the input to avoid
  7948. `broken pipe' error output; this may happen even with shell
  7949. builtin `echo' of some bash versions. Reports by Ian Macdonald
  7950. <iamacdo@telkomsa.net> and Sam Sexton <Sam.Sexton@reuters.com>.
  7951. 2007-01-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  7952. * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Use newlines to
  7953. separate items of `ac_user_opts', to avoid long lines.
  7954. (_AC_INIT_PARSE_ENABLE2, _AC_ENABLE_IF_ACTION): Adjust.
  7955. 2007-01-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  7956. * doc/autoconf.texi: Fix some typos.
  7957. 2007-01-05 Paul Eggert <eggert@cs.ucla.edu>
  7958. Fix some wording problems noted by Paolo Bonzini in:
  7959. http://lists.gnu.org/archive/html/autoconf-patches/2007-01/msg00077.html
  7960. * doc/autoconf.texi (Signed Overflow Examples): Give more
  7961. discussion about the allow_superuser_privileges example,
  7962. and change it a bit to make things clearer.
  7963. (Optimization and Wraparound): Clarify whether the compiler
  7964. will generate an infinite loop for the example derived from
  7965. Autoconf's mktime test.
  7966. (Signed Overflow Advice): Say that -ftrapv is meant for debugging.
  7967. Also, clarify unsigned multiplication overflow.
  7968. 2007-01-04 Eric Blake <ebb9@byu.net>
  7969. * bin/Makefile.am (RELEASE_YEAR): New macro.
  7970. (edit): Use it to supply correct copyright year to scripts.
  7971. * bin/autoconf.as (version): Use it.
  7972. * bin/autoheader.in ($version): Likewise.
  7973. * bin/autom4te.in ($version): Likewise.
  7974. * bin/autoreconf.in ($version): Likewise.
  7975. * bin/autoscan.in ($version): Likewise.
  7976. * bin/autoupdate.in ($version): Likewise.
  7977. * bin/ifnames.in ($version): Likewise.
  7978. 2007-01-02 Paul Eggert <eggert@cs.ucla.edu>
  7979. * doc/autoconf.texi (Integer Overflow): Revised based on today's
  7980. feedback. The most important changes document what happens when
  7981. you convert an out-of-range value to a signed integer type, and
  7982. say that (sum < a) != (b < 0) reliably detects overflow when sum =
  7983. a + b.
  7984. * doc/autoconf.texi (Integer Overflow): Greatly expand and
  7985. rewrite, taking notions from the recent discussion on the gcc and
  7986. autoconf mailing lists; please see
  7987. http://lists.gnu.org/archive/html/autoconf-patches/2006-12/msg00091.html
  7988. and follow the many links.
  7989. (Integer Overflow Basics, Signed Overflow Examples):
  7990. (Optimization and Wraparound, Signed Overflow Advice):
  7991. (Signed Integer Division): New sections.
  7992. 2006-12-28 Steven G. Johnson <stevenj@alum.mit.edu>
  7993. * lib/autoconf/general.m4 (AC_DEFINE_TRACE): Don't include
  7994. preprocessor macro arguments in traced name.
  7995. * doc/autoconf.texi (Defining symbols): Document longstanding
  7996. support for AC_DEFINE-ing macros with arguments, and document
  7997. behavior when the same variable has multiple AC_DEFINEs.
  7998. * lib/autoconf/fortran.m4 (_AC_FC_WRAPPERS): Revert to the
  7999. old implementation which AC_DEFINEs the FC_FUNC and FC_FUNC_
  8000. macros directly, giving much shorter and simpler code.
  8001. 2006-12-28 Malcolm Purvis <malcolmp@xemacs.org> (trivial change)
  8002. * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Insert a
  8003. space before "$ac_configure_args" to prevent a 'config.status
  8004. --recheck' failure if ac_configure_args doesn't contain a leading
  8005. space. This works around a problem with the XEmacs configure.ac,
  8006. which uses the (undocumented) ac_configure_args variable
  8007. inconsistently with Autoconf.
  8008. 2006-12-22 Paul Eggert <eggert@cs.ucla.edu>
  8009. * lib/autoconf/functions.m4 (AC_FUNC_MKTIME):
  8010. Include <limits.h>, and use its INT_MAX to rewrite the
  8011. j loop so that it does not overflow 'int'. Problem reported by
  8012. Ralf Wildenhues in
  8013. <http://lists.gnu.org/archive/html/bug-gnulib/2006-12/msg00084.html>.
  8014. Play it safe by shifting left by 1 rather than multiplying by 2,
  8015. as GCC is less likely to optimize this away when the value
  8016. is signed (when it assumes overflow leads to undefined behavior).
  8017. Also, don't assume time_t uses two's complement.
  8018. 2006-12-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  8019. * tests/torture.at (Substitute a 2000-byte string): Avoid using
  8020. a 10kB long (multi-line) string literal, OpenServer 5.0.7 ksh
  8021. dumps core on it. Report by Tim Rice.
  8022. 2006-12-18 Steven G. Johnson <stevenj@alum.mit.edu>
  8023. * lib/autoconf/general.m4 (AC_ARG_ENABLE): Print help about
  8024. --disable-option-checking to --help output even when
  8025. AC_PRESERVE_HELP_ORDER is not used.
  8026. (_AC_INIT_PARSE_ENABLE2): Print warnings using actual --enable or
  8027. --with argument, rather than argument with [-.] replaced by
  8028. underscores.
  8029. * NEWS: Fix typo in previous change; the news was in the
  8030. wrong section.
  8031. 2006-12-18 Paul Eggert <eggert@cs.ucla.edu>
  8032. * NEWS: Warnings are now generated by default for unknown
  8033. --enable-* and --with-* options.
  8034. * doc/autoconf.texi (Option Checking): Renamed from
  8035. (Configure Option Checking). Tighten up the wording a bit.
  8036. (External Software, Package Options): Cross-reference to Option
  8037. Checking, and use this to shorten our section.
  8038. * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Prefer test -n
  8039. "$x" to test "x$foo" != x.
  8040. * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
  8041. Don't warn if $enable_option_checking is "no".
  8042. * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Initialize
  8043. ac_unrecognized_opts to the empty string.
  8044. Don't echo the unrecognized opts, as this might mishandle
  8045. backslashes or leading -.
  8046. (AC_PRESERVE_HELP_ORDER): Put the --disable-option-checking
  8047. usage next to the other --disable-FEATURE options in the
  8048. help string.
  8049. 2006-12-18 Steven G. Johnson <stevenj@alum.mit.edu>
  8050. * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS, _AC_INIT_PARSE_ARGS):
  8051. (_AC_INIT_PARSE_ENABLE2, _AC_INIT_HELP, _AC_ENABLE_IF):
  8052. Print warning for unrecognized --with and --enable options
  8053. (AC_DISABLE_OPTION_CHECKING): New macro to disable warnings.
  8054. * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS, _AC_OUTPUT_SUBDIRS):
  8055. Disable option checking when subdirs are configured.
  8056. (AC_OUTPUT): If warnings are enabled, print warning about
  8057. unrecognized --with and --enable options at the end of
  8058. the configure output (as well as at the beginning).
  8059. * doc/autoconf.texi (Option Checking): New node.
  8060. Document new option warning functionality.
  8061. 2006-12-16 Eric Blake <ebb9@byu.net>
  8062. * configure.ac (AC_INIT): Bump version, since 2.61a is released.
  8063. * NEWS: Start news for current version.
  8064. 2006-12-15 Paul Eggert <eggert@cs.ucla.edu>
  8065. * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT):
  8066. Define HAVE_GETMNTENT to 1, not to the empty string.
  8067. Problem originally reported by Jochen Friedrich in
  8068. <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=403243>.
  8069. This change prompted by a problem report by Andrey Simonenko in
  8070. <http://lists.gnu.org/archive/html/bug-autoconf/2006-12/msg00026.html>.
  8071. * doc/autoconf.texi (Defining Symbols): AC_DEFINE works for
  8072. object-like macros only, in the traditional portable character
  8073. set.
  8074. * lib/autoconf/general.m4 (AC_DEFINE_TRACE_LITERAL):
  8075. Warn about attempts to define things that are not identifiers.
  8076. * lib/autoconf/fortran.m4 (_AC_FC_WRAPPERS): Rewrite to avoid
  8077. awful hack that AC_DEFINEd macro names containing parentheses.
  8078. 2006-12-12 Paul Eggert <eggert@cs.ucla.edu>
  8079. * doc/autoconf.texi: Undo some of the 2006-12-10 change. It was
  8080. too drastic, even if Texinfo in theory requires it for info mode.
  8081. (config.status Invocation): Renamed back from Recreating a
  8082. Configuration).
  8083. (Obsolete config.status Use): Renamed back from Obsolete Recreation.
  8084. (Autoconf 2.13): Renamed back from 20th-century Autoconf 2.
  8085. 2006-12-11 Paul Eggert <eggert@cs.ucla.edu>
  8086. * NEWS: Version 2.61a.
  8087. 2006-12-11 Paul Eggert <eggert@cs.ucla.edu>
  8088. and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  8089. * NEWS: Document changes with echo and printf, and the lack
  8090. of limits on the total size of multi-line values of substituted
  8091. variables, and the AC_FUNC_FSEEKO fix.
  8092. 2006-12-10 Paul Eggert <eggert@cs.ucla.edu>
  8093. * doc/autoconf.texi (Writing Autoconf Input): Renamed from
  8094. Writing configure.ac.
  8095. (Autoconf Input Layout): Renamed from configure.ac Layout.
  8096. (Recreating a Configuration): Renamed from config.status Invocation.
  8097. (Obsolete Recreation): Renamed from Obsolete config.status Use.
  8098. (acconfig Header): Renamed from acconfig.h.
  8099. (20th-century Autoconf 2): Renamed from Autoconf 2.13.
  8100. (Writing Testsuites): Renamed from Writing testsuite.at.
  8101. (Autom4te Cache): Renamed from autom4te.cache.
  8102. * BUGS: Remove mention of VPATH problem, since it's now documented
  8103. not to be a bug in the Autoconf build procedure itself, but rather
  8104. a problem with the proprietary `make' programs.
  8105. * doc/autoconf.texi (Build Directories): Add a cross reference
  8106. to VPATH and Make.
  8107. * build-aux/config.guess, build-aux/config.sub, build-aux/texinfo.tex:
  8108. * doc/standards.texi: Sync from gnulib.
  8109. * man/autoconf.1, man/autoheader.1, man/autom4te.1, man/autoreconf.1:
  8110. * man/autoscan.1, man/autoupdate.1, man/config.guess.1:
  8111. * man/config.sub.1, man/ifnames.1: Remove from CVS, since they're
  8112. generated automatically.
  8113. 2006-12-06 Paul Eggert <eggert@cs.ucla.edu>
  8114. * lib/autoconf/c.m4 (_AC_PROG_CC_C89): Also try -xc99=all, for Sun
  8115. C 5.8 on Solaris 10. Using -xc99=all rather than -xc99 bypasses
  8116. the buggy -xc99 option of Forte Developer 7 C on Solaris 9.
  8117. 2006-12-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  8118. * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Drop the
  8119. `CEOF$ac_eof' special marker, the awk script cannot contain a
  8120. line matching `^CEOF', so this is not needed any more.
  8121. * tests/torture.at (Substitute a newline): Expose the `%!_!# '
  8122. special marker in the test.
  8123. 2006-12-06 Stepan Kasal <kasal@ucw.cz>
  8124. * tests/tools.at (autom4te preselections): Use `find -newer';
  8125. remove one of the sleeps.
  8126. * lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE): Make it
  8127. more readable, using ...
  8128. (_AC_INIT_PARSE_ENABLE2): ... this new helper macro.
  8129. * doc/autoconf.texi (autoheader Invocation): Do not double-
  8130. quote the parameter of `AH_BOTTOM' in the example.
  8131. 2006-12-05 Stepan Kasal <kasal@ucw.cz>
  8132. * doc/autoconf.texi (Configuration Headers): Remove the
  8133. example with multiple input files.
  8134. (autoheader Invocation): Encourage `AH_BOTTOM', discouraging
  8135. multiple input files.
  8136. 2006-12-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  8137. * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): When
  8138. creating the awk substitution script, handle one input line at a
  8139. time, so that the maximum length of a substituted (multi-line)
  8140. value is not limited by the size of the sed pattern space.
  8141. The trade-off is a slightly repetitive sed script.
  8142. * doc/autoconf.texi (Limitations of Usual Tools): Branch labels
  8143. can only have up to 7 characters, due to Solaris 10 /bin/sed.
  8144. * tests/torture.at (Substitute a 2000-byte string): Increase the
  8145. test with several long lines, they should not be caught by sed
  8146. limits any more.
  8147. * tests/tools.at (autom4te preselections): New test, to flag
  8148. entries missing from autom4te.cfg.
  8149. Report by David Byron <dbyron@hheld.com>.
  8150. * tests/torture.at (Substitute a 2000-byte string): Actually use
  8151. AC_PROG_AWK, so the last change works as intended.
  8152. (Substitute and define special characters): Likewise.
  8153. (Substitute a newline): Likewise.
  8154. * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Use `$AWK'
  8155. instead of `awk' consistently.
  8156. (_AC_OUTPUT_CONFIG_STATUS): Initialize $AWK.
  8157. * tests/torture.at (Torturing config.status): Test both the
  8158. result of AC_PROG_AWK and plain awk.
  8159. (Substitute a 2000-byte string): Likewise.
  8160. (Substitute and define special characters): Likewise.
  8161. (Substitute a newline): Likewise.
  8162. 2006-12-04 Paul Eggert <eggert@cs.ucla.edu>
  8163. * lib/autoconf/functions.m4 (AC_FUNC_FSEEKO): Check that fseeko
  8164. can be assigned to a function pointer. Problem reported by
  8165. Peter Palfrader in <http://bugs.debian.org/401377>. Based on
  8166. part of a patch by Ralf Wildenhues in that same bug report.
  8167. 2006-12-01 Paul Eggert <eggert@cs.ucla.edu>
  8168. * tests/mktests.sh (ac_exclude_list): Exclude AC_FUNC_SETVBUF_REVERSED.
  8169. * tests/semantics.at (AC_FUNC_SETVBUF_REVERSED): New test.
  8170. 2006-12-01 Eric Blake <ebb9@byu.net>
  8171. * lib/autoconf/c.m4 (AC_LANG_INT_SAVE): Avoid newline, to aid in
  8172. cross-compiling from cygwin to mingw.
  8173. Reported by Bob Rossi. This resurrects the 2000-11-30 patch to
  8174. aclang.m4, which was mistakenly removed in the 2001-09-17 patch
  8175. to lib/autoconf/c.m4.
  8176. 2006-12-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  8177. * lib/m4sugar/m4sh.m4 (_AS_ECHO_PREPARE): Use a longer test
  8178. string for more reliable failure. Wrap the entire test that
  8179. causes the broken Solaris printf to dump core, in a subshell,
  8180. so the segmentation fault message is reliably suppressed.
  8181. Fix shell expansion errors by using /usr/ucb/echo always;
  8182. avoid an error on systems without it by another subshell.
  8183. Avoid m4 expansion of `$1'. Set the zeroth argument of the
  8184. subshell-$as_echo to `as_echo', for better error message.
  8185. 2006-11-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  8186. * lib/autoconf/general.m4 (_AC_CACHE_DUMP): If `BASH_ARGV' or
  8187. `BASH_SOURCE' contain a newline, set them to empty, as they may
  8188. not be unset.
  8189. 2006-11-27 Paul Eggert <eggert@cs.ucla.edu>
  8190. Turn AC_FUNC_SETVBUF_REVERSED into a noop. It's been obsolete for
  8191. years and is too hard to maintain now. The last straw was
  8192. reported by Jerker Baeck in
  8193. <http://lists.gnu.org/archive/html/autoconf/2006-11/msg00102.html>.
  8194. * NEWS: AC_FUNC_SETVBUF_REVERSED is now obsolete.
  8195. * doc/autoconf.texi (Particular Functions): Move
  8196. AC_FUNC_SETVBUF_REVERSED from here...
  8197. (Obsolete Macros): ... to here. Say that it does nothing now.
  8198. * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
  8199. Turn into (almost) a no-op.
  8200. * lib/autoconf/c.m4 (AC_PROG_GCC_TRADITIONAL, AC_C_CONST):
  8201. (AC_C_VOLATILE):
  8202. Do not recommend via AN_FUNCTION, AN_IDENTIFIER, or AN_HEADER.
  8203. These macros are obsolescent and new applications shouldn't need them.
  8204. * lib/autoconf/functions.m4 (AC_FUNC_CLOSEDIR_VOID, AC_REPLACE_FNMATCH):
  8205. (AC_FUNC_GETLOADAVG, AC_FUNC_GETPGRP, AC_FUNC_MEMCMP):
  8206. (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETPGRP, AC_FUNC_STAT, AC_FUNC_LSTAT):
  8207. (AC_FUNC_STRFTIME, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
  8208. (AC_FUNC_VPRINTF): Likewise.
  8209. * lib/autoconf/headers.m4 (AC_HEADER_DIRENT, AC_HEADER_STAT):
  8210. (AC_HEADER_STDC, AC_HEADER_SYS_WAIT, AC_HEADER_TIME): Likewise.
  8211. * lib/autoconf/types.m4 (AC_STRUCT_TM): Likewise.
  8212. * doc/autoconf.texi (Setting Output Variables): Mention that
  8213. @VAR1@VAR2 has unspecified behavior. Problem reported by
  8214. Ralf Wildenhues.
  8215. * NEWS: Mention this.
  8216. * Makefile.am: Put only a single '#' into the copyright notice,
  8217. so that it's also present in the output file. Standardize wording
  8218. in makefile copyright notices to match GNU coding standards.
  8219. * bin/Makefile.am: Likewise.
  8220. * doc/Makefile.am: Likewise.
  8221. * lib/Makefile.am: Likewise.
  8222. * lib/freeze.mk: Likewise.
  8223. * lib/autoconf/Makefile.am: Likewise.
  8224. * lib/autoscan/Makefile.am: Likewise.
  8225. * lib/autotest/Makefile.am: Likewise.
  8226. * lib/m4sugar/Makefile.am: Likewise.
  8227. * man/Makefile.am: Likewise.
  8228. * tests/Makefile.am: Likewise.
  8229. * lib/emacs/Makefile.am: Remove copyright notice; it's just a
  8230. one-line file.
  8231. 2006-11-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  8232. * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fix error
  8233. in the sed script that mangles the awk script: delete up to the
  8234. first exclamation mark only.
  8235. * tests/torture.at (Substitute and define special characters):
  8236. Test '!' too.
  8237. 2006-11-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  8238. Rewrite config files generation: avoid quadratic growth in
  8239. the number of substituted variables by using awk instead of sed
  8240. for the bulk of the substitutions.
  8241. * NEWS: Mention this.
  8242. * doc/autoconf.texi (Setting Output Variables): `|#_!!_#|' is also
  8243. forbidden in the output (and thus input) file.
  8244. * lib/autoconf/status.m4 (_AC_AWK_LITERAL_LIMIT): New macro.
  8245. (_AC_OUTPUT_FILES_PREPARE): Instead of several sed scripts,
  8246. generate just one large awk script for substitutions,
  8247. eliminating much of the earlier complexity, while adding some
  8248. new complexity. Only expand the substitution templates at
  8249. configure time, for smaller configure script size. If
  8250. _AC_SUBST_FILES are used, test 'awk' for working getline support
  8251. at config.status time. If absent, interpolate through the
  8252. shell. The awk script was written with much help
  8253. from Paolo Bonzini and Paul Eggert.
  8254. (_AC_SED_CMD_NUM, _AC_SED_DELIM_NUM, _AC_SED_FRAG): Removed.
  8255. (_AC_SED_FRAG_NUM): Likewise.
  8256. (_AC_SUBST_CMDS): Renamed from...
  8257. (_AC_SED_CMDS): ...this.
  8258. (_AC_OUTPUT_FILE): Use _AC_SUBST_CMDS.
  8259. * tests/torture.at (Substitute a 2000-byte string): Also
  8260. substitute a line with 1000 words, and a variable with several
  8261. long lines.
  8262. (Substitute and define special characters): Test awk special
  8263. characters, and put substitution input strings `@foo@' in the
  8264. output, to test that no recursion happens; test several other
  8265. combinations from Paolo Bonzini.
  8266. 2006-11-25 Paul Eggert <eggert@cs.ucla.edu>
  8267. * lib/autotest/general.m4 (AT_INIT): Undo recent changes
  8268. that replaced echo with AS_ECHO where this wasn't necessary.
  8269. Problem reportd by Ralf Wildenhues.
  8270. * lib/m4sugar/m4sh.m4 (_AS_ECHO_PREPARE): Port to Solaris 7,
  8271. where "/usr/bin/printf '%s\n' S" dumps core if S is long.
  8272. This is Sun bug 4206210. Problem reportd by Ralf Wildenhues.
  8273. 2006-11-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  8274. * lib/freeze.mk (GREP): Removed, no need to initialize this.
  8275. 2006-11-21 Paul Eggert <eggert@cs.ucla.edu>
  8276. * doc/autoconf.texi (Limitations of Usual Tools): Don't claim
  8277. that traditional Awk lacks 3-arg "split". It has it.
  8278. Mention that FS must be a single character, and a few other
  8279. 99-byte limits of traditional Awk.
  8280. Mention that if (i in a) doesn't work with traditional Awk.
  8281. 2006-11-18 Paul Eggert <eggert@cs.ucla.edu>
  8282. * tests/autotest.at (BSx641-newline in command):
  8283. (BS-BS-newline in command, BSx640-newline in command):
  8284. (Newline-CODE-BS-newline in command):
  8285. (Single-quote-BS-newline in command):
  8286. (Single-quote-newline-BS-newline in command):
  8287. Use printf '%s\n' instead of echo, for portability to hosts
  8288. where echo interprets backslashes. This will break on hosts
  8289. that lack printf, but for now let's assume all such hosts
  8290. are dead (if not, we should get reports of test failures).
  8291. 2006-11-17 Paul Eggert <eggert@cs.ucla.edu>
  8292. 'echo' has some portability problems, when given a first argument
  8293. with a leading '-', or when given any argument containing '\'.
  8294. Avoid using 'echo' in these cases.
  8295. * bin/Makefile.am $(bin_SCRIPTS): Rewrite to avoid 'echo' entirely.
  8296. * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Likewise.
  8297. * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
  8298. * lib/autotest/general.m4 (AT_INIT): Likewise.
  8299. * bin/autoconf.as: Use AS_ECHO rather than plain echo, when the
  8300. argument might be unportable.
  8301. * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Likewise.
  8302. * lib/autoconf/erlang.m4 (AC_LANG(Erlang)): Likewise.
  8303. * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT):
  8304. (_AC_FC_LIBRARY_LDFLAGS): Likewise.
  8305. * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Likewise.
  8306. * lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE, _AC_INIT_PREPARE):
  8307. (_AC_ARG_VAR_VALIDATE, AC_ARG_PROGRAM, _AC_MSG_LOG_CONFTEST):
  8308. (AC_RUN_LOG, _AC_RUN_IFELSE, _AC_LIBOBJS_NORMALIZE): Likewise.
  8309. * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
  8310. * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Likewise.
  8311. * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH):
  8312. (AC_PROG_MAKE_SET): Likewise.
  8313. * lib/autoconf/status.m4 (_AC_SRCDIRS, _AC_OUTPUT_HEADER):
  8314. (_AC_OUTPUT_SUBDIRS, _AC_OUTPUT_CONFIG_STATUS): Likewise.
  8315. * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT, AT_INIT):
  8316. (AT_CLEANUP, _AT_DECIDE_TRACEABLE, _AT_CHECK): Likewise.
  8317. * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE, _AS_ECHO_UNQUOTED):
  8318. (_AS_BASENAME_SED, _AS_DIRNAME_SED, AS_MKDIR_P, AS_TMPDIR, AS_UNAME):
  8319. (AS_TR_SH, AS_TR_CPP, AS_VAR_GET): Likewise.
  8320. * bin/autoconf.as: Redo verbose flag implementation, as the old
  8321. scheme wouldn't work with AS_ECHO.
  8322. * lib/autotest/general.m4 (AT_INIT): Likewise.
  8323. * lib/autoconf/general.m4 (AC_MSG_RESULT, AC_MSG_RESULT_UNQUOTED):
  8324. Don't use ECHO_T, since ECHO_N is now reliable.
  8325. * lib/autotest/general.m4 (AT_INIT): Likewise.
  8326. * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Use sed "$script"
  8327. rather than using a here-document to put the script into a file.
  8328. (_AC_DO_ECHO): Hoist the eval out of the echo, so that we can
  8329. use AS_ECHO.
  8330. * lib/m4sugar/m4sh.m4 (AS_VAR_GET): Likewise.
  8331. * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Use
  8332. AS_ECHO_N rather than ECHO_N and ECHO_C. This doesn't fix any
  8333. bug, but we might as well stop using ECHO_N and ECHO_C internally.
  8334. * lib/autotest/general.m4 (AT_SETUP): Likewise.
  8335. * lib/m4sugar/m4sh.m4 (_AS_ECHO_N): Likewise.
  8336. * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
  8337. (_AC_OUTPUT_MAIN_LOOP): Rework echo so that it has just one
  8338. operand, as AS_ECHO requires. Avoid double file name expansion.
  8339. * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke _AS_ECHO_PREPARE.
  8340. Don't set as_nl, since _AS_ECHO_PREPARE does that now.
  8341. (_AS_PREPARE): Comment that _AS_ECHO_N_PREPARE is just for user code.
  8342. (AS_ECHO, AS_ECHO_N, _AS_ECHO_PREPARE): New macros.
  8343. * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
  8344. Double-quote strings that would otherwise contain M4 comments.
  8345. * tests/m4sh.at (AS_ECHO and AS_ECHO_N): New test.
  8346. * configure.ac (AC_INIT): Bump to 2.61a.
  8347. * NEWS: Likewise.
  8348. 2006-11-17 Paul Eggert <eggert@cs.ucla.edu>
  8349. Version 2.61.
  8350. * configure.ac (AC_INIT): Bump to 2.61.
  8351. * NEWS: Likewise.
  8352. * tests/autotest.at (Macro with backslash in a test title):
  8353. Comment out for now, as this tests neither fails nor passes
  8354. reliably. Problem reported by Ralf Wildenhues.
  8355. 2006-11-16 Paul Eggert <eggert@cs.ucla.edu>
  8356. * lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE): Fix some typos
  8357. in previous change, which caused test failures.
  8358. 2006-11-16 Stepan Kasal <kasal@ucw.cz>
  8359. * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Factor out
  8360. code for --enable, --disable, --with, and --without to...
  8361. (_AC_INIT_PARSE_ENABLE): ... a new macro.
  8362. * doc/autoconf.texi (Package Options):
  8363. * NEWS: Document that AC_ARG_ENABLE allows dots, too.
  8364. 2006-11-16 Paul Eggert <eggert@cs.ucla.edu>
  8365. Import these changes from config via gnulib:
  8366. 2006-11-15 Ben Elliston <bje@gnu.org>
  8367. From Josselin Mouette <joss@debian.org>:
  8368. * build-aux/config.guess (SX-8:SUPER-UX:*:*): New.
  8369. 2006-11-08 Ben Elliston <bje@gnu.org>
  8370. * build-aux/config.guess (authenticamd:Interix*:[3456]*): Another AMD64.
  8371. 2006-11-07 Steve Woodford <scw@NetBSD.org>
  8372. Ben Elliston <bje@gnu.org>
  8373. * build-aux/config.guess (*:NetBSD:*:*): Handle sh5el arch.
  8374. * build-aux/config.sub (sh5el): New basic_machine.
  8375. Import this change from coreutils:
  8376. 2006-02-13 Jim Meyering <jim@meyering.net>
  8377. * GNUmakefile (all): Emit diagnostics to stderr, not stdout.
  8378. Import this change from gnustandards via gnulib:
  8379. 2006-11-15 Karl Berry <karl@gnu.org>
  8380. * standards.texi: core -> memory, throughout.
  8381. (CPU Portability): show correct example of calling write
  8382. on a char value; thanks to Paul Eggert for the code.
  8383. Both of these suggestions from Eugene Y. Vasserman.
  8384. Import these changes from texinfo via gnulib:
  8385. 2006-11-08 Karl Berry <karl@gnu.org>
  8386. * build-aux/texinfo.tex (\dopdfimage): look for png, jpg/jpeg/JPG, and
  8387. as well as pdf images, since they are supported in pdftex with
  8388. no further ado.
  8389. 2006-11-05 Karl Berry <karl@gnu.org>
  8390. * doc/texinfo.tex (Image Syntax): don't mention GIF any more.
  8391. 2006-11-13 Paul Eggert <eggert@cs.ucla.edu>
  8392. * NEWS: Document the AC_ARG_WITH change.
  8393. 2006-11-13 Bruno Haible <bruno@clisp.org>
  8394. * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): For --with, --without
  8395. options, transliterate also dots to underscores.
  8396. (_AC_ENABLE_IF): Transliterate also dots to underscores.
  8397. * doc/autoconf.texi (External Software): Document that AC_ARG_WITH's
  8398. first argument may also contain dots.
  8399. 2006-11-09 Paul Eggert <eggert@cs.ucla.edu>
  8400. * tests/mktests.sh (ac_exclude_list): Exclude AC_PROG_CXX_C_O, for
  8401. benefit of platforms like Solaris+GCC where it is common to have a
  8402. non-working g++ installation.
  8403. 2006-11-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  8404. and Joel E. Denny <jdenny@ces.clemson.edu>
  8405. and Paul Eggert <eggert@cs.ucla.edu>
  8406. * tests/autotest.at (AT_CHECK_AT_TITLE): Fix shell quoting bugs
  8407. and non-portable sed scripts, and use $CONFIG_SHELL when invoking
  8408. ./micro-suite.
  8409. 2006-11-08 Paul Eggert <eggert@cs.ucla.edu>
  8410. * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Set
  8411. ac_cv_type_long_long_int to 'yes' instead of 'cross-compiling'.
  8412. Imported from a similar patch to gnulib by Bruno Haible.
  8413. 2006-11-08 Paul Eggert <eggert@cs.ucla.edu>
  8414. * NEWS: New macros AC_C_FLEXIBLE_ARRAY_MEMBER, AC_C_VARARRAYS.
  8415. * doc/autoconf.texi (C Compiler): Document them.
  8416. * lib/autoconf/c.m4 (AC_C_FLEXIBLE_ARRAY_MEMBER, AC_C_VARARRAYS):
  8417. New macros, taken from gnulib.
  8418. 2006-11-07 Paul Eggert <eggert@cs.ucla.edu>
  8419. * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Detect bug in
  8420. Tandem NonStop Kernel (OSS) cc -O circa 2004, reported by
  8421. Matthew Woehlke.
  8422. 2006-10-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  8423. * tests/torture.at (Configuring subdirectories): Do not skip
  8424. Automake 1.10 nor future Automake 11.1 (sic).
  8425. 2006-10-26 Joel E. Denny <jdenny@ces.clemson.edu>
  8426. and Stepan Kasal <kasal@ucw.cz>
  8427. Handle special characters in test case titles correctly.
  8428. * lib/autotest/general.m4 (AT_INIT): M4-quote and AS_ESCAPE AT_help_all
  8429. properly.
  8430. (AT_SETUP): M4-quote and AS_ESCAPE the title properly everywhere.
  8431. * tests/autotest.at (AT_CHECK_AT_TITLE): Add EXPANDED-TITLE-TO-TEST
  8432. argument. Extend to check titles printed by ./micro-suite and
  8433. ./micro-suite -l and the title in micro-suite.log.
  8434. (Backquote in a test title,
  8435. Single-quote in a test title,
  8436. Double-quote in a test title): Don't expect failure anymore.
  8437. (Backslash in a test title): Put a non-whitespace character after the
  8438. backslash so that Bourne shells might actually see it as an escape
  8439. sequence.
  8440. (Brackets in a test title,
  8441. Pound in a test title,
  8442. Comma in a test title,
  8443. Quoted Macro in a test title,
  8444. Macro in a test title,
  8445. Macro with single-quote in a test title): New tests.
  8446. (Macro with backquote in a test title,
  8447. Macro with double-quote in a test title,
  8448. Macro with backslash in a test title): New tests expected to fail.
  8449. * tests/torture.at (#define header templates): M4-quote this title in
  8450. AT_SETUP call so that no M4 code is commented inadvertently somewhere.
  8451. The visible effect was a stray [] in the testsuite output.
  8452. 2006-10-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  8453. * doc/autoconf.texi (Limitations of Builtins): Do not invoke
  8454. `trap ... 0' inside a function, for AIX sh.
  8455. 2006-10-26 Paul Eggert <eggert@cs.ucla.edu>
  8456. * tests/base.at (AC_COMPUTE_INT): Test **0** rather than 1 / 0,
  8457. since powerpc-apple-darwin8-gcc-4.0.1 (Apple Computer, Inc. build
  8458. 5363) simply issues a warning when dividing by zero at compile
  8459. time. Problem reported by Elias Pipping.
  8460. 2006-10-26 Eric Blake <ebb9@byu.net>
  8461. * THANKS: Update.
  8462. * doc/autoconf.texi (Evaluation Macros): Improve the example to
  8463. show effect on macros that expand with commas.
  8464. Reported by Joel E. Denny.
  8465. * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
  8466. Also work with M4 1.4.8.
  8467. 2006-10-25 Paul Eggert <eggert@cs.ucla.edu>
  8468. * doc/autoconf.texi (Slashes): Document Tru64 4.0 bug reported by
  8469. Jim Meyering.
  8470. 2006-10-25 Stepan Kasal <kasal@ucw.cz>
  8471. * tests/tools.at (autom4te --force): New test, verifies that
  8472. `--force' always rewrites the output file.
  8473. 2006-10-24 Paul Eggert <eggert@cs.ucla.edu>
  8474. * doc/autoconf.texi (Limitations of Usual Tools): Document that rm
  8475. needs operands on NetBSD 2.0.2. Problem reported by Bruno Haible.
  8476. 2006-10-24 Stepan Kasal <kasal@ucw.cz>
  8477. * tools/trace.at (autoconf --trace: user macros): Test `$%'.
  8478. 2006-10-24 Paul Eggert <eggert@cs.ucla.edu>
  8479. * lib/autoconf/specific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE):
  8480. If FUNCTION-BODY is nonempty, use AC_LINK_IFELSE rather than
  8481. AC_COMPILE_IFELSE, to work around problem with OSF/1 4.0F fseeko
  8482. reported by Nelson H. F. Beebe for Coreutils 6.4.
  8483. * tests/tools.at (autoconf --trace: user macros): Remove test
  8484. for tracing multiline macros, since m4 1.4.7a uses a different
  8485. way to number lines. Problem reported by Ralf Wildenhues.
  8486. 2006-10-24 Stepan Kasal <kasal@ucw.cz>
  8487. * bin/autom4te.in (handle_m4): Do not redirect stdin to
  8488. /dev/null since the heuristics for interactive behaviour was
  8489. fixed in CVS m4.
  8490. * bin/autom4te.in: With --force, always refresh the output
  8491. file. Problem reported by Greg Schafer <gschafer@zip.com.au>.
  8492. * bin/autoconf.as: Fix the verbose message at the end.
  8493. 2006-10-23 Paul Eggert <eggert@cs.ucla.edu>
  8494. * configure.ac (AC_INIT): Bump to 2.60c.
  8495. * NEWS: Likewise.
  8496. 2006-10-22 Paul Eggert <eggert@cs.ucla.edu>
  8497. * NEWS: Version 2.60b.
  8498. Import this change from Texinfo:
  8499. 2006-10-15 Karl Berry <karl@gnu.org>
  8500. * build-aux/texinfo.tex: automake 1.10
  8501. * NEWS: Remove AC_CACHE_CHECK_INT.
  8502. * doc/autoconf.texi (Caching Results): Likewise.
  8503. * lib/autoconf/general.m4 (_AC_CACHE_CHECK_INT): Renamed from
  8504. AC_CACHE_CHECK_INT, since it's no longer public.
  8505. * lib/autoconf/types.m4: All uses of AC_CACHE_CHECK_INT changed.
  8506. * tests/base.at (AC_COMPUTE_INT): Test this, not AC_CACHE_CHECK_INT.
  8507. 2006-10-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  8508. * doc/autoconf.texi (Limitations of Usual Tools): Fix two typos.
  8509. 2006-10-19 Eric Blake <ebb9@byu.net>
  8510. * lib/m4sugar/m4sugar.m4 (m4_mkstemp): New macro.
  8511. (m4_maketemp): Avoid warnings with M4 1.9a.
  8512. * lib/emacs/autoconf-mode.el (autoconf-font-lock-keywords): Color
  8513. m4_mkstemp.
  8514. * doc/autoconf.texi (Redefined M4 Macros): Document m4_mkstemp.
  8515. * NEWS: Likewise.
  8516. 2006-10-16 Eric Blake <ebb9@byu.net>
  8517. * doc/autoconf.texi (Setting Output Variables): Fix typo.
  8518. * bin/autoconf.as (version): Reword to match GNU Coding
  8519. Standards.
  8520. * bin/autoheader.in (version): Likewise.
  8521. * bin/autom4te.in (version): Likewise.
  8522. * bin/autoreconf.in (version): Likewise.
  8523. * bin/autoscan.in (version): Likewise.
  8524. * bin/autoupdate.in (version): Likewise.
  8525. * bin/ifnames.in (version): Likewise.
  8526. 2006-10-14 Stepan Kasal <kasal@ucw.cz>
  8527. * lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Expand $1 before
  8528. looking for special shell characters.
  8529. * lib/autoconf/functions.m4 (AC_CHECK_FUNC): Do not expand the
  8530. macro defined by AS_VAR_PUSHDEF before passing it as a
  8531. parameter.
  8532. * lib/autoconf/general.m4 (AC_CHECK_FILE, AC_CHECK_DECL):
  8533. * lib/autoconf/libs.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB):
  8534. * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW, AC_CHECK_MEMBER):
  8535. * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL):
  8536. (_AC_CHECK_HEADER_NEW, _AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_DIRENT):
  8537. Likewise.
  8538. * lib/autotest/general.m4 (AT_INIT): Quote parameters of
  8539. AS_VAR_* properly.
  8540. * tests/m4sh.at (AS_LITERAL_IF): New test.
  8541. 2006-10-14 Paul Eggert <eggert@cs.ucla.edu>
  8542. (Imported from Automake.)
  8543. * build-aux/install-sh (posix_mkdir): Reject FreeBSD 6.1 mkdir -p -m,
  8544. which incorrectly sets the mode of an existing destination
  8545. directory. In some cases the unpatched install-sh could do the
  8546. equivalent of "chmod 777 /" or "chmod 0 /" on a buggy FreeBSD
  8547. system. We hope this is rare in practice, but it's clearly worth
  8548. fixing. Problem reported by Alex Unleashed in
  8549. <http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00012.html>.
  8550. Also, don't bother to check for -m bugs unless we're using -m;
  8551. suggested by Stepan Kasal.
  8552. 2006-10-14 Paul Eggert <eggert@cs.ucla.edu>
  8553. Import this change from Automake:
  8554. 2006-08-23 Alexandre Duret-Lutz <adl@gnu.org>
  8555. * lib/Autom4te/ChannelDefs.pm (usage): Mention that -Wportability
  8556. is enabled by default with gnu and gnits strictness.
  8557. Report from Bruno Haible.
  8558. 2006-03-10 Alexandre Duret-Lutz <adl@gnu.org>
  8559. * lib/Autom4te/ChannelDefs.pm: Make -Wportability the default in
  8560. gnu and gnits modes.
  8561. Import this change from Config:
  8562. 2006-09-20 Ben Elliston <bje@gnu.org>
  8563. * build-aux/config.sub (score, score-*): New.
  8564. Import this change from Gnulib:
  8565. 2006-09-16 Karl Berry <karl@gnu.org>
  8566. * doc/fdl.texi (ADDENDUM): switch to @heading from @appendixsubsec,
  8567. to avoid sectioning errors.
  8568. Import these changes from Texinfo:
  8569. 2006-10-04 Karl Berry <karl@gnu.org>
  8570. * build-aux/texinfo.tex (\singlequotechar): rename to \codequoteright.
  8571. (\quoteexpand): rename to \rquoteexpand.
  8572. (\codequoteleft): new def, to look for @set codequotebacktick.
  8573. (\lquoteexpand, \quoteexpand): new defs.
  8574. (\lquoteChar, \rquoteChar, \dashChar, \underChar: new \chardef's.
  8575. (\code): must use new \...Char values, since now ` is active.
  8576. 2006-08-26 Karl Berry <karl@gnu.org>
  8577. * build-aux/texinfo.tex (\textdegree): New command.
  8578. 2006-08-12 Karl Berry <karl@gnu.org>
  8579. * build-aux/texinfo.tex (error \box0): smaller font.
  8580. 2006-10-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  8581. * doc/autoconf.texi (Autoheader Macros): Fix syntax error.
  8582. 2006-10-13 Stepan Kasal <kasal@ucw.cz>
  8583. * doc/autoconf.texi (Autoheader Macros): Warn that the text
  8584. added to the template can get mangled.
  8585. 2006-10-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  8586. * lib/autoconf/functions.m4 (AC_FUNC_OBSTACK): In the test,
  8587. include the default headers, and redefine obstack_chunk_alloc
  8588. and obstack_chunk_free. Fixes false failure with glibc.
  8589. 2006-10-12 Paul Eggert <eggert@cs.ucla.edu>
  8590. * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Set as_executable_p,
  8591. for backward compatibility with Libtool 1.5.22. Problem reported
  8592. by Ralf Wildenhues.
  8593. 2006-10-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  8594. * lib/autoconf/c.m4 (AC_PROG_GCC_TRADITIONAL): Require
  8595. AC_PROG_CC.
  8596. Report by IOhannes m zmoelnig <zmoelnig@iem.at>.
  8597. 2006-10-11 Paul Eggert <eggert@cs.ucla.edu>
  8598. * NEWS: AC_USE_SYSTEM_EXTENSIONS now defines _TANDEM_SOURCE for
  8599. the NonStop platform.
  8600. * doc/autoconf.texi (Posix Variants): Likewise.
  8601. * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): Likewise.
  8602. * lib/m4sugar/m4sh.m4 (AS_TEST_X): New macro.
  8603. (AS_EXECUTABLE_P): Use as_test_x rather than as_executable_p.
  8604. (_AS_TEST_PREPARE): Set as_test_x rather than as_executable_p.
  8605. Use a better substitute, by inspecting the output of "ls"
  8606. rather than just using ":".
  8607. * lib/autoconf/general.m4 (_AC_LINK_IFELSE): Use AS_TEST_X
  8608. rather than AS_EXECUTABLE_P, since we needn't worry about
  8609. non-regular files here.
  8610. * NEWS: Autoconf-generated shell scripts no longer export BIN_SH,
  8611. due to configuration hassles with this. See Tonya Underwood's report
  8612. <http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00003.html>.
  8613. * doc/autoconf.texi (Special Shell Variables): Likewise.
  8614. 2006-10-11 Paul Eggert <eggert@cs.ucla.edu>
  8615. Stepan Kasal <kasal@ucw.cz>
  8616. * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Don't set BIN_SH.
  8617. (_AS_DETECT_BETTER_SHELL): Don't look in /usr/bin/posix.
  8618. 2006-10-11 Stepan Kasal <kasal@ucw.cz>
  8619. * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Move the
  8620. initialization which is not inherited through the environment
  8621. (_AS_BOURNE_COMPATIBLE): ... to this new macro.
  8622. (_AS_RUN): Call _AS_BOURNE_COMPATIBLE, not AS_BOURNE_COMPATIBLE.
  8623. 2006-10-09 Paul Eggert <eggert@cs.ucla.edu>
  8624. * doc/autoconf.texi (Limitations of Usual Tools): Describe
  8625. problems with mkdir -p -m.
  8626. 2006-10-06 Paul Eggert <eggert@cs.ucla.edu>
  8627. * lib/autoconf/c.m4 (_AC_PROG_PREPROC_WORKS_IFELSE): Remove
  8628. comment about ac_cpp_err; it was incorrect, and anyway
  8629. ac_cpp_err is being removed below.
  8630. * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE): Don't
  8631. set ac_cpp_err to 'yesyes' if preproc_warn_flag and werror_flag
  8632. are both 'yes'. In fact, don't bother setting ac_cpp_err at all;
  8633. nobody uses it.
  8634. (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't log our funky tests
  8635. with werror_flag and conftest.err and so forth. This is more
  8636. compatible with how _AC_PROG_PREPROC_WORKS_IFELSE behaves,
  8637. and anyway the user shouldn't normally want to see this gorp logged.
  8638. Problem reported by Ralf Wildenhues.
  8639. * lib/autoconf/lang.m4 (AC_LANG_WERROR): werror_flag's default is
  8640. empty, not 'no', since the rest of the code uses 'test -z'.
  8641. 2006-10-04 Paul Eggert <eggert@cs.ucla.edu>
  8642. * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE):
  8643. Use a single call to AC_DO_TOKENS rather than multiple, for
  8644. efficiency.
  8645. (_AC_LINK_IFELSE): Test that resulting file is executable.
  8646. Problem reported by mwoehlke in
  8647. <http://lists.gnu.org/archive/html/bug-coreutils/2006-10/msg00048.html>.
  8648. * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Use "test -x /" rather
  8649. than creating a file to use with test -x; this is much faster.
  8650. 2006-10-02 Bruno Haible <bruno@clisp.org>
  8651. * lib/autom4te.in (Automake-preselections): Add
  8652. AM_GNU_GETTEXT_INTL_SUBDIR, for automake 1.10.
  8653. 2006-09-27 Stepan Kasal <kasal@ucw.cz>
  8654. * doc/autoconf.texi (Writing testsuite.at): Fix a typo: for
  8655. standard error, `experr' should be used, not `expout'.
  8656. 2006-09-26 Paul Eggert <eggert@cs.ucla.edu>
  8657. * lib/autoconf/functions.m4 (AC_FUNC_FSEEKO): Don't compile the
  8658. fseeko testing program twice; just use the earlier result.
  8659. * lib/autoconf/specific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE):
  8660. Set cache var to 'unknown' (not 'no') if leaving the macro unset
  8661. still doesn't let the program compile.
  8662. (AC_SYS_LARGEFILE): Test for _LARGE_FILES only if earlier tests
  8663. failed.
  8664. * lib/autoconf/functions.m4: Fix problems reported by Ralf Wildenhues.
  8665. (AC_FUNC_ERROR_AT_LINE): Don't bother to check for error.h. Just
  8666. include it, without including anything else.
  8667. (AC_FUNC_FSEEKO): Avoid gcc -Wall warnings about constant
  8668. expressions.
  8669. (AC_FUNC_STRNLEN): Require AC_USE_SYSTEM_EXTENSIONS.
  8670. 2006-09-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  8671. * lib/autoconf/functions.m4 (AC_FUNC_ERROR_AT_LINE): Check for
  8672. `error.h', and include it, for a `error_at_line' prototype.
  8673. Use a nonempty format string in the link test.
  8674. * lib/autoconf/functions.m4 (AC_FUNC_WAIT3): Include <sys/wait.h>,
  8675. for a declaration of wait3.
  8676. 2006-09-26 Paul Eggert <eggert@cs.ucla.edu>
  8677. * NEWS: AC_CHECK_DECL now also works with aggregate objects.
  8678. * doc/autoconf.texi (Generic Declarations): Clarify that AC_CHECK_DECL
  8679. can apply to constants too, and that it checks for macro defns.
  8680. * lib/autoconf/general.m4 (AC_CHECK_DECL): Assume C89 or better,
  8681. and simply cast the identifier to void. This handles structure
  8682. values. Problem reported by Ralf Wildenhues.
  8683. * tests/semantics.at (AC_CHECK_DECLS): Also check enums.
  8684. 2006-09-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  8685. * tests/semantics.at (AC_CHECK_DECLS): Also check macros,
  8686. structure, and function symbols.
  8687. 2006-09-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  8688. * tests/semantics.at (AC_CHECK_MEMBERS): Also test with a struct
  8689. member.
  8690. 2006-09-25 Paul Eggert <eggert@cs.ucla.edu>
  8691. * NEWS: Recommend M4 1.4.7 instead of 1.4.6.
  8692. * README: Likewise.
  8693. * doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
  8694. 2006-09-25 Paul Eggert <eggert@cs.ucla.edu>
  8695. and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  8696. * lib/autoconf/functions.m4 (AC_FUNC_OBSTACK): Avoid `gcc -Wall'
  8697. warnings (uninitialized value).
  8698. (AC_FUNC_UTIME_NULL): Likewise, test for and include <utime.h> if
  8699. present.
  8700. * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Likewise, add
  8701. parentheses.
  8702. (AC_STRUCT_TM): Likewise, avoid unused variables.
  8703. 2006-09-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  8704. * lib/autoconf/c.m4 (_AC_ARG_VAR_LDFLAGS): Update comment.
  8705. (_AC_ARG_VAR_LIBS): New macro: let LIBS be precious.
  8706. (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Call _AC_ARG_VAR_LIBS.
  8707. * lib/autoconf/fortran.m4 (AC_PROG_F77, AC_PROG_FC): Likewise.
  8708. Report by Olly Betts.
  8709. 2006-09-19 Eric Blake <ebb9@byu.net>
  8710. * m4/m4.m4: Change copyright.
  8711. * configure: Regenerate.
  8712. * Makefile.in: Likewise.
  8713. * bin/Makefile.in: Likewise.
  8714. * doc/Makefile.in: Likewise.
  8715. * lib/Makefile.in: Likewise.
  8716. * lib/Autom4te/Makefile.in: Likewise.
  8717. * lib/autoconf/Makefile.in: Likewise.
  8718. * lib/autoscan/Makefile.in: Likewise.
  8719. * lib/autotest/Makefile.in: Likewise.
  8720. * lib/emacs/Makefile.in: Likewise.
  8721. * lib/m4sugar/Makefile.in: Likewise.
  8722. * man/Makefile.in: Likewise.
  8723. * tests/Makefile.in: Likewise.
  8724. * m4/m4.m4 (AC_PROG_GNU_M4): Check for m4 --debugfile support.
  8725. * bin/Makefile.am (edit): Substitute M4_DEBUGFILE.
  8726. * bin/autom4te.in (handle_m4): Favor --debugfile over misnamed
  8727. --error-output, to avoid warnings with M4 2.0.
  8728. 2006-09-19 Stepan Kasal <kasal@ucw.cz>
  8729. * lib/autoconf/libs.m4 (AH_CHECK_LIB): Fix quoting, to be
  8730. consistent with _AH_CHECK_FUNCS and _AH_CHECK_HEADERS.
  8731. * lib/autoconf/headers.m4 (AH_CHECK_HEADERS_DIRENT): Likewise.
  8732. 2006-09-15 Stepan Kasal <kasal@ucw.cz>
  8733. * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Eliminate the
  8734. expansion of AC_CHECK_FUNCS.
  8735. 2006-09-14 Stepan Kasal <kasal@ucw.cz>
  8736. * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Remove a
  8737. mistaken comment: the path has to be relative; do not use
  8738. the path at runtime.
  8739. 2006-09-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  8740. * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote the
  8741. argument to `--prefix' for sub-configure scripts.
  8742. Pass `--silent' to sub-configure scripts.
  8743. * tests/torture.at (Configuring subdirectories): Add tests
  8744. for both changes.
  8745. * doc/autoconf.texi (Setting Output Variables): Fix example to
  8746. not show `--silent' being passed to a `configure' re-run.
  8747. 2006-09-12 Paul Eggert <eggert@cs.ucla.edu>
  8748. * doc/autoconf.texi (Input): Clarify role of AC_CONFIG_MACRO_DIR.
  8749. * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Do not check
  8750. for the existence of the directory at configure-time. That's
  8751. too late, anyway. Problem reported by Stefan Seefeld.
  8752. * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Avoid bug in UnixWare
  8753. 7.1.4 /usr/bin/posix/sh described by Tim Rice in
  8754. <http://lists.gnu.org/archive/html/bug-autoconf/2006-09/msg00017.html>.
  8755. 2006-09-11 Stepan Kasal <kasal@ucw.cz>
  8756. * tests/local.at (AT_CHECK_M4): Fix this so that the testsuite
  8757. works with GNU M4 1.4.3 again; make the normalized form
  8758. match the current m4 message; fix the description.
  8759. * test/tools.at (autom4te cache): Adapt to the change.
  8760. 2006-09-08 Paul Eggert <eggert@cs.ucla.edu>
  8761. * lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Add year_2050_test
  8762. to catch glibc bug 2821
  8763. <http://sourceware.org/bugzilla/show_bug.cgi?id=2821>.
  8764. Merge from gnulib as follows: Use AC_CHECK_HEADERS_ONCE instead of
  8765. AC_CHECK_HEADERS, and likewise for AC_CHECK_FUNCS_ONCE and
  8766. AC_CHECK_FUNCS. Don't check for stdlib.h, since we now
  8767. assume C89.
  8768. 2006-09-08 Stepan Kasal <kasal@ucw.cz>
  8769. * lib/autom4te.in (Autoconf-without-aclocal-m4): Move the
  8770. preselections ...
  8771. (Autoconf): ... here.
  8772. (Autoscan-preselections): Delete.
  8773. 2006-09-07 Stepan Kasal <kasal@ucw.cz>
  8774. * lib/autom4te.in (Automake-preselections): Preselect
  8775. AM_ENABLE_MULTILIB.
  8776. 2006-09-05 Paul Eggert <eggert@cs.ucla.edu>
  8777. * doc/autoconf.texi (Preset Output Variables): srcdir and
  8778. top_srcdir are not necessarily relative. Problem reported
  8779. by Dries Kimpe.
  8780. 2006-09-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  8781. * lib/autoconf/fortran.m4 (_AC_PROG_FC): Prefer xlf90/xlf95 over
  8782. f90/f95 because the latter drivers of AIX Fortran 9.1 do not
  8783. accept files with extension `.f'. For consistency, also prefer
  8784. xlf over f77.
  8785. * doc/autoconf.texi (Fortran Compiler): Remove mention of bug
  8786. from last patch.
  8787. 2006-09-05 Romain Lenglet <rlenglet@users.forge.objectweb.org>
  8788. * lib/autoconf/erlang.m4 (AC_ERLANG_CHECK_LIB): Added substitution
  8789. of ERLANG_LIB_VER_* variables.
  8790. * doc/autoconf.texi (Erlang Libraries): Document ERLANG_LIB_VER_*
  8791. variables.
  8792. 2006-09-03 Paul Eggert <eggert@cs.ucla.edu>
  8793. and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  8794. * doc/autoconf.texi (Limitations of Builtins): Document 'unset'
  8795. bugs of Bash 2.01 and 2.05a.
  8796. (Fortran Compiler): Document that AC_PROG_CC should be called
  8797. before AC_PROG_FC, due to a bug in Autoconf.
  8798. 2006-09-01 Paul Eggert <eggert@cs.ucla.edu>
  8799. * NEWS: New macro AC_CACHE_CHECK_INT. It replaces the
  8800. old AC_COMPUTE_INT, which now behaves like _AC_COMPUTE_INT
  8801. except the first two arguments are reversed.
  8802. * doc/autoconf.texi (Caching Results): New macro AC_CACHE_CHECK_INT.
  8803. (Generic Compiler Characteristics): AC_COMPUTE_INT no longer
  8804. caches nor outputs a diagnostic. Suggested by Bruno Haible.
  8805. * lib/autoconf/general.m4 (AC_CACHE_CHECK_INT): New macro,
  8806. equivalent to the old AC_COMPUTE_INT.
  8807. (AC_COMPUTE_INT): No longer caches or reports. New signature.
  8808. All uses changed to AC_CACHE_CHECK_INT.
  8809. * tests/base.at (AC_CACHE_CHECK_INT): New test.
  8810. * tests/mktests.sh (ac_exclude_list): Add AC_CACHE_CHECK_INT.
  8811. 2006-08-31 Paul Eggert <eggert@cs.ucla.edu>
  8812. * NEWS: AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_FUNC_GETLOADVG,
  8813. and AC_REPLACE_FNMATCH are now obsolescent in Autoconf. New
  8814. programs should use their Gnulib counterparts.
  8815. * doc/autoconf.texi (Particular Functions): Likewise.
  8816. (Macro Names, testsuite Invocation): Replace uses of these
  8817. obsolete macros with uses of non-obsolete macros.
  8818. 2006-08-29 Eric Blake <ebb9@byu.net>
  8819. * configure.ac (AC_INIT): Bump to 2.60b.
  8820. * NEWS: Update.
  8821. 2006-08-28 Eric Blake <ebb9@byu.net>
  8822. * lib/autoconf/headers.m4 (AC_HEADER_STAT): Fix logic that was
  8823. mistakenly swapped on 2006-08-15.
  8824. 2006-08-25 Paul Eggert <eggert@cs.ucla.edu>
  8825. * NEWS: Version 2.60a.
  8826. 2006-08-25 Stepan Kasal <kasal@ucw.cz>
  8827. * lib/autoconf/general.m4 (_AC_LINK_IFELSE): Remove the IPA/IPO
  8828. file created by the PGI compiler.
  8829. 2006-08-25 Noah Misch <noah@cs.caltech.edu>
  8830. * lib/Autom4te/General.pm (END): Use `File::Path::rmtree' to
  8831. simplify the code.
  8832. 2006-08-25 Paul Eggert <eggert@cs.ucla.edu>
  8833. Fix Lex library problem reported to us by Julio Garvia.
  8834. * doc/autoconf.texi (Particular Programs): YYTEXT_POINTER is
  8835. for the default, which the user can override.
  8836. * lib/autoconf/programs.m4 (AC_PROG_LEX): Let _AC_PROG_LEX_YYTEXT_DECL
  8837. deal with LEXLIB.
  8838. (_AC_PROG_LEX_YYTEXT_DECL): Handle caching correctly; the old code
  8839. didn't work if some values were cached but not others. Test for
  8840. broken lex libraries like native ia64-hp-hpux11.22; see
  8841. <http://sources.redhat.com/ml/binutils/2003-12/msg00337.html>, and
  8842. work around the problem by preferring an empty LEXLIB to -lfl or
  8843. -ll. Let the user set LEXLIB='' to indicate no library needed.
  8844. * NEWS: Recommend M4 1.4.6 instead of 1.4.5.
  8845. * README: Likewise.
  8846. * doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
  8847. 2006-08-24 Paul Eggert <eggert@cs.ucla.edu>
  8848. Rework to use more-modern build style.
  8849. Many files are renamed; all uses of their names were changed.
  8850. * .x-sc_trailing_blank: Renamed from .x-sc_trailing_space.
  8851. * .x-sc_useless_cpp_parens: New file.
  8852. * build-aux/config.guess: Renamed from config/config.guess. Update.
  8853. * build-aux/config.sub: Renamed from config/config.sub. Update.
  8854. * build-aux/elisp-comp: Renamed from config/elisp-comp.
  8855. * build-aux/install-sh: Renamed from config/install-sh. Update.
  8856. * build-aux/mdate-sh: Renamed from config/mdate-sh.
  8857. * build-aux/missing: Renamed from config/missing.
  8858. * build-aux/texinfo.tex: Renamed from config/texinfo.tex. Update.
  8859. * build-aux/vc-list-files: Renamed from config/vc-list-files.
  8860. * config/Makefile.am: Removed.
  8861. * config/mkinstalldirs: Removed.
  8862. * config/move-if-change: Removed.
  8863. * m4/m4.m4: Renamed from config/m4.m4. Add (C) to copyright notice.
  8864. * Makefile.am (SUBDIRS): Remove config.
  8865. (ACLOCAL_AMFLAGS): Include from m4, not config.
  8866. (EXTRA_DIST): Add config/announce-gen, config/prev-version.txt.
  8867. (WGET, WGETFLAGS): New macros, since Makefile.maint no longer does this.
  8868. (autom4te-update): Rewrite with a loop. Get from gnulib, not automake.
  8869. Fail if there's an error.
  8870. * Makefile.cfg (move_if_change): Remove.
  8871. (wget_files): Remove.
  8872. (cvs_executable_files): New macro.
  8873. (cvs_files): Use it. Remove mkinstalldirs. Add fdl.texi.
  8874. (executable-update): Use $(cvs_executable_files).
  8875. (local-checks-to-skip): Remove.
  8876. * Makefile.maint: Merge from coreutils, plus add our own changes
  8877. (gzip_rsyncable): New macro.
  8878. (GZIP_ENV): Use it.
  8879. (CVS_LIST): Use build-aux/vc-list-files.
  8880. (VERSION_REGEXP): New macro.
  8881. (local-checks-available): Add patch-check, $(syntax-check-rules),
  8882. check-AUTHORS.
  8883. (syntax-check-rules): Compute dynamically.
  8884. (sc_cast_of_x_alloc_return_value): Work even if no source files.
  8885. (sc_cast_of_alloca_return_value): Likewise.
  8886. (sc_prohibit_atoi_atof): Simplify regexp.
  8887. (sc_no_if_have_config_h, sc_require_config_h):
  8888. (sc_prohibit_assert_without_use,
  8889. (sc_obsolete_symbols): Check for O_NDELAY.
  8890. (sc_texi_notab): Remove.
  8891. (sc-changelog): Don't make an exception for '----' lines.
  8892. (.re-list): Remove, so we don't have a junk file behind.
  8893. (sc_system_h_headers): Remove the need for .re-list.
  8894. (sc_the_the): New rule.
  8895. (sc_tight_scope): Simplify.
  8896. (sc_trailing_blank): Renamed from sc_trailing_space.
  8897. (longopt_re): New macro.
  8898. (sc_two_space_separator_in_usage): New rule.
  8899. (sc_unmarked_diagnostics): Look at all files under CVS.
  8900. (sc_useless_cpp_parens, patch-check, check-AUTHORS): New rules.
  8901. (news-date-check, changelog-check): Version is OK.
  8902. (po-check): Look for lib files even if not in CVS.
  8903. (copyright-check): Use $() not ``.
  8904. (maintainer-distcheck): Do not depend on changelog-check.
  8905. (my-distcheck): Depend on $(release_archive_dir)/$(prev-tgz).
  8906. Also check for -Wpointer-arith.
  8907. (WGET, WGETFLAGS, tgz-md5, tgz-sha1, bz2-md5, bz2-sha1):
  8908. (xdelta-md5, xdelta-sha1, tgz-size, bz2-size, xd-size, rel-check):
  8909. Remove.
  8910. (announcement): Add --gpg-key-id arg.
  8911. (cvs-sv): Remove.
  8912. (move_if_change): Just use mv.
  8913. (local_updates: Remove wget-update, po-update.
  8914. (po_repo, do-po-update, po-update, wget_files, get-targets): Remove.
  8915. (config.guess-url_prefix, config.sub-url_prefix): Remove.
  8916. (ansi2knr.c-url_prefix, texinfo.tex-url_prefix):
  8917. (standards.texi-url_prefix, make-stds.texi-url_prefix, target, url):
  8918. ($(get-targets)): Remove.
  8919. (cvs_files): Remove missing, mkinstalldirs, ansi2knr.c.
  8920. (gnulib_repo): Renamed from automake_repo. Get from gnulib now.
  8921. (cvs-update): Get from gnulib.
  8922. (emut_upload_commands): gnupload is in build-aux now.
  8923. (alpha beta major): Add changelog-check. Check version.
  8924. * configure.ac (AC_CONFIG_AUX_DIR): Renamed from config to build-aux.
  8925. (AC_CONFIG_FILES): Remove.
  8926. * bin/autoconf.as: Add spaces to avoid distcheck warning.
  8927. * config/announce-gen: Sync from coreutils.
  8928. * doc/make-stds.texi: Sync from gnulib.
  8929. * doc/standards.texi: Likewise.
  8930. * man/Makefile.am: Adjust for config -> build-aux renaming.
  8931. * tests/Makefile.am: Prefer $(FOO) to @FOO@.
  8932. * tests/local.at: Adjust from config -> build-aux renaming.
  8933. * tests/tools.at: Likewise.
  8934. * tests/torture.at: Likewise.
  8935. * NEWS: The C99 check now tests for vararg macros and 64-bit
  8936. preprocessor ints.
  8937. * doc/autoconf.texi (C Compiler): Document // comments, va_copy.
  8938. * lib/autoconf/c.m4 (_AC_PROG_CC_C99): Test varargs macros and
  8939. 64-bit preprocessor ints. Check for static initialization of
  8940. long long. Remove unnecessary casts.
  8941. 2006-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  8942. * doc/autoconf.texi (Particular Programs): Mention that
  8943. @INSTALL@ and @MKDIR_P@ may vary for different output files.
  8944. Reported by Alexandre Duret-Lutz.
  8945. 2006-08-24 Paul Eggert <eggert@cs.ucla.edu>
  8946. * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Also ignore
  8947. -lgcc?* and -lSystem, for Darwin/MacOS X. Problem reported by
  8948. Bill Northcott in
  8949. <http://lists.gnu.org/archive/html/autoconf/2006-08/msg00083.html>.
  8950. 2006-08-22 Paul Eggert <eggert@cs.ucla.edu>
  8951. * lib/autoconf/c.m4 (AC_C_CONST): Don't used shadowed vars, to
  8952. pacify insanely picky compilers. Problem reported by Eric Blake.
  8953. * doc/autoconf.texi (Posix Variants): INTERACTIVE Unix is no
  8954. longer supported by Sun.
  8955. 2006-08-15 Paul Eggert <eggert@cs.ucla.edu>
  8956. * NEWS: Autoconf now uses constructs like "#ifdef HAVE_STDLIB_H"
  8957. rather than "#if HAVE_STDLIB_H", so that it now works with "gcc
  8958. -Wundef -Werror". Problem reported by David Fang in
  8959. <http://lists.gnu.org/archive/html/autoconf/2006-08/msg00045.html>.
  8960. * doc/autoconf.texi (Header Templates, Default Includes):
  8961. (Particular Functions, Generic Functions, Header Portability):
  8962. (Particular Headers, Generic Headers, Generic Declarations, Guidelines):
  8963. (Obsolete Macros, AC_FOO_IFELSE vs AC_TRY_FOO):
  8964. (Present But Cannot Be Compiled, Preprocessor Symbol Index):
  8965. Prefer #ifdef to #if.
  8966. * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prefer #ifdef to #if.
  8967. * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, _AC_FUNC_MALLOC_IF):
  8968. (AC_FUNC_MKTIME, AC_FUNC_MMAP, _AC_FUNC_REALLOC_IF):
  8969. (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETVBUF_REVERSED, _AC_FUNC_VFORK):
  8970. Likewise.
  8971. * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
  8972. (AC_HEADER_RESOLV, AC_HEADER_STAT): Likewise.
  8973. * lib/autoconf/specific.m4 (AC_DECL_SYS_SYGLIST):
  8974. (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
  8975. * lib/autoconf/headers.m4 (AC_HEADER_STAT): Don't assume that
  8976. S_ISDIR etc. are valid for use in #if; POSIX doesn't guarantee
  8977. this.
  8978. 2006-08-14 Paul Eggert <eggert@cs.ucla.edu>
  8979. * doc/autoconf.texi (Limitations of Usual Tools): Document sed
  8980. problems with arg script text that doesn't end in newline, and
  8981. with '-e a...'. Problems reported by Ralf Wildenhues.
  8982. 2006-08-12 Alexandre Julliard <julliard@winehq.org> (tiny change)
  8983. * lib/autoconf/libs.m4 (AC_PATH_X_DIRECT): Replace another
  8984. check for libXt by a check for libX11.
  8985. 2006-08-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  8986. * doc/autoconf.texi (config.status Invocation): Adjust according
  8987. to last change.
  8988. 2006-08-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  8989. * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): `config.status
  8990. --help' should mention that `--version' outputs configuration
  8991. settings. Report by Bruno Haible.
  8992. 2006-08-06 Paul Eggert <eggert@cs.ucla.edu>
  8993. Fix test suite failures reported by Pierre in
  8994. <http://lists.gnu.org/archive/html/bug-autoconf/2006-08/msg00005.html>.
  8995. * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't claim
  8996. the compiler created a file "b.out" when it didn't create anything
  8997. at all.
  8998. * lib/autoconf/specific.m4 (AC_SYS_INTERPRETER):
  8999. Discard stderr too, when invoking the test script.
  9000. 2006-08-05 Alexandre Julliard <julliard@winehq.org> (tiny change)
  9001. * lib/autoconf/libs.m4 (AC_PATH_XTRA): Fixed a typo
  9002. in the restoring of the werror flag.
  9003. 2006-07-24 Paul Eggert <eggert@cs.ucla.edu>
  9004. * doc/autoconf.texi (Volatile Objects): Be even a little
  9005. less skeptical about "volatile", after discussion with
  9006. Bruno Haible on bug-gnulib.
  9007. (Limitations of Usual Tools): Warn about sed stripping
  9008. leading white space from text. From Bruno Haible.
  9009. 2006-07-20 Paul Eggert <eggert@cs.ucla.edu>
  9010. * lib/autoconf/libs.m4 (AC_PATH_XTRA): Don't use -R if the
  9011. compiler complains about it, even if things works after the
  9012. complaint. Problem reported by Peter O'Gorman.
  9013. * doc/autoconf.texi (Preset Output Variables): Document CFLAGS,
  9014. CPPFLAGS, and LDFLAGS better. Problem reported by Bruno Haible.
  9015. Similarly for CXXFLAGS, OBJCFLAGS, ERLCFLAGS.
  9016. 2006-07-17 Paul Eggert <eggert@cs.ucla.edu>
  9017. * lib/autoconf/libs.m4 (AC_PATH_XTRA): Do the check for space
  9018. after -R regardless of host. Patrick Welche reports that this
  9019. fixes things on NetBSD 3.99.
  9020. * NEWS: Recommend M4 1.4.5.
  9021. * README: Likewise.
  9022. * doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
  9023. * tests/tools.at (autom4te cache): Update wording of diagnostic
  9024. to match M4 1.4.5.
  9025. 2006-07-07 Paul Eggert <eggert@cs.ucla.edu>
  9026. * doc/autoconf.texi (C Compiler): Add a ref to Volatile Objects
  9027. under AC_C_VOLATILE.
  9028. (Volatile Objects): Be a little less skeptical about what
  9029. "volatile" means. Derived from thoughts by Ben Pfaff in
  9030. <http://lists.gnu.org/archive/html/bug-gnulib/2006-07/msg00092.html>.
  9031. 2006-07-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  9032. * doc/autoconf.texi: Fix some typos.
  9033. 2006-07-07 Paul Eggert <eggert@cs.ucla.edu>
  9034. * tests/torture.at (Configuring subdirectories): Set CONFIG_SITE
  9035. more globally, since the 2006-06-30 patch didn't suffice. Problem
  9036. reported by Keith Marshall. Also, don't bother with builddir2,
  9037. since it shouldn't be needed any more.
  9038. 2006-07-07 Paolo Bonzini <bonzini@gnu.org>
  9039. * doc/autoconf.texi (Generic compiler characteristics):
  9040. Document AC_COMPUTE_INT. Fix wrong statements on Default
  9041. Includes for AC_CHECK_SIZEOF and AC_CHECK_ALIGNOF.
  9042. * lib/autoconf/general.m4 (AC_COMPUTE_INT): New.
  9043. (_AC_COMPUTE_INT): Add obsoletion warnings.
  9044. * lib/autoconf/types.m4 (AC_CHECK_SIZEOF, AC_CHECK_ALIGNOF): Use
  9045. AC_COMPUTE_INT.
  9046. * NEWS: Document change.
  9047. 2006-07-05 Paul Eggert <eggert@cs.ucla.edu>
  9048. * doc/autoconf.texi (Volatile Objects): New section.
  9049. * NEWS: Document previous change.
  9050. 2006-07-02 Paul Eggert <eggert@cs.ucla.edu>
  9051. * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT):
  9052. Require that long long int be at least 64 bits wide. C99 requires
  9053. this and enough programs depend on it so we should check for it.
  9054. Bruno Haible reports in
  9055. <http://lists.gnu.org/archive/html/bug-gnulib/2006-06/msg00286.html>
  9056. that long long int is 32 bits wide with some nonstandard compilers.
  9057. (AC_TYPE_UNSIGNED_LONG_LONG_INT): Likewise.
  9058. 2006-06-30 Paul Eggert <eggert@cs.ucla.edu>
  9059. * tests/torture.at (Configuring subdirectories): Set CONFIG_SITE
  9060. to a nonexistent file, so that we don't have to worry about
  9061. a local site configuration that doesn't use /usr/local.
  9062. Problem reported by Keith Marshall in
  9063. <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00133.html>.
  9064. 2006-06-28 Paul Eggert <eggert@cs.ucla.edu>
  9065. * doc/autoconf.texi: Be more consistent about using @acronym with
  9066. "HP" and "HP-UX". Remove mention of OSF; the old version wasn't
  9067. quite right (it talked about "OSF/Tru64", even though the
  9068. operating systems were called OSF/1, Digital UNIX, and Tru64 UNIX,
  9069. and it even mentioned "OSF 4"!) and at this point there's little
  9070. reason to talk about OSF any more, since it died in 1994.
  9071. (Specific Compiler Characteristics): Simplify example of
  9072. negative-size array.
  9073. (File Descriptors): Reorder to make the text flow better.
  9074. Remove joke about "appreciate the various levels"; I didn't get it.
  9075. Add remark about HP-UX sh -x bug with stderr noted by Bob Proulx in
  9076. <http://lists.gnu.org/archive/html/bug-coreutils/2006-06/msg00225.html>.
  9077. (File Descriptors, Limitations of Usual Tools):
  9078. Tone down the advice against renaming or removing open files.
  9079. (Limitations of Usual Tools): Add a new section, on 'rm'.
  9080. 2006-06-26 Stepan Kasal <kasal@ucw.cz>
  9081. * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Use -lX11, not
  9082. -lXt in LIBS, idea from Karsten Hopp; this was due since
  9083. this change:
  9084. 2005-09-18 Paul Eggert <eggert@cs.ucla.edu>
  9085. * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Look for X11/Xlib.h
  9086. and XrmInitialize rather than X11/Intrinsic.h and XtMalloc
  9087. (which belong to Xt, not X itself). See Debian bug 327655.
  9088. 2006-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  9089. * configure.ac (AC_INIT): Bump to 2.60a.
  9090. * NEWS: Update.
  9091. 2006-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  9092. Version 2.60.
  9093. * configure.ac, NEWS: Update.
  9094. 2006-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  9095. * config/texinfo.tex: Sync from upstream.
  9096. * bin/autom4te.in (handle_traces): Transform the `@S|@'
  9097. quadrigraph correctly in traces.
  9098. * NEWS, lib/Autom4te/C4che.pm, lib/autoconf/functions.m4:
  9099. Fix typos.
  9100. * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Expand tests for
  9101. datarootdir-related errors only if AC_DATAROOTDIR_CHECKED is
  9102. not defined.
  9103. * doc/autoconf.texi (Changed Directory Variables): New node,
  9104. to document the whole `datarootdir' business a bit better.
  9105. * NEWS: Update.
  9106. * tests/torture.at (datarootdir workaround): Extend test.
  9107. Prompted by report by Alexandre Julliard.
  9108. 2006-06-22 Paul Eggert <eggert@cs.ucla.edu>
  9109. * lib/autoconf/c.m4 (_AC_PROG_CC_C89): Check for C89 incompatibility
  9110. when using default mode of IBM C 6 for AIX. Problem and two-line
  9111. fix reported by Larry Jones.
  9112. 2006-06-22 Alexandre Julliard <julliard@winehq.org>
  9113. * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Avoid warning
  9114. about literal '${datarootdir}' if a definition is found in the
  9115. output file.
  9116. 2006-06-20 Paul Eggert <eggert@cs.ucla.edu>
  9117. * NEWS: Use "M4" rather than "m4" when appropriate.
  9118. Problem reported by Eric Blake.
  9119. * doc/autoconf.texi: Likewise.
  9120. Use @acronym around BSD, GCC, and GNU when appropriate.
  9121. (Why GNU M4): Renamed from "Why GNU m4".
  9122. (Redefined M4 Macros): Mention that Posix
  9123. m4wrap takes only 1 argument, but GNU M4 1.4.x takes more.
  9124. (Buffer Overruns): Mention size_t and ptrdiff_t as alternatives
  9125. to int.
  9126. 2006-06-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  9127. * bin/autom4te.in (handle_output): Do not forbid the empty
  9128. pattern.
  9129. * tests/tools.at (autoconf: the empty token): New test.
  9130. 2006-06-20 Stepan Kasal <kasal@ucw.cz>
  9131. * lib/m4sugar/m4sugar.m4 (m4_init): Merge the two m4_wrap
  9132. calls, so that we do not care whether they are LIFO or FIFO;
  9133. in the m4_wrap, do not check which diversion is the topmost
  9134. one, just check that the stack is balanced at the end.
  9135. * lib/m4sugar/m4sh.m4 (AS_INIT): We are going to change the
  9136. base diversion forever--pop the previous diversion before
  9137. opening the new one; consequently, remove the m4_wrap call.
  9138. * lib/autotest/general.m4 (AT_INIT): Likewise.
  9139. * tests/m4sugar.at: Do not use
  9140. m4_wrap([m4_diversion_pop([..])]), for educational purposes.
  9141. 2006-06-19 Paul Eggert <eggert@cs.ucla.edu>
  9142. and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  9143. * NEWS: Document that m4wrap/m4_wrap might not be LIFO.
  9144. * doc/autoconf.texi (Redefined M4 Macros): Likewise.
  9145. Rework example of m4wrap token-pasting trouble so that it doesn't
  9146. care whether it's LIFO or FIFO.
  9147. Fix some "contrary to"s that are awkward in English.
  9148. 2006-06-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  9149. * lib/autoconf/types.m4 (_AC_TYPE_INT): Set `$ac_cv_c_int$1_t'
  9150. to `yes' instead of `int$1_t' if the type is found, for more
  9151. consistent configure output (where $1 is the number of bits).
  9152. (_AC_TYPE_UINT): Likewise for `uint$1_t'.
  9153. Suggested by Bruno Haible.
  9154. * lib/autoconf/types.m4 (_AC_TYPE_UNSIGNED_INT): Solaris 2.5.1
  9155. needs _UINT8_T and _UINT64_T defines as well, to avoid clashes
  9156. with system headers. Report by Bruno Haible.
  9157. 2006-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  9158. * config/config.guess, config/config.sub: Sync from upstream.
  9159. * bin/Makefile.am (autoconf.in): Use `--melt' for autom4te,
  9160. in order to avoid picking up an older installed frozen m4sh.m4f.
  9161. Besides an outdated shell startup, this could have been created
  9162. by an earlier M4 version with incompatible frozen file format.
  9163. 2006-06-16 Paul Eggert <eggert@cs.ucla.edu>
  9164. * README: Recommend m4 1.4.4 instead of 1.4.3..
  9165. * doc/autoconf.texi: Likewise.
  9166. (Special Chars in Names): Say that $(.FOO) is portable, as
  9167. suggested by Stepan Kasal.
  9168. (Installation Directory Variables, Build Directories):
  9169. (Automatic Remaking, Subdirectories, Fortran Compiler):
  9170. (Making testsuite Scripts, Defining Directories):
  9171. Quote variable usages better.
  9172. (Making testsuite Scripts): Add clean-local rule to makefile
  9173. snippet, by Eric Blake.
  9174. (Installation Directory Variables): Fix table item font.
  9175. Reword slightly to clarify. Generalize advice about
  9176. not using special characters to include all file-related
  9177. vars, not just VPATH.
  9178. (Special Chars in Variables): Warn about special characters in
  9179. $(srcdir) too.
  9180. (Assignments): Clarify default-value example as suggested by
  9181. Ralf Wildenhues in
  9182. <http://lists.gnu.org/archive/html/autoconf-patches/2006-06/msg00072.html>.
  9183. (Special Shell Variables): Note leading ./ or ../, as suggested
  9184. by Eric Blake.
  9185. (Limitations of Builtins): Under cd, warn about CDPATH.
  9186. (The Make Macro MAKEFLAGS): Untabify. Problem reported by
  9187. Ralf Wildenhues.
  9188. 2006-06-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  9189. * doc/autoconf.texi (Configuration Actions): Remove duplicate
  9190. `@var', for texi2html.
  9191. (Systemology): Some more word wrapping, for DVI output.
  9192. (autom4te Invocation): The short option for `--melt' is `-M',
  9193. not `-m'.
  9194. 2006-06-15 Paul Eggert <eggert@cs.ucla.edu>
  9195. * doc/autoconf.texi: More formatting and English tweaks,
  9196. many suggested by Ralf Wildenhues.
  9197. Reword to avoid "@code{...}'s" and the like, since it's ugly
  9198. with Emacs info mode. discontents -> woes.
  9199. Put a few "will"s back. time stamp -> timestamp.
  9200. side-effect -> side effect.
  9201. 2006-06-14 Paul Eggert <eggert@cs.ucla.edu>
  9202. * doc/autoconf.texi (Initializing configure, Shell Substitutions):
  9203. Warn about $@ not persisting. Problem reported by Julien Danjou in
  9204. <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=372179>.
  9205. (Special Chars in Names): Renamed from Leading _ in Macro Names.
  9206. Mention other special chars, too.
  9207. 2006-06-14 Eric Blake <ebb9@byu.net>
  9208. * doc/autoconf.texi (The Make Macro MAKEFLAGS): New node.
  9209. 2006-06-13 Paul Eggert <eggert@cs.ucla.edu>
  9210. * doc/autoconf.texi: Some systematic minor improvements, as
  9211. follows. Use "makefile" when talking about makefiles
  9212. generally (which might be named "makefile" or "Makefile" or even
  9213. "foo.mk"), "Makefile" when talking about a specific makefile
  9214. called "Makefile". This unclutters the text from weird quotes
  9215. (e.g., "`Makefile's" in info mode). Similarly, use "@var{foo}
  9216. values" rather than "@var{foo}s" and similar constructs containing
  9217. "}s". Use "Make rules" rather than "Makefile rules". Minor
  9218. English-language improvements. Change the prefix "sub-" to "sub"
  9219. and "re-" to "re".
  9220. Put blank lines around examples more consistently.
  9221. Avoid "rather" and "very" as intensifiers.
  9222. Avoid "will" as an auxiliary.
  9223. (Limitations of Make): Split this node into....
  9224. (Portable Make, $< in Ordinary Make Rules, Failure in Make Rules):
  9225. (Leading _ in Macro Names, Backslash-Newline-Newline):
  9226. (Backslash-Newline Comments, Long Lines in Makefiles):
  9227. (Macros and Submakes, The Make Macro SHELL, Comments in Make Rules):
  9228. (obj/ and Make, make -k Status, VPATH and Make):
  9229. (VPATH and Double-colon, $< in Explicit Rules):
  9230. (Automatic Rule Rewriting, OSF/Tru64 Directory Magic):
  9231. (Make Target Lookup, Single Suffix Rules, Timestamps and Make):
  9232. New nodes, resulting from splitup of Limitations of Make.
  9233. All cross-references changed. Raise the top node from
  9234. a section to a chapter, and all subnodes accordingly.
  9235. Redo the introductory wording to match the new organization.
  9236. (Installation Directory Variables): Use an example that is
  9237. closer to what Autoconf actually does. Mention that VPATH's
  9238. value should not contain metacharacters or white space.
  9239. (Fortran Compiler): Fix a VPATH bug in an example.
  9240. (Leading _ in Macro Names): Mention that this problem is no longer
  9241. of practical concern.
  9242. (VPATH and Make): Reword the advice to make it clearer
  9243. that Autoconf and Automake support VPATH in non-GNU make, but
  9244. many packages have bugs in this area.
  9245. ($< in Explicit Rules): Refer to Build Directories rather
  9246. than using a (non-VPATH-safe) example.
  9247. (Automatic Rule Rewriting): Mention the sort of disaster that
  9248. can ensue with Solaris-style rule rewriting with VPATH.
  9249. 2006-06-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  9250. * doc/install.texi (Compilers and Options): Weaken the
  9251. suggestion to use GNU make for VPATH builds.
  9252. * lib/autom4te.in (Automake-preselections): Add AM_PROG_CXX_C_O,
  9253. AM_PROG_F77_C_O, AM_PROG_FC_C_O, AC_FC_SRCEXT, AC_FC_FREEFORM.
  9254. * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Fix M4 quotation
  9255. in regular expression.
  9256. 2006-06-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  9257. * doc/autoconf.texi (Installation Directory Variables):
  9258. Drop extra @samp from `@table @samp' item.
  9259. (Limitations of Usual Tools): Comment fix.
  9260. Do not nest @samp just to point to other table items.
  9261. (Writing testsuite.at) <AT_CHECK>: The second argument to
  9262. `@dvar' is already @samp'ed.
  9263. (Making testsuite Scripts) <AC_CONFIG_TESTDIR>: Likewise,
  9264. do not use @var in the second argument.
  9265. 2006-06-07 Paul Eggert <eggert@cs.ucla.edu>
  9266. * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Look for
  9267. $as_shell.exe too. Problem reported by Andreas Buening in
  9268. <http://lists.gnu.org/archive/html/autoconf/2006-06/msg00038.html>.
  9269. 2006-06-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  9270. * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA): Work around
  9271. `unused variable' compiler warning, for `-Wall -Werror'.
  9272. Reported by Jaap Haitsma in
  9273. <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00012.html>.
  9274. 2006-06-06 Paul Eggert <eggert@cs.ucla.edu>
  9275. * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Remove core file, in
  9276. case the compiler dumps core. Problem reported for
  9277. OpenServer 5.0.7 by Tim Rice in
  9278. <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00019.html>.
  9279. * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE):
  9280. Likewise.
  9281. 2006-06-06 Tim Rice <tim@multitalents.net>.
  9282. * lib/freeze.mk: Quiet check-forbidden-patterns so the string
  9283. "ERROR" only shows up in "make check" output if there is an
  9284. error.
  9285. 2006-06-06 Eric Blake <ebb9@byu.net>
  9286. * tests/tools.at (automatically allowed tokens): Fix typo.
  9287. 2006-06-05 Paul Eggert <eggert@cs.ucla.edu>
  9288. * NEWS: Don't blame non-GNU VPATH compatibility issues on Automake.
  9289. * doc/autoconf.texi (Integer Overflow): Mention that INT_MIN % -1
  9290. typically overflows on x86 CPUs, even though the C standard
  9291. requires otherwise.
  9292. 2006-06-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  9293. * configure.ac (AC_INIT): Bump to 2.59e.
  9294. * NEWS: Update.
  9295. 2006-06-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  9296. Version 2.59d.
  9297. * config/texinfo.tex: Sync from upstream.
  9298. * bin/autoreconf.in: Trace `LT_CONFIG_LTDL_DIR'; if it has been
  9299. seen, invoke libtoolize with `--ltdl' argument.
  9300. * lib/autom4te.in (Autoreconf-preselections): Adjust.
  9301. * NEWS: Update.
  9302. Suggested by Eric Blake.
  9303. 2006-06-05 Paul Eggert <eggert@cs.ucla.edu>
  9304. * NEWS: Whoops! AC_FUNC_STRNLEN isn't obsolescent. Problem
  9305. reported by Ralf Wildenhues.
  9306. * doc/autoconf.texi (AC_FUNC_STRNLEN): Likewise.
  9307. 2006-06-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  9308. * THANKS: Update.
  9309. 2006-06-05 Paul Eggert <eggert@cs.ucla.edu>
  9310. * doc/autoconf.texi: Modernize some of the references to Solaris.
  9311. 2006-06-05 Stepan Kasal <kasal@ucw.cz>
  9312. * lib/m4sugar/m4sugar.m4 (m4_require): Modify the error
  9313. message issued by AC_REQUIRE.
  9314. * tests/m4sugar.at: Check m4_require's error message.
  9315. * tests/base.at: Check AC_REQUIRE's error message.
  9316. * tests/local.at (AT_CHECK_M4): New macro, almost identical
  9317. to...
  9318. (AT_CHECK_AUTOM4TE): ... which is now a thin wrapper around
  9319. AT_CHECK_M4.
  9320. (AT_CHECK_AUTOCONF): Use AT_CHECK_M4; no longer support
  9321. `expout' as the last parameter.
  9322. * tests/tools.at: Adapt to the above change.
  9323. 2006-06-04 Stepan Kasal <kasal@ucw.cz>
  9324. * doc/autoconf.texi (Limitations of Usual Tools): Correct
  9325. information about race-free implementations of mkdir.
  9326. 2006-06-04 Eric Blake <ebb9@byu.net>
  9327. * bin/autoreconf.in (help): Document M4 environment variable.
  9328. * bin/autoconf.as (Usage): Likewise.
  9329. * bin/autom4te.in (help): Likewise.
  9330. * doc/autoconf.texi (autom4te Invocation): Likewise.
  9331. 2006-06-04 Paul Eggert <eggert@cs.ucla.edu>
  9332. * NEWS: GNU make now recommended for VPATH builds.
  9333. Mention that some macros are now documented to be obsolescent.
  9334. * doc/autoconf.texi:
  9335. Prefer "current" to "modern" to describe
  9336. currently-used (albeit perhaps old-fashioned) hosts.
  9337. Mention which ancient features no longer need to be worried about.
  9338. setgid -> set-group-ID
  9339. setuid -> set-user-ID (these are the Posix terms)
  9340. Fix some misuses of "only".
  9341. (AC_C_BACKSLASH_A, AC_C_CONST, AC_C_PROTOTYPES):
  9342. (AC_C_STRINGIZE, AC_C_VOLATILE, AC_FUNC_CLOSEDIR_VOID):
  9343. (AC_FUNC_GETPGRP, AC_FUNC_LSTAT, AC_FUNC_MEMCMP):
  9344. (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETPGRP):
  9345. (AC_FUNC_SETVBUF_REVERSED, AC_FUNC_STAT, AC_FUNC_STRFTIME):
  9346. (AC_FUNC_STRNLEN, AC_FUNC_UTIME_NULL, AC_FUNC_VPRINTF):
  9347. (AC_HEADER_DIRENT, AC_HEADER_STAT, AC_HEADER_STDC):
  9348. (AC_HEADER_SYS_WAIT, AC_HEADER_TIME, AC_ISC_POSIX):
  9349. (AC_PROG_GCC_TRADITIONAL, AC_STRUCT_TM):
  9350. Mention that these macros are obsolescent.
  9351. (Installation Directory Variables): shall -> should
  9352. (File Descriptors): Mention that 0, 1, 2 might get reopened.
  9353. Mention that it's now safe to use 3 and 4.
  9354. (Limitations of Usual Tools): cp -r is now specified by Posix.
  9355. Omit longwinded and obsolescent discussion of cp -f.
  9356. Modernize discussion of expr, ls.
  9357. (Limitations of Make): Modernize discussion of VPATH builds.
  9358. Mention $? as a workaround in some cases.
  9359. * doc/install.texi (Basic Installation):
  9360. Mention "./configure; make; make install" first. Be more
  9361. specific about why this file is generic. Remove unnecessary
  9362. parens. Remove misleading "only". Remove obsolete advice
  9363. about csh. Don't say "configure" takes awhile; say it
  9364. might take a while. Suggest CFLAGS=-g rather than CFLAGS=-O2,
  9365. and CC=c99 rather than CC=c89, as these are blessed by current
  9366. Posix. Recommend GNU make if doing a VPATH build.
  9367. 2006-06-03 Paul Eggert <eggert@cs.ucla.edu>
  9368. * doc/autoconf.texi: Use a consistent style "$ @kbd{...}" for
  9369. examples involving shell prompts.
  9370. 2006-06-02 Stepan Kasal <kasal@ucw.cz>
  9371. and Paul Eggert <eggert@cs.ucla.edu>
  9372. * doc/autoconf.texi (Here-Documents): Add details about the
  9373. pre-ksh93g bug. Reword slightly to make it clearer. Consistently
  9374. use "here-documents" instead of "here documents".
  9375. 2006-06-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  9376. * config/texinfo.tex, doc/standards.texi: Sync from upstream.
  9377. 2006-06-01 Paul Eggert <eggert@cs.ucla.edu>
  9378. * doc/autoconf.texi (File System Conventions): Warn about ":"
  9379. anywhere in directory names.
  9380. 2006-05-31 Paul Eggert <eggert@cs.ucla.edu>
  9381. * lib/autoconf/general.m4 (_AC_DO_ECHO): Be even more conservative
  9382. about quoting the case statement, just in case.
  9383. * doc/autoconf.texi (Here-Documents): Mention that the ksh bug
  9384. was fixed in ksh93g; reported by Ralf Wildenhues.
  9385. 2006-05-31 Stepan Kasal <kasal@ucw.cz>
  9386. * doc/autoconf.texi (System Services): Do not document
  9387. overriding EXEEXT via ac_cv_exeext=ext.
  9388. (Particular Programs) <AC_PROG_MKDIR_P>:
  9389. Document that ${MKDIR_P} understands --.
  9390. * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Improve the
  9391. comment.
  9392. 2006-05-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  9393. * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): Guard against test
  9394. argument with leading hyphen. Problem reported by Paul Eggert.
  9395. 2006-05-30 Paul Eggert <eggert@cs.ucla.edu>
  9396. * lib/autoconf/general.m4 (_AC_DO_ECHO): Be more conservative
  9397. about quoting ac_try: quote all of it, if any of it seems suspicious.
  9398. This means we don't have to worry about ${ or sed any more.
  9399. Also, double-quote the case statement, to work around misuses via
  9400. underquoting as reported by Ralf Wildenhues in
  9401. <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00169.html>.
  9402. (_AC_EVAL_STDERR): Revert, since evidently some packages rely on this
  9403. undocumented and dangerous macro.
  9404. Problem reported by Ralf Wildenhues in
  9405. <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00168.html>.
  9406. 2006-05-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  9407. * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): Check whether
  9408. `dirname -- /' returns `/', for SunOS dirname scripts that escaped.
  9409. Report by Sam Sirlin <sam@kalessin.jpl.nasa.gov>.
  9410. 2006-05-30 Paul Eggert <eggert@cs.ucla.edu>
  9411. * lib/autoconf/general.m4: Revert AC_TRY_EVAL and AC_TRY_COMMAND,
  9412. since evidently some packages rely on the old, broken behavior.
  9413. Problem reported by Ralf Wildenhues in
  9414. <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00160.html>.
  9415. (AC_TRY_EVAL, AC_TRY_COMMAND, _AC_EVAL): Go back to the
  9416. pre-2006-05-26 definitions, but leave in the comments that
  9417. these macros are dangerous and should not be used.
  9418. (_AC_DO_ECHO): Renamed from _AC_EVAL_ECHO. All callers changed.
  9419. (_AC_DO): Renamed from _AC_EVAL. All callers changed.
  9420. (_AC_DO_STDERR): Renamed from _AC_EVAL_STDERR. All callers changed.
  9421. (_AC_DO_VAR): Renamed from AC_TRY_EVAL.
  9422. (_AC_DO_TOKENS): Renamed from AC_TRY_COMMAND.
  9423. 2006-05-29 Paul Eggert <eggert@cs.ucla.edu>
  9424. * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS): Rewrite to avoid
  9425. the use of 'tr', since this is our only use of 'tr'.
  9426. 2006-05-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  9427. and Paul Eggert <eggert@cs.ucla.edu>
  9428. * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE):
  9429. Don't assume 'grep' works on long lines, since AIX grep doesn't.
  9430. 2005-05-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  9431. * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Do not use `grep' on
  9432. the output file in the `${datarootdir}' test.
  9433. 2005-05-28 Stepan Kasal <kasal@ucw.cz>
  9434. and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  9435. * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): If we have not seen
  9436. mention of `datarootdir' in the input file(s), but literal
  9437. `${datarootdir}' in the output file, and we haven't warned yet,
  9438. then warn as well: the user may have (erroneously) used
  9439. `AC_SUBST([mydatadir], [$datadir/my])' instead of the correct
  9440. `AC_SUBST([mydatadir], ['${datadir}/my'])'.
  9441. * tests/torture.at (datarootdir workaround): Extend this test.
  9442. * NEWS: Update.
  9443. 2006-05-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  9444. and Paul Eggert <eggert@cs.ucla.edu>
  9445. * doc/autoconf.texi (autoheader Invocation): The first argument to
  9446. `AC_DEFINE_UNQUOTED' need not be a literal. Mention the
  9447. alternatives and clear up the language a bit.
  9448. 2006-05-27 Paul Eggert <eggert@cs.ucla.edu>
  9449. * NEWS: Reword notice for AC_TRY_COMMAND, AC_TRY_EVAL,
  9450. ac_config_guess, ac_config_sub, ac_configure.
  9451. * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
  9452. Fix typo that prevented an unnecessary space from being removed.
  9453. Problems reported by Ralf Wildenhues in:
  9454. http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00143.html
  9455. 2006-05-26 Paul Eggert <eggert@cs.ucla.edu>
  9456. * doc/autoconf.texi (Particular Programs, Limitations of Usual Tools):
  9457. Use better wording to talk about AC_PROG_MKDIR_P's thread-safety.
  9458. Don't use the term "thread-safe" to talk about mkdir race
  9459. conditions, since the problem is more a process than a thread
  9460. issue. Problem reported by Stepan Kasal in:
  9461. http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00088.html
  9462. * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Use code that mimics
  9463. the test for 'install' more closely. Look at MKDIR_P first.
  9464. Look in the PATH, and at /opt/sfw/bin.
  9465. Look for a 'gmkdir' program as well (Solaris 10 /opt/sfw/bin/gmkdir).
  9466. Don't bother to try mkdir -p, since we already check mkdir --version;
  9467. just look at the version number. (There's no easy way to check
  9468. for race-free implementations.)
  9469. * tests/tools.at (autoconf: subdirectories): Adjust to above
  9470. changes, since MKDIR_P now might end in "/mkdir -p".
  9471. * doc/autoconf.texi (autoheader Invocation): Mention that the
  9472. first arg of AC_DEFINE_UNQUOTED must be a literal.
  9473. Problem reported by Ben Pfaff in
  9474. <http://lists.gnu.org/archive/html/bug-autoconf/2006-05/msg00090.html>.
  9475. * NEWS: Mention that AC_TRY_COMMAND and AC_TRY_EVAL may be removed.
  9476. * doc/autoconf.texi (Special Chars in Variables): New section.
  9477. (Preset Output Variables): Warn about special chars in CPPFLAGS.
  9478. (Installation Directory Variables): Quote $(datadir) better.
  9479. (Limitations of Builtins): Describe some of eval's trickiness.
  9480. * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Simplify quoting.
  9481. * lib/autoconf/fortram.m4 (_AC_PROG_FC_V_OUTPUT): Likewise.
  9482. * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put leading space
  9483. in front of every arg, not just trailing args. Quote apostrophes.
  9484. (_AC_EVAL_ECHO): New macro.
  9485. (_AC_EVAL, AC_EVAL_STDERR): Use it. Quote arg of eval.
  9486. (AC_TRY_EVAL, AC_TRY_COMMAND): Mention that these macros might get
  9487. removed.
  9488. (_AC_LINK_IFELSE): Use proper rule for shell continuation lines,
  9489. exposed by quoting of eval argument. Put the command on line line
  9490. so it logs better.
  9491. * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Use eval more safely.
  9492. (_AC_PATH_X, AC_PATH_X): Quote more safely.
  9493. * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use eval more safely.
  9494. * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Don't use eval.
  9495. * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Minor style change.
  9496. Handle special chars in prefix, ac_srcdir, ac_aux_dir.
  9497. Use eval more safely.
  9498. (_AC_OUTPUT_CONFIG_STATUS): Adjust to above changes.
  9499. * lib/m4sugar/m4sh.m4 (AS_VAR_GET): Note that this API needs
  9500. to be replaced.
  9501. * tests/base.at (AC_TRY_COMMAND): Use proper rule for shell continuation
  9502. lines, exposed by quoting of eval argument.
  9503. 2006-05-26 Stepan Kasal <kasal@ucw.cz>
  9504. and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  9505. * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Drop the
  9506. initialization of `ac_cv_exeext', do not override it if it was
  9507. already set, unless it was set to `no', for compatibility with
  9508. Autoconf-2.13, and comment this.
  9509. Do not export `ac_cv_exeext', Libtool hasn't needed this for years.
  9510. (_AC_COMPILER_EXEEXT_DEFAULT): Likewise, do not export it.
  9511. (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_CROSS): Typos.
  9512. * doc/autoconf.texi (Compilers and Preprocessors) <EXEEXT>:
  9513. Document that this test may be overridden by setting
  9514. `ac_cv_exeext'.
  9515. 2006-05-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  9516. Revert these two patches:
  9517. 2006-04-06 Eric Blake <ebb9@byu.net>
  9518. * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_O): Inside cache
  9519. check, s/ac_exeext/ac_cv_exeext/. Fixes regression introduced
  9520. 2006-04-01.
  9521. 2006-04-01 Stepan Kasal <kasal@ucw.cz>
  9522. Clean up _AC_COMPILER_EXEEXT* macros.
  9523. * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't try to
  9524. detect exeext, it will be done by _AC_COMPILER_EXEEXT_O; just set
  9525. ac_file to the name of the default output file and call
  9526. _AC_COMPILER_EXEEXT_WORKS. Move the definition of ac_files and the
  9527. initial `rm' of the candidate files...
  9528. (_AC_COMPILER_EXEEXT): ... here and simplify them. Moreover, use
  9529. the same list in subsequent `rm' calls, and for the temporary
  9530. redefinition of ac_clean_files; call _AC_COMPILER_OBJEXT at the end,
  9531. and don't call the other _AC_COMPILER_EXEEXT_* macros directly, use...
  9532. (_AC_COMPILER_EXEEXT_TESTS): ... this new macro.
  9533. (_AC_COMPILER_EXEEXT_O): Don't export ac_cv_exeext, it's not needed (or
  9534. no longer needed) by libtool. Make it a cache check.
  9535. (_AC_COMPILER_EXEEXT_CROSS): Remove the comment, it was obviously
  9536. copied here by mistake.
  9537. (AC_NO_EXECUTABLES): Redefine _AC_COMPILER_EXEEXT_TESTS, not
  9538. _AC_COMPILER_EXEEXT.
  9539. * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Do not call
  9540. _AC_COMPILER_OBJEXT directly.
  9541. * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
  9542. 2006-05-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  9543. * doc/autoconf.texi (Limitations of Usual Tools) < sed (`t')>:
  9544. Fix description of how the buggy `sed' works.
  9545. 2006-05-25 Noah Misch <noah@cs.caltech.edu>
  9546. Sync from Automake:
  9547. * lib/Autom4te/XFile.pm (lock): Allow EOPNOTSUPP, besides
  9548. ENOLCK. Only mention `make -j' when applicable. Only raise
  9549. fatal errors when `make -j' is involved. Improve error message.
  9550. 2006-05-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  9551. * doc/autoconf.texi (Here-Documents): We now know more about
  9552. the variable expansion in here documents bug.
  9553. Thanks to Tim Rice and Stepan Kasal.
  9554. * doc/autoconf.texi (Making testsuite Scripts): Add an example
  9555. how to use TESTSUITEFLAGS. Suggested by Eric Blake.
  9556. 2006-05-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  9557. * tests/autotest.at (Multiline command from M4 expansion):
  9558. No failure to be expected if the shell quotes newlines in
  9559. commands in the `set -x' output. Report by Tim Rice.
  9560. * THANKS: Update.
  9561. 2006-05-23 Paul Eggert <eggert@cs.ucla.edu>
  9562. * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Don't use shell
  9563. expansion in the here-documents used by config.status, as that
  9564. runs afoul of the Korn shell version M-12/28/93d bug described in
  9565. the Autoconf manual, and this in turn causes a Coreutils 5.95 build to
  9566. fail as described by Tim Rice and diagnosed by Ralf Wildenhues in
  9567. <http://lists.gnu.org/archive/html/bug-autoconf/2006-05/msg00082.html>.
  9568. 2006-05-23 Jim Meyering <jim@meyering.net>
  9569. * lib/autoconf/functions.m4 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK):
  9570. Fix typo introduced with 2006-04-02 change. It reversed the sense
  9571. of the test.
  9572. 2006-05-23 Paul Eggert <eggert@cs.ucla.edu>
  9573. * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Simplify ac_dA and
  9574. ac_dB slightly, to save bytes in the script.
  9575. Max out at 50 lines, rather than 96; this is more likely
  9576. (though not guaranteed) to avoid obscure 'sed' failures.
  9577. 2006-05-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  9578. * lib/autotest/general.m4 (AT_INIT): UnixWare `tr' may interpret
  9579. `tr -d -' as bad option argument. Work around this by deleting
  9580. an unrelated character.
  9581. Report by Tim Rice <tim@multitalents.net>.
  9582. 2006-05-22 Paul Eggert <eggert@cs.ucla.edu>,
  9583. Ralf Wildenhues <Ralf.Wildenhues@gmx.de>,
  9584. Stepan Kasal <kasal@ucw.cz>
  9585. * doc/autoconf.texi (Particular Programs): Do not promise that
  9586. we always prefer the GNU version of the program, and that we
  9587. search according to PATH; both rules can have exceptions.
  9588. Update description of AC_PROG_GREP, AC_PROG_EGREP, AC_PROG_FGREP,
  9589. AC_PROG_SED. Move descriptions of limitations
  9590. to the Limitations of Usual Tools section.
  9591. (Limitations of Usual Tools) <sed>: Mention script length
  9592. limitations with Solaris /usr/ucb/sed.
  9593. <grep>: Fix wording for empty alternative. Mention that -c and
  9594. -l should not be combined, and that -E and -F should not be
  9595. combined.
  9596. 2006-05-21 Paul Eggert <eggert@cs.ucla.edu>
  9597. and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  9598. * lib/autoconf/programs.m4 (AC_PROG_SED): Catch script length
  9599. limits in Solaris 8 /usr/ucb/sed by testing a long script.
  9600. 2006-05-22 Stepan Kasal <kasal@ucw.cz>
  9601. * doc/autoconf.texi (Defining Symbols): Literal parameter of
  9602. AC_DEFINE is now passed to m4_pattern_allow.
  9603. * NEWS: Mention that; likewise for AC_SUBST.
  9604. * lib/autoconf/general.m4 (AC_DEFINE_TRACE_LITERAL): Pass
  9605. the parameter to m4_pattern_allow.
  9606. * tests/tools.at: Add a check for that.
  9607. 2006-05-22 Stepan Kasal <kasal@ucw.cz>
  9608. * lib/autoconf/status.m4: Fix typos.
  9609. 2006-05-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  9610. * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
  9611. only the files that this macro generates.
  9612. 2006-05-21 Paul Eggert <eggert@cs.ucla.edu>
  9613. * doc/autoconf.texi (Limitations of Usual Tools) <sed>: For
  9614. the HP-UX sed limitation of 99 commands, labels do not count.
  9615. * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): Mention that
  9616. in the comment.
  9617. (_AC_OUTPUT_HEADER): Revert the change from 2006-05-19.
  9618. 2006-05-21 Paul Eggert <eggert@cs.ucla.edu>
  9619. * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT):
  9620. Import the following fix from coreutils:
  9621. 2006-01-13 Jim Meyering <jim@meyering.net>
  9622. Invoke AC_CHECK_FUNCS(getmntent) unconditionally so that tests of
  9623. $ac_cv_func_getmntent (e.g., in gl_LIST_MOUNTED_FILE_SYSTEMS) need
  9624. not double-quote uses of that variable, to accommodate the rare
  9625. case in which getmntent is available in none of the libraries
  9626. checked. This happens at least on FreeBSD 5.0.
  9627. 2006-05-20 Paul Eggert <eggert@cs.ucla.edu>
  9628. * lib/autoconf/general.m4 (AC_CONFIG_AUX_DIRS): Bring back
  9629. ac_config_guess, ac_config_sub, and ac_configure, since evidently
  9630. some other programs unwisely rely on these undocumented vars.
  9631. But put in warning comments about them.
  9632. Problem reported by Ralf Wildenhues in
  9633. <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00068.html>.
  9634. * NEWS: Document that these variables are intended to go away.
  9635. 2006-05-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  9636. * lib/autoconf/c.m4 (AC_PROG_CXX_C_O): Require AC_PROG_CXX,
  9637. and set the language to C++ (analogous to the equivalent Fortran
  9638. tests).
  9639. * lib/autoconf/c.m4 (AC_PROG_CXX_C_O): New macro.
  9640. * doc/autoconf.texi (C++ Compiler): Document it.
  9641. * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Adjust comment.
  9642. * NEWS: Update.
  9643. 2006-05-19 Paul Eggert <eggert@cs.ucla.edu>
  9644. * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Fix off-by-one bug
  9645. that caused config.status to generate 100-command sed scripts; the
  9646. portable limit is 99.
  9647. 2006-05-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  9648. * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Name temporary
  9649. variable `ac_d' instead of `d' to avoid infringing namespace.
  9650. Report by Ralf Menzel.
  9651. 2006-05-18 Paul Eggert <eggert@cs.ucla.edu>
  9652. * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Don't prepend
  9653. $ac_top_build_prefix to $MKDIR_P if it's just 'mkdir -p'.
  9654. * tests/tools.at (autoconf: subdirectories): New test, taken from
  9655. the corresponding problem report by Ralf Wildenhues in:
  9656. http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00053.html
  9657. * lib/autoconf/functions.m4 (AC_REPLACE_FNMATCH, AC_FUNC_FNMATCH_GNU):
  9658. Quote some uses of shell variables if they might suffer unexpected
  9659. globbing. This doesn't fix all instances of quoting problems that
  9660. I found, just the easy ones that look safe.
  9661. * lib/autoconf/general.m4 (_AC_INIT_SRCDIR, _AC_INIT_HELP):
  9662. (AC_CONFIG_AUX_DIR, AC_CONFIG_AUX_DIR_DEFAULT, AC_CONFIG_AUX_DIRS):
  9663. (AC_CANONICAL_BUILD, AC_CANONICAL_HOST, AC_CANONICAL_TARGET):
  9664. (AC_CACHE_LOAD, AC_CACHE_SAVE): Likewise.
  9665. * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT): Likewise.
  9666. * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
  9667. * lib/autoconf/status.m4 (_AC_OUTPUT_LINK, _AC_OUTPUT_SUBDIRS):
  9668. Likewise.
  9669. * lib/autotest/general.m4 (_AC_INIT_PARSE_ARGS): Likewise.
  9670. * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Likewise.
  9671. 2006-05-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  9672. * bin/autoreconf.in ($help): Reword according to the manual.
  9673. Suggested by Olly Betts.
  9674. 2006-05-17 Olly Betts <olly@survex.com> (tiny change)
  9675. and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  9676. * bin/autoreconf.in: Pass the directory argument to
  9677. `require_configure_ac'. Fix comment.
  9678. * tests/torture.at (Configuring subdirectories): Expose this.
  9679. Reported by Olly Betts.
  9680. 2006-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  9681. * lib/Automake/Configure_ac.pm, lib/Automake/Channels.pm,
  9682. lib/Automake/FileUtils.pm, lib/Automake/Struct.pm: Sync from
  9683. Automake as follows:
  9684. * lib/Autom4te/Configure_ac.pm (find_configure_ac): Use
  9685. `$configure_in' instead of `configure.in', to preserve
  9686. directory component.
  9687. 2006-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  9688. * config/config.guess, config/config.sub, config/texinfo.tex,
  9689. doc/make-stds.texi, doc/standards.texi: Sync from upstream.
  9690. 2006-05-14 Paul Eggert <eggert@cs.ucla.edu>
  9691. * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Fix overly-picky
  9692. test for C99 conformance; (bool) 0.5 is an integer constant
  9693. expression, but (bool) -0.5 is not. Problem reported by Fedor
  9694. Sergeev in <http://forum.sun.com/jive/thread.jspa?threadID=96202>.
  9695. 2006-05-13 Paul Eggert <eggert@cs.ucla.edu>
  9696. * doc/autoconf.texi (Particular Programs): AC_PROG_MKDIR_P now
  9697. sets MKDIR_P, not mkdir_p, to avoid collisions with Automake.
  9698. Warn about obsolete install-sh files. Remove stray sentence
  9699. fragment and fix cross reference.
  9700. * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Don't insist on
  9701. install -d; this undoes the 2006-05-10 change.
  9702. (MKDIR_P): Mark with AN_MAKEVAR.
  9703. (AC_PROG_MKDIR_P): Fall back on $ac_install_sh, not $INSTALL, so
  9704. that we don't require $INSTALL to be thread-safe. Move comments
  9705. out of generated code. Require AC_CONFIG_AUX_DIR_DEFAULT instead
  9706. of AC_PROG_INSTALL. Output a message saying that we're checking
  9707. mkdir -p. Set MKDIR_P rather than mkdir_p. Do special magic for
  9708. MKDIR_P instead of AC_SUBST.
  9709. * lib/autoconf/status.m4 (_AC_OUTPUT_FILE, _AC_OUTPUT_CONFIG_STATUS):
  9710. Special magic for MKDIR_P, too.
  9711. * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Remove comment that defeated
  9712. a dnl.
  9713. * tests/local.at (AT_CHECK_ENV): mkdir_p -> MKDIR_P.
  9714. 2006-05-11 Paul Eggert <eggert@cs.ucla.edu>
  9715. Sync from Automake, as follows:
  9716. 2006-05-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  9717. * config/install-sh: Initialize IFS, so field splitting isn't
  9718. turned off later.
  9719. * config/mkinstalldirs: Likewise.
  9720. * config/missing: Remove superfluous quotes. Replace all uses of
  9721. `[' by `test', for consistency, and for..
  9722. * config/missing (sed_minuso, sed_output): New variables.
  9723. (autom4te, help2man, makeinfo): Use them. Unifies detection of
  9724. `-o FILE', `--output FILE', `--output=FILE', stricter regex.
  9725. Fixes `missing' to detect `--output' for help2man. Fixes
  9726. PR automake/483. Report by Dennis J. Linse.
  9727. (autom4te): Document in `missing --help'.
  9728. 2006-05-10 Paul Eggert <eggert@cs.ucla.edu>
  9729. * NEWS: New macro AC_PROG_MKDIR_P. AS_MKDIR_P is now more robust.
  9730. * config/install-sh: Don't use 'path' to talk about file names,
  9731. as per GNU coding standards. Close a race condition reported by Ralf
  9732. Wildenhues and Stepan Kasal. There is still a race condition
  9733. on hosts that predate Posix 1003.1-1992, but we can't help this.
  9734. Don't mishandle weird characters like space on pre-Posix hosts.
  9735. Invoke mkdir at most once per dir arg on pre-Posix hosts.
  9736. * doc/autoconf.texi (Programming in M4sh): Cross-reference to
  9737. AC_PROG_MKDIR_P from AS_MKDIR_P.
  9738. (Limitations of Usual Tools): Cross-reference to AC_PROG_MKDIR_P
  9739. from mkdir. Mention that Autoconf 2.60 install-sh is safe but
  9740. earlier editions are not (including Automake 1.8.3).
  9741. Do not suggest mkinstalldirs for thread-safety.
  9742. * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Insist on an 'install'
  9743. that understands -d, so that AC_PROG_MKDIR_P can fall back on $INSTALL.
  9744. * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Make it more robust in the
  9745. presence of special characters and race conditions.
  9746. * tests/local.at (AT_CHECK_ENV): Add mkdir_p to the list of variables
  9747. in Autoconf's name space.
  9748. 2006-05-10 Bruno Haible <bruno@clisp.org>
  9749. and Paul Eggert <eggert@cs.ucla.edu>
  9750. * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): New macro, taken
  9751. from Automake with minor changes.
  9752. * doc/autoconf.texi (Particular Programs): Document AC_PROG_MKDIR_P.
  9753. 2006-05-10 Paul Eggert <eggert@cs.ucla.edu>
  9754. * config/install-sh: Update to Automake CVS version, as follows:
  9755. 2006-04-25 Stepan Kasal <kasal@ucw.cz>
  9756. * lib/install-sh: Simplify the expr implementation of dirname.
  9757. 2006-04-24 Paul Eggert <eggert@cs.ucla.edu>
  9758. * lib/install-sh: Handle --, and diagnose unknown options.
  9759. 2006-05-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  9760. * tests/Makefile.am (AUTOTEST): Use `$(MY_AUTOM4TE)' instead of
  9761. `./autom4te' to create `./testsuite', since the `all' target
  9762. will ensure its presence, but `installcheck' should not create
  9763. the uninstalled wrappers.
  9764. * tests/torture.at (Unusual Automake input files): Skip if we
  9765. detect automake < 1.8.
  9766. 2006-05-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  9767. * lib/autoconf/c.m4 (AC_PROG_CC_STDC): If ac_cv_prog_cc_stdc
  9768. is set to `no', then that overrides and sets ac_cv_prog_cc_c89
  9769. and ac_cv_prog_cc_c99 to `no', for backward compatibility.
  9770. * NEWS: Update.
  9771. 2006-05-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  9772. * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Take care not to
  9773. munge (multiple) white space and other oddities.
  9774. * tests/torture.at (AT_CHECK_AC_ARG_VAR): Make sure to M4-escape
  9775. single quotes in variable assignment.
  9776. (AC_ARG_VAR, configure invocation): Adjust tests to expose this
  9777. and similar failures by adding multiple spaces, tabs, and other
  9778. special characters.
  9779. Report and different test suggested by Francesco Romani
  9780. <fromani@gmail.com> and Andrew Church <achurch@achurch.org>.
  9781. * lib/autoconf/general.m4 (_AC_INIT_PREPARE): When we escape
  9782. single quotes, we only need to search for single quotes; this
  9783. both simplifies the search pattern, and makes us less
  9784. susceptible to `echo' variations for arguments not containing
  9785. single quotes.
  9786. (_AC_ARG_VAR_VALIDATE): Likewise.
  9787. 2006-05-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  9788. * doc/autoconf.texi (Special Shell Variables) <IFS>: Document
  9789. `$*' and IFS concatenation issue with traditional shells and
  9790. bash-2.04. Report by Seanster@Seanster.com.
  9791. 2006-05-03 Bruno Haible <bruno@clisp.org>
  9792. * doc/autoconf.texi (Limitations of Usual Tools): Identify more
  9793. precisely which Mac OS X versions have the od problem.
  9794. 2006-05-02 Paul Eggert <eggert@cs.ucla.edu>
  9795. * doc/autoconf.texi: Use @option systematically.
  9796. 2006-05-02 Paul Eggert <eggert@cs.ucla.edu>
  9797. and Bruno Haible <bruno@clisp.org>
  9798. * doc/autoconf.texi (Limitations of Usual Tools): Add a paragraph
  9799. about 'od'.
  9800. (Integer Overflow): Mention the special case of integer division
  9801. overflow.
  9802. 2006-05-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  9803. * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Cater for
  9804. traditional shells like the Solaris one that do not use the
  9805. first IFS character for assembling `$*'.
  9806. Prompted by a related report from autoconf_bug@nro.ca.
  9807. 2006-05-01 Paul Eggert <eggert@cs.ucla.edu>
  9808. and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  9809. * doc/autoconf.texi (Limitations of Builtins, Limitations of Make):
  9810. Mention more problems with the -e option.
  9811. 2006-04-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  9812. * NEWS: Typo.
  9813. * doc/autoconf.texi (Systemology): Mention the Heirloom Project.
  9814. * doc/autoconf.texi (Introduction, Pointers): Use `@/' liberally
  9815. in URLs to improve DVI formatted output (requires texinfo 4.6).
  9816. (System Services, Systemology, Shellology): Likewise.
  9817. (Limitations of Usual Tools): Rewrite Mac OS X example for nicer
  9818. output.
  9819. * doc/autoconf.texi (Fortran Compiler): Do not use `@ovar' in
  9820. continuous text.
  9821. (Runtime): Fix macro argument names to match description:
  9822. `action-if-found' -> `action-if-true' and similarly.
  9823. (Obsolete Macros): Likewise.
  9824. * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE): Likewise.
  9825. (AC_COMPILE_IFELSE, AC_TRY_COMPILE, _AC_LINK_IFELSE)
  9826. (AC_LINK_IFELSE, AC_TRY_LINK, AC_COMPILE_CHECK): Likewise.
  9827. 2006-04-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  9828. * doc/autoconf.texi (Limitations of Make): Clean up markup.
  9829. * ChangeLog: Typo.
  9830. * doc/autoconf.texi (Portable Shell): Allow wrapped URLs, for
  9831. DVI output.
  9832. 2006-04-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  9833. * doc/autoconf.texi (Limitations of Builtins): Document FreeBSD
  9834. /bin/sh set unsorted output.
  9835. * lib/autoconf/general.m4 (_AC_CACHE_DUMP): Adjust.
  9836. * tests/local.at: Likewise.
  9837. 2006-04-26 Paul Eggert <eggert@cs.ucla.edu>
  9838. * doc/autoconf.texi (Portable C and C++, Varieties of Unportability):
  9839. (Integer Overflow, Null Pointers, Buffer Overruns):
  9840. (Floating Point Portability, Exiting Portably): New sections.
  9841. (Writing Test Programs): Fix some langauge. Recommend exiting
  9842. with status 1, not merely nonzero. Clarify exit declaration.
  9843. (Run Time): Move C exit status stuff to new Exiting Portably section.
  9844. (Systemology): Mention Posix and levenez. Update v7 reference.
  9845. (Portable Shell): Mention the Posix shell.
  9846. 2006-04-25 Stepan Kasal <kasal@ucw.cz>
  9847. * bin/autoconf.as (me): Replace by as_me.
  9848. 2006-04-25 Paul Eggert <eggert@cs.ucla.edu>
  9849. * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Don't use AS_ERROR,
  9850. since as_me isn't set yet.
  9851. 2006-04-23 Paul Eggert <eggert@cs.ucla.edu>
  9852. Prepare for deprecation of AS_BASENAME and AS_DIRNAME, and fix
  9853. a few minor bugs in this area.
  9854. * doc/autoconf.texi (Programming in M4sh): Comment out the
  9855. documentation of AS_BASENAME, for now.
  9856. (Shell Substitutions): Do not use AS_DIRNAME in an example.
  9857. (Limitations of Builtins) <basename>: Do not refer to
  9858. AS_BASENAME.
  9859. * bin/autoconf.as (me): Don't use AS_BASENAME.
  9860. (dir): Remove the unused variable.
  9861. * lib/m4sugar/m4sh.m4 (_AS_DETECT_REQUIRED): Renamed from
  9862. AS_DETECT_REQUIRED. All uses changed.
  9863. (_AS_DETECT_SUGGESTED): Renamed from AS_DETECT_SUGGESTED.
  9864. All uses changed.
  9865. (_AS_DETECT_BETTER_SHELL): Put ;; at the end of a case.
  9866. (AS_BASENAME): Use "basename --" to protect against leading "-".
  9867. (_AS_BASENAME_EXPR): Renamed from AS_BASENAME_EXPR. All uses changed.
  9868. (_AS_BASENAME_SED): Renamed from AS_BASENAME_SED. All uses changed.
  9869. (_AS_BASENAME_PREPARE): Reject implementations that cannot handle "--".
  9870. (_AS_DIRNAME_PREPARE): Likewise.
  9871. (_AS_DIRNAME_EXPR): Renamed from AS_DIRNAME_EXPR. All uses changed.
  9872. (_AS_DIRNAME_SED): Renamed from AS_DIRNAME_SED. All uses changed.
  9873. (AS_DIRNAME): Use "dirname --".
  9874. 2006-04-23 Paul Eggert <eggert@cs.ucla.edu>
  9875. * doc/autoconf.texi (Runtime): Renamed from "Run Time". All uses
  9876. of "run time" and "run-time" changed to "runtime", for consistency.
  9877. * lib/autoconf/fortran.m4: Likewise (in comment).
  9878. * lib/autoconf/functions.m4: Likewise.
  9879. * lib/autoconf/general.m4: Likewise.
  9880. * lib/autoconf/headers.m4: Likewise.
  9881. * doc/autoconf.texi (Run Time): Document the exit status situation
  9882. with more accuracy and detail.
  9883. 2006-04-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  9884. * doc/autoconf.texi (Introduction): The GNU Autoconf Macro
  9885. Archive is not officially `GNU' any more. Update URL.
  9886. (Defining Directories): Likewise
  9887. * lib/autoconf/c.m4 (AC_C_RESTRICT): Update URL.
  9888. 2006-04-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  9889. * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Remove the leading
  9890. newline from the `trap' code to finish `config.log'; the NetBSD
  9891. /bin/sh resets the exit status after an empty command, as
  9892. documented in doc/autoconf.texi.
  9893. Reported by Dalibor Topic <robilad@kaffe.org>.
  9894. 2006-04-19 Paul Eggert <eggert@cs.ucla.edu>
  9895. * doc/autoconf.texi (C Compiler): Clarify AC_C_TYPEOF.
  9896. Suggested by Bruno Haible.
  9897. 2006-04-18 Paul Eggert <eggert@cs.ucla.edu>
  9898. * configure.ac (ac_cv_sh_n_works): Don't try to test for it, since
  9899. some shells (e.g., Solaris 8 /bin/sh) implement it verrrry slowly.
  9900. Instead, just list the shells that we know work.
  9901. * tests/local.at (AT_CHECK_SHELL_SYNTAX): Remove 2nd arg. All uses
  9902. changed. Be more cautious about the _cv_ variable.
  9903. * tests/tools.at (Syntax of the shell scripts): Check the
  9904. _cv_ variable once, at first, to avoid an internal autoconf error
  9905. when sh -n does not work.
  9906. 2006-04-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  9907. * lib/Autom4te/FileUtils.pm: Sync from Automake.
  9908. 2006-04-16 Paul Eggert <eggert@cs.ucla.edu>
  9909. * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Don't
  9910. use ">&-" since we're only 99.999% sure that this is portable,
  9911. and since the MinGW bug is fixed in a different way.
  9912. * lib/autotest/general.m4 (AT_INIT): Likewise.
  9913. 2006-04-16 Stepan Kasal <kasal@ucw.cz>
  9914. * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle --recheck
  9915. before opening config.log, to avoid hitting a bug on MinGW.
  9916. 2006-04-14 Paul Eggert <eggert@cs.ucla.edu>
  9917. * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Close
  9918. AS_MESSAGE_LOG_FD before reopening it onto the log file.
  9919. This works around a MinGW bug reported by Eric Paire.
  9920. Make sure that all writes to the log file append to it,
  9921. rather than possibly losing data.
  9922. * lib/autotest/general.m4 (AT_INIT): Likewise.
  9923. 2006-04-14 Stepan Kasal <kasal@ucw.cz>
  9924. * lib/Autom4te/FileUtils.pm (find_file): Fix a typo in the
  9925. description.
  9926. 2006-04-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  9927. * NEWS: Update.
  9928. * configure.ac (AC_INIT): Bump to 2.59d.
  9929. 2006-04-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  9930. Version 2.59c.
  9931. * Makefile.maint (news-date-check): Do not require a leading `*'
  9932. before the release date in NEWS.
  9933. 2006-04-12 Stepan Kasal <kasal@ucw.cz>
  9934. and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  9935. * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): If the templates for
  9936. the instantiated file do not contain the string 'datarootdir'
  9937. but contain @datadir@, @docdir@, @infodir@, @localedir@, or
  9938. @mandir@, replace the reference '${datarootdir}' by the value.
  9939. * tests/torture.at (datarootdir workaround): New test.
  9940. * NEWS: Advertise this temporary fixup.
  9941. Based on a patch by Bruno Haible, reported and analyzed by
  9942. Paul Eggert and Noah Misch.
  9943. 2006-04-12 Eric Blake <ebb9@byu.net>
  9944. * tests/autotest.at (Debugging a failed test): Fix comment.
  9945. 2006-04-12 Stepan Kasal <kasal@ucw.cz>
  9946. * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): Simplify the summary of
  9947. all the changes since 2006-04-07.
  9948. 2006-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  9949. * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): If `ln -s file1 file2'
  9950. succeeded, but `ln -s file dir' failed, take care to remove the
  9951. leftover target before the next test, to prevent its spurious
  9952. failure; also make sure `ln file dir' works before selecting it.
  9953. Thanks to Keith Marshall for pointing this out.
  9954. * THANKS: Update.
  9955. * lib/autotest/general.m4 (AT_INIT): Store quoted variable
  9956. assignments in `at_debug_args', so that we put them correctly
  9957. in the `run' script.
  9958. * tests/autotest.at (Debugging a failed test): Unmark XFAIL.
  9959. Reported by Eric Blake.
  9960. 2006-04-11 Eric Blake <ebb9@byu.net>
  9961. * tests/autotest.at (AT_CHECK_AT): Add new argument, to allow
  9962. top-level tests after micro-suite has been run. Used in...
  9963. (Debugging a successful test, Debugging script and environment),
  9964. (Debugging a failed test): ...these new tests. The first of these
  9965. is fixed by...
  9966. * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT): New
  9967. macro, split out from...
  9968. (AT_INIT): ...here, so that using -d also generates a run script.
  9969. Document that -d inhibits top-level logging.
  9970. * doc/autoconf.texi (testsuite Invocation): Document that -d only
  9971. inhibits top-level logging; debug scripts are created.
  9972. * lib/autotest/general.m4 (_AT_CHECK): Avoid syntax error on empty
  9973. check.
  9974. * tests/autotest.at (Empty test, Empty check): New test to check it.
  9975. * lib/autoconf/c.m4 (AC_C_CONST, AC_C_VOLATILE): Avoid warnings
  9976. from gcc.
  9977. 2006-04-10 Stepan Kasal <kasal@ucw.cz>
  9978. * tests/mktests.sh: Use "trap '' 0", not "trap 0". Do not touch
  9979. the files if a problem appears. Make the empty *.at files
  9980. read-only, too. Proposed by Ralf Wildenhues.
  9981. 2006-04-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  9982. * config/Makefile.am: Add comment to force updated Makefile.in.
  9983. * lib/freeze.mk: Fix typo in comment. Unlike the last, white
  9984. space only patch to this file, this patch causes the Makefile.in
  9985. files that include freeze.mk to be updated, and thus have a
  9986. newer time stamp again, which in turn makes a pristine CVS
  9987. checkout have correct time stamps.
  9988. * Makefile.maint (cvs-sv): New macro, to be used..
  9989. (config.guess-url_prefix, config.sub-url_prefix)
  9990. (texinfo.tex-url_prefix, standards.texi-url_prefix): ..here;
  9991. point to CVS text checkout of Gnulib files.
  9992. (copyright-check): Bump current year.
  9993. (announcement): Do not hard-wire `./announce-gen'.
  9994. (cvs-update): Propagate failures of `cvs' and `move-if-change'
  9995. correctly.
  9996. * Makefile.cfg (executable-update): Use `chmod a+x' instead of
  9997. `chmod +x'.
  9998. (wget_files): Update config.guess, config.sub, texinfo.tex by
  9999. `wget-update', now that their URLs work again.
  10000. 2006-04-10 Paul Eggert <eggert@cs.ucla.edu>
  10001. * doc/autoconf.texi (Particular Types): Don't use AC_CHECK_TYPE.
  10002. Problem noted by Paul D. Smith.
  10003. 2006-04-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10004. * doc/autoconf.texi: Remove unused words from word list.
  10005. * .x-sc_prohibit_atoi_atof, .x-sc_space_tab, .x-sc_sun_os_names,
  10006. .x-sc_trailing_space: New files.
  10007. * doc/standards.texi: Sync from gnulib.
  10008. * NEWS, doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): Mark
  10009. `LIBOBJDIR' as experimental.
  10010. * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): MSYS `ln -s' fails
  10011. with a target directory; it's internally implemented as `cp'
  10012. anyway, but since Autoconf advertises the possibility to use
  10013. a target directory when LN_S is `ln -s', we need to find out.
  10014. Reported by Rolf Ebert <rolf.ebert.gcc@gmx.de> against MSYS,
  10015. analyzed by Keith Marshall <keith.marshall@total.com>.
  10016. * THANKS: Update.
  10017. 2006-04-10 Paul Eggert <eggert@cs.ucla.edu>
  10018. * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Just output
  10019. confdefs.h as-is. In general, if it has backslash-newline or the
  10020. like, then it doesn't work either to sort or to remove empty
  10021. lines.
  10022. 2006-04-09 Stepan Kasal <kasal@ucw.cz>
  10023. * tests/Makefile.am (AUTOCONF_FILES): Fix typo in the comment.
  10024. 2006-04-09 Alexandre Duret-Lutz <adl@gnu.org>
  10025. * lib/autom4te.in (Automake-preselections): Preselect
  10026. _AM_SUBST_NOTMAKE.
  10027. 2006-04-08 Paul Eggert <eggert@cs.ucla.edu>
  10028. * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Use '\'' for an
  10029. apostrophe within a single-quoted string, as this is the usual
  10030. tradition and is easier to read than '"'"'. Don't rely on the
  10031. shell treating "$/" like '$/'. Use a more-consistent indenting
  10032. style for the trap.
  10033. 2006-04-09 Eric Blake <ebb9@byu.net>
  10034. * tests/autotest.at (Backquote command substitution),
  10035. (Multiline backquote command substitution): Remove mistaken
  10036. AT_NO_CMDSUBST from the 2006-03-14 patch, which was meant to be
  10037. applied...
  10038. (Parenthetical command substitution, Multiline parenthetical
  10039. command substitution): here.
  10040. 2006-04-08 Paul Eggert <eggert@cs.ucla.edu>
  10041. Import macros from gnulib (often changing their name).
  10042. * NEWS: AC_C_TYPE_LONG_DOUBLE is now obsolete.
  10043. New macros AC_CHECK_DECLS_ONCE, AC_CHECK_FUNCS_ONCE,
  10044. AC_CHECK_HEADERS_ONCE, AC_FUNC_STRTOLD, AC_HEADER_ASSERT,
  10045. AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE,
  10046. AC_TYPE_LONG_DOUBLE, AC_TYPE_LONG_DOUBLE_WIDER, AC_TYPE_INT8_T,
  10047. AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
  10048. AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_LONG_INT,
  10049. AC_TYPE_UINT8_T, AC_TYPE_UINT16_T, AC_TYPE_UINT32_T,
  10050. AC_TYPE_UINT64_T, AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T,
  10051. AC_TYPE_UNSIGNED_LONG_LONG_INT, AC_USE_SYSTEM_EXTENSIONS.
  10052. The manual mentions Gnulib more prominently.
  10053. * doc/autoconf.texi (Gnulib): New node.
  10054. (Pointers): Add Gnulib URL.
  10055. (Particular Functions): Alphabetize. Add AC_FUNC_STRTOLD.
  10056. (Generic Functions): Add AC_CHECK_FUNCS_ONCE. Refer to new
  10057. Gnulib section.
  10058. (Particular Headers): Add AC_HEADER_ASSERT. For stdbool.h,
  10059. suggest a #define rather than a typedef for _Bool, and mention
  10060. Gnulib rather than trying to substitute stdbool code.
  10061. (Generic Headers): Add AC_CHECK_HEADERS_ONCE.
  10062. (Generic Declarations): Add AC_CHECK_DECLS_ONCE.
  10063. (Particular Structures): Add AC_STRUCT_DIRENT_D_INO,
  10064. AC_STRUCT_DIRENT_D_TYPE.
  10065. (Particular Types): Mention stdint.h and inttypes.h as standard
  10066. headers too.
  10067. Add AC_TYPE_INT8_T, AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
  10068. AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_DOUBLE,
  10069. AC_TYPE_LONG_DOUBLE_WIDER, AC_TYPE_LONG_LONG_INT, AC_TYPE_UINT8_T,
  10070. AC_TYPE_UINT16_T, AC_TYPE_UINT32_T, AC_TYPE_UINT64_T,
  10071. AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T, AC_TYPE_UNSIGNED_LONG_LONG_INT.
  10072. (C Compiler): Move AC_C_LONG_DOUBLE to ...
  10073. (Obsolete Macros): here. Under AC_LONG_DOUBLE, mention
  10074. AC_TYPE_LONG_DOUBLE or AC_TYPE_LONG_DOUBLE_WIDER instead.
  10075. (Posix Variants): Add AC_USE_SYSTEM_EXTENSIONS.
  10076. (Coding Style). Don't mention m4_expand_once.
  10077. * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Implement via
  10078. AC_TYPE_LONG_DOUBLE_WIDER. Now obsolete.
  10079. * lib/autoconf/functions.m4 (_AH_CHECK_FUNCS): New macro.
  10080. (AC_CHECK_FUNCS): Use it.
  10081. (AC_CHECK_FUNCS_ONCE, AC_FUNC_STRTOLD): New macros.
  10082. (AC_FUNC_WAIT3): "the Open Group standards" -> "POSIX".
  10083. * lib/autoconf/general.m4 (AC_CHECK_DECLS_ONCE): New macro.
  10084. * lib/autoconf/headers.m4 (AC_CHECK_HEADERS_ONCE): New macro.
  10085. (AC_HEADER_ASSERT): New macro.
  10086. (AC_HEADER_STDBOOL): Don't assume "#error" works.
  10087. Catch a bug in IBM AIX xlc compiler version 6.0.0.0.
  10088. Catch a bug in an HP-UX C compiler.
  10089. * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): New macro.
  10090. * lib/autoconf/types.m4 (AC_TYPE_INTMAX_T. AC_TYPE_UINTMAX_T):
  10091. (AC_TYPE_INTPTR_T, AC_TYPE_UINTPTR_T. AC_TYPE_LONG_DOUBLE):
  10092. (AC_TYPE_LONG_DOUBLE_WIDER, AC_C_LONG_DOUBLE, AC_TYPE_LONG_LONG_INT):
  10093. (AC_TYPE_UNSIGNED_LONG_LONG_INT, _AC_TYPE_INT, _AC_TYPE_UNSIGNED_INT):
  10094. (_AC_STRUCT_DIRENT, AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE):
  10095. New macros.
  10096. * tests/mktests.sh (ac_exclude_list, au_exclude_list): Do not
  10097. use /^foo|bar$/, it does not mean /^(foo|bar)$/.
  10098. 2006-04-08 Stepan Kasal <kasal@ucw.cz>
  10099. * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Fix the wording
  10100. of the warning introduced by the 2001-08-28 change.
  10101. 2006-04-08 Stepan Kasal <kasal@ucw.cz>,
  10102. Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10103. * lib/autoconf/general.m4 (AC_CACHE_SAVE): All `ac_cv_env_foo'
  10104. variables shall be overriden by the cache.
  10105. * tests/torture.at (AC_ARG_VAR): Test also with a first value
  10106. that contains braces.
  10107. 2006-04-07 Stepan Kasal <kasal@ucw.cz>
  10108. Revert the patch from 2006-04-01 and only improve
  10109. _AS_DETECT_BETTER_SHELL:
  10110. * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Do not optimize; do not
  10111. skip nonexistent directories.
  10112. (_AS_DETECT_BETTER_SHELL): The optimization is moved here--try
  10113. only shell candidates which exist.
  10114. (AS_UNAME): No need to give three parameters to _AS_PATH_WALK.
  10115. * lib/autotest/general.m4 (AT_INIT): No need to give three
  10116. parameters to _AS_PATH_WALK.
  10117. 2006-04-07 Stepan Kasal <kasal@ucw.cz>,
  10118. Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10119. * bin/autoupdate.in (handle_autoconf_patches): Change the way we
  10120. distinguish m4sugar macros.
  10121. * tests/tools.at (autoupdating with aclocal and m4_include):
  10122. New test. Bug reported by Gary V. Vaughan <gary@gnu.org>,
  10123. test case by Noah Misch <noah@cs.caltech.edu>.
  10124. 2006-04-07 Stepan Kasal <kasal@ucw.cz>
  10125. Revert my change from 2006-03-17, in other words:
  10126. * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Insert BIN_SH=xpg4
  10127. and DUALCASE=1.
  10128. (AS_SHELL_SANITIZE): Remove DUALCASE=1.
  10129. * doc/autoconf.texi (Special Shell Variables) <BIN_SH>: Say that
  10130. it is set.
  10131. 2006-04-07 Eric Blake <ebb9@byu.net>
  10132. * doc/autoconf.texi (Programming in M4sh): Document that
  10133. AS_MKDIR_P exits the script on failure.
  10134. * lib/autotest/general.m4: Remove redundant AS_ERROR.
  10135. 2006-04-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10136. * config/elisp-comp, config/install-sh, config/mdate-sh,
  10137. config/missing, config/mkinstalldirs: Sync from Automake.
  10138. * lib/Autom4te/FileUtils.pm, lib/Autom4te/Struct.pm: Sync
  10139. from Automake.
  10140. * doc/make-stds.texi: Sync from gnulib.
  10141. 2006-04-06 Eric Blake <ebb9@byu.net>
  10142. * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_O): Inside cache
  10143. check, s/ac_exeext/ac_cv_exeext/. Fixes regression introduced
  10144. 2006-04-01.
  10145. 2006-04-06 Stepan Kasal <kasal@ucw.cz>,
  10146. Eric Blake <ebb9@byu.net>,
  10147. Paul Eggert <eggert@cs.ucla.edu>,
  10148. Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10149. * lib/autoconf/general.m4 (_AC_CACHE_DUMP): Fix the detection of
  10150. whether `set' quotes correctly: redirect stderr of the tested
  10151. `set', and use a subshell, for Ultrix; use `sed' instead of
  10152. `grep' for zsh `set' which may write binary output; match only
  10153. at the beginning of a line, to avoid false positives.
  10154. In order to avoid false positives by unrelated variables with
  10155. multiline content, put the dump algorithm in a subshell and
  10156. unset all variables containing newlines (except some which are
  10157. special to the shell). Warn about cache variables that are
  10158. unset.
  10159. 2006-04-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10160. * config/config.guess, config/config.sub, config/texinfo.tex:
  10161. Sync from upstream.
  10162. * tests/mktests.sh: Reword comments.
  10163. * tests/mktests.sh: Only skip internal macros starting with
  10164. `_AC_' or `__AC_'. Noted by Stepan Kasal.
  10165. Update exclusion lists for the test suite to this end:
  10166. (AC_ARG_VAR): Do test this now.
  10167. (AC_SEARCH_LIBS, AC_REPLACE_FUNCS): Need an argument.
  10168. (AC_LINKER_OPTION): Remove (renamed to _AC_LINKER_OPTION).
  10169. (AC_LIST_MEMBER_OF): Likewise (renamed to _AC_LIST_MEMBER_IF).
  10170. (AC_LINK_FILES): Obsoleted since (and thus AU_DEFUN'ed).
  10171. * doc/autoconf.texi (Shell Substitutions): Mention the MSYS
  10172. shell issue with double-quoted command substitutions of native
  10173. commands.
  10174. Reported to MSYS by Mark Cave-Ayland, to Autoconf by Keith
  10175. Marshall.
  10176. * Makefile.maint (sc_cast_of_argument_to_free): Do not fail when
  10177. no file matches the glob, discard the warning, set `nullglob'.
  10178. (syntax-check): Likewise.
  10179. (sc_cast_of_x_alloc_return_value): Likewise.
  10180. (sc_cast_of_alloca_return_value, sc_error_exit_success)
  10181. (sc_prohibit_jm_in_m4, .re-list, sc_unmarked_diagnostics)
  10182. (m4-check): Likewise.
  10183. (sc_system_h_headers): Do not print rule on execution.
  10184. (sc_tight_scope): Do not fail for non-existing `src' directory.
  10185. (sc_changelog): Skip the Copyright footer.
  10186. * lib/autoconf/lang.m4: Remove trailing space.
  10187. * lib/autoconf/status.m4: More replacements to
  10188. <tab><space> where this makes sense.
  10189. 2006-04-06 Stepan Kasal <kasal@ucw.cz>
  10190. * tests/Makefile.am (maintainer-check-posix):
  10191. s/POSIXLY_CORRECTLY/POSIXLY_CORRECT/
  10192. * lib/autoconf/status.m4 (_AC_CONFIG_FOOS): Append TAGS to
  10193. ac_config_<foo>s again, sometimes normalized, sometimes not.
  10194. (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_LINKS):
  10195. (AC_CONFIG_COMMANDS): Do not do so here.
  10196. (_AC_CONFIG_REGISTER_DEST): Double quote the tags in macros _AC_LIST_TAGS
  10197. and_AC_LIST_TAG_COMMANDS; fixes another regression introduced by the
  10198. 2005-07-25 rewrite. Noticed by Noah Misch.
  10199. * lib/autoconf/general.m4 (AC_PRESERVE_HELP_ORDER): Do not define
  10200. _AC_PRESERVE_HELP_ORDER, ...
  10201. (AC_ARG_ENABLE, AC_ARG_WITH): ... use AC_PROVIDE_IFELSE insetad.
  10202. * lib/autoconf/general.m4 (AC_ARG_VAR): Do not use m4_divert_once
  10203. inside m4_expand_once; it is redundant.
  10204. * lib/autoconf/general.m4 (_AC_INIT_HELP): Remove the broken support
  10205. for --help from Cygnus `configure.'
  10206. 2006-04-06 Paul Eggert <eggert@cs.ucla.edu>
  10207. * doc/autoconf.texi (C Compiler): Warn about #error. Follows up
  10208. on a patch proposed by Ralf Wildenhues.
  10209. 2006-04-05 Paul Eggert <eggert@cs.ucla.edu>
  10210. * lib/autoconf/status.m4: Replace <space>''<tab> with
  10211. <tab><space> where this makes sense.
  10212. 2006-04-05 Howard Chu <hyc@highlandsun.com> (trivial change)
  10213. Noah Misch <noah@cs.caltech.edu>
  10214. * lib/autoconf/general.m4 (AC_PRESERVE_HELP_ORDER): New macro.
  10215. (AC_ARG_ENABLE, AC_ARG_WITH): Adjust.
  10216. * doc/autoconf.texi (Help Formatting): New node.
  10217. * NEWS: Announce AC_PRESERVE_HELP_ORDER.
  10218. 2006-04-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10219. * TODO, config/Makefile.am, lib/freeze.mk, lib/autoconf/c.m4,
  10220. lib/autoconf/specific.m4, lib/autoconf/status.m4,
  10221. lib/autoconf/types.m4, lib/autotest/general.m4,
  10222. tests/mktests.sh, tests/torture.at: White space cleanup:
  10223. remove some SPACE before TAB, or add quoting ('' or @&t@).
  10224. * NEWS, TODO, bin/autoreconf.in: `filesystem' -> `file system'.
  10225. * doc/autoconf.texi (Shell Substitutions): Document `^' vs. `|'.
  10226. 2006-04-05 Eric Blake <ebb9@byu.net>
  10227. * lib/autotest/general.m4 (AT_INIT): Prep AT_*_all, so that an
  10228. empty test suite works.
  10229. * tests/autotest.at (Empty test suite): Remove xfail.
  10230. 2006-04-05 Noah Misch <noah@cs.caltech.edu>
  10231. * lib/autoconf/status.m4 (_AC_CONFIG_FOOS): Do not append normalized
  10232. TAGS to ac_config_<foo>s.
  10233. (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_LINKS): Do so here.
  10234. (AC_CONFIG_COMMANDS): Append NAME to ac_config_commands without
  10235. normalizing it, consistent it with previous releases.
  10236. * tests/torture.at (Macro calls in AC_CONFIG_COMMANDS tags): New test.
  10237. 2006-04-05 Paul Eggert <eggert@cs.ucla.edu>
  10238. * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR, AS_DIRNAME_EXPR):
  10239. Use simplified args that Eric Blake originally suggested.
  10240. 2006-04-04 Paul Eggert <eggert@cs.ucla.edu>
  10241. * tests/mktests.sh: Don't use 'cat'; just read the files directly.
  10242. Prefer 'sort -u' to 'sort | uniq'. Filter data before sorting it.
  10243. Use 'comm' rather than N instances of grep; this also fixes a bug
  10244. whereby substrings were incorrectly matched, causing us to not
  10245. generate tests for AC_F77_NAME_MANGLING and AC_FUNC_LSTAT.
  10246. (exclude_list): Exclude empty macros.
  10247. (ac_exclude_list): Exclude AC_INCLUDES_DEFAULT.
  10248. Use awk rather than grep -E or egrep, to avoid
  10249. portability problems with regular expressions containing newlines.
  10250. (exclude_list, ac_exclude_list, au_exclude_list, ac_exclude_script):
  10251. Switch from grep to awk syntax.
  10252. (ac_exclude_script): Renamed from ac_exclude_egrep.
  10253. (au_exclude_script): Renamed from au_exclude_egrep.
  10254. 2006-04-04 Noah Misch <noah@cs.caltech.edu>
  10255. * lib/autoconf/general.m4 (_AC_INIT_HELP): Only `configure.in' evidences
  10256. a subdirectory subject to Cygnus `configure'.
  10257. * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Likewise.
  10258. * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Omit the bug
  10259. report request when we have no AC_PACKAGE_BUGREPORT.
  10260. 2006-04-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10261. * THANKS: Update.
  10262. * tests/mktests.sh: Update copyright year in the header of the
  10263. generated files.
  10264. * lib/autoconf/c.m4 (AC_C_INLINE): Do not skip cleanup code.
  10265. (AC_C_RESTRICT): Likewise. Furthermore, add a function with a
  10266. typedef'ed restricted pointer, to catch a compiler bug on
  10267. HP-UX 11.x, and fix warnings so it passes with -Werror.
  10268. (_AC_PROG_CC_C99): Likewise.
  10269. Reported by Albert Chin <china@thewrittenword.com>.
  10270. * tests/mktests.sh: Do not skip AC_C_INLINE, AC_C_RESTRICT.
  10271. 2006-04-03 Noah Misch <noah@cs.caltech.edu>
  10272. * bin/autoscan.in (subdirs): New global.
  10273. (scan_file): Prune directories with configure{,.{ac,in,gnu}}.
  10274. (output): Emit AC_CONFIG_SUBDIRS as needed.
  10275. * tests/autoscan.at (autoscan): Remove XFAIL.
  10276. 2006-04-03 Noah Misch <noah@cs.caltech.edu>
  10277. * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use AC_MSG_NOTICE.
  10278. 2006-04-03 Eric Blake <ebb9@byu.net>
  10279. * THANKS: Add myself.
  10280. 2006-04-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10281. * lib/autotest/general.m4 (AT_INIT): Add `at_testdir' to pointer
  10282. to log, point to testsuite output tree.
  10283. 2006-04-02 Paul Eggert <eggert@cs.ucla.edu>
  10284. * NEWS: AC_PROG_CC and AC_PROG_CXX no longer declare 'exit'.
  10285. * doc/autoconf.texi (Function Portability): Mention that C++
  10286. has trouble with 'exit'.
  10287. (Guidelines): Test programs shouldn't use 'exit'.
  10288. * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
  10289. Remove; all uses removed.
  10290. (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN):
  10291. Return from 'main' instead of calling 'exit'.
  10292. * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_CLOSEDIR_VOID):
  10293. (_AC_FUNC_FNMATCH_IF, AC_FUNC_GETGROUPS):
  10294. (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK, _AC_FUNC_MALLOC_IF):
  10295. (AC_FUNC_MEMCMP, AC_FUNC_MKTIME, AC_FUNC_MMAP, _AC_FUNC_REALLOC_IF):
  10296. (AC_FUNC_SETPGRP, _AC_FUNC_STAT, AC_FUNC_STRTOD, AC_FUNC_STRERROR_R):
  10297. (AC_FUNC_STRNLEN, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
  10298. (_AC_FUNC_FORK, _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
  10299. * lib/autoconf/headers.m4 (AC_HEADER_STDC): Likewise.
  10300. * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
  10301. * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
  10302. * tests/compile.at: Likewise.
  10303. 2006-04-02 Pavel Roskin <proski@gnu.org>
  10304. * doc/autoconf.texi (AC_PATH_X): Update per 2005-08-26 change.
  10305. 2006-04-01 Stepan Kasal <kasal@ucw.cz>
  10306. Clean up _AC_COMPILER_EXEEXT* macros.
  10307. * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't try to
  10308. detect exeext, it will be done by _AC_COMPILER_EXEEXT_O; just set
  10309. ac_file to the name of the default output file and call
  10310. _AC_COMPILER_EXEEXT_WORKS. Move the definition of ac_files and the
  10311. initial `rm' of the candidate files...
  10312. (_AC_COMPILER_EXEEXT): ... here and simplify them. Moreover, use
  10313. the same list in subsequent `rm' calls, and for the temporary
  10314. redefinition of ac_clean_files; call _AC_COMPILER_OBJEXT at the end,
  10315. and don't call the other _AC_COMPILER_EXEEXT_* macros directly, use...
  10316. (_AC_COMPILER_EXEEXT_TESTS): ... this new macro.
  10317. (_AC_COMPILER_EXEEXT_O): Don't export ac_cv_exeext, it's not needed (or
  10318. no longer needed) by libtool. Make it a cache check.
  10319. (_AC_COMPILER_EXEEXT_CROSS): Remove the comment, it was obviously
  10320. copied here by mistake.
  10321. (AC_NO_EXECUTABLES): Redefine _AC_COMPILER_EXEEXT_TESTS, not
  10322. _AC_COMPILER_EXEEXT.
  10323. * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Do not call
  10324. _AC_COMPILER_OBJEXT directly.
  10325. * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
  10326. 2006-04-01 Stepan Kasal <kasal@ucw.cz>
  10327. * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): New macro.
  10328. (AS_DIRNAME): Use it.
  10329. (_AS_PREPARE): Add _AS_DIRNAME_PREPARE.
  10330. * tests/*.at: Remove the generated ones.
  10331. 2006-04-01 Stepan Kasal <kasal@ucw.cz>
  10332. * lib/autotest/general.m4 (AT_INIT): Don't optimize the first PATH walk.
  10333. 2006-04-01 Eric Blake <ebb9@byu.net>
  10334. * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Optimize nonexistent
  10335. directories, unless optional third argument supplied.
  10336. (AS_UNAME): Don't optimize PATH walk.
  10337. * lib/Autom4te/Struct.pm, lib/autoconf/c.m4: s/non-existent/nonexistent/
  10338. 2006-04-01 Eric Blake <ebb9@byu.net>
  10339. and Stepan Kasal <kasal@ucw.cz>
  10340. * lib/m4sugar/m4sh.m4: Sort sections as implied by the comments,
  10341. and fix some typos.
  10342. 2006-04-01 Noah Misch <noah@cs.caltech.edu>
  10343. * lib/autoconf/general.m4 (_AC_INIT_VERSION): Emit script name and
  10344. Autoconf version number despite a zero- or one-argument AC_INIT.
  10345. * bin/autoreconf.in (parse_args): Multiple -v send --verbose to
  10346. subordinate tools.
  10347. * lib/Autom4te/General.pm (getopt): Make -v and -d incremental.
  10348. * doc/autoconf.texi (autoreconf Invocation): Document it.
  10349. * doc/autoconf.texi: Use `Cygwin', `MinGW', and `license' consistently.
  10350. Append LocalWords so ispell-buffer passes cleanly. Spelling fixes.
  10351. 2006-04-01 Eric Blake <ebb9@byu.net>
  10352. * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Allow use in shell lists.
  10353. * lib/autotest/general.m4: Be tolerant of existing directory when
  10354. rm failed to remove it.
  10355. 2006-04-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10356. * bin/autoupdate.in: Redefine m4_location so that warnings print
  10357. the correct lines of the input file by subtracting..
  10358. (_au__first_line): ..this new definition.
  10359. * lib/autoconf/general.m4 (AC_COMPILE_CHECK): Prefer
  10360. AC_MSG_CHECKING over obsolete AC_CHECKING in autoupdated code.
  10361. Remove stray newline in output.
  10362. (AC_FOREACH): AU_DEFUN this as literal for autoupdate, and also
  10363. AC_DEFUN this for autoconf, including the obsoletion diagnose.
  10364. Fixes autoupdating of code where the replacement output contains
  10365. m4sugar macros.
  10366. * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
  10367. * tests/mktests.sh (ac_exclude_list): Add AC_FOREACH.
  10368. (au_exclude_list): Add AC_LANG_SAVE.
  10369. * tests/tools.at: Several new tests for all of this.
  10370. * doc/autoconf.texi (Obsoleting Macros): Give a hint about the
  10371. hairy details.
  10372. The AC_LANG_SAVE issue was reported against Libtool by
  10373. Dalibor Topic <robilad@kaffe.org>, and against Autoconf 2.57 by
  10374. Kristian Kvilekval <kris@cs.ucsb.edu>.
  10375. 2006-04-01 Stepan Kasal <kasal@ucw.cz>
  10376. * bin/autoupdate.in: Handle m4 builtins and m4sugar macros together--
  10377. switch all of them on and of when necessary. Fixes the bug when
  10378. m4sugar macros (e.g., m4_define) were expanded after the first
  10379. automatic update (e.g., after AC_PREREQ or AC_INIT).
  10380. 2006-03-31 Paul Eggert <eggert@cs.ucla.edu>
  10381. * doc/autoconf.texi (Programming in M4sh): Sharpen the descriptions
  10382. of AS_BASENAME and AS_DIRNAME. Reported by Stepan Kasal.
  10383. * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): Handle ///, ////, etc.
  10384. correctly. Problem reported by Eric Blake.
  10385. (_AS_EXPR_PREPARE): Detect Tru64 expr bug. Problem reported by
  10386. Ralf Wildenhues.
  10387. 2006-03-30 Paul Eggert <eggert@cs.ucla.edu>
  10388. * doc/autoconf.texi (Programming in M4sh, Limitations of Usual Tools):
  10389. Tighten up the basename/dirname wording.
  10390. 2006-03-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10391. * Makefile.maint (sc_texi_notab): New check: do not use TABs
  10392. in texinfo files outside of verbatim environments.
  10393. (syntax-check-rules): Update.
  10394. * doc/autoconf.texi (Configuration Headers): Conform to it.
  10395. 2006-03-30 Chris Pickett <cpicke@cs.mcgill.ca> (tiny change)
  10396. * doc/autoconf.texi (autoreconf Invocation): Mention that -I for
  10397. aclocal cannot be given on the command line.
  10398. 2006-03-29 Paul Eggert <eggert@cs.ucla.edu>
  10399. * doc/autoconf.texi (Programming in M4sh): Mention AS_BASENAME.
  10400. Give an example for AS_DIRNAME instead of referring to Posix..
  10401. (File System Conventions): Put discussion of // versus / here, and
  10402. modernize it a bit.
  10403. (Limitations of Usual Tools): Add basename. Remove verbiage
  10404. after dirname, since it got moved to the above sections.
  10405. All this was inspired by a patch proposed earlier by Eric Blake.
  10406. 2006-03-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10407. * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Quote
  10408. `$0' to protect against spaces.
  10409. * lib/autotest/general.m4 (AT_INIT): Likewise.
  10410. * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise, for
  10411. `$0', $as_me.
  10412. 2006-03-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10413. * bin/autoscan.in: The value of find_configure_ac should be
  10414. checked for existence, so we don't barf over a nonexisting
  10415. configure.ac. Reported by Laurence Darby <ldarby@tuffmail.com>.
  10416. 2006-03-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10417. * bin/autoupdate.in: Fix some typos.
  10418. 2006-03-21 Stepan Kasal <kasal@ucw.cz>
  10419. * doc/autoconf.texi (Installation Directory Variables): Fix typo.
  10420. * lib/autoscan/autoscan.list: Refreshed.
  10421. 2006-03-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10422. * tests/local.at (AT_CHECK_ENV): Ignore AC_SUBSTed Objective C
  10423. and Erlang related variables.
  10424. * lib/autoconf/c.m4 (AC_LANG(Objective C), AC_LANG_OBJC)
  10425. (_AC_LANG_ABBREV(Objective C), _AC_LANG_PREFIX(Objective C))
  10426. (AC_LANG_SOURCE(Objective C), AC_LANG_PROGRAM(Objective C))
  10427. (AC_LANG_CALL(Objective C), AC_LANG_FUNC_LINK_TRY(Objective C))
  10428. (AC_LANG_BOOL_COMPILE_TRY(Objective C))
  10429. (AC_LANG_INT_SAVE(Objective C), AC_LANG_PREPROC(Objective C))
  10430. (AC_PROG_OBJCPP, AC_LANG_COMPILER(Objective C), AC_PROG_OBJC)
  10431. (_AC_PROG_OBJC_G): New macros.
  10432. (_AC_ARG_VAR_CPPFLAGS): Adjusted.
  10433. * doc/autoconf.texi (Objective C Compiler): New node.
  10434. (Preset Output Variables): Document OBJCFLAGS.
  10435. (Language Choice): Document `Objective C' language.
  10436. (Fortran Compiler): Fix typo.
  10437. * NEWS: Updated.
  10438. Inspired by a patch from David M. Lloyd <dmlloyd@tds.net>.
  10439. 2006-03-20 Stepan Kasal <kasal@ucw.cz>
  10440. * doc/autoconf.texi (Default Includes): Fix typo
  10441. s/AC_HEADERS_STDC/AC_HEADER_STDC/
  10442. (Limitations of Usual Tools): s/unwriteable/unwritable/
  10443. * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT):
  10444. Fix typos in the comments.
  10445. 2006-03-17 Stepan Kasal <kasal@ucw.cz>
  10446. * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS):
  10447. Factor out the warning to...
  10448. (_AC_TOOL_WARN): ... this new macro; use `cross_compiling'.
  10449. * tests/local.at (AT_CHECK_MACRO_CROSS): Avoid this warning.
  10450. * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
  10451. * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Do not special
  10452. case `ac_delim' when writing the sed script.
  10453. * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Removed BIN_SH=xpg4,
  10454. moved DUALCASE=1 ...
  10455. (AS_SHELL_SANITIZE): ... here.
  10456. * doc/autoconf.texi (Special Shell Variables) <BIN_SH>: Do not say
  10457. that it is set.
  10458. * lib/autoconf/programs.m4 (AC_CHECK_PROG): Quote the parameter of
  10459. AC_SUBST.
  10460. (_AC_PATH_PROG): Store the result to VARIABLE.
  10461. (AC_PATH_PROG): No need to set VARIABLE again.
  10462. * tests/local.at (AT_CHECK_MACRO_CROSS): New macro, creates two tests:
  10463. the first one is usual AT_CHECK_MACRO test, the second one checks
  10464. that the same works when cross-compiling.
  10465. * tests/semantics.at (AC_CHECK_ALIGNOF, AC_CHECK_ALIGNOF struct):
  10466. (AC_CHECK_SIZEOF, AC_CHECK_SIZEOF struct): Use it.
  10467. 2006-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10468. * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Prepend
  10469. the directory `/usr/bin/posix' in the shell search, to prefer
  10470. the Posix shell not only in subsequent spawns as with `$BIN_SH'
  10471. on Tru64.
  10472. * doc/autoconf.texi (contents): To fix texi2html output, hide
  10473. `@setcontentsaftertitlepage' for HTML.
  10474. (Writing Autoconf Macros): Likewise, insert space after `@c'.
  10475. (Leviticus, Numbers, Deuteronomy): Likewise, change `@,c' to
  10476. `@,{c}'.
  10477. 2006-03-16 Stepan Kasal <kasal@ucw.cz>
  10478. * lib/m4sugar/m4sh.m4 (_AS_PREPARE): Move the IFS setup and CDPATH
  10479. sanitizing...
  10480. (AS_SHELL_SANITIZE): ...here; mention _AS_PATH_WALK needs IFS set.
  10481. * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Add an explanation
  10482. why IFS is restored so late; thank you, Ralf, for reminding us.
  10483. 2006-03-15 Stepan Kasal <kasal@ucw.cz>
  10484. * doc/autoconf.texi (Pretty Help Strings): No need to use cached
  10485. variables in the examples.
  10486. 2006-03-14 Romain Lenglet <rlenglet@users.forge.objectweb.org>
  10487. * doc/autoconf.texi (several sections): Cleaned up documentation for
  10488. macros in erlang.m4.
  10489. 2006-03-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10490. * tests/autotest.at (AT_NO_CMDSUBST): New macro to determine
  10491. failure condition for `$(cmd)' style command substitutions.
  10492. (Parenthetical command substitution, Multiline parenthetical
  10493. command substitution): Use it.
  10494. * doc/autoconf.texi (Special Shell Variables): Missing word.
  10495. Reported by Keith Marshall <keith.marshall@total.com>.
  10496. * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Do not forget to reset
  10497. IFS even in case of empty `$PATH'.
  10498. 2006-03-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10499. * lib/autotest/general.m4 (AT_INIT) <at_optarg>: Optimize
  10500. `expr' away if there is nothing to do.
  10501. < --keywords >: Simplify and robustify argument handling.
  10502. Revert erroneous comment from 2005-08-23. Extend to allow
  10503. keyword negation with `!'.
  10504. Update help message. Remove broken code to prevent running
  10505. tests multiple times.
  10506. * doc/autoconf.texi (testsuite Invocation) < --keywords >:
  10507. Update and fix the documentation accordingly.
  10508. * tests/autotest.at (Keywords): Renamed to..
  10509. (Keywords and ranges): .. this. Extended to make sure negated
  10510. keywords, keywords taken from AT_SETUP arguments, and numeric
  10511. test ranges work, and that matching is case-insensitive.
  10512. 2006-03-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10513. * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW): Use a typedef to
  10514. allow to pass unnamed structs even in C++.
  10515. (AC_CHECK_SIZEOF): Likewise.
  10516. Also fix quoting error in `AC_MSG_FAILURE' arguments.
  10517. * tests/semantics.at (AC_CHECK_ALIGNOF struct, AC_CHECK_SIZEOF
  10518. struct): New tests for unnamed structs, each both native and
  10519. cross-compiling.
  10520. * lib/autoconf/c.m4 (AC_C_TYPEOF): Use typedef to avoid defining
  10521. a structure inside a cast, for C++ conformance.
  10522. * lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Likewise.
  10523. Also fix quoting error in `AC_MSG_FAILURE' arguments.
  10524. * lib/autoconf/c.m4 (AC_PROG_CC_STDC): If we cannot enable C99
  10525. nor C89 mode, set `$ac_cv_prog_cc_stdc' to `no' instead of
  10526. trying to execute the command `no'.
  10527. * lib/autoconf/lang.m4 (AC_LANG_CONFTEST): AC_DEFUN this, not
  10528. m4_define, so that the requirements of `AC_INCLUDES_DEFAULT' are
  10529. expanded outside.
  10530. * doc/autoconf.texi (autoconf Invocation): Fix typos in trace
  10531. example. Do not emphasize `$%', it is hardly new and special.
  10532. Reported by Edouard Bechetoille <ebecheto@ens-lyon.fr>.
  10533. * doc/autoconf.texi (Limitations of Usual Tools): Document
  10534. OpenBSD and traditional `grep' failure to handle multiple
  10535. patterns separated by newlines.
  10536. 2006-03-10 Romain Lenglet <rlenglet@users.forge.objectweb.org>
  10537. * doc/autoconf.texi (several sections): Add documentation for macros
  10538. in erlang.m4.
  10539. 2006-03-10 Eric Blake <ebb9@byu.net>
  10540. * doc/autoconf.texi (Obsolete Macros): Fix wording of
  10541. AC_TRY_LINK_FUNC.
  10542. 2006-03-10 Paul Eggert <eggert@cs.ucla.edu>
  10543. * doc/autoconf.texi: Use @acronym more consistently for acronyms
  10544. like BSD, GPL, LGPL. Fix minor English typos.
  10545. (AC_STDC_HEADERS, AC_PROG_GCC_TRADITIONAL):
  10546. Mention that these macros are becoming obsolete.
  10547. (AC_STDC_HEADERS, AC_PROG_CC, AC_C_CONST, AC_C_VOLATILE):
  10548. Use more modern terminology for which standard is what.
  10549. (AC_PROG_CC): Mention gcc first, and remove obsolete references to egcs
  10550. and to ansi2knr.
  10551. (AC_PROG_CXX): Likewise.
  10552. (AC_C_PROTOTYPES, Test Functions, AC_LIBOBJ vs LIBOBJS):
  10553. Remove obsolete discussion about how to port to K&R.
  10554. (Guidelines for Test Programs): Suggest AC_HEADER_STDBOOL rather than
  10555. the obsolescent AC_HEADER_STDC.
  10556. (AC_FOO_IFELSE vs AC_TRY_FOO): Don't use #error; test programs
  10557. can't rely on it.
  10558. 2006-03-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10559. * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
  10560. Remove stdin redirection from /dev/null to allow pipe to work.
  10561. 2006-03-08 Paul Eggert <eggert@cs.ucla.edu>
  10562. * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
  10563. Require that /lib/cpp include stdio.h correctly. Solaris 10's
  10564. doesn't. Problem reported by D'Arcy A MacIsaac and diagnosed by
  10565. Ralf Wildenhues.
  10566. 2006-03-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10567. * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): The limit for
  10568. HP-UX sed is 99 commands, not 100.
  10569. (_AC_OUTPUT_FILES_PREPARE): Do not count the `}' of an
  10570. _AC_SUBST_FILES fragment. Separate `{' and `r' commands by
  10571. newline for portability.
  10572. * tests/torture.at (Torturing config.status): Also test 100
  10573. AC_SUBST_FILE invocations. Fix test to actually verify the
  10574. AC_CONFIG_FILES output.
  10575. * doc/autoconf.texi (Limitations of Usual Tools): Document HP-UX
  10576. command, label, and read-file `r' limits. Unify HP-UX spelling.
  10577. * tests/Makefile.am (edit, $(wrappers)): Do not use `$<' in
  10578. non-suffix rule.
  10579. ($(TESTSUITE_GENERATED_AT)): Use `$(srcdir)` for the benefit of
  10580. non-GNU make.
  10581. (autoconfdir, $(AUTOCONF_FILES)): Likewise.
  10582. * tests/mktests.sh: Small shell portability fixes.
  10583. 2006-03-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10584. * doc/autoconf.texi (Caching Results): Fix the examples to use a
  10585. recommended quoting style and discard unwanted output.
  10586. 2006-03-05 Paul Eggert <eggert@cs.ucla.edu>
  10587. * lib/autotest/general.m4 (_AT_NORMALIZE_TEST_GROUP_NUMBER): New macro.
  10588. (AT_INIT): Use it, to remove arbitrary limit of 999,999 test
  10589. cases, and to work around Tru64 expr bug.
  10590. 2006-03-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10591. * doc/autoconf.texi (Limitations of Usual Tools): Mention Tru64
  10592. expr bug that turns the result of a regex match into a number if
  10593. possible.
  10594. 2006-03-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10595. * lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Work around
  10596. HPUX compiler bug, similarly to AC_CHECK_SIZEOF, as documented
  10597. in section `Specific Compiler Characteristics'.
  10598. 2006-03-04 Eric Blake <ebb9@byu.net>
  10599. * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R): Avoid unused
  10600. variable warning.
  10601. 2006-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10602. * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Force correct
  10603. order of variable initialization, so even the Solaris 2.6 shell
  10604. can create a config header correctly. Fixes lots of test suite
  10605. failures.
  10606. 2006-02-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10607. * doc/autoconf.texi (Text processing Macros): New node to
  10608. document the m4sugar macros m4_re_escape, m4_tolower,
  10609. m4_toupper, m4_split, m4_normalize, m4_append, m4_append_uniq.
  10610. 2006-02-22 Paul Eggert <eggert@cs.ucla.edu>
  10611. * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Fix typo:
  10612. XrmInitialize (0) -> XrmInitialize ().
  10613. Reported by Toshio Kuratomi.
  10614. 2006-02-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10615. * lib/m4sugar/m4sh.m4 (AS_IF): Extend to allow more than one
  10616. test, as in `if tests; then cmd1; elif ...; else ...; fi'.
  10617. * doc/autoconf.texi (Programming in M4sh): Adjusted.
  10618. * tests/m4sh.at (AS_IF and AS_CASE): Test this. Also make sure
  10619. both macros are defun'ed so that required macros are evaluated
  10620. outside.
  10621. * doc/autoconf.texi (Prerequisite Macros): State more precisely
  10622. where a required macro will be expanded.
  10623. (Coding Style): Another reason not to use `m4_define'.
  10624. 2006-02-21 Eric Blake <ebb9@byu.net>
  10625. * lib/autoconf/general.m4 (_AC_LIBOBJ): Minor optimization.
  10626. 2006-02-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10627. * doc/autoconf.texi (Looping constructs): New node, to
  10628. document m4_for, m4_foreach, m4_foreach_w, and mention
  10629. obsolete AC_FOREACH.
  10630. (Obsolete Macros): Document AC_FOREACH.
  10631. * lib/m4sugar/m4sugar.m4 (_m4_for): Fix declaration comment.
  10632. (m4_for): Fix to never loop (almost) endlessly, work correctly
  10633. with arithmetic expressions in arguments, a step of zero or
  10634. non-integer multiple of the interval, and avoid integer
  10635. overflow.
  10636. * tests/m4sugar.at: New test for m4_for, m4_foreach, and
  10637. m4_foreach_w.
  10638. 2006-02-20 Romain Lenglet <rlenglet@users.forge.objectweb.org>
  10639. Add basic support for Erlang, both for configuring Erlang/OTP
  10640. tools, and Erlang as a conf test language.
  10641. * lib/autoconf/erlang.m4: New file.
  10642. * lib/autoconf/autoconf.m4: Add erlang.m4.
  10643. * lib/autoconf/Makefile.am (dist_autoconflib_DATA): Likewise.
  10644. * lib/freeze.mk (autoconf_m4f_dependencies): Likewise.
  10645. * NEWS: Add short description of new macros.
  10646. * THANKS: Add Romain Lenglet.
  10647. 2006-02-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10648. * doc/autoconf.texi (Shellology) <pdksh>: Document that pdksh as
  10649. native /bin/sh may not set KSH_VERSION (seen on OpenBSD).
  10650. 2006-02-15 Eric Blake <ebb9@byu.net>
  10651. * lib/autoconf/general.m4 (AC_CHECK_DECL): Avoid unused variable
  10652. warning.
  10653. 2006-02-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10654. * lib/m4sugar/m4sh.m4 (AS_CASE): New macro.
  10655. (_AS_CASE): Private helper macro.
  10656. * tests/m4sh.at: Basic tests for AS_IF and AS_CASE.
  10657. * doc/autoconf.texi (Programming in M4sh): Document AS_CASE.
  10658. Fix syntax of AS_IF description
  10659. (Prerequisite Macros): Mention AS_IF and AS_CASE as workarounds
  10660. for the AC_REQUIRE mess.
  10661. * NEWS: Mention AS_CASE, AS_BOURNE_COMPATIBLE, and
  10662. AS_SHELL_SANITIZE.
  10663. 2006-02-14 Paul Eggert <eggert@cs.ucla.edu>
  10664. * doc/autoconf.texi: Minor style cleanup.
  10665. Be consistent about spaces after commas.
  10666. Insert [] where empty args look a bit funny.
  10667. Fix some "i.e." and "e.g." usages.
  10668. Try to avoid "X/Y" usages.
  10669. Don't be pedantic about "ISO C99"; just say C99.
  10670. Prefer GNU style for spaces in front of parens.
  10671. (Function Portability): Comment about C89 versus C99
  10672. signed integer division.
  10673. (Particular Headers): Use current gnulib style for dirent
  10674. includes.
  10675. 2006-02-14 Stepan Kasal <kasal@ucw.cz>
  10676. and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10677. * bin/autoupdate.in (handle_autoconf_macros): Fix updating of
  10678. macros without parameters.
  10679. * lib/autoconf/autoupdate.m4 (AU_ALIAS): Likewise.
  10680. * doc/autoconf.texi (Obsoleting Macros): Document AU_ALIAS.
  10681. * tests/tools.at (autoupdating AU_ALIAS): New test for AU_ALIAS
  10682. `$#' bug.
  10683. (autoupdate): Updated to match AU_ALIAS fix.
  10684. 2006-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10685. and Paul Eggert <eggert@cs.ucla.edu>
  10686. * doc/autoconf.texi (Programming in M4sh): Document
  10687. AS_BOURNE_COMPATIBLE and AS_SHELL_SANITIZE.
  10688. 2006-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10689. * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Renamed to..
  10690. (AS_BOURNE_COMPATIBLE): ..this.
  10691. (_AS_RUN, AS_SHELL_SANITIZE): Adjusted all callers.
  10692. 2006-02-12 Paul Eggert <eggert@cs.ucla.edu>
  10693. * doc/install.texi (Defining Variables): Tighten up the
  10694. CONFIG_SHELL wording.
  10695. 2006-02-12 Paul Eggert <eggert@cs.ucla.edu>
  10696. and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10697. * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Look at the output
  10698. of (set -o) rather than testing whether (set -o posix) succeeds,
  10699. to work around a bug in the AIX 5.3 shell. Problem originally
  10700. reportd by Howard Chu for libtool.
  10701. 2006-02-10 J.T. Conklin <jtc@acorntoolworks.com>
  10702. * doc/autoconf.texi (Running the Compiler, Running the Linker):
  10703. Changes the macro arguments in summaries to match the
  10704. descriptions.
  10705. 2006-02-04 Stepan Kasal <kasal@ucw.cz>
  10706. * doc/install.texi (Defining Variables): Classify the `CONFIG_SHELL'
  10707. hint as ``a workaround for a bug.''
  10708. 2006-01-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10709. * bin/autoreconf.in: New option `--no-recursive'.
  10710. Improve wording for subpackages a bit.
  10711. * doc/autoconf.texi (autoreconf Invocation): Updated.
  10712. * NEWS: Updated.
  10713. * doc/install.texi (Defining Variables): Put `CONFIG_SHELL'
  10714. in environment of `configure', not the command line.
  10715. Reported by Howard Chu <hyc@highlandsun.com>.
  10716. 2006-01-25 Paul Eggert <eggert@cs.ucla.edu>
  10717. * doc/autoconf.texi (Limitations of Builtins): Document the
  10718. problem with "trap -".
  10719. 2006-01-23 Steven G. Johnson <stevenj@fftw.org>
  10720. * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN):
  10721. (_AC_FC_MAIN, __AC_FC_NAME_MANGLING): Use _AC_LANG in check
  10722. messages to differentiate Fortran and Fortran 77 tests.
  10723. (AC_FC_SRCEXT, AC_FC_FREEFORM): Use AC_LANG_PUSH/POP instead of
  10724. AC_LANG_ASSERT, to allow use in mixed-language projects.
  10725. 2006-01-23 Paul Eggert <eggert@cs.ucla.edu>
  10726. * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Prefer "defined
  10727. FOO" to "defined (FOO)".
  10728. * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Likewise.
  10729. * lib/autoconf/headers.m4 (AC_HEADER_STAT): Likewise.
  10730. * lib/autoconf/specific.m4 (AC_XENIX_DIR): Likewise.
  10731. * tests/tools.at (ifnames): Likewise.
  10732. 2006-01-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10733. * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Do not pass `-q' to mktemp.
  10734. * lib/Autom4te/General.pm (mktmpdir): Likewise.
  10735. (END): Improve error message a bit.
  10736. Reported by Bruce Korb <bkorb@gnu.org>.
  10737. 2006-01-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10738. * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
  10739. `-LIST:' and `-LNO:', for PathScale 2.3 compilers.
  10740. 2006-01-11 Stepan Kasal <kasal@ucw.cz>
  10741. * doc/autoconf.texi (Header Portability): On Solaris 8, sys/ptem.h
  10742. requires sys/stream.h. Reported by Oliver Kiddle.
  10743. 2006-01-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10744. Stepan Kasal <kasal@ucw.cz>
  10745. * lib/autotest/general.m4 (AT_INIT): When ensuring writability
  10746. before the removals of test dirs, use `find' to avoid modification
  10747. of symlinked directories.
  10748. 2006-01-11 Steven G. Johnson <stevenj@alum.mit.edu>
  10749. * lib/autoconf/fortran.m4 (AC_F77_DUMMY_MAIN, AC_FC_DUMMY_MAIN):
  10750. Don't ignore the macro arguments.
  10751. 2006-01-11 David Thompson <dthompsn@vizsolutions.com>
  10752. * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Add `exit'
  10753. declaration that works for MSVC.
  10754. 2006-01-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10755. * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT):
  10756. Add `*.map' and `.inf' for Green Hills compiler.
  10757. Reported by Stefan Seefeld <stefan@codesourcery.com>.
  10758. * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Handle quadrigraphs
  10759. correctly: pad with spaces after FIRST_PREFIX if necessary,
  10760. and compute string lenghts with `m4_qlen' instead of `m4_len'.
  10761. * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Comments updated.
  10762. * tests/m4sh.at (AS_HELP_STRING): Test extended.
  10763. * NEWS: Updated.
  10764. Reported by numerous people, numerous times.
  10765. 2006-01-05 Paul Eggert <eggert@cs.ucla.edu>
  10766. * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in
  10767. * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in:
  10768. * lib/autoconf/general.m4, lib/autoconf/status.m4:
  10769. * lib/autotest/general.m4, tests/local.at:
  10770. Update copyright year to 2006.
  10771. * Makefile.maint (sc_root_tests): Use the recommended style s/a/b/ for
  10772. sed substitutions.
  10773. * doc/autoconf.texi (Installation Directory Variables): Use s|a|b|
  10774. for file names, again. Reported by Noah Misch.
  10775. (Coding Style): Explain that s|a|b| is preferred for file names.
  10776. * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Prefer s/a/b/.
  10777. (AC_OUTPUT_MAKE_DEFS): Likewise.
  10778. * lib/autotest/general.m4 (AT_INIT): Likewise.
  10779. * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise.
  10780. * tests/local.at (AT_CHECK_AUTOM4TE): Likewise.
  10781. Fix Posix-conformance bugs re use of { command in sed scripts,
  10782. and improve the sed-related documentation a bit.
  10783. * doc/autoconf.texi (Installation Directory Variables): Use
  10784. our own style advice re 's,a,b,' versus 's|a|b|'. Use "Sed"
  10785. rather than "sed" when talking about Sed in general.
  10786. (Particular Programs): Likewise.
  10787. (Coding Style): y is like s with respect to / and ,.
  10788. (Limitations of Usual Tools): Document the weird restrictions
  10789. that Posix has about { }. Use better quoting.
  10790. * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE, _AC_OUTPUT_HEADER):
  10791. Rewrite to conform to Posix rules about { } in sed scripts.
  10792. * lib/m4sugar/m4sh.m4 (AS_DIRNAME_SED, AS_BASENAME_SED): Likewise.
  10793. * tests/foreign.at (Libtool): Likewise.
  10794. * tests/semantics.at (AC_CHECK_PROG & AC_CHECK_PROGS):
  10795. Use our own style advice re 's,a,b,' versus 's|a|b|'.
  10796. 2006-01-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10797. * lib/autoconf/status.m4: Fix typo.
  10798. * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
  10799. singly- or doubly-quoted arguments to `-cmdline', `-ignore',
  10800. `-def', for the benefit of Portland `pgf90 -Mipa'.
  10801. Reported by Christopher Hulbert <cchgroupmail@gmail.com>.
  10802. 2006-01-04 Paul Eggert <eggert@cs.ucla.edu>
  10803. * doc/autoconf.texi: Update copyright (and other) dates to 2006.
  10804. * doc/autoconf.texi (Shellology): Mac OS X 10.2 changed the default
  10805. shell from zsh to bash.
  10806. 2005-12-31 Stepan Kasal <kasal@ucw.cz>
  10807. * lib/autoconf/programs.m4 (_AC_PROG_GREP): Use $PATH_SEPARATOR;
  10808. ":" caused problems on OS/2-EMX. Suggested by Andrew Belov.
  10809. 2005-12-29 Paul Eggert <eggert@cs.ucla.edu>
  10810. * doc/autoconf.texi (Shell Substitutions): Warn about unbalanced
  10811. parentheses in $(...). Problem reported by Eric Blake.
  10812. 2005-12-12 Paul Eggert <eggert@cs.ucla.edu>
  10813. * doc/autoconf.texi (Limitations of Usual Tools):
  10814. Mention which characters can be escaped with \ in portable regular
  10815. expressions used in grep, sed, expr. Mention the leading ^ problem
  10816. with expr. Clean up some confusing wording. Mention which
  10817. grep options are portable.
  10818. 2005-12-09 Stepan Kasal <kasal@ucw.cz>
  10819. * tests/local.at (AT_CHECK_AUTOM4TE): Fix typo in the comment.
  10820. 2005-12-02 Paul Eggert <eggert@cs.ucla.edu>
  10821. * doc/autoconf.texi (Limitations of Builtins): Fix typos in previous
  10822. patch, noted by Ralf Wildenhues.
  10823. 2005-12-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10824. * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Try `set -o
  10825. posix' unconditionally, for pdksh in `native sh' emulation.
  10826. 2005-12-01 Paul Eggert <eggert@cs.ucla.edu>
  10827. * doc/autoconf.texi (Shellology): Document eval $? problem
  10828. with ash.
  10829. (Limitations of Builtins): Likewise.
  10830. 2005-11-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10831. * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Pass
  10832. CONFIG_SHELL in the environment of the configure rerun.
  10833. * doc/autoconf.texi (Here-Documents, config.status Invocation):
  10834. Suggest passing CONFIG_SHELL absolute, and in the environment
  10835. rather than as option.
  10836. 2005-11-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10837. * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE):
  10838. Fix quoting of output line (triggered for many AC_SUBST_FILEs).
  10839. Fix macro quoting. Fix output for n * 98 substituted variables.
  10840. 2005-11-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10841. * lib/autoconf/status.m4 (_AC_OUTPUT_MAIN_LOOP): Initialize
  10842. `tmp' to avoid file removal race.
  10843. 2005-11-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10844. * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
  10845. ac_clean_files and LIBOBJS.
  10846. 2005-11-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10847. * lib/autoconf/programs.m4 (AC_CHECK_PROG, AC_PATH_PROG):
  10848. Factor functionality to..
  10849. (_AC_CHECK_PROG, _AC_PATH_PROG): these new macros, but only
  10850. `AC_SUBST($1)' in the public version.
  10851. (AC_CHECK_TOOL, AC_PATH_TOOL, AC_PATH_TARGET_TOOL)
  10852. (AC_CHECK_TARGET_TOOL): Use internal versions for ac_ct_* and
  10853. ac_pt_* variables.
  10854. 2005-11-01 Stepan Kasal <kasal@ucw.cz>
  10855. * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Remove the comment about 8+3
  10856. filesystems.
  10857. 2005-11-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10858. * NEWS: Move AH_HEADER mention to right place.
  10859. 2005-10-27 Stepan Kasal <kasal@ucw.cz>
  10860. * lib/autoconf/c.m4 (AC_PROG_CC_C_O): "conftst2" -> "conftest2"
  10861. * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
  10862. 2005-10-25 Stepan Kasal <kasal@ucw.cz>
  10863. * lib/autoconf/c.m4 (AC_PROG_CC_C_O): rm -f conftst2.*, not only
  10864. conftst2.$ac_objext.
  10865. * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
  10866. 2005-10-24 Stepan Kasal <kasal@ucw.cz>
  10867. * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Use conftst2.o instead of
  10868. conftest.o, to see whether the compiler really obeys; rm the object
  10869. file before and after the test and register it with ac_clean_files.
  10870. * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
  10871. 2005-10-21 Stepan Kasal <kasal@ucw.cz>
  10872. * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): When determining,
  10873. the delimiter CEOF$ac_eof: fix quoting of CEOF[0-9]* and modify the
  10874. code so that the most common case requires less forks.
  10875. 2005-10-20 Stepan Kasal <kasal@ucw.cz>
  10876. * doc/autoconf.texi (Shell Substitutions}: Document that ${10} is
  10877. not portable; thanks to Paul Eggert and Alexandre.
  10878. * NEWS: Fix an old typo.
  10879. 2005-10-20 Jim Meyering <jim@meyering.net>
  10880. * doc/autoconf.texi: Typo: s/feature/features/ in ``the features of
  10881. the latter'', in two places.
  10882. 2005-10-19 Paul Eggert <eggert@cs.ucla.edu>
  10883. * doc/autoconf.texi (Generating Sources): AC_LANG_PROGRAMS ->
  10884. AC_LANG_PROGRAM, fixing a typo. Don't give details about
  10885. the inner workings of AC_LANG_FUNC_LINK_TRY.
  10886. * lib/autoconf/c.m4 (AC_LANG_CALL(C)): Reformat to match
  10887. AC_LANG_FUNC_LINK_TRY. This involves returning the value returned
  10888. by the function rather than ignoring it.
  10889. (AC_LANG_FUNC_LINK_TRY(C)): Call the function rather than simply
  10890. comparing its address. Intel's interprocedural optimization was
  10891. outsmarting the old heuristic. Problem reported by
  10892. Mikulas Patocka.
  10893. 2005-10-19 Stepan Kasal <kasal@ucw.cz>
  10894. * lib/autoconf/general.m4 (AC_SUBST): Remove an obsolete comment.
  10895. 2005-10-05 Paul Eggert <eggert@cs.ucla.edu>
  10896. * lib/m4sugar/m4sugar.m4 (_m4_map): New macro.
  10897. (m4_map, m4_map_sep): Use it. Handle the empty list correctly.
  10898. 2005-10-04 Stepan Kasal <kasal@ucw.cz>
  10899. * lib/autotest/general.m4 (AT_INIT): Really make the subtree writable
  10900. before removing it (chmod -R u+rwx); there are three instances of this.
  10901. 2005-10-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10902. Stepan Kasal <kasal@ucw.cz>
  10903. * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Balance parentheses.
  10904. * lib/autotest/general.m4 (AT_INIT): If the test dir already exists,
  10905. make its content writable before removing it. Remove an errorneous
  10906. comment from the end, where the logs of the failed tests are copied
  10907. to the main log file.
  10908. 2005-09-27 Stepan Kasal <kasal@ucw.cz>
  10909. * tests/semantics.at (AC_C_BIGENDIAN): Pass --force to autoheader,
  10910. in case the computer is too quick. Double quote the configure.ac
  10911. snippets.
  10912. * tests/local.at (AT_CHECK_AUTOCONF): Always pass --force to prevent
  10913. problems if the testsuite were running too fast.
  10914. 2005-09-18 Paul Eggert <eggert@cs.ucla.edu>
  10915. * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Look for X11/Xlib.h
  10916. and XrmInitialize rather than X11/Intrinsic.h and XtMalloc
  10917. (which belong to Xt, not X itself). See Debian bug 327655.
  10918. * NEWS: Mention this.
  10919. 2005-09-07 Stepan Kasal <kasal@ucw.cz>
  10920. * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Remove an incorrect comment.
  10921. 2005-09-06 Paul Eggert <eggert@cs.ucla.edu>
  10922. * config/move-if-change: Don't output "$2 is unchanged";
  10923. suggested by Ben Elliston. Handle weird characters correctly.
  10924. 2005-09-06 Stepan Kasal <kasal@ucw.cz>
  10925. * lib/autoconf/libs.m4 (AC_SEARCH_LIBS): Merge the two AC_LINK_IFELSE
  10926. calls, so that the final expansion of this macro is shorter.
  10927. Create the conftest.$ac_ext outside the `for' loop, to speed the run.
  10928. Do not use `break' in the argument to AC_LINK_IFELSE, it would skip
  10929. the cleanup there. Use AS_VAR_* macros, to be more general.
  10930. * tests/semantics.at (AC_SEARCH_LIBS): Check for the cleanup.
  10931. * lib/autoconf/general.m4: Use AS_IF where appropriate.
  10932. * lib/m4sugar/m4sh.m4 (AS_IF): Use m4_default.
  10933. 2005-09-01 Stepan Kasal <kasal@ucw.cz>
  10934. * doc/autoconf.texi (Configuration Headers): Add an index entry
  10935. for AH_HEADER.
  10936. 2005-08-26 Pavel Roskin <proski@gnu.org>
  10937. * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Use shell variable
  10938. XMKMF to locate xmkmf. Make XMKMF precious. Export CC when
  10939. running xmkmf.
  10940. 2005-08-26 Paul Eggert <eggert@cs.ucla.edu>
  10941. * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
  10942. The previous patch didn't work, so try a better one.
  10943. 2005-08-26 Stepan Kasal <kasal@ucw.cz>
  10944. * doc/autoconf.texi (Programming in M4sh) <AS_TR_CPP>: Fix m4 quoting
  10945. in the example. Reported by Bruno Haible.
  10946. <AS_TR_SH>: Likewise. Also modify the example to be more convincing:
  10947. "if $undefined_var;" succeeds with my shell.
  10948. * lib/autoconf/general.m4 (AC_CANONICAL_BUILD, AC_CANONICAL_HOST,
  10949. AC_CANONICAL_TARGET): Define by AC_DEFUN, no need to use AC_DEFUN_ONCE;
  10950. but change the m4_divert_text to m4_divert_once.
  10951. 2005-08-25 Paul Eggert <eggert@cs.ucla.edu>
  10952. * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
  10953. Work around bug in Solaris /usr/xpg4/bin/awk.
  10954. The bug is present in at least Solaris 8 through 10.
  10955. 2005-08-24 Stepan Kasal <kasal@ucw.cz>
  10956. * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Simplify; rejecting
  10957. some evil values and relying on the fact that $* concatenates the
  10958. parameters by the first character from IFS.
  10959. 2005-08-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>,
  10960. Stepan Kasal <kasal@ucw.cz>
  10961. * lib/autoconf/status.m4 (_AC_CONFIG_REGISTER_DEST): When the
  10962. first header appears, define AH_HEADER.
  10963. * doc/autoconf.texi (Configuration Headers): Document AH_HEADER.
  10964. Update limitations about when to call AC_CONFIG_HEADERS.
  10965. (Configuration Commands): Document that AC_CONFIG_COMMANDS_PRE
  10966. parameter can call AC_SUBST, AC_DEFINE, or AC_CONFIG_FOOS; explain
  10967. that AC_CONFIG_COMMANDS_PRE and AC_CONFIG_COMMANDS_POST are not
  10968. ``Configuration Actions''; fix their index entries.
  10969. * lib/autotest/general.m4 (AT_INIT): Process multiple keywords
  10970. options correctly. Process N-M as M-N if M is smaller than N.
  10971. Process ranges correctly so that N-N will run only N.
  10972. Sort and uniquify the tests that will be run. If there is more
  10973. than one test, reinsert the banners for the tests.
  10974. * tests/autotest.at (Keywords): Unmark XFAIL.
  10975. 2005-08-23 Stepan Kasal <kasal@ucw.cz>
  10976. * lib/autoconf/general.m4 (_AC_DEFINE_Q): Strip the parameter list
  10977. before passing the macro name to AH_TEMPLATE.
  10978. * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): config.status
  10979. now opens log after option processing; in particular, --version
  10980. and --help do not touch config.log.
  10981. * Makefile.maint: Revert the change from 2005-08-12.
  10982. 2005-08-22 Stepan Kasal <kasal@ucw.cz>
  10983. * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_WITH): Factor out
  10984. common code to...
  10985. (_AC_ENABLE_IF, _AC_ENABLE_IF_ACTION): ... these new macros.
  10986. 2005-08-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10987. * doc/autoconf.texi (Using Autotest, testsuite Scripts)
  10988. (Autotest Logs, Writing testsuite.at, testsuite Invocation):
  10989. Language cleanup.
  10990. * doc/autoconf.texi (Defining Symbols, Changed Results):
  10991. Prepend to LIBS, not append, in examples.
  10992. 2005-08-16 Stepan Kasal <kasal@ucw.cz>
  10993. When building in place, set srcdir="."; suggested by Tim Van Holder.
  10994. * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Do this; to recognize
  10995. build in place, we need ac_pwd, and thus have to AC_REQUIRE ...
  10996. (_AC_INIT_DIRCHECK): ... this macro and AC_DEFUN both of them.
  10997. * lib/autoconf/status.m4 (_AC_SRCDIRS): Fix a comment: srcdir="."
  10998. does not mean "no --srcdir option".
  10999. 2005-08-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  11000. * tests/autoscan.at (autoscan): New file.
  11001. * tests/suite.at: Use it.
  11002. * tests/Makefile.am (TESTSUITE_HAND_AT): Add it.
  11003. Reported against Libtool by Gideon Go <gideon.go@gmail.com>.
  11004. * tests/autotest.at (Keywords): Test keywords combinations.
  11005. 2005-08-12 Stepan Kasal <kasal@ucw.cz>
  11006. * Makefile.maint (GZIP_ENV): When checking the help text of gzip,
  11007. add "2>&1"; gzip 1.2.4 prints help on stderr.
  11008. 2005-07-27 Stepan Kasal <kasal@ucw.cz>
  11009. * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): The symbol at_reason
  11010. was pushdef'ed twice while popped only once. Push it only once.
  11011. (_AT_CHECK): Cosmetic changes to the "case $at_status" command.
  11012. 2005-07-26 Stepan Kasal <kasal@ucw.cz>
  11013. * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): The message is now
  11014. prefixed by mere "===", not "configure: === ".
  11015. 2005-07-25 Paul Eggert <eggert@cs.ucla.edu>
  11016. * Makefile.maint: Update from Bison.
  11017. * lib/m4sugar/m4sugar.m4 (m4_strip): Comment fix---change tab to
  11018. "<tab>" in comment, so that the point is understandable.
  11019. 2005-07-25 Stepan Kasal <kasal@ucw.cz>
  11020. Rewrite substantial part of lib/autoconf/status.m4.
  11021. The main change is that CONFIG_FILES, CONFIG_HEADERS, CONFIG_LINKS,
  11022. and CONFIG_COMMANDS are not processed in four separate loops.
  11023. Instead, there is one main loop. This allows that the common code
  11024. is expanded only once, thus config.status (and configure) is smaller.
  11025. The registration mechanism in AC_CONFIG_FILES and cousins also
  11026. changed; the AC_LIST_FILES and cousins macros are no longer used.
  11027. * lib/autoconf/status.m4 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS,
  11028. _AC_OUTPUT_LINKS, _AC_OUTPUT_COMMANDS): Renamed to ...
  11029. (_AC_OUTPUT_FILE, _AC_OUTPUT_HEADER, _AC_OUTPUT_LINK,
  11030. _AC_OUTPUT_COMMAND): ..., respectively. These macros no longer
  11031. contain the initialization, nor the for loop, nor the associated
  11032. commands; all these go to ...
  11033. (_AC_OUTPUT_MAIN_LOOP): ... this new macro, called from
  11034. _AC_OUTPUT_CONFIG_STATUS.
  11035. (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST, _AC_CONFIG_SPLIT_FILE_IN):
  11036. Nuked; the code was merged into _AC_OUTPUT_MAIN_LOOP.
  11037. (_AC_OUTPUT_FILE): The creation of the sed script ...
  11038. (AC_OUTPUT): ... and the setup of ac_vpsub goes to ...
  11039. (_AC_OUTPUT_FILES_PREPARE): ... a new macro, also called from
  11040. _AC_OUTPUT_MAIN_LOOP.
  11041. (_AC_CONFIG_FILES, _AC_CONFIG_HEADERS, _AC_CONFIG_LINKS,
  11042. _AC_CONFIG_COMMANDS): Use ...
  11043. (_AC_CONFIG_FOOS): ... this new macro, which uses these ...
  11044. (_AC_CONFIG_REGISTER, _AC_CONFIG_REGISTER_DEST): ... new macros.
  11045. (_AC_CONFIG_FILE, _AC_CONFIG_HEADER, _AC_CONFIG_LINK,
  11046. _AC_CONFIG_COMMAND, _AC_CONFIG_DEPENDENCIES): No longer needed.
  11047. (_AC_CONFIG_DEPENDENCY): Update, it uses these ...
  11048. (_AC_CONFIG_DEPENDENCY_DEFAULT, _AC_FILE_DEPENDENCY_TRACE_COLON):
  11049. ... new macros.
  11050. (_AC_CONFIG_UNIQUE): Update.
  11051. (AC_LIST_FILES, AC_LIST_HEADERS, AC_LIST_LINKS, AC_LIST_COMMANDS):
  11052. Replaced by this ...
  11053. (_AC_LIST_TAGS): ... new common macro.
  11054. (AC_LIST_FILE_COMMANDS, AC_LIST_HEADER_COMMANDS, AC_LIST_LINK_COMMANDS,
  11055. AC_LIST_COMMAND_COMMANDS): Replaced by this ...
  11056. (_AC_LIST_TAG_COMMANDS): ... new common macro.
  11057. (_AC_CONFIG_COMMANDS_INIT): Moved top to the `registration' section;
  11058. this didn't belong to the `config commands' section.
  11059. (_AC_OUTPUT_COMMANDS_INIT): Don't initialize, m4_ifdef is our friend.
  11060. (AC_CONFIG_COMMANDS_PRE, AC_OUTPUT_COMMANDS_PRE,
  11061. AC_CONFIG_COMMANDS_POST): Moved to a new section, these didn't belong
  11062. to the `config commands' section either.
  11063. (AC_CONFIG_SUBDIRS): Don't touch diversion DEFAULTS.
  11064. (_AC_LIST_SUBDIRS): Don't initialize, m4_ifdef is our friend.
  11065. ... and many changes to the comments nearby.
  11066. * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): At the end of the day,
  11067. set ac_subdirs_all='_AC_LIST_SUBDIRS'.
  11068. * tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
  11069. AC_CONFIG_COMMANDS(command:input,...) is no longer allowed.
  11070. (#define header templates): The comment at the top of the generated
  11071. header now includes the name(s) of the source file(s).
  11072. Several unrelated small changes:
  11073. * lib/autoconf/general.m4 (AC_CACHE_VAL): Be didactic, quote the first
  11074. parameter to AC_DIAGNOSE.
  11075. * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS): Likewise.
  11076. (_AC_LINK_FILES_CNT): Don't AU_DEFUN this; it causes confusing messages
  11077. with autoupdate; use m4_define_default inside AU_DEFUNed AC_LINK_FILES.
  11078. (AC_OUTPUT): In the compatibility code, use m4_ifvaln, to be consistent
  11079. with AU::AC_OUTPUT.
  11080. (AU::AC_OUTPUT): Don't double-quote $2 and $3, the compatibility code
  11081. in AC_OUTPUT doesn't double-quote it either.
  11082. * tests/tools.at (autoupdate): AU::AC_OUTPUT no longer double-quotes the
  11083. parameters.
  11084. 2005-07-10 Stepan Kasal <kasal@ucw.cz>
  11085. * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Document which
  11086. versions of Portland Group compiler produce single- and double-quoted
  11087. -cmdline argument. Reported by Steven G. Johnson <stevenj@fftw.org>
  11088. and Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
  11089. 2005-07-07 Paul Eggert <eggert@cs.ucla.edu>
  11090. * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
  11091. This is a corrected version of yesterday's patch.
  11092. 2005-07-07 Stepan Kasal <kasal@ucw.cz>
  11093. * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Report the full
  11094. path, too; insert a "===" to emphasize the line.
  11095. * lib/autoconf/general.m4 (AC_CANONICAL_BUILD): Rename
  11096. ac_cv_build_alias to ac_build_alias.
  11097. (AC_CANONICAL_HOST, AC_CANONICAL_TARGET): Simplify.
  11098. On 2005-02-24, an unintentional AC_SUBST([CC]) was introduced; this
  11099. change eliminates it. Problem reported by Alexandre Duret-Lutz.
  11100. * lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Move the AC_SUBST ...
  11101. (AC_ARG_VAR): ... here.
  11102. (_AC_INIT_PREPARE): Call AC_SUBST for build_alias, host_alias and
  11103. target_alias.
  11104. Keep a list of all precious variables and process them with one simple
  11105. for loop, instead of expanding all commands, or, OTOH, complicated
  11106. processing of output of "set".
  11107. * lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Accumulate the
  11108. variable names in new macro...
  11109. (_AC_PRECIOUS_VARS): ... which will be assigned to ac_precious_vars.
  11110. (_AC_ARG_VAR_STORE): New macro which writes to diversion PARSE_ARGS
  11111. a loop to assign all ac_env_* and ac_cv_env_* variables.
  11112. (_AC_ARG_VAR_VALIDATE): Use shell variable ac_precious_vars, divert
  11113. to INIT_PREPARE.
  11114. (_AC_INIT_DEFAULTS): At the end, if _AC_PRECIOUS_VARS is set, assign
  11115. its value to shell variable ac_precious_vars and call
  11116. _AC_ARG_VAR_STORE and _AC_ARG_VAR_VALIDATE.
  11117. * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't call
  11118. _AC_ARG_VAR_VALIDATE.
  11119. * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Move AC_LANG_PUSH(C)
  11120. and the AC_SUBSTs ...
  11121. (AC_INIT): ... here.
  11122. * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Changed the title of
  11123. the ac_subst_files section in config.log.
  11124. * tests/local.at (AT_CONFIG_CMP): Revert Paul's previous change.
  11125. 2005-07-06 Paul Eggert <eggert@cs.ucla.edu>
  11126. * NEWS: New macro AC_C_TYPEOF.
  11127. * doc/autoconf.texi (C Compiler): Document AC_C_TYPEOF.
  11128. * lib/autoconf/c.m4 (AC_C_TYPEOF): New macro.
  11129. * tests/c.at (C keywords): Test AC_C_TYPEOF.
  11130. Fix problems reported by Nicolas Joly.
  11131. * tests/base.at (Input/Output): Ignore 'loading site script' chatter.
  11132. * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
  11133. They are generated by the Tru64 v5.1B shell.
  11134. 2005-07-05 Stepan Kasal <kasal@ucw.cz>
  11135. Fix my changes from 2005-07-01; reported by Noah Misch.
  11136. * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES): Fix the
  11137. description, the macro now accepts only a single tag.
  11138. (_AC_CONFIG_UNIQUE): Likewise; s/AC_File/[$1]/
  11139. Fix cases when the varsions of Autoconf and Autotest don't match.
  11140. Reported by Noah Misch.
  11141. * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Set also
  11142. at_top_builddir, for compatibility with older autotest.
  11143. * lib/autotest/general.m4 (AT_INIT): If at_top_build_prefix
  11144. is not set, use at_top_builddir, for compatibility with older
  11145. versions of autoconf.
  11146. 2005-07-04 Paul Eggert <eggert@cs.ucla.edu>
  11147. * bin/autom4te.in ($m4): Catch usages like --nesting-limit=2048.
  11148. Problem reported by Patrick Welche.
  11149. 2005-07-03 Paul Eggert <eggert@cs.ucla.edu>
  11150. * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Use &, not |, in
  11151. sed substitution command, so that we allow | in program prefixes
  11152. and program suffixes. (& is a problem anyway; we're not fixing
  11153. that here.)
  11154. * lib/autoconf/status.m4 (AC_CONFIG_FILES): Likewise, for
  11155. configure_input, top_builddir, srcdir, etc.
  11156. * lib/autotest/general.m4 (AT_INIT): Likewise, for
  11157. PATH_SEPARATOR in AUTOTEST_PATH.
  11158. 2005-07-02 Alexandre Duret-Lutz <adl@gnu.org>
  11159. * lib/autoconf/general.m4 (AC_SITE_LOAD): Rewrite the
  11160. for loop over config.site files using `set', to allow
  11161. directory names containing IFS characters.
  11162. 2005-07-01 Paul Eggert <eggert@cs.ucla.edu>
  11163. * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Remove the tests for
  11164. directories with weird names. Apparently some people like living
  11165. on the edge. However, improve the test that "pwd" actually does
  11166. report a name for the working directory.
  11167. * NEWS: Remove the claim that we test for funny chars in dir names.
  11168. 2005-07-01 Stepan Kasal <kasal@ucw.cz>
  11169. * lib/autoconf/general.m4 (AC_FOREACH): Make obsolete; it's
  11170. replaced ...
  11171. * lib/m4sugar/m4sugar.m4 (m4_foreach_w): ... by this new macro.
  11172. * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES, _AC_CONFIG_UNIQUE):
  11173. Now accept a single tag, not whitespace separated list.
  11174. (AC_CONFIG_SUBDIRS): Call _AC_CONFIG_UNIQUE in a m4_foreach_w loop.
  11175. 2005-06-30 Stepan Kasal <kasal@ucw.cz>
  11176. * doc/autoconf.texi (Configuration Headers): Change the explanation
  11177. about #include <config.h>.
  11178. (Generic Functions): Mention the Gnulib project.
  11179. (Limitations of Usual Tools) <sed>: Another minor rephrasing.
  11180. * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Use a here
  11181. document to output the default config_* lists to config.status.
  11182. Don't recognize option --file, if the functionality is not there.
  11183. Likewise for --header; moreover, recognize --he and --h as shortcuts
  11184. for --help in that case.
  11185. * lib/autoconf/status.m4: Fix the order of the "sections", so that it
  11186. matches the order of execution. No code changed.
  11187. 2005-06-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  11188. * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Fix also for
  11189. single-quoted -cmdline argument in Portland Group compiler.
  11190. Reported against LAM by Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
  11191. 2005-06-30 Alexandre Duret-Lutz <adl@gnu.org>
  11192. * lib/autom4te.in (Automake-preselections): Preselect AC_SUBST_TRACE.
  11193. 2005-06-29 Stepan Kasal <kasal@ucw.cz>
  11194. * doc/autoconf.texi (File Descriptors): ksh doesn't pass open file
  11195. descriptors to child processes; reported by Norman Gray.
  11196. 2005-06-29 Stepan Kasal <kasal@ucw.cz>
  11197. * lib/autoconf/general.m4 (AC_ARG_VAR): Move next to _AC_ARG_PRECIOUS.
  11198. * lib/autoconf/general.m4 (AC_SUBST_TRACE): New macro, to be traced
  11199. instead of AC_SUBST; proposed by Alexandre Duret-Lutz.
  11200. (AC_SUBST): Call it.
  11201. * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Call AC_SUBST_TRACE for
  11202. the directory specific variables; but don't call it for configure_input.
  11203. 2005-06-28 Derek Price <derek@ximbiot.com>
  11204. * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Reword recent
  11205. addition.
  11206. 2005-06-23 Paul Eggert <eggert@cs.ucla.edu>
  11207. * NEWS: Don't worry about spaces in bindir etc. Only srcdir and working
  11208. directory have inherent problems with special characters like spaces,
  11209. due to limitations in Make syntax. Problem reported by Alexandre
  11210. Duret-Lutz.
  11211. * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Implement the above.
  11212. Also, fix Tru64 porting problem with shell patterns,
  11213. reported by Ralf Wildenhues.
  11214. 2005-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  11215. * doc/autoconf.texi (Subdirectories): Fix markup typos.
  11216. 2005-06-23 Paul Eggert <eggert@cs.ucla.edu>
  11217. * tests/local.at (AT_CHECK_ENV): Simplify regexp slightly.
  11218. Fix some more shell quoting problems. Prompted by a bug report
  11219. from Justace Clutter.
  11220. * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Put name of invalid
  11221. variable into diagnostic. Make the diagnostic an error, not a warning,
  11222. because we really don't support spaces and suchlike in dir names.
  11223. (_AC_INIT_SRCDIR): Allow special characters in $ac_unique_file.
  11224. Don't worry about backslashes in srcdir; it can't happen now.
  11225. (_AC_INIT_PARSE_ARGS): Allow weird characters in ac_optarg.
  11226. Simplify ac_optarg handling.
  11227. (_AC_ARG_VAR_VALIDATE): Remove unnecessary and inconsistent quotes.
  11228. 2005-06-22 Stepan Kasal <kasal@ucw.cz>
  11229. Fix AT_CONFIG_CMP for Solaris hosts; idea from Ralf Menzel.
  11230. * configure.ac: Call AC_PROG_EGREP and AC_PROG_SED.
  11231. * tests/atlocal.in: Propagate $EGREP and $SED.
  11232. * tests/local.at (AT_CHECK_ENV): Use $EGREP, not $GREP -E.
  11233. (AT_CONFIG_CMP): Use sed instead of grep plumbing.
  11234. * doc/autoconf.texi (Limitations of Usual Tools) <grep>: Mention
  11235. that '\|' is not allowed in BREs; recommend using newline separated
  11236. list of patterns instead of multiple -e options.
  11237. * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Remove an old comment.
  11238. * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Use AC_SUBST/2.
  11239. 2005-06-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  11240. * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Fix typo.
  11241. 2005-06-21 Stepan Kasal <kasal@ucw.cz>
  11242. * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Document that
  11243. b, t, r, w commands require single space, while : cannot have any.
  11244. (Special Shell Variables): Fix sed code this in the example.
  11245. * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Likewise; and fix a typo.
  11246. * lib/autotest/general.m4 (AT_ARG_OPTION): Fix typo in the description.
  11247. * lib/m4sugar/m4sugar.m4 (m4_split): If the parameter is empty,
  11248. expand to the empty list. Don't use two pairs of m4_changequote,
  11249. it's not necessary.
  11250. 2005-06-20 Derek Price <derek@ximbiot.com>
  11251. * lib/m4/programs.m4 (AC_PROG_YACC): Declare YACC & YFLAGS precious.
  11252. 2005-06-17 Paul Eggert <eggert@cs.ucla.edu>
  11253. * lib/m4sugar/m4sh.m4 (as_awk_strverscmp): Port to Solaris /bin/awk.
  11254. * doc/autoconf.texi:
  11255. Don't mention Solaris versions so much, if a
  11256. problem is common to all extant versions of Solaris. Say "SunOS
  11257. 4" instead of "SunOS" for SunOS 4.
  11258. (awk): Mention more of the limitations of traditional Awk.
  11259. (cat): Don't talk about cat -v.
  11260. 2005-06-16 Paul Eggert <eggert@cs.ucla.edu>
  11261. * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE): New macro.
  11262. (AS_VERSION_COMPARE): New macro. The API is taken from CVS,
  11263. but the implementation is entirely different and is designed
  11264. to be compatible with glibc strverscmp.
  11265. * tests/m4sh.at (AS_VERSION_COMPARE): New test.
  11266. * doc/autoconf.texi (Limitations of Usual Tools): Mention expr bug
  11267. on Mac OS X 10.4 reported by Peter O'Gorman in:
  11268. http://lists.gnu.org/archive/html/autoconf-patches/2005-06/msg00041.html
  11269. * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT):
  11270. Use shell builtins rather than 'expr', to work around expr bug.
  11271. 2005-06-10 Paul Eggert <eggert@cs.ucla.edu>
  11272. * doc/autoconf.texi: "filesystem" -> "file system".
  11273. "behaviour" -> "behavior".
  11274. Warn about \(...\)* in Solaris sed (written by Ralf Menzel).
  11275. * lib/autoconf/general.m4: Omit blank after ":" sed command,
  11276. as per POSIX.
  11277. * lib/m4sugar/m4sh.m4: Likewise.
  11278. * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Work around problem
  11279. with Solaris sed. Fix by Ralf Menzel and Stepan Kasal.
  11280. * man/Makefile.am (MOSTLYCLEANFILES): Add $(srcdir)/*.t.
  11281. (.x.1): Ignore the time stamp in the .TH line when deciding whether
  11282. to update the man page. That way, we don't have to check in new
  11283. man pages every month.
  11284. * lib/m4sugar/m4sh.m4 (AS_VAR_TEST_SET): Work even if $1 contains
  11285. quotes and backslashes. Patch from Derek Price.
  11286. 2005-06-10 Derek Price <derek@ximbiot.com>
  11287. * doc/autoconf.texi (Programming in M4sh): Document AS_TR_CPP &
  11288. AS_TR_SH.
  11289. 2005-06-08 Paul Eggert <eggert@cs.ucla.edu>
  11290. * lib/autotest/general.m4 (AT_INIT): Don't accept Solaris 9's diff
  11291. -u, since it outputs chatter if the input files are the same.
  11292. Problem reported by Ralf Menzel.
  11293. 2005-06-08 Derek Price <derek@ximbiot.com>
  11294. * lib/m4sugar/m4sugar.m4: Undefine include & sinclude rather than
  11295. renaming them since they are about to be redefined anyhow.
  11296. 2005-06-08 Derek Price <derek@ximbiot.com>
  11297. * doc/autoconf.texi (Redefined M4 Macros): Add index entries for most
  11298. redefined M4 macros to this node. Document m4_include & m4_sinclude.
  11299. Move m4_undefine to alphabetical order.
  11300. 2005-06-07 Paul Eggert <eggert@cs.ucla.edu>
  11301. * README: Recommend GNU M4 1.4.3 or later.
  11302. * doc/autoconf.texi (Introduction): Likewise.
  11303. Reword to avoid some formatting glitches.
  11304. Use "#!/bin/sh", not "#! /bin/sh"; the space isn't needed these days.
  11305. Clarify explanation of HP compiler bug.
  11306. Redo example output tp match current CVS snapshot.
  11307. Use @example.org in email addresses when the examples
  11308. might get inadvertently cut-and-pasted into user code.
  11309. Remove example of autom4te usage that doesn't seem to work now.
  11310. Use modern AC_INIT (except when the example is meant to be
  11311. shown with Autoconf 2.13).
  11312. Update ksh info for Solaris 9 and later.
  11313. KB -> kB.
  11314. Modernize description of Automake versions a bit.
  11315. Don't claim a future version of Autoconf is near.
  11316. * doc/install.texi: Reword to avoid some formatting glitches.
  11317. 2005-06-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  11318. * doc/autoconf.texi: Add [] to examples, so that the manual
  11319. follows its own advice about quoting better.
  11320. Reword to avoid some formatting glitches.
  11321. * doc/installt.exi: Reword to avoid some formatting glitches.
  11322. * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
  11323. Tru64 ksh pattern matching bug. Reported against Libtool by
  11324. Albert Chin <libtool@mlists.thewrittenword.com> and
  11325. Nicolas Joly <njoly@pasteur.fr>.
  11326. 2005-06-06 Stepan Kasal <kasal@ucw.cz>
  11327. m4_cdr of one-member list was [[]] (one-member list containing an
  11328. empty string) instead of [] (an empty list. Callers were skewed to
  11329. match this misbehaviour. As a consequence of this:
  11330. - m4_foreach([x], [], [foo]) expanded to `foo', while
  11331. - the expansion of m4_foreach([x], [[]], [foo]) was empty.
  11332. This bug has been fixed:
  11333. * lib/m4sugar/m4sugar.m4 (m4_cdr): If only one argument is given,
  11334. expand to an empty string; print error msg if called without
  11335. an argument list.
  11336. (m4_foreach, m4_map, m4_map_sep): Don't expect the previous
  11337. misbehaviour; handle [] and [[]] correctly.
  11338. 2005-06-06 Stepan Kasal <kasal@ucw.cz>
  11339. * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Nuke ac_max_here_lines.
  11340. * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Simplify the sed
  11341. scripts created and the loop applying them, use _AC_SED_CMD_LIMIT.
  11342. 2005-06-06 Ralf Menzel <menzel@ls6.cs.uni-dortmund.de> (trivial change)
  11343. * doc/autoconf.texi (Limitations of Usual Tools): Solaris' awk cannot
  11344. swallow records with more than 99 fields.
  11345. * lib/autotest/general.m4 (AT_INIT): Use the awk builtin `split' to
  11346. parse the long line.
  11347. 2005-06-04 Stepan Kasal <kasal@ucw.cz>
  11348. * doc/autoconf.texi (Limitations of Usual Tools): AIX awk cannot
  11349. swallow literals longer than 399. Reported by Ralf Wildenhues.
  11350. * lib/autotest/general.m4 (AT_INIT): Pass $at_groups though stdin,
  11351. to workaround this limitation.
  11352. 2005-06-03 Steven G. Johnson <stevenj@alum.mit.edu>
  11353. * lib/autoconf/fortran.m4 (_AC_PROG_FC): Find g95 in addition
  11354. to gfortran, and make these the first two compiler names
  11355. checked (following the general autoconf preference for gcc).
  11356. 2005-06-03 Stepan Kasal <kasal@ucw.cz>
  11357. * tests/Makefile.am (check_SCRIPTS): Set to $(wrappers).
  11358. (DISTCLEANFILES): Remove $(check_SCRIPTS).
  11359. (testsuite): Make sure autotest.m4f is up-to-date before using it.
  11360. 2005-06-02 Paul Eggert <eggert@cs.ucla.edu>
  11361. * lib/autotest/general.m4 (AT_INIT): Don't create a regular
  11362. expression of unbounded size when processing the --list
  11363. option. This runs afoul of a limit of 399 bytes per regular
  11364. expression on AIX. Problem reported by Ralf Wildenhues.
  11365. 2005-06-01 Paul Eggert <eggert@cs.ucla.edu>
  11366. * NEWS: Note yesterday's changes to AC_SUBST and AC_SUBST_FILE.
  11367. * doc/autoconf.texi (Particular Headers): Reword example
  11368. for multiline stdbool replacement.
  11369. (Setting Output Variables): Reword text a bit. Don't
  11370. give all the details about |#_!!_#|.
  11371. Reword description of line replacement.
  11372. 2005-05-31 Dan Manthey <dan_manthey@partech.com>
  11373. * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Output variables may
  11374. now contain newlines, and substituted files must be referenced on
  11375. a line alone; the sed scripts to substitute them are now very
  11376. different.
  11377. (_AC_SED_CMD_LIMIT): Added; single place to store limit on how many
  11378. commands can be put in a sed script portably.
  11379. * doc/autoconf.texi (Setting Output Variables): Document above
  11380. changes. (Particular Header Checks) <AC_HEADER_STDBOOL>: Give exaple
  11381. use of multiline substitution.
  11382. * tests/torture.at: No longer expect substitution of newline to fail.
  11383. 2005-05-27 Paul Eggert <eggert@cs.ucla.edu>
  11384. * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Fix diagnostics.
  11385. From Ralf Menzel (trivial change).
  11386. 2005-05-25 Paul Eggert <eggert@cs.ucla.edu>
  11387. * tests/local.at: Don't attempt to check for negated character
  11388. classes in shell scripts. The test was too brittle.
  11389. 2005-05-25 Stepan Kasal <kasal@ucw.cz>
  11390. * bin/autoconf.as: Don't use "shift 2"; it's not portable enough.
  11391. * doc/autoconf.texi (Limitations of Builtins): Document this
  11392. limitation.
  11393. 2005-05-24 Stepan Kasal <kasal@ucw.cz>
  11394. * lib/m4sugar/m4sh.m4 (_AS_ECHO_LOG): New macro to factor out
  11395. common code; used in many places in the tree.
  11396. (AS_ESCAPE): Make the pattern a bit simpler; use \& insetad of \1.
  11397. (_AS_ECHO_UNQUOTED): Move the macro lower; no code change.
  11398. * lib/m4sugar/m4sugar.m4 (m4_ifset): Use m4_ifval.
  11399. * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Merge the two error
  11400. messages when ac_unique_file is not found.
  11401. (AC_CONFIG_MACRO_DIR): Simplify the `if' at the end.
  11402. (AC_MSG_CHECKING, AC_MSG_RESULT): Put braces around the two echo
  11403. commands, for consistency with AC_MSG_ERROR and such.
  11404. * bin/autoconf.as: Make more use of "shift 2" in option processing.
  11405. * bin/Makefile.am: Merge the two rules for creating scripts.
  11406. 2005-05-23 Stepan Kasal <kasal@ucw.cz>
  11407. * lib/autoconf/general.m4 (AC_MSG_RESULT_UNQUOTED): Make
  11408. obsolete; it was never documented.
  11409. (AC_CACHE_CHECK): Use AC_MSG_RESULT instead.
  11410. 2005-05-20 Stepan Kasal <kasal@ucw.cz>
  11411. * NEWS: @top_builddir@ is now a dirname, ac_top_builddir will follow.
  11412. * lib/autoconf/status.m4 (_AC_SRCDIRS): Rename ...
  11413. (ac_top_builddir): ... this ...
  11414. (ac_top_build_prefix): ... to this; the old name is also kept, for
  11415. backward compatibility.
  11416. (ac_top_builddir_sub): New variable, without the trailing slash,
  11417. always nonempty.
  11418. (_AC_OUTPUT_FILES): s/@top_builddir@/$ac_top_builddir_sub/
  11419. * doc/autoconf.texi (Configuration Actions): Rename
  11420. ac_top_builddir to ac_top_build_prefix.
  11421. * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Rename
  11422. at_top_builddir to at_top_build_prefix.
  11423. * lib/autotest/general.m4 (AT_INIT): Likewise.
  11424. 2005-05-20 Stepan Kasal <kasal@ucw.cz>
  11425. * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Simplify the init
  11426. of confdefs.h .
  11427. 2005-05-17 Stepan Kasal <kasal@ucw.cz>
  11428. * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Don't m4_quote the second
  11429. argument to m4_foreach. I guess it was necessary in the past,
  11430. but I think it's a no-op now.
  11431. 2005-05-17 Stepan Kasal <kasal@ucw.cz>
  11432. * lib/autoconf/general.m4 (_AC_INIT_HELP): Merge two consecutive
  11433. ``cat <<_ACEOF'' commands to one.
  11434. (_AC_CANONICAL_SPLIT): Use expr, not ``echo|sed.''
  11435. * lib/autoconf/status.m4: On various places, use expr instead of
  11436. ``echo|sed.''
  11437. (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST):
  11438. (_AC_CONFIG_SPLIT_FILE_IN): New macros, to factor out common code.
  11439. * lib/autotest/general.m4 (AT_INIT): Use expr to get the numbers from
  11440. a range.
  11441. * tests/local.at (AT_CHECK_SHELL_SYNTAX): Use awk to search for
  11442. the wrong patterns between ``case'' and ``esac.'' The previous
  11443. code had false positives.
  11444. 2005-05-14 Alexandre Duret-Lutz <adl@gnu.org>
  11445. * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Prepend ${LIBOBJDIR},
  11446. as on 2005-05-02.
  11447. * doc/autoconf.texi (Particular Functions) <AC_FUNC_ALLOCA>:
  11448. Mention LIBOBJDIR.
  11449. 2005-05-13 Paul Eggert <eggert@cs.ucla.edu>
  11450. * AUTHORS, BUGS, COPYING, ChangeLog, ChangeLog.0, ChangeLog.1,
  11451. ChangeLog.2, GNUmakefile, Makefile.am, Makefile.cfg,
  11452. Makefile.maint, NEWS, README, README-alpha, TODO, configure.ac,
  11453. bin/Makefile.am, bin/autoconf.as, bin/autoheader.in,
  11454. bin/autom4te.in, bin/autoreconf.in, bin/autoscan.in,
  11455. bin/autoupdate.in, bin/ifnames.in, config/Makefile.am,
  11456. config/config.guess, config/config.sub, config/elisp-comp,
  11457. config/m4.m4, config/mdate-sh, config/missing, config/texinfo.tex,
  11458. doc/Makefile.am, doc/fdl.texi, lib/Makefile.am, lib/autom4te.in,
  11459. lib/freeze.mk, lib/Autom4te/C4che.pm, lib/Autom4te/ChannelDefs.pm,
  11460. lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm,
  11461. lib/Autom4te/FileUtils.pm, lib/Autom4te/General.pm,
  11462. lib/Autom4te/Request.pm, lib/Autom4te/Struct.pm,
  11463. lib/Autom4te/XFile.pm, lib/autoconf/Makefile.am,
  11464. lib/autoconf/autoconf.m4, lib/autoconf/autoheader.m4,
  11465. lib/autoconf/autoscan.m4, lib/autoconf/autotest.m4,
  11466. lib/autoconf/autoupdate.m4, lib/autoconf/c.m4,
  11467. lib/autoconf/fortran.m4, lib/autoconf/functions.m4,
  11468. lib/autoconf/general.m4, lib/autoconf/headers.m4,
  11469. lib/autoconf/lang.m4, lib/autoconf/libs.m4,
  11470. lib/autoconf/oldnames.m4, lib/autoconf/programs.m4,
  11471. lib/autoconf/specific.m4, lib/autoconf/status.m4,
  11472. lib/autoconf/types.m4, lib/autoscan/Makefile.am,
  11473. lib/autoscan/autoscan.list, lib/autoscan/autoscan.pre,
  11474. lib/autotest/Makefile.am, lib/autotest/autotest.m4,
  11475. lib/autotest/general.m4, lib/emacs/Makefile.am,
  11476. lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el,
  11477. lib/m4sugar/Makefile.am, lib/m4sugar/m4sh.m4,
  11478. lib/m4sugar/m4sugar.m4, man/Makefile.am, tests/Makefile.am,
  11479. tests/atlocal.in, tests/autotest.at, tests/base.at, tests/c.at,
  11480. tests/compile.at, tests/foreign.at, tests/fortran.at,
  11481. tests/local.at, tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
  11482. tests/semantics.at, tests/suite.at, tests/tools.at,
  11483. tests/torture.at, tests/wrapper.as:
  11484. Update FSF postal mail address.
  11485. 2005-05-13 Stepan Kasal <kasal@ucw.cz>
  11486. * lib/autoconf/general.m4 (AC_CONFIG_LIBOBJ_DIR): Remove the broken
  11487. check.
  11488. * lib/m4sugar/m4sugar.m4 (m4_bmatch): Halt with error if we don't get
  11489. enough arguments, similarly as in m4_bpatsubsts.
  11490. 2005-05-12 Stepan Kasal <kasal@ucw.cz>
  11491. * lib/autoconf/status.m4 (_AC_SRCDIRS): Simplify the computation
  11492. of absolute paths.
  11493. 2005-05-11 Stepan Kasal <kasal@ucw.cz>
  11494. * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Make the check
  11495. for absolute directory names in one loop.
  11496. * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle
  11497. abbreviations of --version and --debug.
  11498. 2005-05-10 Paul Eggert <eggert@cs.ucla.edu>
  11499. * doc/autoconf.texi (Autoconf Language): Be more precise about
  11500. quoting rules. Problems noted by Stepan Kasal.
  11501. Also, throughout this document, be more careful about white space.
  11502. "blank", "white space", and "space" all have different meanings
  11503. and we should be careful to say what we mean.
  11504. 2005-05-05 Paul Eggert <eggert@cs.ucla.edu>
  11505. Fix C++ related problems reported by Werner Lemberg.
  11506. * doc/autoconf.texi (C++ Compiler): Mention .cpp extension.
  11507. * lib/autoconf/c.m4 (AC_LANG(C++)): Set ac_ext to .cpp, not .cc.
  11508. * lib/autoconf/types.m4 (AC_TYPE_SIGNAL): Simplify test, to
  11509. avoid problems with C++ and throw.
  11510. * tests/compile.at: .cpp, not .cc.
  11511. * tests/semantics.at: Prepend LIBOBJDIR, as per 2005-05-02 change.
  11512. 2005-05-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  11513. * doc/autoconf.texi (Generic Functions): Typos.
  11514. 2005-05-02 Gary V. Vaughan <gary@gnu.org>
  11515. * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Prepend each
  11516. object named in LIBOBJS and LTLIBOBJS with the ${LIBOBJDIR}, as
  11517. set by latest automake.
  11518. 2005-05-01 Paul Eggert <eggert@cs.ucla.edu>
  11519. * doc/autoconf.texi (Limitations of Usual Tools): "expr '' \| ''"
  11520. outputs 0 on GNU/Linux these days.
  11521. 2005-04-29 Paul Eggert <eggert@cs.ucla.edu>
  11522. * doc/autoconf.texi (Autoconf Language): Add more description
  11523. about quoting heuristics.
  11524. (Limitations of Builtins): Describe "set -" problems.
  11525. 2005-04-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  11526. * lib/autotest/general.m4 (AT_KEYWORDS): Separate by space,
  11527. not newline.
  11528. * doc/autoconf.texi (External Software): Replace AC_DEFINE_UNQUOTED
  11529. by AC_DEFINE; it was a mistake.
  11530. From bug reported against libtool by Dalibor Topic <robilad@kaffe.org>.
  11531. 2005-04-25 Stepan Kasal <kasal@ucw.cz>
  11532. * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): A tiny optimization.
  11533. 2005-04-22 Stepan Kasal <kasal@ucw.cz>
  11534. * doc/autoconf.texi (External Software): Quadrigraphs are not
  11535. processed correctly in AS_HELP_STRING; avoid this in the examples.
  11536. * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Add a FIXME about quadrigraphs.
  11537. * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Likewise; and rephrase the
  11538. comment and reduce m4_default([foo], []) to [foo].
  11539. (m4_strip): Update the explanation.
  11540. 2005-04-19 Paul Eggert <eggert@cs.ucla.edu>
  11541. * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_RUN_IFELSE):
  11542. Remove core.conftest.* too; it's generated by Tru64 5.1.
  11543. Problem reported by Jennis Pruett.
  11544. * lib/autoconf/functions.m4
  11545. (AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
  11546. Don't bother to remove core files; AC_RUN_IFELSE should do that
  11547. for you.
  11548. 2005-04-19 Stepan Kasal <kasal@ucw.cz>
  11549. * lib/m4sugar/m4sugar.m4 (m4_bpatsubsts): Add the b- to comment, too.
  11550. 2005-04-19 Alexandre Duret-Lutz <adl@gnu.org>
  11551. * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Handle --docdir.
  11552. Report from Horst Wente.
  11553. 2005-04-15 Stepan Kasal <kasal@ucw.cz>
  11554. * lib/autoconf/general.m4 (_AC_ARG_VAR_VALIDATE): Fixed a typo in
  11555. the comment.
  11556. 2005-04-14 Gregorio Guidi <greg_g@gentoo.org>
  11557. * doc/autoconf.texi (External Software, Package Options): Add
  11558. examples showing how to implement --with-* and --enable-* options.
  11559. 2005-04-13 Paul Eggert <eggert@cs.ucla.edu>
  11560. * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Look for configure.ac
  11561. as well as configure.in. Problem reported by Gregorio Guidi.
  11562. 2005-04-10 Paul Eggert <eggert@cs.ucla.edu>
  11563. * doc/autoconf.texi (Particular Functions): Use gnulib's current
  11564. pattern for alloca snippet.
  11565. 2005-04-04 Stepan Kasal <kasal@ucw.cz>
  11566. * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): Fix a typo.
  11567. 2005-04-01 Stepan Kasal <kasal@ucw.cz>
  11568. * doc/autoconf.texi (Generic Programs): Fix a typo.
  11569. 2005-04-01 Paul Eggert <eggert@cs.ucla.edu>
  11570. * lib/autotest/general.m4 (AT_INIT): Don't assume that "date +%s"
  11571. fails if %s isn't supported. Problem reported by Ralf Wildenhues.
  11572. 2005-03-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  11573. * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS):
  11574. Merge `-z option' as well for the benefit of Solaris link flags. Pass
  11575. whole-archive (-zallextract, -zdefaultextract) options in the hope of
  11576. unique libraries, for the Sun Fortran 95 8.0 compiler. Bug reported
  11577. against Libtool by Yury Puhalsky <pooh@cryptopro.ru>.
  11578. 2005-03-22 Paul Eggert <eggert@cs.ucla.edu>
  11579. * NEWS: The configure command now warns you if you attempt to use
  11580. a directory whose name contains a special character like space,
  11581. newline, or "\".
  11582. * doc/autoconf.texi (Installation Directory Variables): Allow
  11583. "," in file names. Do not use \@; it's not a portable regexp.
  11584. * bin/Makefile.am (edit): Likewise.
  11585. * lib/Makefile.am (edit): Likewise.
  11586. * tests/Makefile.am (edit): Likewise.
  11587. * tests/semantics.at: Likewise.
  11588. * tests/torture.at: Likewise.
  11589. * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Likewise.
  11590. * lib/autoconf/status.m4 (_AC_SRCDIRS): Likewise.
  11591. * doc/autoconf.texi (File System Conventions): Warn about
  11592. unportable file names.
  11593. * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): New macro.
  11594. (AC_INIT): Use it.
  11595. (_AC_INIT_SRCDIR): Use ac_pwd rather than invoking pwd.
  11596. * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Propagate
  11597. ac_pwd, and quote srcdir.
  11598. * lib/autotest/general.m4 (AT_INIT): Quote file name args.
  11599. * doc/autoconf.texi: Fix some systematic formatting problems.
  11600. ".)" needs a following @: if not at the end of a sentence, and
  11601. similarly for "!)". "etc." should be preceded by a comma.
  11602. "n-th" -> "@var{n}th". pdksh is still buggy, so update its date.
  11603. 2005-03-22 Bruno Haible <bruno@clisp.org>
  11604. * doc/autoconf.texi (Input): Mention that AC_CONFIG_AUX_DIR's
  11605. argument is often called 'build-aux'.
  11606. 2005-03-07 Stepan Kasal <kasal@ucw.cz>
  11607. * doc/autoconf.texi (Quotation Rule Of Thumb): Mention that the
  11608. macro AC_TRY_LINK is obsolete.
  11609. (Installation Directory Variables): Change `AC_OUTPUT_FILES' to
  11610. `AC_CONFIG_FILES'.
  11611. 2005-02-24 Stepan Kasal <kasal@ucw.cz>
  11612. * lib/autoconf/c.m4 (AC_PROG_CC): Be more careful to skip
  11613. `/usr/ucb/cc'; use `cl.exe' to distinguish the MS compiler
  11614. from a Common Lisp's `cl'.
  11615. (AC_PROG_CXX): Behave according to the documentation: don't
  11616. search for $ac_tool_prefix$CCC and $CCC, just set CXX=$CCC;
  11617. make the variable CCC precious; use `cl.exe', not `cl'.
  11618. 2005-02-23 Paul Eggert <eggert@cs.ucla.edu>
  11619. Alexandre Duret-Lutz <adl@gnu.org>
  11620. * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin from
  11621. /dev/null, as "configure" shouldn't read stdin, and this insulates
  11622. us from problems (e.g., when testing for "cl"). Also, do this
  11623. redirection before invoking "hostname" or "uname", and keep the
  11624. original input stream available via...
  11625. (AS_ORIGINAL_STDIN_FD): ... this new macro.
  11626. (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't
  11627. bother with "</dev/null" since it's now done at the top of
  11628. 'configure'.
  11629. * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Likewise.
  11630. * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
  11631. * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
  11632. * doc/autoconf.texi (File Descriptor Macros): New section.
  11633. (Printing Messages): Mention it.
  11634. * tests/base.at (Input/Output): New test.
  11635. 2005-02-23 Paul Eggert <eggert@cs.ucla.edu>
  11636. * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): Don't set ECHO_C to
  11637. newline if neither \c nor -n work, as that would output two
  11638. newlines. Prefer -n to \c. Reported by Stepan Kasal.
  11639. 2005-02-12 Stepan Kasal <kasal@ucw.cz>
  11640. * lib/m4sugar/m4sh.m4 (AS_IF): Define by m4_defun, not m4_define.
  11641. This causes that any required macros inside will get before the if.
  11642. * doc/autoconf.texi (autom4te.cache): A typo.
  11643. 2005-02-12 Paul Eggert <eggert@cs.ucla.edu>
  11644. Undo previous change, except keep the change to
  11645. lib/autoconf/programs.m4 that replaced grep with shell
  11646. pattern-matching. This is because net-snmp configure reads stdin.
  11647. Reported by Noah Misch.
  11648. 2005-02-11 Paul Eggert <eggert@cs.ucla.edu>
  11649. * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin
  11650. from /dev/null, as "configure" shouldn't read stdin, and this
  11651. insulates us from problems (e.g., when testing for "cl").
  11652. Suggested by Alexandre Duret-Lutz. Also, do this redirection
  11653. before invoking "hostname" or "uname".
  11654. (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
  11655. _AC_LINK_IFELSE): Undo previous change, as it's no longer needed.
  11656. * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Don't bother with
  11657. "</dev/null" since it's now done at the top of 'configure'.
  11658. * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
  11659. * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
  11660. Also, replace grep with shell pattern-matching, to save a process.
  11661. 2005-02-10 Paul Eggert <eggert@cs.ucla.edu>
  11662. * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
  11663. _AC_LINK_IFELSE): Redirect stdin to /dev/null, in an attempt to
  11664. avoid thinking that Allegro Common Lisp's "cl" command is a C++
  11665. compiler.
  11666. 2005-02-09 Paul Eggert <eggert@cs.ucla.edu>
  11667. * doc/autoconf.texi (Limitations of Usual Tools): Document that
  11668. grep -q isn't portable. Improve grep -s explanation.
  11669. Problem reported by Dan Manthey.
  11670. 2005-02-08 Paul Eggert <eggert@cs.ucla.edu>
  11671. * doc/autoconf.texi (Special Shell Variables): Clarify
  11672. PATH_SEPARATOR wording; fix typo in IFS. Reported by Gary V. Vaughan.
  11673. 2005-02-07 Paul Eggert <eggert@cs.ucla.edu>
  11674. * doc/autoconf.texi: Use @acronym for DJGPP.
  11675. Fix some @code's that should have been @env's, and vice versa.
  11676. Sort environment variable names.
  11677. Mention that shells no longer inherit IFS.
  11678. Don't recommend PATH_SEPARATOR=';' so strongly.
  11679. Mention that $RANDOM might expand to the empty string.
  11680. "symlink" and "soft link" -> "symbolic link".
  11681. Improve mktemp description (reported by Bruno Haible).
  11682. 2005-02-05 Paul Eggert <eggert@cs.ucla.edu>
  11683. * tests/foreign.at (Libtool): Don't overquote AT_SETUP arg.
  11684. * tests/m4sh.at (AS_DIRNAME, AS_BASENAME, AS_MKDIR_P, AS_HELP_STRING):
  11685. Likewise.
  11686. * tests/semantics.at (AC_C_BIGENDIAN, AC_PATH_PROG & AC_PATH_PROGS):
  11687. Likewise.
  11688. 2005-02-04 Paul Eggert <eggert@cs.ucla.edu>
  11689. * NEWS: Mention AT_COPYRIGHT.
  11690. * tests/local.at (AT_CMP): Use diff directly on input files rather
  11691. than copying them.
  11692. * lib/autoconf/programs.m4 (AC_PROG_SED): Don't look in
  11693. /usr/xpg4/bin since that sed dumps core (at least on Solaris 8).
  11694. 2005-02-04 Noah Misch <noah@cs.caltech.edu>
  11695. and Paul Eggert <eggert@cs.ucla.edu>
  11696. * tests/autotest.at (Empty test suite): New test.
  11697. * tests/torture.at (Substitute and define special characters)
  11698. (Substitute a 2000-byte string, Define to a 2000-byte string)
  11699. (Substitute a newline, Define a newline): New tests.
  11700. 2005-02-04 Noah Misch <noah@cs.caltech.edu>
  11701. * lib/m4sugar/m4sugar.m4 (m4_re_string, m4_re_word): Revert 2002-03-04.
  11702. * tests/local.at (AT_CHECK_M4SUGAR): Add `m4sugar' to keywords.
  11703. (AT_CHECK_ENV): Ignore LTLIBOBJS, FC variables, EGREP, FGREP, and SED.
  11704. * tests/m4sugar.at (AT_CHECK_M4SUGAR_TEXT, AT_CHECK_M4RE): New macros.
  11705. (Standard regular expressions): New test.
  11706. (m4_warn, m4_require: circular dependencies, m4_text_wrap): Strip
  11707. excess test name quoting.
  11708. * tests/semantics.at (AC_CHECK_HEADERS_OLD, AC_CHECK_HEADERS_NEW): Pass
  11709. CPPFLAGS to `configure' instead of setting it in `configure'.
  11710. * lib/m4sugar/m4sh.m4 (AS_UNAME): Try only /usr/bin/hostinfo, not
  11711. any `hostinfo' in $PATH, since hostinfo.exe is a popular file name
  11712. on some platforms.
  11713. * lib/autoconf/fortran.m4 (AC_LANG(Fortran), AC_FC_SRCEXT):
  11714. s/FC_SRCEXT/ac_fc_srcext/; s/FCFLAGS_SRCEXT/ac_fcflags_srcext/.
  11715. * tests/local.at (AT_CMP): New macro.
  11716. (AT_DATA_AUTOCONF): Do not call AC_PROG_GREP.
  11717. (AC_SAVE_STATE): Move environment grep...
  11718. (AT_CHECK_ENV): to here. Filter out `'$''. Use AT_CMP.
  11719. (AT_CONFIG_CMP): New macro.
  11720. (AT_CHECK_MACRO): Run `configure' twice with cache and compare results.
  11721. * tests/c.at (Extensions): Do not exit early.
  11722. * tests/atlocal.in: Inherit $GREP.
  11723. * lib/autoconf/c.m4 (_AC_C_STD_TRY): New macro.
  11724. (_AC_PROG_CC_C89, _AC_PROG_CC_C99): Use it.
  11725. * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Update for 2005.
  11726. (AC_COPYRIGHT): Factor header comment portion out and move into...
  11727. * lib/m4sugar/m4sh.m4 (AS_COPYRIGHT): This.
  11728. * lib/autotest/general.at (AT_COPYRIGHT): New macro.
  11729. (AT_INIT): Add Autotest copyright notice. Display copyright notices in
  11730. --version output.
  11731. * tests/local.at: Add Autoconf test suite copyright notice.
  11732. * doc/autoconf.texi (Writing testsuite.at): Document AT_COPYRIGHT.
  11733. 2005-02-04 Bruno Haible <bruno@clisp.org>
  11734. and Paul Eggert <eggert@cs.ucla.edu>
  11735. * doc/autoconf.texi (Limitations of Usual Tools): New mkstemp entry.
  11736. 2005-02-03 Paul Eggert <eggert@cs.ucla.edu>
  11737. * lib/m4sugar/m4sugar.m4 (m4_re_escape): Escape ?, ^, \, $ too;
  11738. this fixes a bug tickled by the AT_CAPTURE_FILE change noted below.
  11739. Try not to generated lines of unlimited length, as POSIX places a
  11740. 2047-byte limit on line length of portable text files.
  11741. * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILE):
  11742. Use newline as a separator, not space.
  11743. * lib/autotest/general.m4 (AT_TESTED, AT_KEYWORDS): Likewise.
  11744. (AT_CAPTURE_FILE): Use space-backslash-newline as a separator, not
  11745. space.
  11746. 2005-02-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  11747. * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Move func_* to
  11748. as_func_*. Add test to check whether positional parameters
  11749. are restored after function return.
  11750. 2005-02-02 Paul Eggert <eggert@cs.ucla.edu>
  11751. * doc/autoconf.texi (Special Shell Variables): Mention _,
  11752. BIN_SH, DUALCASE. Say that variables other than "status" are safe
  11753. if they contain a lower-case letter. The DUALCASE problem was
  11754. reported by Ralf Wildenhues.
  11755. * bin/autoconf.as: Don't exit with status 0 after write failure
  11756. with --help or --version.
  11757. * lib/autoconf/general.m4 (_AC_INIT_HELP, _AC_INIT_VERSION): Likewise.
  11758. * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Likewise.
  11759. 2005-02-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  11760. * doc/autoconf.texi (Limitations of Usual Tools):
  11761. Unicos 9 sed limitations.
  11762. * lib/autoconf/fortran.m4 (_AC_PROG_FC): Try cf77 before fort77
  11763. to get the option-enhanced interface on older Crays. Try ftn for
  11764. Fortran 95 (newer Crays).
  11765. 2005-02-01 Paul Eggert <eggert@cs.ucla.edu>
  11766. * man/Makefile.am (.x.1): Go back to the simple solution, but take
  11767. care to echo the commands, so the user knows what's going on.
  11768. Modified from a suggestion by Stepan Kasal.
  11769. * doc/autoconf.texi (autoreconf Invocation): Mention autopoint,
  11770. with a cross reference. Derived from a suggestion by Bruce Korb.
  11771. 2005-01-31 Paul Eggert <eggert@cs.ucla.edu>
  11772. * doc/autoconf.texi (config.status Invocation): Warn about
  11773. discrepancy between CONFIG_SHELL and shell used to invoke 'configure'.
  11774. * doc/install.texi (Defining Variables): Likewise.
  11775. Based on a proposed patch by Ralf Wildenhues.
  11776. * man/Makefile.am (.x.1): Make sure the required generated files
  11777. are up to date. Problem and original solution proposed by Stepan Kasal.
  11778. $(dist_man_MANS:.1=-bin-prereq), $(dist_man_MANS:.1=-tests-prereq),
  11779. implicit-man-prerequisites): New rules, used by the above.
  11780. * doc/make-stds.texi, doc/standards.texi: Sync from gnulib.
  11781. * config/config.guess, config/config.sub, config/install-sh: Likewise.
  11782. * config/missing, config/texinfo.tex: Likewise.
  11783. 2005-01-29 Stepan Kasal <kasal@ucw.cz>
  11784. Simplify the implementation of m4_require (a.k.a. AC_REQUIRE).
  11785. Update the long comment explaining it.
  11786. m4_require no longer writes an ``is required by'' line to the
  11787. execution stack. It contains only one bit of non-redundant
  11788. information: that the macro was required, not called. And even
  11789. this bit is useless in most situations: have you ever met a macro
  11790. which both calls and requires the same macro?
  11791. * lib/m4sugar/m4sugar.m4 (_m4_defun_pro): Don't push a diversion...
  11792. (_m4_defun_pro_outer): ... only via this macro, for the outermost
  11793. macro.
  11794. (_m4_defun_epi, _m4_defun_epi_outer): Complementarily.
  11795. (m4_expansion_stack_pop): Remove the misplaced comment.
  11796. (m4_require): Don't put the ``is required by'' line to the
  11797. execution stack; slightly improve the out-of-a-defun error message.
  11798. (_m4_divert_grow): New macro, counter for the temporary diversions.
  11799. (_m4_require_call): Use it.
  11800. * tests/m4sugar.at (m4_require): Expect output without the
  11801. ``is required by'' messages.
  11802. 2005-01-28 Paul Eggert <eggert@cs.ucla.edu>
  11803. * doc/autoconf.texi (Limitations of Usual Tools): Recommend X
  11804. rather than x for expr.
  11805. * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT): Avoid subshells when
  11806. this is safe.
  11807. * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): Likewise.
  11808. * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
  11809. * lib/autotest/general.m4 (AT_INIT): Likewise.
  11810. * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Likewise.
  11811. * tests/mktests.sh: Likewise.
  11812. 2005-01-27 Akim Demaille <akim@epita.fr>
  11813. Have autoheader honor --force.
  11814. * doc/make-stds.texi, doc/standards.texi: Update from masters.
  11815. * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm
  11816. * lib/Autom4te/FileUtils.pm, lib/Autom4te/XFile.pm: Update
  11817. from masters, so that FileUtils.pm's update_file provide --force
  11818. support.
  11819. * bin/autoheader.in: Pass $force to update_file so that
  11820. config.h.in is always recreated when --force.
  11821. 2005-01-24 Stepan Kasal <kasal@ucw.cz>
  11822. * doc/autoconf.texi (Introduction): Update Peter Simons' address.
  11823. 2005-01-21 Paul Eggert <eggert@cs.ucla.edu>
  11824. * doc/autoconf.texi (Limitations of Builtins): Clarify that
  11825. "if test ! -d foo; ..." is portable. Suggested by Stepan Kasal.
  11826. 2005-01-20 Paul Eggert <eggert@cs.ucla.edu>
  11827. * doc/autoconf.texi (Shell Substitutions): Fix typo in case statement.
  11828. Warn about newline stripping in `` and $(). Update Solaris
  11829. version to 9.
  11830. (Limitations of Builtins): Use expr "X...", not expr "x...", as
  11831. X insulates us from future changes to Posix.
  11832. (Limitations of Usual Tools): For AS_DIRNAME, warn about newline
  11833. stripping.
  11834. 2005-01-19 Stepan Kasal <kasal@ucw.cz>
  11835. * doc/autoconf.texi (Defining Symbols): Delete the false comment that
  11836. you cannot use AC_DEFINE to define macros containing `[' or `]'.
  11837. 2005-01-13 Paul Eggert <eggert@cs.ucla.edu>
  11838. * doc/autoconf.texi (Limitations of Usual Tools): Document bug
  11839. in Solaris 8 join. Problem reported by Tomohiro Suzuki on
  11840. bug-tar mailing list.
  11841. 2005-01-05 Stepan Kasal <kasal@ucw.cz>
  11842. * lib/m4sugar/m4sugar.m4 (m4_copy): Fix the explanation.
  11843. 2005-01-05 Paul Eggert <eggert@cs.ucla.edu>
  11844. * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C)): Declare longval and
  11845. ulongval to be static, to avoid unwanted GCC warning. Problem
  11846. reported by Michael Jennings via Daniel Reed; see
  11847. <https://bugzilla.redhat.com/beta/show_bug.cgi?id=143852>.
  11848. 2005-01-05 Alexandre Duret-Lutz <adl@gnu.org>
  11849. * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Define datarootdir,
  11850. docdir, htmldir, dvidir, pdfdir, psdir, and localdir. Update
  11851. datadir, infodir, and mandir. Adjust argument parsing code.
  11852. (_AC_INIT_HELP): Update help text.
  11853. * doc/autoconf.texi (Installation Directory Variables): Document
  11854. new variables.
  11855. 2005-01-04 Noah Misch <noah@cs.caltech.edu>
  11856. * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): If the Make program does
  11857. not seem to work, assume it does set $(MAKE).
  11858. * doc/autoconf.texi (AC_PROG_MAKE_SET): Update.
  11859. 2005-01-03 Stepan Kasal <kasal@ucw.cz>
  11860. * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Add a comment about nesting.
  11861. 2005-01-03 Stepan Kasal <kasal@ucw.cz>
  11862. A cleanup of the diversion support in m4sugar.
  11863. * lib/m4sugar/m4sugar.m4 (_m4_divert): A typo in description.
  11864. (_m4_divert_n_stack): New macro; the expansion is
  11865. <newline>m4_divert_stack, if m4_divert_stack is defined, and void
  11866. otherwise.
  11867. (m4_divert, m4_divert_push, m4_divert_pop, m4_init): Use it.
  11868. (m4_divert_push, m4_divert_pop, _m4_defun_epi): Don't expand the word
  11869. stored in _m4_divert_diversion or _m4_divert_dump.
  11870. (m4_divert_pop): When the parameter is given, compare the symbolic
  11871. name with the last diversion pushed on the stack. Previously, the
  11872. current diversion was compared with the numeric value of the
  11873. diversion given as the parameter.
  11874. (m4_require): If the macro hasn't been expanded yet, call ...
  11875. (_m4_require_call): this new macro.
  11876. 2005-01-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  11877. * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_ARG_VAR_VALIDATE):
  11878. Workarounds for documented `case' limitations.
  11879. 2005-01-03 Paul Eggert <eggert@cs.ucla.edu>
  11880. * doc/autoconf.texi (Limitations of Usual Tools): Warn about
  11881. sed 'command1;command2'. Problem reported by Ralf Wildenhues.
  11882. 2005-01-02 Paul Eggert <eggert@cs.ucla.edu>
  11883. * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in,
  11884. bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
  11885. bin/ifnames.in, tests/mktests.sh: Update copyright date to 2005.
  11886. Patch from Roger Leigh (with some minor changes) as follows:
  11887. * NEWS: New macros AC_PROG_CC_C89, AC_PROG_CC_C99.
  11888. Resurrect AC_PROG_CC_STDC.
  11889. * doc/autoconf.texi (C Compiler): Add AC_PROG_CC_STDC,
  11890. AC_PROG_CC_C89, AC_PROG_CC_C99.
  11891. (Obsolete Macros): Remove AC_PROG_CC_STDC; it's no longer obsolete.
  11892. * lib/autoconf/c.m4 (_AC_PROG_CC_C89, _AC_PROG_CC_C99, AC_PROG_CC_C89,
  11893. AC_PROG_CC_C99): New macros.
  11894. (AC_PROG_CC_STDC): Use them.
  11895. (_AC_PROG_CC_STDC): Remove.
  11896. (AC_C_PROTOTYPES): Use ac_cv_prog_cc_c89, not ac_cv_prog_cc_stdc.
  11897. * THANKS: Add Roger Leigh.
  11898. 2004-12-30 Noah Misch <noah@cs.caltech.edu>
  11899. * bin/autoreconf.in (autoreconf_current_directory): AM_INIT_AUTOMAKE
  11900. signals that the package uses Automake; a `Makefile.am' is typical but
  11901. not essential. Reported by Magnus Therning.
  11902. * tests/torture.at (autoreconf.): New banner.
  11903. (autoreconf and non-AC configure): Rename to `Non-Autoconf
  11904. AC_CONFIG_SUBDIRS'.
  11905. (autoreconf an empty directory): Rename to `Empty directory'.
  11906. (Unusual Automake input files): New test.
  11907. 2004-12-30 Noah Misch <noah@cs.caltech.edu>
  11908. * lib/autotest/general.m4 (AT_CAPTURE_FILE): New macro.
  11909. (AT_SETUP): Clear AT_capture_files.
  11910. (_AT_CHECK): On failure, log each of AT_capture_files. Fix comment.
  11911. (AT_KEYWORDS): Fix comment typo.
  11912. * tests/autotest.at (AT_CHECK_AT): Use AT_CAPTURE_FILE.
  11913. * tests/local.at (AT_CHECK_CONFIGURE): Use AT_CAPTURE_FILE.
  11914. * doc/autoconf.texi (Writing testsuite.at): Document AT_CAPTURE_FILE.
  11915. 2004-12-29 Albert Chin-A-Young <china@thewrittenword.com>
  11916. * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH):
  11917. If the variable to set is already set, set ac_cv_path_$1
  11918. to the preset value so caller can assume ac_cv_path_$1
  11919. is available. (trivial change)
  11920. 2004-12-27 Noah Misch <noah@cs.caltech.edu>
  11921. * BUGS (Minor Problems): Warn about makefile limitations.
  11922. * Makefile.am: Find and update `INSTALL' in $(srcdir).
  11923. * man/Makefile.am: Find and update manual pages in $(srcdir).
  11924. 2004-12-24 Eric Blake <ebb9@byu.net>
  11925. * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Test candidate
  11926. shells in subshell, to avoid noise from ash. (trivial change)
  11927. 2004-12-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  11928. * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
  11929. problems with SunOS ksh and backslash escaping, Bourne shells and
  11930. closing brackets (both within character classes). Bug reported
  11931. against Libtool by Alexander Kurz <alexander.kurz@qsc.de>.
  11932. <read>: New entry. Mention non-availability of -r.
  11933. 2004-12-21 Akim Demaille <akim@epita.fr>
  11934. * lib/autotest/general.m4 (AT_LINE): Don't add srcdir here, to
  11935. avoid cluttering displayed messages. Rather, prepend srcdir where
  11936. AT_LINE is used for log files.
  11937. 2004-12-21 Stepan Kasal <kasal@ucw.cz>
  11938. * lib/autoconf/status.m4: Quote ``$tmp'' in many places.
  11939. * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Fix the comment, as traps are
  11940. no longer part of the macro, quote the occurrence of ``$tmp''.
  11941. * doc/autoconf.texi (Forbidden Patterns): Typo.
  11942. 2004-12-21 Akim Demaille <akim@epita.fr>
  11943. * lib/autotest/general.m4 (AT_INIT): Make sure the "ok" etc. are
  11944. separated from the test title by forcing a white space.
  11945. 2004-12-21 Akim Demaille <akim@epita.fr>
  11946. Enable Emacs navigation within testsuite.log files.
  11947. * lib/autotest/general.m4 (AT_CLEANUP): Add an hint for Emacs to
  11948. use the compilation mode.
  11949. (AT_LINE): Point to the srcdir.
  11950. 2004-12-19 Noah Misch <noah@cs.caltech.edu>
  11951. * tests/Makefile.am (installcheck-local): Use $(bindir).
  11952. (check-local, installcheck-local): Pass TESTSUITEFLAGS.
  11953. * doc/autoconf.texi (Making testsuite Scripts): Recommend the same
  11954. Makefile.am scheme Autoconf now uses.
  11955. 2004-12-18 Noah Misch <noah@cs.caltech.edu>
  11956. * lib/m4sugar/m4sugar.m4 (m4_qlen, m4_qdelta): New macros.
  11957. * lib/autotest/general.m4 (AT_SETUP): Use m4_qdelta.
  11958. 2004-12-18 Noah Misch <noah@cs.caltech.edu>
  11959. * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): New macro.
  11960. (_AT_CHECK): Use it.
  11961. * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): Remove.
  11962. (AS_ESCAPE): Fix comment.
  11963. * tests/autotest.at: Adjust section banner comments.
  11964. (AT_CHECK_AT): Accept STATUS and STDERR.
  11965. (AT_CHECK_AT_TEST): Likewise.
  11966. (Invalid brace-enclosed parameter expansion)
  11967. (Multiline command from M4 expansion)
  11968. (Double-M4-quoted command): New tests.
  11969. 2004-12-17 Paul Eggert <eggert@cs.ucla.edu>
  11970. * doc/autoconf.texi: Update GNU FDL version from 1.1 to 1.2.
  11971. 2004-12-17 Akim Demaille <akim@epita.fr>
  11972. * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILES): Pass $1 to
  11973. m4_pattern_allow.
  11974. Suggested by Alexandre Duret-Lutz.
  11975. * doc/autoconf.texi (Setting Output Variables): Catch up.
  11976. 2004-12-17 Stepan Kasal <kasal@ucw.cz>
  11977. * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix comment.
  11978. 2004-12-17 Stepan Kasal <kasal@ucw.cz>
  11979. * lib/autoconf/general.m4 (_AC_LIBOBJ): We can use AC_SUBST/2,
  11980. remove the comment which said we cannot.
  11981. 2004-12-17 Stepan Kasal <kasal@ucw.cz>
  11982. Add a specialized check for resolv.h. Thanks to Gerrit P. Haase,
  11983. Reini Urban and Paul Eggert for reporting the dependencies.
  11984. * lib/autoconf/headers.m4 (AC_HEADER_RESOLV): New macro.
  11985. * doc/autoconf.texi (AC_HEADER_RESOLV): Document it.
  11986. (AC_HEADER_STAT): @cvindex{STAT_MACROS_BROKEN}, not @acindex.
  11987. 2004-12-17 Stepan Kasal <kasal@ucw.cz>
  11988. * bin/autoscan.in: Open autoscan.log only after ``parse_args'';
  11989. so that eg. ``autoscan --help'' doesn't truncate it.
  11990. 2004-12-15 Nicolas Joly <njoly@pasteur.fr>
  11991. * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
  11992. generated conftest files.
  11993. 2004-12-13 Noah Misch <noah@cs.caltech.edu>
  11994. * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Do not enable shell
  11995. tracing on commands with possibly-escaped newlines.
  11996. * doc/autoconf.texi (Writing testsuite.at): Delete documentation of the
  11997. discontinued behavior and its implications.
  11998. * tests/autotest.at (BS-newline in command, ^BS-newline in command)
  11999. (BSx641-newline in command, BS-BS-newline in command)
  12000. (BSx640-newline in command, Newline-CODE-BS-newline in command)
  12001. (Single-quote-BS-newline in command)
  12002. (Single-quote-newline-BS-newline in command): New tests.
  12003. 2004-12-13 Stepan Kasal <kasal@ucw.cz>
  12004. * lib/m4sugar/m4sh.m4 (AS_EXECUTABLE_P): Use test -f && test -x
  12005. on platforms where it works.
  12006. (_AS_TEST_PREPARE): Test for ``test -x''.
  12007. (_AS_BROKEN_TEST_PREPARE): Nuke.
  12008. 2004-12-13 Stepan Kasal <kasal@ucw.cz>
  12009. * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Move the trap commands ...
  12010. * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): ... here;
  12011. give only 4-letter prefix to AS_TMPDIR, comment fixed.
  12012. * lib/autoconf/programs.m4 (_AC_PATH_PROG_FEATURE_CHECK): Don't
  12013. create the temporary directory.
  12014. (_AC_FEATURE_CHECK_LENGTH): Work in current directory.
  12015. 2004-12-12 Kelley Cook <kcook@gcc.gnu.org>
  12016. * bin/autoheader.in: Exit if no AC_CONFIG_HEADERS was found.
  12017. (trivial change)
  12018. 2004-12-12 Alexandre Duret-Lutz <adl@gnu.org>
  12019. * doc/autoconf.texi (Limitations of Usual Tools) <expr (:)>: Typo.
  12020. 2004-12-11 Noah Misch <noah@cs.caltech.edu>
  12021. * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Rework a shell pattern
  12022. to avoid using a negated character class. Reported by Nicolas Joly.
  12023. * tests/local.at (AT_CHECK_SHELL_SYNTAX): Check for similar constructs.
  12024. 2004-12-10 Paul Eggert <eggert@cs.ucla.edu>
  12025. * man/Makefile.am (autoconf.1, autoheader.1, autom4te.1, autoreconf.1,
  12026. autoscan.1, autoupdate.1, ifnames.1, config.guess.1, config.sub.1):
  12027. Don't depend on .x file explicitly, since "make" does that for us.
  12028. Suggested by Stepan Kasal.
  12029. * bin/Makefile.am (MOSTLYCLEANFILES): Renamed from CLEANFILES.
  12030. Add *.tmp.
  12031. (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate,
  12032. ifnames): Factor common code. And they said it couldn't be done!
  12033. 2004-12-09 Paul Eggert <eggert@cs.ucla.edu>
  12034. * bin/.cvsignore: Add autoconf.in.
  12035. * tests/.cvsignore: Add wrapper.in.
  12036. * lib/autotest/general.m4: Escape '$' in case pattern.
  12037. 2004-12-09 Noah Misch <noah@cs.caltech.edu>
  12038. * man/Makefile.am (autoconf.1): Regenerate when `autoconf.as' changes.
  12039. * lib/autotest/general.m4 [--trace] (AT_INIT): Do not `set -v'.
  12040. * tests/autotest.at: New file.
  12041. * tests/suite.at: Include it.
  12042. * tests/Makefile.am: Distribute it.
  12043. * lib/autotest/general.m4 [--trace] (_AT_CHECK): Do not enable
  12044. shell tracing on a command that could contain multiple lines.
  12045. * doc/autoconf.text: Document that fact and its implications.
  12046. * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): New macro.
  12047. * tests/autotest.at (Multiline backquote command substitution,
  12048. Multiline parameter expansion, Literal multiline command,
  12049. Multiline parenthetical command substitution): Remove XFAIL.
  12050. 2004-12-09 Paul Eggert <eggert@cs.ucla.edu>
  12051. * doc/autoconf.texi (Libraries): Clarify problems with AC_CHECK_LIB
  12052. and suggest AC_SEARCH_LIBS. Suggested by Noah Misch and Stepan Kasal.
  12053. 2004-12-08 Noah Misch <noah@cs.caltech.edu>
  12054. * configure.ac (test suite): Cease to generate wrapper scripts.
  12055. * configure: Regenerate.
  12056. * lib/freeze.mk (MY_AUTOM4TE): Wrap the uninstalled autom4te directly.
  12057. (m4f_dependencies): Adjust accordingly.
  12058. * tests/Makefile.am (Wrappers): Generate wrapper scripts.
  12059. (wrapper.in): Generate it in the build directory.
  12060. (MAINTAINERCLEANFILES): Delete wrapper.in.
  12061. (CLEANFILES): Add wrapper.in.
  12062. * tests/wrapper.as: Move AS_INIT to very top, preserving copyright in
  12063. the output. Replace each $as_me with a @wrap_program@.
  12064. * tests/wrapper.in: Delete it; we always build it.
  12065. * bin/Makefile.am (autoconf.in): Generate it in the build directory.
  12066. (EXTRA_DIST): Remove autoconf.in.
  12067. (CLEANFILES): Add autoconf.in.
  12068. (autoconf): Find autoconf.in in the build directory.
  12069. * bin/autoconf.in: Delete it; we always build it.
  12070. 2004-12-08 Noah Misch <noah@cs.caltech.edu>
  12071. * lib/autotest/general.m4 (AT_INIT): Replace a `tr' with a `sed'. Join
  12072. PATH members so as to not prepend an empty element. Move a comment.
  12073. * Makefile.am (SUBDIRS): Build in `tests' last.
  12074. * tests/Makefile.am (installcheck-local): Add check-local dependencies.
  12075. 2004-12-08 Paul Eggert <eggert@cs.ucla.edu>
  12076. * lib/mdate-sh: Don't use "set - x`$ls_command /`", as zsh mishandles
  12077. the spaces inside $ls_command. Problem reported by Loulou Pouchet in
  12078. <http://lists.gnu.org/archive/html/autoconf/2004-12/msg00074.html>.
  12079. Don't use "set - x"; plain "set x" is enough, and simplifies debugging.
  12080. 2004-12-07 Stepan Kasal <kasal@ucw.cz>
  12081. * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Fix typo in previous
  12082. patch: extra "-l"s.
  12083. 2004-12-06 Paul Eggert <eggert@cs.ucla.edu>
  12084. * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Check libc before
  12085. looking elsewhere for getmntent. Problem reported by Mark D. Baushke.
  12086. * doc/autoconf.texi (Particular Functions): Mention new behavior.
  12087. 2004-12-03 Stepan Kasal <kasal@ucw.cz>
  12088. * lib/autoconf/general.m4 (AC_DEFINE, AC_DEFINE_UNQUOTED): Factor
  12089. out the common code to ...
  12090. (_AC_DEFINE_Q): ... a new macro; simplify the condition about the
  12091. value of the #define--default to 1, iff the macro was called
  12092. with exactly one parameter.
  12093. 2004-12-02 Paul Eggert <eggert@cs.ucla.edu>
  12094. * lib/autoconf/functions.m4 (AC_FUNC_MEMCMP): Use
  12095. "char c = '\200';" rather than "char c = 0x80;" as the
  12096. latter doesn't conform to the strict C standard due to
  12097. overflow on signed char hosts.
  12098. * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Prefer -qlanglvl=extc89
  12099. to -qlanglvl=ansi. We don't want to disable extensions.
  12100. 2004-11-29 Paul Eggert <eggert@cs.ucla.edu>
  12101. * doc/autoconf.texi (Particular Programs): @code{$PATH} -> @env{PATH}.
  12102. (Using Autotest, testsuite Scripts, Writing testsuite.at):
  12103. Reword slightly to avoid some English-language problems noted
  12104. by Ralf Wildenhues in:
  12105. http://lists.gnu.org/archive/html/autoconf-patches/2004-11/msg00027.html
  12106. 2004-11-29 Stepan Kasal <kasal@ucw.cz>
  12107. * NEWS: Add ^L above each release.
  12108. 2004-11-28 Paul Eggert <eggert@cs.ucla.edu>
  12109. Fix documentation problems reported by Russ Boylan in
  12110. <http://lists.gnu.org/archive/html/bug-autoconf/2004-11/msg00056.html>,
  12111. along with some nearby cruft.
  12112. * doc/autoconf.texi (Libtool): Libtool can be used without
  12113. Automake (not without Autoconf).
  12114. (Introduction): Mention lists.gnu.org.
  12115. * BUGS: Don't mention bugs.gnu.org.
  12116. Remove mention of ancient libtool compatibility problem.
  12117. * NEWS: Mention that bugs.gnu.org is kaput.
  12118. * README: Likewise. Mention where mailing list archives can be found.
  12119. 2004-11-28 Stepan Kasal <kasal@ucw.cz>
  12120. * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): A typo in the comment.
  12121. 2004-11-26 Paul Eggert <eggert@cs.ucla.edu>
  12122. * doc/autoconf.texi (Pretty Help Strings): Go back to
  12123. single-quoting assignments to cache variables.
  12124. 2004-11-23 Stepan Kasal <kasal@ucw.cz>
  12125. * doc/autoconf.texi (Pretty Help Strings): Fix quoting issues
  12126. with the examples; fix the bug in MY_ARG_WITH example reported
  12127. by Alexandre Duret-Lutz.
  12128. * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_ENABLE): Enable
  12129. expansion of $1 in the comment emitted to configure.
  12130. 2004-11-23 Paul Eggert <eggert@cs.ucla.edu>
  12131. * doc/autoconf.texi (Pretty Help Strings): Fix typo
  12132. in my editing of the previous patch. Problem reported
  12133. by Alexandre Duret-Lutz.
  12134. 2004-11-22 Stepan Kasal <kasal@ucw.cz>
  12135. * doc/autoconf.texi (Autoconf Language): Explain that
  12136. ``descriptions'' may not be double quotes.
  12137. (Quotation Rule Of Thumb): Likewise.
  12138. (Pretty Help Strings): Likewise; remove the wrong comment;
  12139. simplify the examples and improve their quoting.
  12140. 2004-11-13 Stepan Kasal <kasal@ucw.cz>
  12141. * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't check
  12142. the $1_found variable, don't test whether the file is executable;
  12143. Both things are checked ...
  12144. (_AC_PATH_PROG_FEATURE_CHECK): ... here; AS_EXECUTABLE_P replaces
  12145. the former ``test -f''.
  12146. * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix a typo.
  12147. 2004-11-10 Paul Eggert <eggert@cs.ucla.edu>
  12148. * doc/autoconf.texi (Limitations of Usual Tools): Avoid cp -r;
  12149. use cp -R instead.
  12150. 2004-11-10 Derek R. Price <derek@ximbiot.com>
  12151. * doc/autoconf.texi (Limitations of Usual Tools): Note `cp -r'
  12152. limitations. Reorder paragraphs for clarity.
  12153. 2004-10-11 Paul Eggert <eggert@cs.ucla.edu>
  12154. * doc/autoconf.texi: Standardize spelling of "Posix" (as opposed
  12155. to "POSIX" or "@acronym{POSIX}"), and similarly for "DOS
  12156. variants", "Unix", and some related minor wording fixups.
  12157. (Shellology, Special Shell Variables): Document that the Zsh
  12158. problem with NULLCMD was fixed in zsh 3.1.6-dev-18. Thanks
  12159. to Alexandre Duret-Lutz for this info.
  12160. 2004-10-10 Alexandre Duret-Lutz <adl@gnu.org>
  12161. * doc/autoconf.texi (One-Shot Macros): New node.
  12162. 2004-09-28 Paul Eggert <eggert@cs.ucla.edu>
  12163. * doc/autoconf.texi (Function Portability): Fix misdescription
  12164. of putenv. Problem reported by Michael Wardle.
  12165. 2004-09-22 Paul Eggert <eggert@cs.ucla.edu>
  12166. * doc/autoconf.texi (auindex): New macro.
  12167. (AU_DEFUN): Use it to fix the bug when the index contained AC_AU_DEFUN.
  12168. Problem reported by Stepan Kasal.
  12169. 2004-09-05 Paul Eggert <eggert@cs.ucla.edu>
  12170. Fix problems reported by Andreas Buening in:
  12171. http://lists.gnu.org/archive/html/autoconf-patches/2004-04/msg00004.html
  12172. * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Set SHELL=/bin/sh
  12173. in test makefile.
  12174. * lib/autotest/general.m4 (AT_INIT): Don't assume /dev/null is
  12175. readable; it's not true in OS/2-emx.
  12176. 2004-09-04 Paul Eggert <eggert@cs.ucla.edu>
  12177. * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): If xmkmf returns
  12178. "/usr/include", clear ac_x_includes instead of leaving it as "no"
  12179. (trivial change). Problem and patch reported by Andrew Church in:
  12180. http://lists.gnu.org/archive/html/bug-autoconf/2004-04/msg00016.html
  12181. 2004-09-03 Paul Eggert <eggert@cs.ucla.edu>
  12182. * doc/autoconf.texi: Give AC_DEFINE and AC_DEFINE_UNQUOTED
  12183. three args in examples. Problem reported by Frederik Fouvry in:
  12184. http://lists.gnu.org/archive/html/bug-autoconf/2004-09/msg00017.html
  12185. Also, fix some minor spacing and punctuation bugs.
  12186. 2004-09-02 Akim Demaille <akim@epita.fr>
  12187. * doc/autoconf.texi (Limitations of Builtins): Swap "cd" and
  12188. "case" to restore ordering.
  12189. Reported by Stepan Kasal.
  12190. 2004-08-26 Akim Demaille <akim@epita.fr>
  12191. * doc/autoconf.texi: Minor typos and stylos.
  12192. 2004-08-20 Paul Eggert <eggert@cs.ucla.edu>
  12193. * configure.ac (AC_INIT): Bump to 2.59c.
  12194. 2004-08-20 Paul Eggert <eggert@cs.ucla.edu>
  12195. Version 2.59b.
  12196. * README: Add advice about m4 1.4.2.
  12197. * Makefile.cfg (wget_files): Remove config.guess, config.sub,
  12198. texinfo.tex for now (done by hand now).
  12199. * Makefile.maint (wget_files, cvs_files):
  12200. Remove ansi2knr.c; nobody uses it.
  12201. (ansi2knr.c-url_prefix): Remove.
  12202. (cvs-update): Fix test for failure. I don't know why it ever
  12203. worked...
  12204. * doc/autoconf.texi: Update URLs, some of which went stale.
  12205. Use @uref rather than @href.
  12206. * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Have configure
  12207. handle "--" as per POSIX. Suggested by Paul Pogonyshev.
  12208. * config/config.guess, config/config.sub, config/elisp-comp,
  12209. config/install-sh, config/mkinstalldirs, config/texinfo.tex,
  12210. doc/fdl.texi, doc/standards.texi: Sync with master copy.
  12211. * NEWS, TODO, configure.ac, bin/autoscan.in,
  12212. bin/autoupdate.in, bin/ifnames.in, doc/autoconf.texi,
  12213. doc/install.texi, lib/Autom4te/Configure_ac.pm,
  12214. lib/Autom4te/FileUtils.pm, lib/autoconf/general.m4,
  12215. lib/autoconf/programs.m4, lib/autoconf/status.m4,
  12216. lib/autotest/general.m4, lib/m4sugar/m4sh.m4,
  12217. lib/m4sugar/m4sugar.m4, tests/local.at, tests/m4sh.at,
  12218. tests/tools.at, tests/torture.at:
  12219. Use "file name" rather than "filename" or "path",
  12220. to be consistent with the terminology of the GNU coding standards.
  12221. 2004-08-19 Paul Eggert <eggert@cs.ucla.edu>
  12222. * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C),
  12223. AC_C_LONG_DOUBLE): Undo 2004-06-04 change, as it didn't work with
  12224. HP-UX 11.23 cc/aCC or Tru64 4.0 cc. Problem reported by Noah Misch in
  12225. <http://lists.gnu.org/archive/html/autoconf/2004-07/msg00004.html>.
  12226. More fixes to support spaces in the name of the build directory.
  12227. This isn't a complete fix but it's an improvement.
  12228. * bin/autoconf.as (autom4te_options): New var.
  12229. Use it instead of appending to AUTOM4TE, so that we can allow
  12230. spaces in the build directory's absolute name.
  12231. * bin/autoheader.in ($autoconf): Allow spaces in file names.
  12232. * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP, _AT_CHECK,
  12233. AT_CHECK_NOESCAPE): Likewise.
  12234. * tests/wrapper.as (testdir, AUTOM4TE_CFG, autom4te_perllibdir,
  12235. main program): Likewise.
  12236. 2004-08-18 Paul Eggert <eggert@cs.ucla.edu>
  12237. * lib/autoconf/general.m4 (_AC_INIT_HELP): Quote $ac_popdir uses.
  12238. From Ralf Corsepius in:
  12239. http://lists.gnu.org/archive/html/autoconf-patches/2004-08/msg00014.html
  12240. 2004-08-12 Paul Eggert <eggert@cs.ucla.edu>
  12241. * doc/autoconf.texi (Function Portability): Document isinf and
  12242. and isnan. From a suggestion by Kevin Ryde.
  12243. * lib/Autom4te/General.pm (END): Return correct exit status even
  12244. if unlink succeeds and sets $?. Needed with Solaris 8's perl 5.00503.
  12245. 2004-08-09 Paul Eggert <eggert@cs.ucla.edu>
  12246. * tests/torture.at (Deep Package): Use configure.in, not configure.ac,
  12247. for compatibility with Automake 1.4. Reported by J C Fitzgerald in
  12248. <http://lists.gnu.org/archive/html/bug-autoconf/2003-08/msg00051.html>.
  12249. 2004-08-04 Alexandre Duret-Lutz <adl@gnu.org>
  12250. * lib/autoconf/general.m4 (AC_REQUIRE_AUX_FILE): New empty macro.
  12251. (AC_CANONICAL_BUILD): Call it to require config.sub and config.guess.
  12252. * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Likewise for install-sh.
  12253. * doc/autoconf.texi (Input): Document AC_REQUIRE_AUX_FILE.
  12254. * lib/autom4te.in (Automake-preselections): Preselect
  12255. AC_REQUIRE_AUX_FILE. Automake 1.10 will trace it.
  12256. 2004-08-02 Alexandre Duret-Lutz <adl@gnu.org>
  12257. * lib/autom4te.in (Automake-preselections): Preselect
  12258. AC_CANONICAL_BUILD and AC_CANONICAL_TARGET. Automake 1.9.1 will
  12259. trace them.
  12260. 2004-07-29 Paul Eggert <eggert@cs.ucla.edu>
  12261. * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Set BIN_SH, for
  12262. Tru64.
  12263. * doc/autoconf.texi (Shellology): Mention BIN_SH.
  12264. Document problem with "`""`" in pdksh POSIX mode.
  12265. 2004-07-27 Paul Eggert <eggert@cs.ucla.edu>
  12266. * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Use "set -o posix"
  12267. with pdksh, too. Problem reported by Patrick Welche via
  12268. Gary V. Vaughan.
  12269. * doc/autoconf.texi (Shellology): Note that set -o posix is
  12270. useful for pkdsh, too.
  12271. 2004-06-24 Paul Eggert <eggert@cs.ucla.edu>
  12272. * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Require
  12273. _AS_UNSET_PREPARE, so that we can use $as_unset directly.
  12274. Don't fail if ENV or BASH_ENV is readonly.
  12275. (AS_SHELL_SANITIZE): Don't fail if ENV, MAIL, MAILPATH, LC_ALL,
  12276. etc. are read only. Problem reported by Ludovic Courtes.
  12277. 2004-06-23 Noah Misch <noah@cs.caltech.edu>
  12278. * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): If the shell is
  12279. zsh, disable GLOB_SUBST to avoid backslash handling problems.
  12280. (trivial change)
  12281. 2004-06-04 Paul Eggert <eggert@cs.ucla.edu>
  12282. * doc/autoconf.texi (File System Conventions): Warn about
  12283. names like "aux". Problem reported by Eric Blake.
  12284. * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY (C)): Use division
  12285. by zero instead of array size, so that we can use any arithmetic
  12286. constant expression (instead of requiring an integer constant
  12287. expression). This allows us to test expressions like DBL_MAX <
  12288. LDBL_MAX, which didn't conform to the C standard using the old
  12289. method.
  12290. (AC_C_LONG_DOUBLE): Put back in the tests for LDBL_MAX and LDBL_EPSILON,
  12291. now that we can do floating-point tests at compile time.
  12292. 2004-06-02 Paul Eggert <eggert@cs.ucla.edu>
  12293. * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Don't check LDBL_MAX
  12294. and LDBL_EPSILON, as the resulting expression isn't an
  12295. integer constant expression and violates the C standard.
  12296. Problem reported by Nelson H. F. Beebe. Also, check
  12297. for "L" suffix, and check that long double doesn't have
  12298. worse range or precision than double, that mixed-mode
  12299. arithmetic doesn't generate a diagnostic, that double
  12300. constants fit in long double.
  12301. 2004-06-03 Kevin Ryde <user42@zip.com.au>
  12302. * doc/autoconf.texi (Function Portability): Add notes on free(NULL),
  12303. malloc(0) and realloc(NULL,size).
  12304. * doc/autoconf.texi (Shell Substitutions): Spelling error reported by
  12305. Bob Proulx.
  12306. 2004-05-31 Paul Eggert <eggert@cs.ucla.edu>
  12307. * lib/autoconf/headers.m4 (HAVE_STDBOOL_H): Detect _Bool bug
  12308. in HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. Problem reported
  12309. by Jim Meyering.
  12310. 2004-05-26 Paul Eggert <eggert@cs.ucla.edu>
  12311. * doc/autoconf.texi (Limitations of Builtins): Mention that ! COMMAND
  12312. can be rewritten using if-then-else. Suggested by Bruno Haible.
  12313. 2004-05-25 Paul Eggert <eggert@cs.ucla.edu>
  12314. * doc/autoconf.texi (testsuite Scripts): Fix typo.
  12315. Problem reported by Stepan Kasal.
  12316. 2004-05-24 Paul Eggert <eggert@cs.ucla.edu>
  12317. * tests/Makefile.am (autoconfdir): Fix to match comment (trivial
  12318. change). Patch reported by Ralf Wildenhues in
  12319. <http://mail.gnu.org/archive/html/bug-autoconf/2004-05/msg00092.html>.
  12320. * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): Don't assume that a
  12321. function F exists if the compiler and linker let you compile an
  12322. expression like (F != 0). Recent versions of GCC optimize away
  12323. the reference to F in that case, since every function address must
  12324. be nonzero, so the link succeeds even if F does not exist.
  12325. Problem reported by Manu in
  12326. <http://mail.gnu.org/archive/html/bug-gnu-utils/2004-05/msg00060.html>.
  12327. * doc/autoconf.texi (Systemology): Standardize on the spelling of
  12328. "Unix". Many uses changed.
  12329. (Limitations of Builtins): Explain better why the ! command isn't
  12330. portable.
  12331. 2004-05-22 Alexandre Duret-Lutz <adl@gnu.org>
  12332. * lib/autom4te.in (Automake-preselections): Preselect
  12333. LT_SUPPORTED_TAG in lieu of AC_LIBTOOL_TAGS.
  12334. 2004-05-19 Kevin Ryde <user42@zip.com.au>
  12335. * doc/autoconf.texi (Function Portability): Add strerror_r, cross
  12336. referencing AC_FUNC_STRERROR_R.
  12337. * doc/autoconf.texi (Particular Functions): In AC_FUNC_CLOSEDIR_VOID,
  12338. note pessimistic assumption when cross compiling.
  12339. 2004-05-16 Paul Eggert <eggert@cs.ucla.edu>
  12340. * doc/autoconf.texi (Limitations of Make): Note that BSD make
  12341. (until 2004) invoked subcommands with sh -e, contra POSIX.
  12342. Reported by Kevin Ryde.
  12343. 2004-05-10 Eric Sunshine <sunshine@sunshineco.com>
  12344. * programs.m4 (_AC_PROG_GREP): Fixed bug where PATH argument handed to
  12345. _AC_PATH_PROG_FEATURE_CHECK contained leading whitespace (i.e.
  12346. " $PATH:/usr/xpg4/bin"). This resulted in bogus tests, such as
  12347. `test -f " /usr/bin/grep"', which _always_ failed.
  12348. (AC_PROG_SED): Ditto bogus PATH fix.
  12349. * autoconf.texi (AC_PROG_GREP): Properly document that this macro
  12350. requires that grep correctly supports _multiple_ `-e' options, rather
  12351. than stating only that grep should accept `-e'.
  12352. 2004-05-03 Paul Eggert <eggert@cs.ucla.edu>
  12353. Port to C99, which requires that 'exit' be declared.
  12354. * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Use AC_INCLUDES_DEFAULT
  12355. to ensure that stdlib.h is included.
  12356. * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_SETPGRP,
  12357. AC_FUNC_STRTOD, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_FORK, _AC_FUNC_FORK,
  12358. _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
  12359. * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
  12360. * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
  12361. * lib/autoconf/headers.m4 (AC_HEADER_STDC): Include <stdlib.h>
  12362. when using 'exit' in a test; C99 requires that 'exit' be declared.
  12363. 2004-05-02 Paul Eggert <eggert@cs.ucla.edu>
  12364. * doc/autoconf.texi (Particular Programs): AC_PROG_GREP
  12365. now prefers 'grep' implementations that accept -e.
  12366. (Limitations of Usual Tools): Describe problems of traditional
  12367. egrep and fgrep with long input lines, and of traditional grep
  12368. with -e.
  12369. * lib/autoconf/programs.m4 (AC_PROG_GREP): Check for -e, too.
  12370. (_AC_PROG_GREP): Assume 3rd arg is properly quoted for the shell.
  12371. All callers changed. Append /usr/xpg4/bin to the PATH, for
  12372. Solaris.
  12373. (_AC_FEATURE_CHECK_LENGTH): Discard stderr, so we don't bother
  12374. the user with complaints about multiple -e options.
  12375. * tests/local.at (AC_STATE_SAVE): Use $GREP, not grep.
  12376. Define it with AC_PROG_GREP.
  12377. * configure.ac (AC_PROG_GREP): Add.
  12378. * lib/freeze.mk (GREP): New macro.
  12379. 2004-05-02 Eric Sunshine <sunshine@sunshineco.com>
  12380. * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Consult $SHELL as
  12381. a possible candidate only after all others fail, rather than
  12382. consulting it first. This improves backward compatibility by
  12383. better reflecting the way shell selection occurred in previous
  12384. versions of Autoconf, and should help to avoid triggering latent
  12385. problems in other packages, such as the one in Automake where zsh
  12386. is not handled robustly:
  12387. http://mail.gnu.org/archive/html/automake/2004-04/msg00095.html
  12388. Although it is not Autoconf's responsibility to work around
  12389. problems in Automake, it nevertheless makes sense to avoid
  12390. introducing unnecessary incompatibilites.
  12391. 2004-04-22 Albert Chin-A-Young <china@thewrittenword.com>,
  12392. Gary V. Vaughan <gary@gnu.org>
  12393. * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't guess
  12394. how deeply nested we are when a suitable tool is found, set the
  12395. ac_path_TOOL_found flag.
  12396. (_AC_PATH_PROG_FEATURE_CHECK): Encapsulate knowledge of how deeply
  12397. nested we are in this macro. Break out of all 3 nested loops if
  12398. ac_path_TOOL_found is set.
  12399. 2004-04-21 Gary V. Vaughan <gary@gnu.org>
  12400. * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Break out
  12401. of the _AS_PATH_WALK loop too if GNU flavor is found.
  12402. 2004-04-21 Alexandre Duret-Lutz <adl@gnu.org>
  12403. * doc/autoconf.texi (Limitations of Make): Update documentation
  12404. for `$<'. New entry `Long lines', based on a report from Simon
  12405. Josefsson. Augment the documentation for SHELL = @SHELL@ with a
  12406. paragraph about DJGPP, based on a mail from Richard Dawe.
  12407. 2004-04-20 Paul Eggert <eggert@twinsun.com>
  12408. * tests/c.at (C keywords): Don't assume that GCC supports
  12409. "restrict" and "inline", as sufficiently-old GCC versions do not
  12410. (also, GCC configured to be in pedantic C89 mode does not).
  12411. Problem reported by Sumit Pandya in:
  12412. http://mail.gnu.org/archive/html/autoconf/2004-04/msg00092.html
  12413. * lib/autoconf/c.m4 (_AC_PROG_CC_G, _AC_PROG_CXX_G): Don't
  12414. consider -g to work if it generates warnings when plain compiles
  12415. don't. Problem reported by Braden McDaniel in:
  12416. http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00014.html
  12417. * doc/autoconf.texi (Slashes): New section, to document a problem
  12418. reported by Jim Meyering in:
  12419. http://mail.gnu.org/archive/html/bug-coreutils/2004-02/msg00060.html
  12420. * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Remove potential
  12421. linker output files before linking, to work around IRIX 6 linker bug.
  12422. Problem reported by Rainer Orth in:
  12423. http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00007.html
  12424. 2004-04-20 Gary V. Vaughan <gary@gnu.org>
  12425. * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Make the
  12426. best tool so far counter rely on the tool path variable name to
  12427. avoid checks for one tool being affected by the results of running
  12428. the length check on a previous tool.
  12429. * lib/autoconf/programs.m4 (_AC_PROG_GREP): Take an additional
  12430. match expression argument, as different greps have different
  12431. regular expression flavours.
  12432. (AC_PROG_FGREP): Pass 'FGREP'. fgrep treats all match chars as
  12433. literals.
  12434. (AC_PROG_EGREP): Pass 'EGREP$'.
  12435. (AC_PROG_GREP): Pass 'GREP$'.
  12436. 2004-04-20 Albert Chin-A-Young <china@thewrittenword.com>
  12437. * lib/autoconf/programs.m4 (AC_PROG_GREP): Cache variable
  12438. is `ac_cv_path_GREP', not `oc_cv_path_GREP'.
  12439. 2004-03-29 Paul Eggert <eggert@twinsun.com>
  12440. * doc/autoconf.texi (Particular Headers, Particular Types, Generic
  12441. Types, Specific Compiler Characteristics, System Services,
  12442. Obsolete Macros): Use 'long int', 'short int', 'unsigned int'
  12443. etc. consistently instead of 'long', 'short', 'unsigned' etc.
  12444. * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN): Likewise.
  12445. * lib/autoconf/functions.m4 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES):
  12446. Likewise.
  12447. * lib/autoconf/headers.m4 (AC_HEADER_SYS_WAIT): Likewise.
  12448. * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS, AC_TYPE_SIZE_T,
  12449. AC_TYPE_OFF_T): Likewise.
  12450. * tests/semantics.at (AC_CHECK_TYPES: backward compatibility):
  12451. Likewise.
  12452. * tests/foreign.at (Libtool): Create an empty aclocal.m4, to
  12453. pacify libtool 1.5.2. Fix quoting problems in sed command.
  12454. 2004-03-28 Paul Eggert <eggert@twinsun.com>
  12455. * doc/autoconf.texi (Particular Structures): AC_STRUCT_TIMEZONE
  12456. now defines HAVE_DECL_TZNAME if it is declared, when
  12457. HAVE_STRUCT_TM_TM_ZONE is not defined.
  12458. * lib/autoconf/types.m4 (AC_STRUCT_TIMEZONE): Implement this.
  12459. Do not assume atoi. Rely on HAVE_DECL_TZNAME when testing
  12460. for HAVE_TZNAME.
  12461. 2004-03-28 Steven G. Johnson <stevenj@fftw.org>
  12462. * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Corrected
  12463. superfluous backslashing of quotes (") in sed expressions;
  12464. thanks to Paul Eggert.
  12465. 2004-03-26 Steven G. Johnson <stevenj@alum.mit.edu>
  12466. * lib/autoconf/fortran.m4 (_AC_PROG_FC): new name of Intel
  12467. Fortran compiler is ifort, also added pghpf; thanks to Nelson
  12468. H. F. Beebe for the bug report.
  12469. 2004-03-26 Steven G. Johnson <stevenj@fftw.org>
  12470. * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): fix for
  12471. quoted -cmdline argument in Portland Group compiler (bug
  12472. reported by Jeffrey J. Barteet).
  12473. 2004-03-25 Kevin Ryde <user42@zip.com.au>
  12474. * doc/autoconf.texi (Specifying Names): Move cross_compiling ovindex to
  12475. (Run Time): ... here, where it's now mentioned.
  12476. 2004-03-19 Alexandre Duret-Lutz <adl@gnu.org>
  12477. * doc/autoconf.texi (autom4te Invocation): Language Autoconf
  12478. inherits from language Autoconf-without-aclocal-m4.
  12479. (Customizing autom4te): Adjust example; the cache must now be
  12480. disabled for language Autoconf-without-aclocal-m4.
  12481. 2004-03-16 Paolo Bonzini <bonzini@gnu.org>
  12482. Nathanael Nerode <neroden@twcny.rr.com>
  12483. * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL,
  12484. AC_CHECK_TOOLS): Warn if a cross-tool is found without
  12485. a prefix.
  12486. (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
  12487. AC_CHECK_TARGET_TOOLS): New macros.
  12488. * doc/autoconf.texi (Generic Programs): Document
  12489. (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
  12490. AC_CHECK_TARGET_TOOLS, and warn for future changes
  12491. in the behavior of AC_PATH_TOOL, AC_CHECK_TOOL and
  12492. AC_CHECK_TOOLS.
  12493. (Specifying Names): Document the reason for these future
  12494. behavioral changes.
  12495. * tests/mktests.sh: Do not generate tests for the
  12496. new macros.
  12497. * NEWS: Document these changes.
  12498. * doc/autoconf.texi: Avoid macros with unbraced arguments,
  12499. they make TeX hang up.
  12500. 2004-03-15 Paul Eggert <eggert@bogus.example.com>
  12501. * NEWS: New macro AC_CHECK_ALIGNOF.
  12502. * doc/autoconf.texi (Generic Compiler Characteristics): Document it.
  12503. * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use long int rather than
  12504. int; avoid "a `$1'" since this isn't grammatical if $1 begins with a
  12505. vowel.
  12506. (AC_CHECK_ALIGNOF): New macro.
  12507. * tests/mktests.sh (ac_exclude_list): Exclude AC_CHECK_ALIGNOF.
  12508. * tests/semantics.at (AC_CHECK_ALIGNOF): Add tests similar to
  12509. those for sizeof.
  12510. 2004-03-03 Paul Eggert <eggert@twinsun.com>
  12511. * bin/Makefile.am (edit): Don't use $< in a context where
  12512. POSIX doesn't require support for it. Use $@.in instead.
  12513. Problem reported by Anthony N. Frasso in
  12514. <http://mail.gnu.org/archive/html/autoconf/2004-03/msg00008.html>.
  12515. * bin/autoscan.in, bin/autoupdate.in: Add @configure_input@ comment.
  12516. 2004-02-23 Gary V. Vaughan <gary@gnu.org>
  12517. * bin/autoreconf.in (autoreconf_current_directory): Recognize LT_INIT
  12518. from the next generation of Libtool.
  12519. * lib/autom4te.in (Autoreconf-preselections): Ditto.
  12520. 2004-02-20 Alexandre Duret-Lutz <adl@gnu.org>
  12521. * doc/autoconf.texi (Limitations of Usual Tools) <mkdir>: `mkdir -p'
  12522. is not always thread-safe. Report from Nathanael Nerode.
  12523. 2004-02-18 Paul Eggert <eggert@twinsun.com>
  12524. Fix a dependencies problem, stemming from a Autoconf 2.59 build
  12525. problem on QNX reported by Stephen Rasku in
  12526. <http://mail.gnu.org/archive/html/bug-autoconf/2004-02/msg00066.html>.
  12527. * bin/Makefile.am ($(srcdir)/autoconf.in): Depend on
  12528. $(m4sh_m4f_dependencies); this removes a FIXME.
  12529. * tests/Makefile.am ($(srcdir)/wrapper.in): Likewise.
  12530. (MAINTAINERCLEANFILES): Split into pieces,
  12531. one per related section. Add $(srcdir)/wrapper.in.
  12532. 2004-02-09 Paul Eggert <eggert@twinsun.com>
  12533. * doc/autoconf.texi (Setting Output Variables): Emphasize that
  12534. AC_SUBST provides no portable way to escape literal newlines.
  12535. * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore all
  12536. flags of the form -lcrt*.o, not just -lcrt[01].o and -lcrtbegin.o.
  12537. Darwin uses -lcrt2.o and there's little point to cataloging all
  12538. the system variants. Partial fix reported by Andreas Waechter in:
  12539. http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00006.html
  12540. for bug reported by Nelson H. F. Beebe in:
  12541. http://mail.gnu.org/archive/html/bug-autoconf/2003-12/msg00090.html
  12542. 2004-02-04 Paolo Bonzini <bonzini@gnu.org>
  12543. * doc/autoconf.texi (AU_DEFUN): Fix English,
  12544. suggested by Paul Eggert.
  12545. * lib/autoconf/autoupdate.m4: Correct reference to
  12546. acobsolete.m4, suggested by Alexandre Duret-Lutz.
  12547. 2004-02-02 Paolo Bonzini <bonzini@gnu.org>
  12548. * bin/autoupdate.in: Define __file__ so that warnings
  12549. refer to the correct file.
  12550. * doc/autoconf.texi (AU_DEFUN): Describe more correctly
  12551. the behavior of the third argument.
  12552. * lib/autoconf/autoupdate.m4 (AU_DEFUN): Describe more
  12553. correctly the behavior of the third argument. Document
  12554. what the three macros that AU_DEFUN defines do. Fix
  12555. warning message when the third argument includes $0
  12556. (reported by Alexandre Duret-Lutz).
  12557. 2004-01-30 Paolo Bonzini <bonzini@gnu.org>
  12558. Eric Sunshine <sunshine@sunshineco.com>
  12559. Paul Eggert <eggert@twinsun.com>
  12560. * lib/m4sugar/m4sh.m4 (M4SH-SANITIZE): New diversion.
  12561. (AS_INIT): Output shell initialization there. Removed optional
  12562. parameter. Expand _AS_SHELL_FN_SPY.
  12563. (AS_INIT_WITH_SHELL_FN): Removed.
  12564. (_AS_SHELL_FN_SPY): New macro.
  12565. (AS_DETECT_REQUIRED, AS_DETECT_SUGGESTED): New
  12566. macros.
  12567. (AS_SHELL_SANITIZE): Remove loop to find better shell
  12568. and documentation for the parameter.
  12569. (_AS_DETECT_BETTER_SHELL): Move it here.
  12570. (_AS_SHELL_FN_WORK): Remove shell invocation, reformat.
  12571. (_AS_RUN): Move it here, support testing with eval.
  12572. (AS_REQUIRE_SHELL_FN): Require shell functions when
  12573. it is used.
  12574. (_AS_LINENO_WORKS): Put around braces, we do not
  12575. trigger the bash bug anymore.
  12576. * lib/autotest/general.m4: Document M4SH-SANITIZE, do not
  12577. use AS_INIT_WITH_SHELL_FN.
  12578. * bin/autoconf.in, tests/wrapper.in: Regenerated.
  12579. 2004-01-30 Paolo Bonzini <bonzini@gnu.org>
  12580. * bin/autoupdate.in: Trace AU_DEFINE instead of AU_DEFUN.
  12581. * doc/autoconf.texi: Don't say that the third parameter
  12582. is broken.
  12583. * lib/autoconf/autoupdate.m4 (AU_DEFINE): New dummy macro.
  12584. (AU_DEFUN): Honor the third parameter, create autoupdate
  12585. macros with AU_DEFINE.
  12586. * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H,
  12587. AC_DIR_HEADER): Use AU_DEFUN's third parameter.
  12588. * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
  12589. * lib/autoconf/programs.m4 (AC_RSH): Likewise.
  12590. * lib/autoconf/specific.m4 (AC_HAVE_POUNDBANG,
  12591. AC_ARG_ARRAY, AC_CYGWIN, AC_EMXOS2, AC_MINGW32,
  12592. AC_XENIX_DIR): Likewise.
  12593. * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS,
  12594. AC_STRUCT_ST_BLKSIZE, AC_STRUCT_ST_RDEV): Likewise.
  12595. * lib/autoconf/status.m4: Remove FIXME.
  12596. * tests/local.at (AT_CHECK_AU_MACRO): Ignore stderr, check
  12597. that the macro is not present anymore in the updated
  12598. configure.ac.
  12599. * tests/tools.at (autoupdate AC_LINK_FILES): Ignore stderr
  12600. of autoupdate.
  12601. 2004-01-28 Paul Eggert <eggert@twinsun.com>
  12602. * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Add 2004 to
  12603. copyright years.
  12604. * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Add 1992 thorugh
  12605. 2003 (except 1997) to the list of copyright years. This undoes
  12606. the 2003-05-22 change, which removed the older years from the list.
  12607. * lib/autoconf/status.m4 (AC_OUTPUT): Update copyright date to 2004.
  12608. 2004-01-27 Gary V. Vaughan <gary@gnu.org>
  12609. Albert Chin-A-Young <china@thewrittenword.com>
  12610. * lib/autoconf/programs.m4 (AC_PROG_GREP): New macro to test for a
  12611. grep or ggrep program in PATH that accepts as long lines as
  12612. possible.
  12613. * lib/autoconf/programs.m4 (_AC_PROG_GREP): Factor out the core of
  12614. AC_PROG_GREP.
  12615. (AC_PROG_EGREP, AC_PROG_FGREP): Use it to find best available
  12616. egrep and fgrep respectively if $GREP -E/-F don't work.
  12617. (_AC_PATH_PROG_FEATURE_CHECK): Factor out the common core of
  12618. _AC_PROG_GREP, and AC_PROG_SED.
  12619. (_AC_FEATURE_CHECK_LENGTH): New helper macro for finding the
  12620. longest input length accepted by a command.
  12621. (AC_PROG_SED): Use it.
  12622. * doc/autoconf.texi (Particular Programs): Document the changes.
  12623. * NEWS: Updated.
  12624. 2004-01-27 Paul Eggert <eggert@twinsun.com>
  12625. * bin/autoconf.as ($version): Update copyright from 2003 to 2004.
  12626. * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
  12627. bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in: Likewise.
  12628. * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Likewise.
  12629. * Makefile.in, aclocal.m4, configure, bin/Makefile.in,
  12630. bin/autoconf.in, config/Makefile.in, config/config.guess,
  12631. config/config.sub, config/install-sh, config/mdate-sh,
  12632. config/mkinstalldirs, config/texinfo.tex, doc/Makefile.in,
  12633. lib/Makefile.in, lib/Autom4te/Makefile.in,
  12634. lib/autoconf/Makefile.in, lib/autoscan/Makefile.in,
  12635. lib/autotest/Makefile.in, lib/emacs/Makefile.in,
  12636. lib/m4sugar/Makefile.in, man/Makefile.in, man/autoconf.1,
  12637. man/autoheader.1, man/autom4te.1, man/autoreconf.1,
  12638. man/autoscan.1, man/autoupdate.1, man/config.guess.1,
  12639. man/config.sub.1, man/ifnames.1, tests/Makefile.in,
  12640. tests/acc.at, tests/acfortran.at, tests/acfunctions.at,
  12641. tests/acgeneral.at, tests/acheaders.at, tests/aclang.at,
  12642. tests/aclibs.at, tests/acspecific.at, tests/acstatus.at,
  12643. tests/actypes.at: Regenerate and/or sync with original
  12644. sources.
  12645. 2004-01-26 Paul Eggert <eggert@twinsun.com>
  12646. * doc/autoconf.texi (Default Includes): Include <stdint.h> even if
  12647. HAVE_INTTYPES_H is defined. This is needed on Tru64 5.1b with
  12648. Compac C V6.5-207 (dtk), which defines uintmax_t in <stdint.h> but
  12649. not <inttypes.h>. Problem reported by Tim Mooney in
  12650. <http://mail.gnu.org/archive/html/bug-coreutils/2004-01/msg00147.html>.
  12651. * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
  12652. Likewise.
  12653. * lib/autoconf/programs.m4 (AC_PROG_SED): Use diff, not sed;
  12654. otherwise "make check" fails because it forbids cmp (I guess
  12655. because cmp treats files as binary on DOS-like systems).
  12656. * tests/mktests.sh: Update copyright date to 2004, since some tests
  12657. have changed in 2004.
  12658. 2004-01-23 Gary V. Vaughan <gary@gnu.org>
  12659. * lib/autoconf/programs.m4 (AC_PROG_SED): New macro to test for a
  12660. non-truncating sed or gsed program in PATH.
  12661. * tests/acprograms.at: Add it.
  12662. * doc/autoconf.texi (Particular Programs): Document it.
  12663. * NEWS: Updated.
  12664. 2004-01-15 Paul Eggert <eggert@twinsun.com>
  12665. * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Try -std, not -std1, since
  12666. -std1 disables some useful extensions on Tru64. Problem reported
  12667. by N. Lichtmaier in
  12668. <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00100.html>.
  12669. 2004-01-14 Paul Eggert <eggert@twinsun.com>
  12670. * doc/autoconf.texi (Programming in M4sh): Document that
  12671. AS_MKDIR_P succeeds if the destination is a symbolic link
  12672. to an existing directory.
  12673. (Limitations of Usual Tools): Note that mkdir -p might not
  12674. succeed on symlinks to directories.
  12675. 2004-01-13 Paul Hilfinger <hilfinger@CS.Berkeley.EDU>
  12676. * lib/autoconf/autoupdate.m4 (AU_DEFUN): Grammar fix in comment.
  12677. * bin/autoheader.in: Grammar fix in message.
  12678. * lib/m4sugar/m4sh.m4 (AS_MKDIR_P):
  12679. Test for dir before calling mkdir -p. (trivial changes)
  12680. 2004-01-13 Eric Blake <ebb9@byu.net>
  12681. * doc/autoconf.texi (Obsolete Macros): In AC_TRY_COMPILE and
  12682. AC_TRY_LINK, s/AC_LANG_SOURCE/AC_LANG_PROGRAM/. (trivial change)
  12683. 2004-01-10 Jim Meyering <jim@meyering.net>
  12684. * doc/autoconf.texi (Running the Preprocessor): Correct grammar.
  12685. 2004-01-09 Paul Eggert <eggert@twinsun.com>
  12686. * lib/autoconf/general.m4: Fix bug: AC_CHECK_SIZEOF evokes a warning
  12687. with `autoconf -Wall,error'. Bug reported by Eric Blake in:
  12688. http://mail.gnu.org/archive/html/autoconf-patches/2004-01/msg00000.html
  12689. (_AC_COMPUTE_INT_COMPILE): Invoke _AC_COMPILE_IFELSE, not
  12690. AC_COMPILE_IFELSE, since we now assume our caller invokes
  12691. AC_LANG_COMPILER_REQUIRE, for symmetry with _AC_COMPUTE_INT_RUN.
  12692. (_AC_COMPUTE_INT_RUN): Likewise, for _AC_RUN_IFELSE instead
  12693. of AC_RUN_IFELSE; this avoids the warning mentioned above.
  12694. (_AC_COMPUTE_INT): Invoke AC_LANG_COMPILER_REQUIRE.
  12695. 2004-01-07 Paul Eggert <eggert@twinsun.com>
  12696. * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Avoid \$ inside
  12697. `"'...'"`, as it's confusing (and I suspect it may not work on
  12698. some platforms). The code was incorrect anyway, as it assumed
  12699. that \$ evaluated to itself in that context. Reported by
  12700. Alexandre Duret-Lutz.
  12701. 2004-01-07 Alexandre Duret-Lutz <adl@gnu.org>
  12702. * lib/autom4te.in (Automake-preselections): Preselect AC_LIBTOOL_TAGS
  12703. and _LT_AC_TAGCONFIG.
  12704. 2004-01-06 Paul Eggert <eggert@twinsun.com>
  12705. * doc/autoconf.texi (One Macro Call): Fix an incorrect
  12706. example, and add more examples. Reported by Eric Sunshine.
  12707. 2004-01-05 Paul Eggert <eggert@twinsun.com>
  12708. * doc/autoconf.texi (Limitations of Usual Tools):
  12709. Remove warning against "rm -fr" introduced yesterday; it
  12710. was a false alarm.
  12711. * bin/Makefile.am (autoconf, autoheader, autom4te, autoreconf,
  12712. autoscan, autoupdate, ifnames): Don't use chmod -w.
  12713. * lib/Makefile.am (autom4te.cfg): Likewise.
  12714. * doc/autoconf.texi (Limitations of Usual Tools): Warn against
  12715. "chmod -w".
  12716. 2004-01-04 Paul Eggert <eggert@twinsun.com>
  12717. Paolo Bonzini <bonzini@gnu.org>
  12718. * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Speed up sed scripts
  12719. by doing lineno substitution only on lines containing "$LINENO".
  12720. 2004-01-04 Paul Eggert <eggert@twinsun.com>
  12721. * lib/autoconf/general.m4 (AC_ARG_PROGRAM):
  12722. Use "rm -f" to remove conftest.sed, not plain "rm".
  12723. Bug reported by David Relson in
  12724. <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00011.html>.
  12725. * Makefile.am (autom4te-update):
  12726. Replace "rm -rf" and "rm -fr" with "rm -f -r", as POSIX requires.
  12727. * Makefile.maint (my-distcheck, do-po-update): Likewise.
  12728. * doc/autoconf.texi (Guidelines): Likewise.
  12729. * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Likewise.
  12730. * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Likewise.
  12731. * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
  12732. * lib/autotest/general.m4 (AT_INIT): Likewise.
  12733. * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Likewise.
  12734. * tests/Makefile.am (clean-local): Likewise.
  12735. * tests/tortue.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS,
  12736. srcdir): Likewise.
  12737. * doc/autoconf.texi (Limitations of Usual Tools):
  12738. Warn against "rm -fr".
  12739. 2004-01-03 Paul Eggert <eggert@twinsun.com>
  12740. * doc/autoconf.texi (Limitations of Usual Tools): Mention that cc
  12741. -c -o might not work. From a suggestion by Kevin Ryde.
  12742. (C Compiler, Generating Sources, Limitations
  12743. of Usual Tools, Limitations of Make, Making testsuite Scripts):
  12744. Don't put '-o' after non-options, as POSIX doesn't allow this.
  12745. Mention that cc's name might be gcc or c89 or whatever.
  12746. 2004-01-04 Kevin Ryde <user42@zip.com.au>
  12747. * doc/autoconf.texi: Add various further index entries.
  12748. 2003-12-29 Paul Eggert <eggert@twinsun.com>
  12749. * bin/autoreconf.in (autoreconf_current_directory):
  12750. Fix typo: mkdir without umask arg.
  12751. 2003-12-27 Alexandre Duret-Lutz <adl@gnu.org>
  12752. * doc/autoconf.texi (Limitations of Make) <Automatic rule rewriting>:
  12753. Documents OSF1/Tru64 make behavior. Replace `VPATH = ../src' by
  12754. `VPATH = ../pkg/src' in examples to make the OSF1/Tru64 make
  12755. explanation clearer.
  12756. 2003-12-24 Andreas Schwab <schwab@suse.de>
  12757. * doc/autoconf.texi (Default Includes): Fix misspelling of
  12758. AC_INCLUDES_DEFAULT.
  12759. 2003-12-03 Paolo Bonzini <bonzini@gnu.org>
  12760. * configure.ac: Test if sh -n works.
  12761. * configure: Regenerate.
  12762. * tests/atlocal.in: Store the result here.
  12763. * tests/local.at (AT_CHECK_SHELL_SYNTAX): Extracted from
  12764. tools.at, looking in atlocal's ac_cv_sh_n_works instead
  12765. of explicitly testing.
  12766. (AT_CHECK_PERL_SYNTAX): Moved from tools.at.
  12767. (AT_CHECK_AUTOCONF): Test for the configure script syntax.
  12768. * tests/tools.at (Syntax of the shell scripts): Simplify
  12769. using AT_CHECK_SHELL_SYNTAX.
  12770. (Syntax of the Perl scripts): Remove definition of
  12771. AT_CHECK_PERL_SYNTAX.
  12772. 2003-12-03 Paolo Bonzini <bonzini@gnu.org>
  12773. * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Redirect
  12774. stderr to /dev/null.
  12775. * bin/autoconf.in: Regenerate.
  12776. * bin/wrapper.in: Regenerate.
  12777. 2003-11-26 Paolo Bonzini <bonzini@gnu.org>
  12778. * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE):
  12779. Extracted from AS_SHELL_SANITIZE.
  12780. (_AS_SHELL_FN_WORK, AS_INIT_WITH_SHELL_FN): New
  12781. macros.
  12782. (AS_SHELL_SANITIZE): Move reinvocation code from
  12783. _AS_LINENO_WORKS, use it to find out if shell
  12784. functions work.
  12785. (_AS_LINENO_WORKS): Don't find another shell if $LINENO
  12786. does not work.
  12787. (AS_INIT): Pass parameter down to AS_SHELL_SANITIZE.
  12788. (AS_REQUIRE_SHELL_FN): Test that AS_INIT_WITH_SHELL_FN
  12789. was called.
  12790. * lib/autotest/general.m4: Use AS_INIT_WITH_SHELL_FN.
  12791. * bin/autoconf.in: Regenerate.
  12792. * tests/wrapper.in: Regenerate.
  12793. * tests/tools.at: Test the syntax of tests/autoconf
  12794. and tests/testsuite.
  12795. 2003-11-24 Akim Demaille <akim@epita.fr>
  12796. * config/announce-gen (&print_locations, &print_signatures)
  12797. (&sizes): New.
  12798. Use them.
  12799. No longer rely on Gnus to inline the list of signatures: compute
  12800. them on the fly.
  12801. 2003-11-24 Akim Demaille <akim@epita.fr>
  12802. * doc/autoconf.texi (Particular Programs): AC_PROG_LEX can
  12803. override some files.
  12804. (Input): AC_CONFIG_AUX_DIR(aux) is a bad idea on DOS.
  12805. From Debian Autoconf 2.58.
  12806. 2003-11-24 Akim Demaille <akim@epita.fr>
  12807. * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote $ac_popdir
  12808. uses.
  12809. From Debian Autoconf 2.58.
  12810. 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
  12811. * TODO: Remove already done things. Update the part about finding
  12812. tools for the target.
  12813. 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
  12814. * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H, AC_DIR_HEADER):
  12815. Make wording more consistent.
  12816. * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
  12817. Explain the transition better.
  12818. * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS): Explain
  12819. the transition better.
  12820. 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
  12821. * doc/autoconf.texi (Obsoleting Macros): Don't document the third
  12822. parameter of AU_DEFUN.
  12823. * lib/autoconf/autoupdate.m4 (AU_DEFINE): Remove.
  12824. (AU_DEFUN): Remove the third parameter, it was not used.
  12825. Use AC_DEFUN directly, not AU_DEFINE.
  12826. * lib/autoconf/status.m4 (AC_LINK_FILES): Move the message into
  12827. the expanded body, consistently with other macros such as AC_USG.
  12828. 2003-11-17 Paul Eggert <eggert@twinsun.com>
  12829. * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put at least 14 bytes
  12830. into the initial confdefs.h, to work around a bug in NextStep 3.3
  12831. patch 3 reported by Eric Sunshine.
  12832. 2003-11-15 Kevin Ryde <user42@zip.com.au>
  12833. * doc/autoconf.texi (Using System Type): Revise, showing $host rather
  12834. than $target since the latter is not usual, add guidelines on when to
  12835. use or not use the system type.
  12836. 2003-11-12 Derek Price <derek@ximbiot.com>
  12837. * doc/autoconf.texi (Limitations of Usual Tools): Fix what looks like a
  12838. typo misrepaired by an auto-spellcheck.
  12839. 2003-11-12 Akim Demaille <akim@epita.fr>
  12840. * bin/autoreconf.in (&parse_args): Don't call automake with
  12841. --force-missing unless it actually supports it.
  12842. From Debian #219336.
  12843. 2003-11-12 Akim Demaille <akim@epita.fr>
  12844. * configure.ac: Bump to 2.59a.
  12845. Require 2.59.
  12846. 2003-11-06 Akim Demaille <akim@epita.fr>
  12847. Version 2.59.
  12848. 2003-11-05 Alexandre Duret-Lutz <adl@gnu.org>
  12849. * lib/autoconf/status.m4 (_AC_SRCPATHS): Fix use of AS_SET_CATFILE
  12850. so that ac_abs_builddir, ac_abs_top_builddir, ac_abs_srcdir,
  12851. and ac_abs_top_srcdir are absolute paths.
  12852. * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): Remove misleading comment.
  12853. 2003-11-05 Akim Demaille <akim@epita.fr>
  12854. * configure.ac: Bump to 2.58a.
  12855. 2003-11-05 Kevin Ryde <user42@zip.com.au>
  12856. * doc/autoconf.texi (Using Autotest): Avoid @strong{Note: ...}, since
  12857. it provokes a warning from makeinfo about looking like a cross
  12858. reference in info output.
  12859. * doc/autoconf.texi (Function Portability): Add notes on signal
  12860. handler return type, as per AC_TYPE_SIGNAL.
  12861. 2003-11-04 Akim Demaille <akim@epita.fr>
  12862. Version 2.58.
  12863. * doc/standards.texi: Update from master.
  12864. * tests/mktests.sh (ac_exclude_list): Add AC_FC_FREEFORM.
  12865. 2003-11-04 Akim Demaille <akim@epita.fr>
  12866. AC_CONFIG_FILE([d1/foo:d2/foo]) triggers error messages when
  12867. computing the absolute path to d1 in the source hierarchy: it may
  12868. not exist at all. So don't cd into it.
  12869. From Alexandre Duret-Lutz.
  12870. http://mail.gnu.org/archive/html/bug-autoconf/2003-10/msg00205.html
  12871. * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): New.
  12872. From Paul Eggert, but named after Perl's IO::Spec->catfile.
  12873. * doc/autoconf.texi (Programming in M4sh): Document.
  12874. * lib/autoconf/status.m4 (_AC_SRCPATHS): Use it.
  12875. 2003-11-03 Pavel Roskin <proski@gnu.org>
  12876. * doc/autoconf.texi (Generic Structure Checks): Describe
  12877. action-if-found and action-if-not-found in AC_CHECK_MEMBERS.
  12878. 2003-10-31 Akim Demaille <akim@epita.fr>
  12879. * tests/fortran.at (GNU Fortran 77): Don't run FC macros.
  12880. (GNU Fortran): New.
  12881. * doc/autoconf.texi (Language Choice): Document.
  12882. * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Assert
  12883. the current language is Fortran.
  12884. 2003-10-31 Akim Demaille <akim@epita.fr>
  12885. * bin/autom4te.in (&freeze): Use a less likely warning separator
  12886. than `\n\n', so that `\n\n\n' is valid in warnings.
  12887. Reported by Steve Huston.
  12888. 2003-10-28 Akim Demaille <akim@epita.fr>
  12889. * Makefile.cfg (local_updates, executable-update): Tweak to be
  12890. robust to parallel makes.
  12891. Suggested by Alexandre Duret-Lutz.
  12892. 2003-10-27 Akim Demaille <akim@epita.fr>
  12893. * Makefile.cfg (executable-update): New.
  12894. (local_updates): Call it.
  12895. 2003-10-27 Akim Demaille <akim@epita.fr>
  12896. * lib/autoconf/general.m4 (_AC_RUN_IFELSE, _AC_INIT_PREPARE):
  12897. Don't remove core.* as it may remove valid user files.
  12898. * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED)
  12899. (AC_FUNC_UTIME_NULL): Likewise.
  12900. 2003-10-23 Akim Demaille <akim@epita.fr>
  12901. Version 2.57g.
  12902. * config/config.guess, config/config.sub: Upgrade from masters.
  12903. 2003-10-23 Akim Demaille <akim@epita.fr>
  12904. * lib/autoconf/fortran.m4 (AC_FC_SRCEXT): Functions using
  12905. AC_COMPILE_IFELSE that use break skip the clean up. So do it by
  12906. hand...
  12907. 2003-10-23 Akim Demaille <akim@epita.fr>
  12908. * lib/autoconf/general.m4 (_AC_LINK_IFELSE, _AC_COMPILE_IFELSE):
  12909. Don't forget to remove conftest.err.
  12910. 2003-10-23 Akim Demaille <akim@epita.fr>
  12911. * lib/autoconf/general.m4 (_AC_LIBOBJ): Don't insert twice the
  12912. same object file in $LIBOBJS.
  12913. Reported by Alexandre Duret-Lutz & Derek Robert Price.
  12914. * doc/autoconf.texi (Generic Functions): Adjust.
  12915. 2003-10-20 Paul Eggert <eggert@twinsun.com>
  12916. * lib/m4sugar/m4sh.m4 (_AS_TR_SH_PREPARE, _AS_TR_CPP_PREPARE):
  12917. Use 'eval', so that the resulting configure scripts work even if
  12918. the current directory has a weird file name like 'y%s+%pp%;s%@%_%g'.
  12919. 2003-10-20 Daniel Jacobowitz <drow@mvista.com>
  12920. * lib/autoconf/lang.m4 (AC_LANG_WERROR): New macro.
  12921. * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_PREPROC_IFELSE)
  12922. (_AC_LINK_IFELSE): Check the werror flag.
  12923. * doc/autoconf.texi (Generic Compiler Characteristics): Document
  12924. AC_LANG_WERROR.
  12925. * NEWS: Mention it.
  12926. 2003-10-20 Daniel Jacobowitz <drow@mvista.com>
  12927. * lib/autoconf/lang.m4 (AC_NO_EXECUTABLES): Override
  12928. _AC_COMPILER_EXEEXT to attempt a link. If linking fails,
  12929. override AC_LINK_IFELSE.
  12930. 2003-10-15 Paul Eggert <eggert@twinsun.com>
  12931. * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug in
  12932. pdksh 5.2.14. Bug reported by Ralf Corsepius.
  12933. * doc/autoconf.texi (Shellology): Mention the Korn shell and pdksh.
  12934. Mention /usr/dt/bin/dtksh on Solaris.
  12935. (Shell Substitutions): Warn about $((...)).
  12936. (Parentheses): New section.
  12937. 2003-10-15 Kevin Ryde <user42@zip.com.au>
  12938. * doc/autoconf.texi (Function Portability): Add @prindex for exit.
  12939. Add putenv and unsetenv. Add sysconf _SC_PAGE_SIZE.
  12940. 2003-10-13 Nathanael Nerode <neroden@gcc.gnu.org>
  12941. * lib/autoconf/functions.m4 (AC_FUNC_FORK): Trivial fix for vfork
  12942. cross test.
  12943. 2003-10-11 Steven G. Johnson <stevenj@alum.mit.edu>
  12944. * lib/autoconf/fortran.m4 (_AC_PROG_FC): Use the new official
  12945. name for the GNU Fortran 95+ compiler, 'gfortran', not 'g95'.
  12946. 2003-10-10 Andreas Schwab <schwab@suse.de>
  12947. * bin/autoheader.in: Avoid empty first line in --version and
  12948. --help output.
  12949. * bin/ifnames.in: Likewise.
  12950. 2003-10-09 Paul Eggert <eggert@twinsun.com>
  12951. * lib/Autom4te/XFile.pm: Don't assume -j is solo.
  12952. Issue a more-informative diagnostic.
  12953. Problems reported by Eric Sunshine.
  12954. 2003-10-08 Steven G. Johnson <stevenj@alum.mit.edu>
  12955. * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Omit quoted
  12956. -mGLOB_options_string stuff for Intel ifc, which can cause
  12957. _AC_FC_LIBRARY_LDFLAGS to fail. Use (faster) case for
  12958. pattern-matching instead of grep.
  12959. 2003-10-08 Steven G. Johnson <stevenj@alum.mit.edu>
  12960. * doc/autoconf.texi: Document new FC Fortran macros.
  12961. 2003-10-08 Gary V. Vaughan <gary@gnu.org>
  12962. * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Stub out a macro
  12963. that future autopoint/aclocal/automake/autoreconf will be able
  12964. to trace to find where to install local m4 macros.
  12965. * doc/autoconf.texi (Input): Document it.
  12966. * NEWS: Updated.
  12967. 2003-10-06 Gary V. Vaughan <gary@gnu.org>
  12968. * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Add
  12969. -lcrtbegin.o to list of ignored flags and fix underquoting of
  12970. -lcrt[01].o.
  12971. 2003-10-04 Steven G. Johnson <stevenj@ab-initio.mit.edu>
  12972. * lib/autoconf/fortran.m4 (_AC_PROG_FC_G): Use language-specific
  12973. cache variable instead of $G77 to decide whether to include -O2,
  12974. since $G77 is specific to Fortran 77.
  12975. 2003-10-03 Steven G. Johnson <stevenj@alum.mit.edu>
  12976. * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Support Absoft "-f
  12977. free" flag. Re-order flags tested into rough order of popularity.
  12978. 2003-10-03 Steven G. Johnson <stevenj@alum.mit.edu>
  12979. * lib/autoconf/fortran.m4 (AC_PROG_FC): Reverse the order of the
  12980. arguments so that it can be used with syntax identical to
  12981. AC_PROG_F77, and so that we can more easily decide to
  12982. remove/deprecate the DIALECT optional argument in the future if it
  12983. proves troublesome.
  12984. (AC_FC_FREEFORM): Exit 77 upon failure to fix test suite for
  12985. non-freeform-supporting compilers. Document freeform flags.
  12986. 2003-10-03 Akim Demaille <akim@epita.fr>
  12987. * configure.ac: Look for emacs, not macs.
  12988. Reported by Eric Sunshine.
  12989. 2003-10-03 Akim Demaille <akim@epita.fr>
  12990. * lib/autom4te.in (Autoreconf-preselections): Trace AC_CONFIG_AUX_DIR.
  12991. * bin/autoreconf.in (autoreconf_current_directory): Create the
  12992. AUX_DIR if needed, for sake of automake --add-missing etc.
  12993. Suggested by Alexandre Duret-Lutz.
  12994. 2003-10-03 Akim Demaille <akim@epita.fr>
  12995. * configure.ac: Quotation and formatting changes.
  12996. (EMACS): Don't set it if it is not recent enough to support
  12997. autoconf-mode.el.
  12998. From Eric Sunshine.
  12999. 2003-10-02 Akim Demaille <akim@epita.fr>
  13000. * bin/ifnames.in (&scan_file): Skip C++ comments.
  13001. From Jeremy Yallop.
  13002. 2003-10-01 Pavel Roskin <proski@gnu.org>
  13003. * doc/autoconf.texi (Particular Structure Checks):
  13004. Fix misspelling of HAVE_STRUCT_STAT_ST_BLOCKS.
  13005. 2003-10-01 Akim Demaille <akim@epita.fr>
  13006. Version 2.57f.
  13007. 2003-09-30 Paul Eggert <eggert@twinsun.com>
  13008. * lib/Autom4te/XFile.pm: Use Errno.
  13009. (lock): Ignore ENOLCK errors. Problem reported Andreas Schwab in
  13010. <http://mail.gnu.org/archive/html/bug-autoconf/2003-09/msg00141.html>.
  13011. 2003-09-30 Akim Demaille <akim@epita.fr>
  13012. * config/announce-gen (&print_news_deltas): Extracted from...
  13013. (&print_changelog_deltas): here.
  13014. (&news_file): Rename as...
  13015. (@news_file): this.
  13016. 2003-09-30 Nicolas Joly <njoly@pasteur.fr>
  13017. * lib/autoconf/fortran.m4 (_AC_PROG_FC): Remove files which might
  13018. have been created when invoking the compiler.
  13019. * tests/fortran.at (GNU Fortran 77): Quote $G77.
  13020. 2003-09-29 Akim Demaille <akim@epita.fr>
  13021. Version 2.57e.
  13022. * config/mkinstalldirs: Upgrade.
  13023. 2003-09-28 Paul Eggert <eggert@twinsun.com>
  13024. * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set DUALCASE=1, for MKS sh.
  13025. Problem reported by Lars J. Aas in
  13026. <http://mail.gnu.org/archive/html/autoconf/2003-07/msg00042.html>.
  13027. (_AS_MKDIR_P_PREPARE): Change "rm -fr ./-p" to the more-conservative
  13028. "test -d ./-p && rmdir ./-p". Suggested by Andreas Schwab in:
  13029. http://mail.gnu.org/archive/html/autoconf-patches/2003-09/msg00039.html
  13030. 2003-09-26 Akim Demaille <akim@epita.fr>
  13031. * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Make sure the
  13032. directory for AC_CONFIG_COMMANDS' first argument exists.
  13033. This makes valid the invocation of _AC_SRCPATH that follows.
  13034. Reported by Eric Sunshine.
  13035. * doc/autoconf.texi (Configuration Commands): Adjust.
  13036. 2003-09-26 Akim Demaille <akim@epita.fr>
  13037. * bin/autoscan.in (Autom4te::FileUtils): Use it for find_file.
  13038. Reported by Ralf Corsepius.
  13039. 2003-09-26 Akim Demaille <akim@epita.fr>
  13040. * lib/autoconf/general.m4 (AC_HELP_STRING): Don't overquote the
  13041. arguments.
  13042. Actually, use AU_ALIAS.
  13043. From Bruno Haible.
  13044. 2003-09-26 Paul Eggert <eggert@twinsun.com>
  13045. * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): If mkdir -p . fails,
  13046. rm -fr ./-p to remove junk left behind on NextStep and OpenStep.
  13047. Problem reported by Eric Sunshine in:
  13048. http://mail.gnu.org/archive/html/autoconf-patches/2002-12/msg00014.html
  13049. 2003-09-26 Akim Demaille <akim@epita.fr>
  13050. The test suite are sometimes assigning timings incorrectly.
  13051. Reported by Henk Krus.
  13052. Diagnosed by Nicolas Joly.
  13053. * lib/autotest/general.m4 (AT_CLEANUP): Rename AT_help as
  13054. AT_help_all.
  13055. Instead of making AT_help a sequence of assignments to grow
  13056. $at_help_all, just make AT_help_all be the growing contents of
  13057. $at_help_all, and make a single assignment in...
  13058. (AT_INIT): here.
  13059. (at_times_skip): Flip the meaning and rename as...
  13060. (at_times_p): this.
  13061. (AT_INIT): When summarizing the test that ran, remove
  13062. $at_times_file after use, and check it is present before trying to
  13063. use it.
  13064. 2003-09-25 Akim Demaille <akim@epita.fr>
  13065. Version 2.57d.
  13066. * bin/Makefile.am (edit): Handle '@configure_input@'.
  13067. (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate)
  13068. (ifnames): chmod -w.
  13069. * tests/wrapper.as (AUTOCONF, AUTOM4TE, ): Point to tests/
  13070. executables, not bin/ executables! Otherwise all the magic needed
  13071. to find non installed files is turned off. This caused a failure
  13072. of test 40 and 41 that ran aclocal 1.8 which in turn ran autom4te
  13073. as found in its environment (sent by tests/autoreconf): pointing
  13074. to bin/autom4te that could not find its files.
  13075. * tests/mktests.sh: Force the replacement of generated files, for
  13076. the sake of "mv" program that are interactive when overwriting a
  13077. -w file.
  13078. * config/install-sh: Upgrade from CVS Automake.
  13079. 2003-09-23 Paul Eggert <eggert@twinsun.com>
  13080. * doc/autoconf.texi (Limitations of Builtins): Document test -h
  13081. versus test -L issues.
  13082. 2003-09-23 Daniel Jacobowitz <drow@mvista.com> and
  13083. Paul Eggert <eggert@twinsun.com>
  13084. Trivial change to support GCC's configuration procedure.
  13085. * lib/autoconf/c.m4 (AC_PROG_CPP_WERROR): New macro.
  13086. * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Don't warn
  13087. about inconsistency if the preprocessor is set to give errors for
  13088. any warning.
  13089. * doc/autoconf.texi (C Compiler Characteristics): Document this.
  13090. 2003-09-13 Alexandre Duret-Lutz <adl@gnu.org>
  13091. * Makefile.am (autom4te-update, autom4te_files): Fetch Struct.pm
  13092. and XFile.pm from Automake.
  13093. * lib/Autom4te/XFile.pm: Update from Automake.
  13094. 2003-09-12 Akim Demaille <akim@epita.fr>
  13095. Version 2.57c.
  13096. 2003-09-12 Akim Demaille <akim@epita.fr>
  13097. * config/config.guess, config/config.sub, config/missing,
  13098. * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm: Update
  13099. from masters.
  13100. 2003-09-12 Akim Demaille <akim@epita.fr>
  13101. * doc/autoconf.texi (Header Portability): Promote linux/types.h,
  13102. not asm/types.h.
  13103. 2003-09-11 Akim Demaille <akim@epita.fr>
  13104. * doc/autoconf.texi (Header Portability): linux/random.h.
  13105. From Peter Hendrickson.
  13106. 2003-09-10 Akim Demaille <akim@epita.fr>
  13107. * tests/mktests.sh (au_exclude_egrep): Make it harder to be
  13108. willing to edit the output files.
  13109. 2003-09-10 Akim Demaille <akim@epita.fr>
  13110. * tests/fortran.at (GNU Fortran 77): Also exercise AC_FC_SRCEXT
  13111. and AC_FC_FREEFORM.
  13112. * tests/mktests.sh: Skip AC_FC_SRCEXT.
  13113. * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Likewise.
  13114. 2003-09-09 Akim Demaille <akim@epita.fr>
  13115. * lib/Autom4te/FileUtils.pm (&update_file): s/cannot not/cannot/g.
  13116. Reported by Gary Vaughan.
  13117. * bin/autom4te.in (handle_m4): Likewise.
  13118. 2003-09-09 Akim Demaille <akim@epita.fr>
  13119. * lib/Autom4te/FileUtils.pm (&update_file): Be sure not to leave
  13120. trailing files.
  13121. 2003-09-07 Paul Eggert <eggert@twinsun.com>
  13122. * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS):
  13123. Improve the accuracy of the wording about obsolescence.
  13124. From a suggestion by Ian Lance Taylor in
  13125. <http://mail.gnu.org/archive/html/autoconf/2003-09/msg00044.html>.
  13126. 2003-09-05 Paul Eggert <eggert@twinsun.com>
  13127. * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Try -ffree-form too,
  13128. for the benefit of g77 3.2. Fix suggested by Steven G. Johnson.
  13129. 2003-09-04 Akim Demaille <akim@epita.fr>
  13130. * tests/mktests.sh (ac_exclude_list): Fix the filtering of
  13131. AC_FUNC_WAIT3.
  13132. 2003-09-04 Akim Demaille <akim@epita.fr>
  13133. * bin/autom4te.in: Use &fatal where more appropriate than &error.
  13134. (freeze): When exiting, use $exit_code.
  13135. * lib/autoconf/fortran.m4: Comment changes.
  13136. 2003-09-04 Akim Demaille <akim@epita.fr>
  13137. * tests/mktests.sh (ac_exclude_list): Add AC_FC_FUNC.
  13138. 2003-09-02 Steven G. Johnson <stevenj@alum.mit.edu>
  13139. Add support for newer Fortran dialects. The F77 interface is
  13140. unchanged, and continues to support Fortran 77. New FC macros
  13141. correspond to all the old F77 macros, with output variables FC,
  13142. FCFLAGS, and FCLIBS. AC_PROG_FC defaults to picking the newest
  13143. available dialect, but older dialects can be specified. There are
  13144. new macros AC_FC_SRCEXT to set the source extension, and
  13145. AC_FC_FREEFORM to accept free-form source files.
  13146. * lib/autoconf/c.m4 (_AC_LANG_PREFIX(C), _AC_LANG_PREFIX(C++)):
  13147. New macros.
  13148. (AC_LANG_PROGRAM(C)): Invoke _AC_LANG_PROGRAM_C_FC_HOOKS if defined.
  13149. * lib/autoconf/fortran.m4 (AC_LANG(Fortran), _AC_FORTRAN_ASSERT,
  13150. _AC_LANG_ABBREV(Fortran), _AC_LANG_PREFIX(Fortran 77),
  13151. _AC_LANG_PREFIX(Fortran), _AC_FC, AC_LANG_SOURCE(Fortran),
  13152. AC_LANG_PROGRAM(Fortran), AC_LANG_CALL(Fortran),
  13153. AC_LANG_PREPROC(Fortran), AC_LANG_COMPILER(Fortran),
  13154. _AC_FC_DIALECT_YEAR, _AC_F95_FC, _AC_F90_FC, _AC_F77_FC,
  13155. _AC_PROG_FC, AC_PROG_FC, _AC_PROG_FC_G, _AC_PROG_FC_C_O,
  13156. AC_PROG_FC_C_O, _AC_PROG_FC_V_OUTPUT, _AC_PROG_FC_V,
  13157. _AC_FC_LIBRARY_LDFLAGS, AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN,
  13158. AC_FC_DUMMY_MAIN, _AC_FC_MAIN, AC_FC_MAIN, __AC_FC_NAME_MANGLING,
  13159. _AC_FC_WRAPPERS, AC_FC_WRAPPERS, _AC_FC_FUNC, AC_FC_FUNC,
  13160. AC_FC_SRCEXT, AC_FC_FREEFORM):
  13161. New macros.
  13162. (AC_PROG_F77, AC_PROG_F77_C_O, AC_F77_LIBRARY_LDFLAGS,
  13163. AC_F77_DUMMY_MAIN, AC_F77_MAIN, _AC_F77_NAME_MANGLING,
  13164. AC_F77_NAME_MANGLING, AC_F77_WRAPPERS, AC_F77_FUNC):
  13165. Rewrite in terms of the above.
  13166. (_AC_PROG_F77_G, _AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V): Remove.
  13167. * lib/autoconf/lang.m4 (_AC_LANG_PREFIX): New macro.
  13168. * tests/acfortran.at: Test AC_FC_FREEFORM, AC_FC_FUNC,
  13169. AC_FC_MAIN, AC_FC_SRCEXT, AC_FC_WRAPPERS, AC_PROG_FC_C_O.
  13170. 2003-09-02 Paul Eggert <eggert@twinsun.com>
  13171. * doc/autoconf.texi (Limitations of Usual Tools, Limitations of Make):
  13172. Document problems with timestamp resolution that 'make', 'cp -p', and
  13173. 'touch -r' have.
  13174. 2003-08-27 Akim Demaille <akim@epita.fr>
  13175. * tests/m4sugar.at (cross_warning): Make sure to enable the
  13176. output, so that we can track spurious m4sugar output.
  13177. * tests/local.at: Require 2.57.
  13178. (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't m4_default the arguments that
  13179. are defaulted by AT_CHECK anyway.
  13180. Use AT_CHECK_AUTOM4TE.
  13181. * lib/m4sugar/m4sugar.m4: There should be no output at all: add a
  13182. missing dnl.
  13183. 2003-08-27 Akim Demaille <akim@epita.fr>
  13184. * bin/autoheader.in: Issue the "Using auxiliary..." message only
  13185. when -Wobsolete is set.
  13186. Set it on by default.
  13187. Suggested by Klee Dienes.
  13188. 2003-08-27 Akim Demaille <akim@epita.fr>
  13189. * doc/autoconf.texi (AC_FUNC_FSEEKO, AC_SYS_LARGEFILE): More
  13190. documentation.
  13191. From Guido Draheim.
  13192. 2003-08-26 Akim Demaille <akim@epita.fr>
  13193. * doc/autoconf.texi (Output): Make clear that one can run code
  13194. after AC_OUTPUT.
  13195. 2003-08-25 Akim Demaille <akim@epita.fr>
  13196. * config/announce-gen, GNUmakefile, Makefile.maint: Update from
  13197. CVS Bison.
  13198. 2003-08-25 Alexandre Duret-Lutz <adl@gnu.org>
  13199. * bin/autoreconf.in (parse_args): Do not pass --no-force to
  13200. Automake versions prior to 1.8.
  13201. 2003-08-25 Akim Demaille <akim@epita.fr>
  13202. * doc/autoconf.texi (Header Portability): netinet/if_ether.h.
  13203. From Ville Karaila.
  13204. 2003-08-24 Akim Demaille <akim@epita.fr>
  13205. * configure.ac: Bump to 2.57c.
  13206. 2003-08-22 Akim Demaille <akim@epita.fr>
  13207. Version 2.57b.
  13208. * Makefile.cfg (local-checks-to-skip): New.
  13209. * Makefile.maint (local-check): Rename as...
  13210. (local-checks-available): this.
  13211. (local-check): New.
  13212. * Makefile.am (EXTRA_DIST): Add Makefile.cfg.
  13213. * configure.ac: Require Automake 1.7.6.
  13214. 2003-08-22 Akim Demaille <akim@epita.fr>
  13215. Output stack traces in warnings.
  13216. * lib/m4sugar/m4sugar.m4 (_m4_warn): New.
  13217. Replace the former...
  13218. (m4_warn): Pass the call stack to _m4_warn.
  13219. * bin/autom4te.in: Adjust to output the call stack.
  13220. * tests/m4sugar.at (m4@&t@_warn): Adjust.
  13221. 2003-08-22 Akim Demaille <akim@epita.fr>
  13222. * lib/Autom4te/Request.pm, lib/Autom4te/C4che.pm: New.
  13223. * bin/autom4te.in: Adjust.
  13224. 2003-08-21 Akim Demaille <akim@epita.fr>
  13225. * lib/Autom4te/General.pm (&file_name_is_absolute): Remove.
  13226. (&verbose): Remove.
  13227. (&getopt): Adjust the note and verb channels, depending upon
  13228. --verbose.
  13229. * bin/autoheader.in, bin/autom4te.in, bin/autoscan.in,
  13230. * bin/autoupdate.in: Adjust.
  13231. Use &verb, not &verbose.
  13232. 2003-08-21 Akim Demaille <akim@epita.fr>
  13233. * bin/autoheader.in (&parse_args): Use &parse_warnings and
  13234. &parse_WARNINGS.
  13235. ($help): Use Autom4te::ChannelDefs::usage.
  13236. * bin/autoscan.in: Use Autom4te::ChannelDefs.
  13237. * lib/Autom4te/General.pm: Don't export error: you don't own it.
  13238. 2003-08-21 Akim Demaille <akim@epita.fr>
  13239. First stab at preserving warnings between calls to autom4te,
  13240. including when the cache is used.
  13241. There are still several issues: (i) there are too many runs of m4
  13242. (one for include, one for warnings, and some more), (ii) warnings
  13243. spreading on several lines are not handled gracefully, (iii) the
  13244. code meant to have the call stack display for errors does not work
  13245. (its handling should move from m4 to autom4te).
  13246. * bin/autom4te.in Autom4te::Channels, Autom4te::ChannelDefs):
  13247. Use them.
  13248. (@preselect): Add m4_warn.
  13249. ($exit_status): Remove, use $exit_code.
  13250. ($help): Use Autom4te::ChannelDefs::usage.
  13251. (&handle_m4): No longer define the m4_warnings.
  13252. At each run, extract and report the warnings.
  13253. Always cache the result, including if the exit status is on
  13254. failure, since if nothing changes, we should result in the same
  13255. failure, hence we can use the cache.
  13256. * lib/m4sugar/m4sugar.m4 (m4_warning_ifelse, _m4_warning_ifelse)
  13257. (_m4_warning_error_ifelse, __m4_warning_error_ifelse, _m4_warn):
  13258. Remove.
  13259. (m4_warn): Redefine as a do-nothing: it is its invocation that
  13260. matters, as warnings are now reported via traces.
  13261. * lib/autoconf/general.m4 (AC_DIAGNOSE): Don't make it a copy of
  13262. the contents of m4_warn: make it _call_ m4_warn, so that tracing
  13263. the latter reveals calls to the former.
  13264. Adjust the tests.
  13265. * tests/m4sugar.at (m4@&t@_warn): Use existing warning categories.
  13266. 2003-08-21 Akim Demaille <akim@epita.fr>
  13267. * bin/autoreconf.pm (Autom4te::Channels, Autom4te::ChannelDefs):
  13268. Use them.
  13269. 2003-08-21 Akim Demaille <akim@epita.fr>
  13270. * lib/Autom4te/FileUtils.pm (&find_file): Walk the @include in
  13271. forward order.
  13272. * lib/Autom4te/ChannelDefs.pm: Doc typos.
  13273. (&parse_warnings): Accept a list of warning requests.
  13274. (&usage): Return a string, not a side effect.
  13275. (cross): New warning category.
  13276. 2003-08-21 Akim Demaille <akim@epita.fr>
  13277. * lib/Autom4te/Configure_ac.pm (&find_configure_ac)
  13278. (&require_configure_ac): Accept an optional directory argument.
  13279. ($configure_ac): Remove.
  13280. * lib/Autom4te/General.pm (&find_configure_ac, &canonfile)
  13281. (&catfile): Remove.
  13282. * bin/autoheader.in, bin/autoreconf.in, bin/autoupdate.in,
  13283. * bin/autoscan.in: Adjust.
  13284. 2003-08-20 Akim Demaille <akim@epita.fr>
  13285. * bin/autoheader.in: Remove duplicate 'use Autom4te::FileUtils'.
  13286. Reported by Alexandre Duret-Lutz.
  13287. 2003-08-20 Akim Demaille <akim@epita.fr>
  13288. * bin/autoupdate.in, bin/autoheader.in, bin/autoreconf.in,
  13289. * bin/autom4te: Adjust.
  13290. In particular, be Autoconf tools are really silent when properly
  13291. working, bind the verbosity of the 'note' channel to $verbose.
  13292. * lib/Autom4te/General.pm (&find_file, &mtime, &update_file)
  13293. (&xsystem, &contents): Remove, since they are exported by...
  13294. * lib/Autom4te/FileUtils.pm: this.
  13295. More perldoc.
  13296. * lib/Autom4te/General.pm (&up_to_date_p): Move to...
  13297. * lib/Autom4te/FileUtils.pm: here.
  13298. 2003-08-20 Akim Demaille <akim@epita.fr>
  13299. * lib/Autom4te/Channels.pm, lib/Autom4te/ChannelDefs.pm
  13300. * lib/Autom4te/Configure_ac.pm, lib/Autom4te/FileUtils.pm: New,
  13301. from CVS Automake.
  13302. 2003-08-20 Akim Demaille <akim@epita.fr>
  13303. * Makefile.am (automake_cvsweb, automake_cvsargs, autom4te_files)
  13304. (autom4te-update): New.
  13305. * Makefile.cfg (update): Bind autom4te-update.
  13306. 2003-08-19 Derek Price <derek@ximbiot.com>
  13307. * lib/autotest/general.m4: Comment various HELP_* diversions.
  13308. (PARSE_ARGS_BEGIN): New section for option parsing related
  13309. initialization.
  13310. (AT_ARG_OPTION,AT_ARG_OPTION_ARG,_AT_ARG_OPTION): New macros to define
  13311. package specific options and associated help.
  13312. 2003-08-19 Akim Demaille <akim@epita.fr>
  13313. * config/announce-gen, Makefile.cfg: New.
  13314. * Makefile.am: Adjust.
  13315. * GNUmakefile, Makefile.maint: Update from CVS Coreutils.
  13316. 2003-08-19 Alexandre Duret-Lutz <adl@gnu.org>
  13317. * lib/autom4te.in (Automake-preselections): Preselect
  13318. AC_CONFIG_LIBOBJ_DIR, AC_CONFIG_LINKS, m4_include,
  13319. and m4_sinclude.
  13320. 2003-08-19 Alexandre Duret-Lutz <adl@gnu.org>
  13321. * lib/autom4te.in (Autoconf): Move all args except aclocal.m4? into ...
  13322. (Autoconf-without-aclocal-m4): ... this new language.
  13323. * doc/autoconf.texi (autom4te Invocation): Mention
  13324. Autoconf-without-aclocal-m4.
  13325. 2003-08-18 Derek Price <derek@ximbiot.com>
  13326. * doc/autoconf.texi (Writing testsuite.at): Document RUN-IF-FAIL &
  13327. RUN-IF-PASS optional arguments.
  13328. 2003-08-18 Derek Price <derek@ximbiot.com>
  13329. * doc/autoconf.texi (Programming in M4sh): Add doc for AS_IF.
  13330. 2003-08-16 Derek Price <derek@ximbiot.com>
  13331. * doc/autoconf.texi (Writing testsuite.at): Document defaults for
  13332. STDOUT & STDERR arguments.
  13333. 2003-08-14 Derek Price <derek@ximbiot.com>
  13334. * lib/autotestgeneral.m4 (AT_INIT): Reformat test summary line to print
  13335. DESCRIPTION rather than FILE and LINE. Shorten result to fit in new,
  13336. shorter column three. Add DESCRIPTION to log file content.
  13337. 2003-08-13 Derek Price <derek@ximbiot.com>
  13338. * lib/autotest/general.m4 (AT_INIT): Correct typo in final status
  13339. output.
  13340. 2003-08-12 Derek Price <derek@ximbiot.com>
  13341. * lib/autotest/general.m4 (AT_CHECK): Use new _AT_CHECK API.
  13342. (AT_CHECK_NOESCAPE): Move core functionality to...
  13343. (_AT_CHECK): ...this new macro.
  13344. 2003-08-07 Derek Price <derek@ximbiot.com>
  13345. * lib/autotest/general.m4 (AT_CHECK): Move core functionality...
  13346. (AT_CHECK_NOESCAPE): ...to this new macro.
  13347. 2003-07-31 Paul Eggert <eggert@twinsun.com>
  13348. * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug
  13349. in Bash 2.01. Problem reported by Brian Gough in
  13350. <http://mail.gnu.org/archive/html/bug-autoconf/2003-07/msg00106.html>.
  13351. 2003-07-25 John W. Eaton <jwe@bevo.che.wisc.edu>
  13352. * lib/autoconf/fortran.m4 (AC_F77_LIBRARY_LDFLAGS): Also ignore
  13353. -lcrt1.o, for OS X. (trivial change)
  13354. 2003-07-07 Paul Eggert <eggert@twinsun.com>
  13355. * lib/autoconf/c.m4 (AC_C_INLINE): Wrap the '#define inline ...'
  13356. inside '#ifndef __cplusplus'. Problem reported by
  13357. Bob Friesenhahn.
  13358. 2003-07-06 Bill Clarke <llib@computer.org>
  13359. * lib/autoconf/functions.m4 (AC_FUNC_MMAP): Cast pointer to
  13360. 'long', not 'int', for benefit of Sun's recent C++ compilers
  13361. (trivial change). See:
  13362. http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00007.html
  13363. (This really should be 'intptr_t', not 'long', but that would
  13364. take more work.)
  13365. 2003-06-25 Akim Demaille <akim@epita.fr>
  13366. * lib/Makefile.am (autom4te.cfg): Make it read only.
  13367. Depend on Makefile since it contains substitutions.
  13368. From Paolo Bonzini.
  13369. * lib/autom4te.in (args): Add local.at? for Autotest args.
  13370. This change was made on autom4te.cfg which is generated.
  13371. Reported by Raja R. Harinath.
  13372. 2003-06-25 Akim Demaille <akim@epita.fr>
  13373. * doc/autoconf.texi (Header Portability): sys/mount.h.
  13374. From Gareth McCaughan.
  13375. 2003-06-23 Akim Demaille <akim@epita.fr>
  13376. * lib/autotest/general.m4 (AT_INIT): Report a single config.log,
  13377. not all of them. This fixes 1. the fact that when testing
  13378. Autoconf there are many many config.log, 2. the incorrect use of
  13379. top_srcdir to find config.log.
  13380. Don't mix the detailed output of failed test with the summary of
  13381. failures. Rather, append detailed log afterwards.
  13382. 2003-06-23 Akim Demaille <akim@epita.fr>
  13383. * tests/local.at (AT_CHECK_CONFIGURE): Adjust to the verbose being
  13384. always run: output config.log on $at_group_log.
  13385. 2003-06-23 Akim Demaille <akim@epita.fr>
  13386. * tests/torture.at (#define header templates): Don't use quotes in
  13387. C++ comments as it puzzles Emacs' sh font-lock-mode.
  13388. 2003-06-23 Akim Demaille <akim@epita.fr>
  13389. * tests/mktests.sh (au_exclude_egrep): Fix output copyright notice.
  13390. * lib/autom4te.cfg (args): Add local.at? for Autotest args.
  13391. * tests/atspecific.m4: Rename as...
  13392. * tests/local.at: This.
  13393. * tests/suite.at: Move the globals into...
  13394. * tests/local.at: here.
  13395. * tests/Makefile.am: Adjust.
  13396. * doc/autoconf.texi (testsuite Scripts): Adjust.
  13397. 2003-06-21 Kevin Ryde <user42@zip.com.au>
  13398. * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Extend test program to get an
  13399. error from OSF 4.0 Compaq cc in its default almost-ANSI mode, thereby
  13400. ensuring we add -std1 for full-ANSI.
  13401. * doc/autoconf.texi (hdrindex): New macro.
  13402. Add index entries for portability of various standard header files.
  13403. 2003-06-20 Akim Demaille <akim@epita.fr>
  13404. * configure.ac: Bump to 2.57b.
  13405. 2003-06-20 Akim Demaille <akim@epita.fr>
  13406. Version 2.57a.
  13407. 2003-06-20 Akim Demaille <akim@epita.fr>
  13408. * bin/autom4te.in: Don't rely on $HOME being defined.
  13409. Reported by Marc Espie as PR/233.
  13410. 2003-06-20 Akim Demaille <akim@epita.fr>
  13411. * lib/autotest/general.m4: Use at_times_file only if used.
  13412. From Nicolas Joly.
  13413. 2003-06-20 Akim Demaille <akim@epita.fr>
  13414. * config/config.guess, config/config.sub, config/elisp-comp,
  13415. * config/install-sh, config/mkinstalldirs, doc/standards.texi:
  13416. Update from masters.
  13417. 2003-06-11 Paolo Bonzini <bonzini@gnu.org>
  13418. * doc/autoconf.texi (Writing testsuite.at): Document AT_XFAIL_IF
  13419. * lib/autotest/general.m4 (AT_XFAIL_IF): New macro.
  13420. (TEST_SCRIPT): New diversion.
  13421. (AT_SETUP): Divert output to TEST_SCRIPT and move some code...
  13422. (AT_CLEANUP): ...to here. Undivert TEST_SCRIPT.
  13423. (AT_INIT): Support for expected failures.
  13424. 2003-06-02 Akim Demaille <akim@epita.fr>
  13425. * bin/autom4te.in, bin/autoscan.in, bin/autoheader.in: White space
  13426. changes.
  13427. * lib/Autom4te/General.pm (&backname): Remove, no longer used by
  13428. Autoconf nor Automake.
  13429. (&contents): New, from Automake.
  13430. PODify.
  13431. 2003-05-28 Paul Eggert <eggert@twinsun.com>
  13432. * NEWS, doc/autoconf.texi (Particular Functions),
  13433. lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Check that mktime
  13434. is the inverse of localtime.
  13435. 2003-05-25 Alexandre Duret-Lutz <adl@gnu.org>
  13436. * lib/Autom4te/General.pm (END): Print diagnostics to STDERR.
  13437. (handle_exec_errors): New function. Work around $! being
  13438. altered by WEXITSTATUS.
  13439. (xqx, xsystem): Use handle_exec_errors.
  13440. 2003-05-23 Alexandre Duret-Lutz <adl@gnu.org>
  13441. * lib/Autom4te/General.pm (END): Rewrite exit code processing.
  13442. Do not call `_exit()', simply modify `$?'.
  13443. (xsystem): Reset $! before running system, and check it afterward.
  13444. * tests/tools.at (autoupdating AC_PREREQ): Expect exit status
  13445. 63 for version mismatches.
  13446. 2003-05-23 Akim Demaille <akim@epita.fr>
  13447. * lib/autoconf/status.m4: Prefer "TAB-SP" to "SP-TAB", because of
  13448. Emacs' dangerous whitespace.el behavior (smashing "useless" spaces in
  13449. the middle of a line).
  13450. * lib/m4sugar/m4sugar.m4: Likewise.
  13451. Remove useless spaces in comments.
  13452. 2003-05-23 Akim Demaille <akim@epita.fr>
  13453. * lib/m4sugar/m4sugar.m4 (m4_version_prereq): Failure causes an
  13454. exit 63, so that we (or Automake's "missing") can tell the
  13455. difference with a plain failure.
  13456. * doc/autoconf.texi (Notices): Adjust.
  13457. 2003-05-23 Akim Demaille <akim@epita.fr>
  13458. * Makefile.am, bin/Makefile.am, config/Makefile.am,
  13459. * doc/Makefile.am, lib/autoconf/Makefile.am, tests/Makefile.am:
  13460. White spaces cleanup.
  13461. 2003-05-22 Jim Meyering <jim@meyering.net>
  13462. Paul Eggert <eggert@twinsun.com>
  13463. * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
  13464. Remove `#include <stdlib.h>' from the list; we should never
  13465. make confdefs.h include <stdlib.h> or <cstdlib>, because the
  13466. resulting namespace pollution would cause other tests to fail.
  13467. Configure scripts run with some older versions of g++ and HP's
  13468. aCC would fail due to such an #include. Problems reported by
  13469. Matthew Mueller in <http://bugs.debian.org/120704> and by
  13470. Keith Bostic in
  13471. <http://mail.gnu.org/archive/html/autoconf/2003-05/msg00063.html>.
  13472. In the test, use the test declaration before including <stdlib.h>,
  13473. as that's closer to how it'll be used.
  13474. 2003-05-23 Akim Demaille <akim@epita.fr>
  13475. * doc/autoconf.texi (Header Portability): ucred.h.
  13476. From Ian Redfern.
  13477. 2003-05-22 Paolo Bonzini <bonzini@gnu.org>
  13478. Overhaul Autotest's logging: generate separate log files
  13479. in testsuite.dir/NNN/testsuite.log, and append them to
  13480. testsuite.log instead of re-running the test verbosely.
  13481. * lib/autotest/general.m4 (AT_INIT): Use a single redirected
  13482. file descriptor, write 0 to at_status_file instead of setting
  13483. at_status=0, initialize some new variables (at_status_file,
  13484. at_group_log, at_suite_log, at_tee_pipe). Remove the cruft
  13485. to rerun the tests, instead append the at_group_log to the
  13486. at_suite_log when a test fails.
  13487. (AT_SETUP): pipe the test case's output into at_tee_pipe,
  13488. with the AS_MESSAGE_LOG_FD redirected to stdout.
  13489. (AT_CLEANUP): save the output status in $at_status_file
  13490. and restore it, redirect the AS_MESSAGE_LOG_FD back to
  13491. its original place.
  13492. (AT_CHECK): since tests are run with a redirected stdout,
  13493. and used to be re-run in verbose mode, turn some $at_verbose
  13494. into echo, and don't redirect the output of testing stdout
  13495. and stderr.
  13496. * lib/autotest/autoconf.texi (testsuite Scripts): Update
  13497. the name of the debugging directory and information about
  13498. its contents.
  13499. 2003-05-22 Paolo Bonzini <bonzini@gnu.org>
  13500. * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Actually use the 2nd
  13501. parameter.
  13502. 2003-05-22 Akim Demaille <akim@epita.fr>
  13503. * lib/autoconf/autotest.m4, lib/autoconf/autoupdate.m4
  13504. * lib/autoconf/fortran.m4 lib/autoconf/general.m4
  13505. * lib/autoconf/headers.m4 lib/autoconf/oldnames.m4
  13506. * lib/autoconf/status.m4: Fix and adjust copyright notices.
  13507. 2003-05-22 Akim Demaille <akim@epita.fr>
  13508. * aclocal.m4, bin/autoconf.as, lib/autoconf/autoconf.m4,
  13509. * lib/autoconf/autoheader.m4, lib/autoconf/autoupdate.m4,
  13510. * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
  13511. * lib/autoconf/general.m4, lib/autoconf/headers.m4,
  13512. * lib/autoconf/lang.m4, lib/autoconf/libs.m4,
  13513. * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
  13514. * lib/autoconf/status.m4, lib/autoconf/types.m4,
  13515. * lib/autotest/general.m4, lib/m4sugar/m4sugar.m4,
  13516. * tests/atspecific.m4, tests/base.at, tests/compile.at,
  13517. * tests/foreign.at, tests/m4sh.at, tests/semantics.at,
  13518. * tests/tools.at, tests/torture.at:
  13519. Whitespace clean up.
  13520. Suggested by Jim Meyering.
  13521. 2003-05-22 Akim Demaille <akim@epita.fr>
  13522. * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Restore smashed
  13523. ' \t' as '\t ' so that Emacs' whitespace.el keep it.
  13524. Reported by Jim Meyering.
  13525. 2003-05-22 Akim Demaille <akim@epita.fr>
  13526. * doc/autoconf.texi: Replace AC_HELP_STRING AS_HELP_STRING.
  13527. Add AC_HELP_STRING to the obsolete macros section.
  13528. Typos.
  13529. Use '@.' for sentences that ended in a capital letter.
  13530. From Art Haas.
  13531. 2003-05-22 Akim Demaille <akim@epita.fr>
  13532. * config/config.guess, config/config.sub, config/elisp-comp,
  13533. * config/install-sh, config/mdate-sh, config/mkinstalldirs,
  13534. * config/texinfo.tex, doc/standards.texi: Update from masters.
  13535. 2003-05-21 Paolo Bonzini <bonzini@gnu.org>
  13536. * lib/m4sugar/m4sh.m4 (AS_VAR_SET): Escape the RHS before passing
  13537. it to eval.
  13538. 2003-05-21 Akim Demaille <akim@epita.fr>
  13539. * bin/autoupdate.in ($m4): Fix quotation.
  13540. Reported by Martin Mokrejs.
  13541. 2003-05-19 Paul Eggert <eggert@twinsun.com>
  13542. * ChangeLog, ChangeLog.2, THANKS, lib/m4sugar/m4sugar.m4:
  13543. Remove non-ASCII characters.
  13544. 2003-05-18 Paolo Bonzini <bonzini@gnu.org>
  13545. * tests/semantics.at (AC_SEARCH_LIBS): New test.
  13546. * tests/semantics.at (AC_CHECK_HEADERS_OLD,
  13547. AC_CHECK_HEADERS_NEW): New tests.
  13548. 2003-05-17 Akim Demaille <akim@epita.fr>
  13549. * lib/autoconf/functions.m4: Use the default includes so that
  13550. memcmp be declared before being tested.
  13551. Reported by Sander Niemeijer.
  13552. (AC_FUNC_ERROR_AT_LINE, AC_FUNC_GETGROUPS, AC_FUNC_STRNLEN): Likewise.
  13553. * doc/autoconf.texi (Default Includes): Document
  13554. AC_INCLUDES_DEFAULT.
  13555. 2003-05-17 Akim Demaille <akim@epita.fr>
  13556. * lib/autoconf/specific.m4: Include signal.h and unistd.h.
  13557. * doc/autoconf.texi (Obsolete Macros): Adjust.
  13558. Reported by Werner LEMBERG and Debian Bug 190886.
  13559. 2003-05-16 Akim Demaille <akim@epita.fr>
  13560. * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): s/FOO/as_foo/ to avoid
  13561. user name space clashes.
  13562. Reported by Bruno Haible.
  13563. 2003-05-16 Akim Demaille <akim@epita.fr>
  13564. * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
  13565. * bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in (BEGIN): Make
  13566. them uniform, and more robust to Perl special characters.
  13567. Reported by Martin Mokrejs.
  13568. 2003-05-14 Akim Demaille <akim@epita.fr>
  13569. * tests/foreign.at (Libtool): Skip all Libtools pre 1.4.
  13570. 2003-05-14 Akim Demaille <akim@epita.fr>
  13571. * doc/autoconf.texi (Header Portability): X11/extensions/scrnsaver.h,
  13572. linux/irda.h.
  13573. 2003-05-12 Akim Demaille <akim@epita.fr>
  13574. * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Improve the
  13575. message.
  13576. From Matthias Andree.
  13577. 2003-05-07 Alexandre Duret-Lutz <adl@gnu.org>
  13578. * lib/Autom4te/XFile.pm (lock, truncate): Do not pass @_ to flock
  13579. and truncate.
  13580. 2003-05-06 Akim Demaille <akim@epita.fr>
  13581. Don't try to be smart with aclocal 1.8+ because (i) aclocal no
  13582. longer updates aclocal.m4 if useless, (ii) if a file m4_included
  13583. by aclocal.m4 is changed it might require the importing of another
  13584. m4 extension file, i.e., aclocal must be run.
  13585. * bin/autoreconf.in (&run_aclocal, $aclocal_supports_force): New.
  13586. (&parse_args): Use --force with aclocal if required and supported.
  13587. (&autoreconf_current_directory): Use &run_aclocal.
  13588. 2003-05-06 Akim Demaille <akim@epita.fr>
  13589. Lock autom4te's cache.
  13590. * lib/Autom4te/XFile.pm ($me, &name, &lock, &truncate, &seek): New.
  13591. * bin/autom4te.in (&Request::save, &Request::load): Use an IO::File
  13592. argument instead of a file name, so that the request file remains
  13593. open during the whole autom4te run.
  13594. ($icache_file): New.
  13595. (&freeze): Lock the $icache_file.
  13596. 2003-04-29 Derek Price <derek@ximbiot.com>
  13597. * lib/autotest/general.m4 (AT_KEYWORDS): Don't use a comma as the
  13598. seperator with m4_append_uniq(). It doesn't work.
  13599. (AT_CLEANUP): Add `;' to end of at_help_all.
  13600. (AT_INIT): Allow --keywords to be specified more than once. When
  13601. grepping $at_help_all for keywords, use the field and keyword
  13602. seperators to ensure a complete keyword match. Alter at_prev handling
  13603. to support the new --keywords behavior.
  13604. 2003-04-27 Karl Berry <karl@freefriends.org>
  13605. * doc/autoconf.texi: Make the dir entries in the autoconf manual
  13606. align better with others. I also made some of the individual
  13607. entries on one line, for brevity and to make it easier for me to
  13608. sort my dir-example file in the Texinfo distribution :).
  13609. 2003-04-12 Jim Meyering <jim@meyering.net>
  13610. * NEWS: Mention the new macro.
  13611. * lib/autoconf/c.m4 (AC_C_RESTRICT): New macro.
  13612. * doc/autoconf.texi (C Compiler): Describe AC_C_RESTRICT.
  13613. * tests/c.at: Test AC_C_RESTRICT.
  13614. * tests/mktests.sh (ac_exclude_list): Add exclusion for AC_C_RESTRICT.
  13615. 2003-04-08 Akim Demaille <akim@epita.fr>
  13616. * bin/ifnames.in: Skip C++ comments.
  13617. From Jeremy Yallop.
  13618. 2003-04-08 Akim Demaille <akim@epita.fr>
  13619. * GNUmakefile (SHELL): Don't assume sh is in /bin/.
  13620. From Ilya Zakharevich.
  13621. 2003-04-08 Akim Demaille <akim@epita.fr>
  13622. * doc/autoconf.texi (Particular Headers): Some about sys/socket.h,
  13623. net/if.h, stdlib.h.
  13624. 2003-04-01 Derek Price <derek@ximbiot.com>
  13625. * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Correct syntax error
  13626. from Akim's checkin of 2003-03-29.
  13627. 2003-04-01 Derek Price <derek@ximbiot.com>
  13628. * tests/torture.at (Configuring subdirectories): Add missing
  13629. close-quote for Akim's change from 2003-03-28.
  13630. 2003-04-01 Akim Demaille <akim@epita.fr>
  13631. * doc/autoconf.texi (ac, at, ms): Rename these indexes as...
  13632. (AC, AT, MS): these.
  13633. (shortindexflag, @acindex, @ahindex, @asindex, @atindex, @msindex):
  13634. New.
  13635. Use them.
  13636. * doc/Makefile.am (CLEANFILES): Adjust.
  13637. (TEXI2DVI): Make it --batch.
  13638. 2003-03-31 Derek Price <derek@ximbiot.com>
  13639. * lib/autotest/general.m4: Revert the checkin from 2003-03-27
  13640. which removed the main loop.
  13641. Thanks to Akim Demaille.
  13642. 2003-03-29 Akim Demaille <akim@epita.fr>
  13643. * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Skip OS/2's install,
  13644. that starts a GUI.
  13645. From Ilya Zakharevich.
  13646. 2003-03-29 Akim Demaille <akim@epita.fr>
  13647. * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): The
  13648. documentation to read is Autoconf's.
  13649. Suggested by Paul Eggert.
  13650. 2003-03-28 Akim Demaille <akim@epita.fr>
  13651. * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Suggest
  13652. reading the section "Present But Cannot Be Compiled" when the
  13653. header causes problems.
  13654. 2003-03-28 Akim Demaille <akim@epita.fr>
  13655. * tests/torture.at (Configuring subdirectories): Require aclocal
  13656. 1.4, otherwise the test fails, as it does support configure.ac.
  13657. This fixes the "test 40 failed" bug reports.
  13658. 2003-03-28 Akim Demaille <akim@epita.fr>
  13659. * doc/autoconf.texi (C Compiler): `#line' portability.
  13660. From Paul Eggert and Nelson H. F. Beebe.
  13661. 2003-03-27 Derek Price <derek@ximbiot.com>
  13662. * lib/autotest/general.m4: Eliminate main loop and reorganize test
  13663. layout in order to allow scripting around test groups.
  13664. 2003-03-27 Derek Price <derek@ximbiot.com>
  13665. * lib/autotest/general.m4 (PARSE_ARGS,PARSE_ARGS_END,HELP,HELP_MODES,
  13666. HELP_TUNING,HELP_OTHER,HELP_END,PREPARE_TESTS,TESTS_END): Define and
  13667. use new diversions in preparation for accepting new arguments and
  13668. allowing scripting around tests.
  13669. (OPTIONS,TAIL): Remove these diversions to make way for the ones above.
  13670. 2003-03-26 Derek Price <derek@ximbiot.com>
  13671. * lib/autoconf/general.m4 (AC_ARG_VAR): Use AS_HELP_STRING instead of
  13672. obsolete AC_HELP_STRING.
  13673. (AC_HELP_STRING): AU_DEFUN to...
  13674. * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): ...here.
  13675. * tests/m4sh.at (AS_HELP_STRING): New test.
  13676. * tests/acgeneral.at: Regenerated.
  13677. 2003-03-26 Derek Price <derek@ximbiot.com>
  13678. * lib/autotest/general.m4: s/DEFAULT/DEFAULTS/ since it makes more
  13679. sense. Verbosify the diversion definitions comment.
  13680. 2003-03-26 Derek Price <derek@ximbiot.com>
  13681. * lib/autotest/general.m4 (AT_INIT): Remove redundant call to
  13682. AS_PREPARE.
  13683. 2003-03-21 Eric Siegerman <eric_97@pobox.com>
  13684. * doc/autoconf.texi (Present But Cannot Be Compiled):
  13685. Grammar fixes and minor rewording. (trivial change)
  13686. 2003-03-06 Paul Eggert <eggert@twinsun.com>
  13687. Work around a problem noted by Nelson H. F. Beebe with coreutils
  13688. 4.5.9: Sun c89 (Sun WorkShop 6 update 2 C 5.3 Patch 111679-08
  13689. 2002/05/09) rejects '#line 32768 "configure"' because the line
  13690. number overflows.
  13691. * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Do not generate
  13692. #line directives.
  13693. * lib/autoconf/lang.m4 (AC_LANG_SOURCE): Fix comment to match this.
  13694. * doc/autoconf.texi (Generating Sources): Document this.
  13695. 2003-03-01 Richard Dawe <rich@phekda.freeserve.co.uk>
  13696. * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Normalize
  13697. file name for the m4 program, when it has an "exe" file extension.
  13698. DJGPP's error messages include the error code in brackets -
  13699. remove the error code during normalization.
  13700. 2003-02-28 Akim Demaille <akim@epita.fr>
  13701. * doc/autoconf.texi (Present But Cannot Be Compiled): New.
  13702. 2003-02-28 Alexandre Duret-Lutz <adl@gnu.org>
  13703. * doc/autoconf.texi (Limitations of Make): Remove the section
  13704. about `$<' in inference rules, it was a bogus interpretation of
  13705. an old Automake change. Discuss NetBSD, FreeBSD, OpenBSD, and
  13706. Tru64 make in the "target lookup" section.
  13707. (Automake): Automake 1.5+ no longer requires special tools to be
  13708. present on the developer's host.
  13709. 2003-02-26 Richard Dawe <rich@phekda.freeserve.co.uk>
  13710. * bin/autoheader.in (BEGIN): For DJGPP SHELL may not be set
  13711. to a shell that can handle redirection or quoting correctly.
  13712. Override SHELL with the shell detected by configure.
  13713. Use of $^O suggested by Tim van Holder.
  13714. * bin/autom4te.in (BEGIN): Likewise.
  13715. * bin/autoreconf.in (BEGIN): Likewise.
  13716. * bin/autoscan.in (BEGIN): Likewise.
  13717. * bin/autoupdate.in (BEGIN): Likewise.
  13718. * bin/ifnames.in (BEGIN): Likewise.
  13719. * bin/ifnames.in: Add final newline to help and version messages.
  13720. * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Translate colons,
  13721. to cope with DOS-style absolute paths, when constructing
  13722. ${ac_make}.
  13723. * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS, _AC_OUTPUT_FILES):
  13724. When constructing paths with IFS=:, quote the path. If we're
  13725. constructing a DOS-style absolute path, we don't want to split it
  13726. on the colon.
  13727. * tests/atspecific.m4 (AT_CHECK_CONFIGURE): Fix typo
  13728. in description.
  13729. 2003-02-25 Pavel Roskin <proski@gnu.org>
  13730. * bin/autoheader.in: Add missing newline when printing
  13731. suggestion how change AC_DEFINE call.
  13732. 2003-02-24 Paul Eggert <eggert@twinsun.com>
  13733. * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix typo in
  13734. 2002-09-01 patch by replacing "test -n" with "test -z".
  13735. This fixes a bug found by Jeff Painter and reported by Tom Epperly in
  13736. <http://mail.gnu.org/archive/html/autoconf/2003-02/msg00139.html>.
  13737. * doc/autoconf.texi (Shell Substitutions): test -n -> test -z,
  13738. to fix a mismatch between example and discussion.
  13739. 2003-02-24 Kevin Ryde <user42@zip.com.au>
  13740. * doc/autoconf.texi (Limitations of Builtins): Add notes on printf
  13741. format starting with "-".
  13742. 2003-02-20 Alexandre Duret-Lutz <adl@gnu.org>
  13743. * doc/autoconf.texi (Limitations of Make): `foo=bar make -e'
  13744. is not portable inside Makefile.
  13745. 2003-02-20 Akim Demaille <akim@epita.fr>
  13746. * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): When
  13747. compiler says yeah, but preproc says nope, compiler is right.
  13748. Conversely, prompt the reader to send a bug report to the
  13749. maintainers of the package, not of Autoconf.
  13750. 2003-02-20 Klee Dienes <kdienes@apple.com>
  13751. * bin/autoreconf.in (autoreconf_current_directory): Properly
  13752. handle an empty aclocal.m4.
  13753. 2003-02-20 Akim Demaille <akim@epita.fr>
  13754. * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Quote
  13755. $ac_prefix_program.
  13756. From Larry Jones.
  13757. 2002-12-23 Paul Eggert <eggert@twinsun.com>
  13758. * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Define $1 to an
  13759. innocuous variant befor including <limits.h> or <assert.h>. This
  13760. works around a bug reported by Albert Chin: HP-UX 11i
  13761. (and earlier versions) have a <limits.h> that declares
  13762. gettimeofday and many other functions.
  13763. 2002-12-03 Paul Eggert <eggert@twinsun.com>
  13764. Version 2.57.
  13765. * NEWS, configure.ac: Update version.
  13766. * doc/fdl.texi: Upgrade to FDL version 1.2.
  13767. * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Use the function f
  13768. nontrivially in main's body, so that f's external declaration is
  13769. not optimized away in AIX. This should fix the bug reported by
  13770. Martin Frydl in
  13771. <http://mail.gnu.org/pipermail/autoconf/2002-November/014508.html>.
  13772. * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C),
  13773. _AC_PROG_PREPROC_WORKS_IFELSE): Use <limits.h> if __STDC__ is
  13774. defined, to support freestanding compilers. This should fix the
  13775. bug reported by Momchil Velkov in
  13776. <http://mail.gnu.org/pipermail/autoconf/2002-November/014490.html>.
  13777. * doc/autoconf.texi (Obsolete Macros): Fix typos (insert empty
  13778. arg, AC_DEFINE -> AC_DEFINE_UNQUOTED) in documentation for
  13779. obsolete AC_CHECK_TYPE. The missing empty arg was reported
  13780. by Simon Josefsson in
  13781. <http://mail.gnu.org/pipermail/autoconf-patches/2002-December/008830.html>.
  13782. * Makefile.maint (www-gnu): New macro.
  13783. (standards.texi-url_prefix, make-stds.texi-url_prefix): Use it, as
  13784. the location has moved.
  13785. 2002-12-02 Martin Frydl <martin@systinet.com>
  13786. * bin/autom4te.in (at_flatten): rewritten to avoid M4 problem when
  13787. \(.*\) match is too long and there is something more to be checked.
  13788. <http://mail.gnu.org/pipermail/autoconf/2002-November/014524.html>
  13789. 2002-11-15 Akim Demaille <akim@epita.fr>
  13790. Version 2.56.
  13791. * config/install-sh: chmod +x.
  13792. From Paul Eggert.
  13793. * config/move-if-change: Indenting changes.
  13794. * Makefile.am (AUTOMAKE_OPTIONS): Move to...
  13795. * configure.ac (AM_INIT_AUTOMAKE): here.
  13796. Require 1.7.1.
  13797. 2002-11-14 Akim Demaille <akim@epita.fr>
  13798. Version 2.55.
  13799. * config/config.guess, config/config.sub, config/install-sh:
  13800. Update from masters.
  13801. 2002-11-14 Akim Demaille <akim@epita.fr>
  13802. * Makefile.maint: Sync with Bison, i.e.:
  13803. (po-check): Scan .l and .y files instead of the
  13804. .c and the .h files that they generate. This fixes the bug
  13805. reported by Tim Van Holder in:
  13806. <http://mail.gnu.org/pipermail/bison-patches/2002-November/001352.html>
  13807. Look for N_ as well as for _. Try to avoid matching #define for
  13808. N_ and _.
  13809. From Paul Eggert.
  13810. 2002-11-14 Akim Demaille <akim@epita.fr>
  13811. * doc/autoconf.texi (C Compiler): Compiling several files at once.
  13812. From Paul Eggert and Albert Chin-A-Young.
  13813. 2002-11-14 Akim Demaille <akim@epita.fr>
  13814. * doc/autoconf.texi (C Compiler): Solitary backslashes.
  13815. From Paul Eggert and Albert Chin-A-Young.
  13816. 2002-11-14 Kevin Ryde <user42@zip.com.au>
  13817. * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Initialize f=$1 rather
  13818. than assigning in main, to avoid HP cc +O3 optimizing it away.
  13819. 2002-11-12 Peter Eisentraut <peter_e@gmx.net>
  13820. * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Add -q
  13821. option. Process --recheck after parsing all options. Pass -q
  13822. option to configure on --recheck.
  13823. (AC_OUTPUT): Pass -q from configure to config.status.
  13824. * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Strip -q from
  13825. arguments to record.
  13826. * doc/autoconf.texi (config.status Invocation): Document
  13827. config.status -q option.
  13828. 2002-11-07 Alexandre Duret-Lutz <adl@gnu.org>
  13829. * bin/autoscan.in (scan_file): Scan Makefile.am too. Ignore
  13830. Makefile.in if Makefile.am exists.
  13831. (output): Strip `.am' from Makefiles. Don't
  13832. output AC_CONFIG_FILES if no Makefiles were found.
  13833. 2002-11-07 Akim Demaille <akim@epita.fr>
  13834. * Makefile.am (cvs_files): Add elisp-comp, mdate-sh.
  13835. (local_updates): New.
  13836. * Makefile.maint: Update, from CVS Bison.
  13837. (local_updates): New.
  13838. 2002-11-06 Akim Demaille <akim@epita.fr>
  13839. * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY): Wrap the `f'
  13840. declaration in extern "C" too.
  13841. Reported by Roberto Bagnara.
  13842. 2002-11-06 Akim Demaille <akim@epita.fr>
  13843. * tests/torture.at (Configuring subdirectories): Don't use grep
  13844. -w.
  13845. * doc/autoconf.texi (Limitations of Usual Tools): Grep -w.
  13846. Reported by Ezra Peisach.
  13847. 2002-11-05 Akim Demaille <akim@epita.fr>
  13848. * lib/autoconf/autoheader.m4 (_AH_TEMPLATE_OLD, _AH_VERBATIM_OLD):
  13849. Remove.
  13850. We _have_ to stop using the old compatibility scheme that tried to
  13851. avoid useless backslashes because Libtool 1.4.3 contains a
  13852. AC_DEFINE([error_t], [int],
  13853. [Define to a type to use for \`error_t' if it is not
  13854. otherwise available.])
  13855. We _have_ to quote the single quote and backslashes with \. The
  13856. old compatibility scheme saw that ` was backslashed, and therefore
  13857. did not quote the single quote. Hence before this patch, Autoconf
  13858. was not compatible with Libtool.
  13859. 2002-11-04 Paul Eggert <eggert@twinsun.com>
  13860. * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set the following variables,
  13861. too: LC_ADDRESS, LC_IDENTIFICATION, LC_MEASUREMENT, LC_MONETARY,
  13862. LC_NAME, LC_PAPER, LC_TELEPHONE.
  13863. * doc/autoconf.texi (Special Shell Variables): Mention those vars.
  13864. 2002-11-04 Akim Demaille <akim@epita.fr>
  13865. Version 2.54c.
  13866. * Makefile.maint (update, cvs-update, po-update, do-po-update):
  13867. New.
  13868. * config/texinfo.tex: Update.
  13869. 2002-11-03 Akim Demaille <akim@epita.fr>
  13870. * bin/autoreconf.in (&autoreconf_current_directory): New, extracted
  13871. from...
  13872. (&autoreconf): here.
  13873. ($help, $make, &parse_args, &autoreconf_current_directory):
  13874. Support -m/--make.
  13875. * doc/autoconf.texi (autoreconf Invocation): Adjust.
  13876. 2002-10-31 Bruno Haible <bruno@clisp.org>
  13877. * lib/autoconf/functions.m4 (_AC_FUNC_MALLOC_IF): Change message.
  13878. Change name of cache variable to ac_cv_func_malloc_0_nonnull.
  13879. (AC_FUNC_MALLOC): Change description of HAVE_MALLOC macro.
  13880. (_AC_FUNC_REALLOC_IF): Change message. Change name of cache variable
  13881. to ac_cv_func_realloc_0_nonnull.
  13882. (AC_FUNC_REALLOC): Change description of HAVE_REALLOC macro.
  13883. 2002-10-31 Akim Demaille <akim@epita.fr>
  13884. The test suite was no longer checking for trailing envvars and files.
  13885. * tests/atspecific.m4 (AC_STATE_SAVE): Don't use quadrigraphs here.
  13886. (AT_CHECK_ENV): Make sure the `state-ls.before file exists.
  13887. 2002-10-31 Akim Demaille <akim@epita.fr>
  13888. * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use and display
  13889. `$(MAKE)' instead of '${MAKE}' to emphasize that we refer to the
  13890. Make variable, not a shell variable.
  13891. Suggested by Bruno Haible.
  13892. 2002-10-31 Akim Demaille <akim@epita.fr>
  13893. * bin/autom4te.in (load_configuration): Reject #args out of any
  13894. language.
  13895. 2002-10-31 Akim Demaille <akim@epita.fr>
  13896. * lib/autoconf/general.m4 (_AC_MSG_LOG_CONFTEST): New.
  13897. (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE)
  13898. (_AC_RUN_IFELSE): Use it.
  13899. * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT):
  13900. (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
  13901. * lib/autoconf/c.m4 (AC_LANG_SOURCE): Don't include confdefs.h,
  13902. inline it.
  13903. 2002-10-30 Akim Demaille <akim@epita.fr>
  13904. * bin/autom4te.in (&parse_args, $help): Support --no-cache.
  13905. * doc/autoconf.texi (autom4te Invocation): Adjust.
  13906. Suggested by Tim van Holder.
  13907. 2002-10-29 Paul Eggert <eggert@twinsun.com>
  13908. * doc/autoconf.texi (Particular Functions): AC_FUNC_MALLOC and
  13909. AC_FUNC_REALLOC check for compatibility with glibc, not POSIX.
  13910. Problem reported by Bruno Haible.
  13911. 2002-10-29 Akim Demaille <akim@epita.fr>
  13912. * doc/autoconf.texi (Header Templates): Put also in words what the
  13913. pictures says to assist free style readers.
  13914. (Customizing autom4te): s/--cache=/--cache /.
  13915. 2002-10-29 Akim Demaille <akim@epita.fr>
  13916. * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Include stdlib.h and
  13917. sys/wait.h.
  13918. sparc_address_test returns void.
  13919. Use it with an argument, as prototyped.
  13920. From Bruno Haible.
  13921. 2002-10-29 Akim Demaille <akim@epita.fr>
  13922. * doc/autoconf.texi (Subdirectories): Cygnus dirs have
  13923. configure.in, not configure.ac.
  13924. Reported by Bruno Haible.
  13925. 2002-10-29 Akim Demaille <akim@epita.fr>
  13926. * tests/torture.at (Deep Package): New test.
  13927. (Configuring subdirectories): Don't use a testSubDir as Autotest
  13928. now does it itself.
  13929. 2002-10-29 Akim Demaille <akim@epita.fr>
  13930. * bin/autoreconf.in (&parse_args, $help): Support --warnings.
  13931. * doc/autoconf.texi (Invoking autom4te): Rename as...
  13932. (autom4te Invocation): this, for consistency with the other nodes.
  13933. 2002-10-29 Akim Demaille <akim@epita.fr>
  13934. * lib/autom4te.in (Autoconf): s/automate/autom4te/.
  13935. Reported by Ralf Corsepius.
  13936. 2002-10-29 Akim Demaille <akim@epita.fr>
  13937. * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
  13938. characters is a back as an `obsolete' warning now.
  13939. Reported by Ralf Corsepius.
  13940. 2002-10-28 Akim Demaille <akim@epita.fr>
  13941. * configure.ac: Bump to 2.54c.
  13942. 2002-10-28 Akim Demaille <akim@epita.fr>
  13943. Version 2.54b.
  13944. * tests/foreign.at (Libtool): Adjust to broken libtoolize.
  13945. 2002-10-28 Akim Demaille <akim@epita.fr>
  13946. * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Be robust to different
  13947. m4 executable names, and different GNU M4 version.
  13948. Reported by Ezra Peisach and Paul Jarc.
  13949. 2002-10-27 Akim Demaille <akim@epita.fr>
  13950. * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Really use
  13951. AC_RUN_IFELSE.
  13952. 2002-10-27 Akim Demaille <akim@epita.fr>
  13953. * doc/autoconf.texi: More AC_MSG_FAILURE promotion.
  13954. * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING):
  13955. Die when a simple Fortran program cannot be compiled.
  13956. * lib/autoconf/lang.m4 (AC_LANG_CALL, AC_LANG_FUNC_LINK_TRY):
  13957. Issue a warning if no function is given.
  13958. 2002-10-27 Akim Demaille <akim@epita.fr>
  13959. * doc/autoconf.texi (Run Time): Document AC_RUN_IFELSE.
  13960. Move the documentation of AC_TRY_RUN to...
  13961. (Obsolete Macros): here.
  13962. Adjust all the old samples still using AC_TRY_RUN to AC_RUN_IFELSE.
  13963. (autoconf Invocation): Remove the duplicates with `invoking
  13964. autom4te'.
  13965. * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_RUN.
  13966. * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
  13967. 2002-10-27 Akim Demaille <akim@epita.fr>
  13968. * doc/autoconf.texi (Generating Sources): Document AC_LANG_CALL
  13969. and AC_LANG_FUNC_LINK_TRY.
  13970. (Examining Libraries): Rename as...
  13971. (Running the Linker): this.
  13972. Document AC_LINK_IFELSE.
  13973. Move the documentation of AC_TRY_LINK and AC_TRY_LINK_FUNC to...
  13974. (Obsolete Macros): here.
  13975. * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING): Don't use
  13976. AC_TRY_LINK_FUNC nor AC_TRY_LINK.
  13977. * lib/autoconf/libs.m4 (AC_CHECK_LIB, AC_PATH_XTRA): Likewise.
  13978. * lib/autoconf/headers.m4 (AC_USG): Likewise.
  13979. 2002-10-27 Akim Demaille <akim@epita.fr>
  13980. * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_CPP.
  13981. More `check config.log' messages.
  13982. * lib/autoconf/general.m4 (AC_MSG_FAILURE): New.
  13983. * doc/autoconf.texi (Printing Messages): Document it.
  13984. * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use it when
  13985. appropriate.
  13986. * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT)
  13987. (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_O)
  13988. (_AC_COMPILER_OBJEXT): Likewise.
  13989. * lib/autoconf/general.m4 (AC_RUN_IFELSE): Likewise.
  13990. * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS):
  13991. Likewise.
  13992. * lib/autoconf/c.m4 (AC_PROG_CPP, AC_PROG_CC, AC_PROG_CXXCPP):
  13993. Likewise.
  13994. Deprecate macros with unusual interfaces.
  13995. * lib/autoconf/general.m4 (AC_TRY_CPP, AC_TRY_LINK)
  13996. (AC_TRY_COMPILE, AC_TRY_RUN): AU_DEFUN'ed.
  13997. Document the new ones, and proper style.
  13998. * doc/autoconf.texi (Generating Sources): New.
  13999. Document AC_LANG_CONFTEST, AC_LANG_SOURCE, AC_LANG_PROGRAM.
  14000. (Examining Declarations): Rename as...
  14001. (Running the Preprocessor): this.
  14002. Document AC_PREPROC_IFELSE.
  14003. (Examining Syntax): Rename as...
  14004. (Running the Compiler): this.
  14005. (AC_FOO_IFELSE vs AC_TRY_FOO): New section.
  14006. (Obsolete Macros): Move the definition of AC_TRY_CPP and
  14007. AC_TRY_COMPILE here.
  14008. 2002-10-27 Akim Demaille <akim@epita.fr>
  14009. Move sections around.
  14010. * doc/autoconf.texi (Customizing autom4te): Remove a lost
  14011. sentence.
  14012. Reported by Burno Haible.
  14013. (Language Choice): Now the first section of...
  14014. (Writing Tests): this section.
  14015. Make the introduction less C-centric.
  14016. (Guidelines, Test Functions): Move to...
  14017. (Writing Test Programs): this new section.
  14018. (Test Programs): Merge into...
  14019. (Run Time): this.
  14020. 2002-10-27 Akim Demaille <akim@epita.fr>
  14021. * lib/freeze.mk ($(AUTOM4TE_CFG)): Add a missing dependency on
  14022. autom4te.in that resulted in the need for two `make' runs.
  14023. 2002-10-27 Akim Demaille <akim@epita.fr>
  14024. * configure.ac: Bump to 2.54b.
  14025. 2002-10-25 Akim Demaille <akim@epita.fr>
  14026. Version 2.54a.
  14027. * Makefile.maint: Update from the Coreutils.
  14028. (AMTAR): Remove, obsolete.
  14029. (automake_repo): Update to redhat.com.
  14030. (cvs_file): New.
  14031. Adjust to the fact that ansi2knr is now hosted by Automake.
  14032. * Makefile.am (cvs_files): Add install-sh and mkinstalldirs.
  14033. * config/config.guess, config/mkinstalldirs, config/texinfo.tex:
  14034. Update from masters.
  14035. * lib/autoscan/Makefile.am (EXTRA_DIST, nodist_autoscanlib_DATA):
  14036. autoscan.pre is not to be installed, and autoscan.list is not to
  14037. be shipped.
  14038. (CLEANFILES): Add autoscan.list.
  14039. (autoscan.list): Disable the cache.
  14040. * bin/Makefile.am: Include freeze.mk.
  14041. 2002-10-25 Akim Demaille <akim@epita.fr>
  14042. * bin/autom4te.in (&load_configuration): Take the file as
  14043. argument.
  14044. (&parse_args): Handle -C, --cache.
  14045. ($help): Adjust.
  14046. (MAIN): Load ~/.autom4te.cfg and ./.autom4te.cfg.
  14047. * lib/autom4te.in (Autoconf): Pass --cache=autom4te.cache.
  14048. * doc/autoconf.texi (Invoking autom4te): Document --cache.
  14049. Now a subsection of...
  14050. (Using autom4te): This new section.
  14051. (Customizing autom4te): New.
  14052. (autom4te.cache): Adjust.
  14053. 2002-10-25 Akim Demaille <akim@epita.fr>
  14054. * doc/autoconf.texi (Generic Headers): More information on how to
  14055. use AC_CHECK_HEADERS.
  14056. 2002-10-25 Akim Demaille <akim@epita.fr>
  14057. * bin/autoconf.as, bin/autoconf.in, bin/autoupdate.in ($help):
  14058. Space changes.
  14059. 2002-10-25 Akim Demaille <akim@epita.fr>
  14060. * bin/autoscan.in (output): Output AC_PREREQ.
  14061. (%needed_macros): Add AC_PREREQ so that configure.ac without one
  14062. be reported.
  14063. 2002-10-23 Akim Demaille <akim@epita.fr>
  14064. * doc/autoconf.texi (Particular Headers): In AC_HEADER_STDBOOL,
  14065. document _Bool.
  14066. 2002-10-23 Akim Demaille <akim@epita.fr>
  14067. * bin/autom4te.in (handle_traces): Handle @&t@ in traces.
  14068. Reported by Peter Eisentraut.
  14069. 2002-10-23 Akim Demaille <akim@epita.fr>
  14070. * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Also look for the
  14071. type _Bool.
  14072. Fix a typo.
  14073. * doc/autoconf.texi (Particular Headers): Adjust according to Paul
  14074. Eggert's recommandations.
  14075. 2002-10-22 Akim Demaille <akim@epita.fr>
  14076. * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): New, based on CVS
  14077. Bison, by Paul Eggert.
  14078. * doc/autoconf.texi (Particular Headers): Document it.
  14079. 2002-10-22 Aaron M. Ucko <amu@alum.mit.edu>
  14080. * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Avoid duplicates in
  14081. `$ac_configure_args'.
  14082. 2002-10-22 Akim Demaille <akim@epita.fr>
  14083. * doc/autoconf.texi: Use AC_CONFIG_HEADERS in examples.
  14084. (AC_ST_BLKSIZE, AC_ST_RDEV): Directly point to AC_CHECK_MEMBERS.
  14085. From Art Haas.
  14086. 2002-10-22 Akim Demaille <akim@epita.fr>
  14087. Restore the 2002-10-11 Akim Demaille <akim@epita.fr> patch:
  14088. * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
  14089. (AC_CHECK_HEADER, _AC_CHECK_HEADER_NEW,_AC_CHECK_HEADER_OLD): Restore.
  14090. (_AC_CHECK_HEADER_NEW): Rename as...
  14091. (AC_CHECK_HEADER): this.
  14092. 2002-10-22 Akim Demaille <akim@epita.fr>
  14093. * doc/autoconf.texi (Limitations of Usual Tools): Remove incorrect
  14094. words about HP-UX cmp: it was actually a user-written cmp.
  14095. 2002-10-22 Akim Demaille <akim@epita.fr>
  14096. * tests/foreign.at (Libtool): Don't check autoconf's stderr: there
  14097. are a few warnings.
  14098. * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
  14099. Quote for Perl '' strings, not "".
  14100. * bin/autoheader.in: Invoke autoconf to get '' strings, not ""
  14101. strings.
  14102. 2002-10-22 Akim Demaille <akim@epita.fr>
  14103. * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
  14104. characters is a syntax warning now.
  14105. (_AS_QUOTE): Accept $2 as list of characters to quote.
  14106. * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
  14107. Quote for Perl, not sh.
  14108. * bin/autoheader.in: When $debug, report the file which is
  14109. `do'ne.
  14110. * tests/tools.at (autom4te, autoheader): Exercise @bar, not merely
  14111. `@', to tickle Perl's lists.
  14112. Reported by Carlos Velasco.
  14113. 2002-10-18 Akim Demaille <akim@epita.fr>
  14114. * bin/autom4te.in (handle_m4): Pass --fatal-warning to m4, so that
  14115. missing included files _are_ errors.
  14116. Thanks to Alexandre Duret-Lutz.
  14117. * tests/tools.at (autom4te cache): Adjust.
  14118. * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): New.
  14119. (AT_CHECK_M4SUGAR): Use it.
  14120. * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
  14121. Adjust.
  14122. * tests/tools.at (autom4te): Now it does exit 1.
  14123. 2002-10-17 Akim Demaille <akim@epita.fr>
  14124. * lib/autoconf/general.m4 (AC_CACHE_SAVE): Don't use cmp.
  14125. Fixes the `AC_ARG_VAR' test failures.
  14126. * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Don't use cmp.
  14127. * lib/freeze.mk (check-forbidden-patterns): New.
  14128. * lib/autoconf/Makefile.am, lib/autotest/Makefile.am
  14129. * lib/m4sugar/Makefile.am (check-local): Use it to catch `cmp'.
  14130. * doc/autoconf.texi (Limitations of Usual Tools): HP-UX' cmp and
  14131. /dev/null.
  14132. Reported months ago by H. Merijn Brand.
  14133. 2002-10-17 Akim Demaille <akim@epita.fr>
  14134. * tests/tools.at (autoheader): Put randoms `@' to stress Perl.
  14135. 2002-10-16 Paul Eggert <eggert@twinsun.com>
  14136. * Makefile.maint (wget_files): Remove ansi2knr.c.
  14137. (ansi2knr.c-url_prefix): Remove.
  14138. 2002-10-16 Akim Demaille <akim@epita.fr>
  14139. Because of caching, some files that no longer exist and are no
  14140. longer required can still cause errors.
  14141. Reported by Alexandre Duret-Lutz.
  14142. * bin/autom4te.in (&parse_args): Do not prepend `--reload-state'
  14143. to frozen files in @ARGV, as @ARGV must remain being a list of
  14144. files. Rather, at M4 call sites, use this...
  14145. (&files_to_options): New function.
  14146. (&freeze): Use &error.
  14147. (&up_to_date): If a file that was included according to the cache
  14148. is no longer there, then the output is out dated.
  14149. (&main): Don't even check whether a file is up to date is anyway
  14150. --force is given.
  14151. * tests/tools.at (autom4te cache): New.
  14152. 2002-10-16 Akim Demaille <akim@epita.fr>
  14153. * bin/autoconf.as: Kill dead options.
  14154. * bin/autoupdate.in (&parse_args): Kill old options.
  14155. * bin/autoreconf.in (&parse_args): Remove dead options.
  14156. Factor some code.
  14157. (&autoreconf): Report the directories we enter *and leave*, so
  14158. that error messages can be easily located, and use GNU Make
  14159. format, so that Emacs' compile mode understands us.
  14160. * lib/Autom4te/General.pm (&update_file): Use `verbose' to report
  14161. if some file was changed instead of `print'.
  14162. * bin/autoheader.in: Suggest AC_DEFINE with 3 args when needed.
  14163. (&parse_args): Remove the dead options.
  14164. * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Adjust to the new
  14165. autoheader's quiet mode.
  14166. (AT_CHECK_AUTOUPDATE): Likewise.
  14167. * tests/tools.at (autoupdate): Adjust.
  14168. * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
  14169. 2002-10-11 Akim Demaille <akim@epita.fr>
  14170. No longer use CPP to check for the existing of headers: use CC to
  14171. check for compilability.
  14172. * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
  14173. (AC_CHECK_HEADER, _AC_CHECK_HEADER_OLD): Remove.
  14174. (_AC_CHECK_HEADER_NEW): Rename as...
  14175. (AC_CHECK_HEADER): this.
  14176. * lib/autotest/general.m4 (AT_INIT): Include the failed test
  14177. numbers in the Subject suggestion.
  14178. 2002-10-11 Akim Demaille <akim@epita.fr>
  14179. * lib/autoconf/specific.m4 (AC_DECL_SYS_SIGLIST): Obsolete.
  14180. Suggest using AC_CHECK_DECLS instead.
  14181. 2002-10-11 Akim Demaille <akim@epita.fr>
  14182. * tests/torture.at (AC_ARG_VAR): Have configure report the value
  14183. of `precious'.
  14184. 2002-10-11 Akim Demaille <akim@epita.fr>
  14185. * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Use $$ in the
  14186. file name to enable parallel executions.
  14187. From Sam Varshavchik.
  14188. 2002-10-08 Akim Demaille <akim@epita.fr>
  14189. * bin/autoreconf.in (&autoreconf): Run autopoint before the first
  14190. aclocal invocation, as Gettext macros might not be visible to
  14191. aclocal.
  14192. Instead of blindly running autopoint, scan configure.ac (not the
  14193. traces) for AM_GNU_GETTEXT_VERSION uses, as autopoint does.
  14194. Reported by Paul D. Smith.
  14195. 2002-10-08 Paul Eggert <eggert@twinsun.com>
  14196. Work around problems found when POSIXLY_CORRECT=1 is set.
  14197. None of this seems to have anything to do with POSIX, really,
  14198. but it's how Perl getopt works.
  14199. * bin/autom4te.in (parse_args): Configure GetOpt with
  14200. "permute", too.
  14201. * doc/autoconf.texi (Invoking autom4te):
  14202. --warning -> --warnings.
  14203. * lib/autom4te.in: --warning -> --warnings.
  14204. 2002-09-28 Akim Demaille <akim@epita.fr>
  14205. * doc/autoconf.texi (autom4te.cache): New section.
  14206. 2002-09-28 Akim Demaille <akim@epita.fr>
  14207. * lib/autom4te.in (Autoscan-preselections, Autoreconf-preselections)
  14208. (Automake-preselections): Update.
  14209. * bin/autoreconf.in, bin/autoheader.in: Comment changes.
  14210. 2002-09-28 Akim Demaille <akim@epita.fr>
  14211. * lib/autoscan/autoscan.pre: Move all the remaining rules to...
  14212. * lib/autoconf/c.m4, lib/autoconf/functions.m4,
  14213. * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
  14214. * lib/autoconf/specific.m4, lib/autoconf/types.m4: here.
  14215. 2002-09-28 Akim Demaille <akim@epita.fr>
  14216. * tests/torture.at (Configuring subdirectories): Be robust to
  14217. users who use config.site to require for a cache: in this case,
  14218. the two last configure runs, using two different sets of
  14219. arguments, trigger a legitimate error.
  14220. 2002-09-28 Akim Demaille <akim@epita.fr>
  14221. * tests/m4sh.at (Functions Support, Functions and return Support):
  14222. New.
  14223. 2002-09-28 Akim Demaille <akim@epita.fr>
  14224. * bin/Makefile.am (ETAGS_SH, ETAGS_PERL): Update: ifnames and
  14225. autoheader are Perl programs.
  14226. (autoconf, autoheader, autoreconf, autoupdate, ifnames, autoscan)
  14227. (autom4te): Specify that the sources are in the $srcdir.
  14228. * doc/autoconf.texi (Installation Directory Variables): Adjust.
  14229. 2002-09-28 Akim Demaille <akim@epita.fr>
  14230. * lib/autoscan/autoscan.pre (st_blksize, st_blocks, st_rdev)
  14231. (tm_zone): Move their rules to...
  14232. * lib/autoconf/types.m4: here, using AN_ macros.
  14233. * lib/autoscan/autoscan.pre (AWK, BISON, INSTALL, LEX, LN, MAKE)
  14234. (RANLIB, YACC, awk, bison, byacc, flex, gawk, install, lex, ln)
  14235. (make, mawk, nawk, ranlib, yacc): Similarly, move to...
  14236. * lib/autoconf/programs.m4: here.
  14237. * lib/freeze.mk (ETAGS_FOR_M4, ETAGS_FOR_M4SUGAR)
  14238. (ETAGS_FOR_AUTOCONF): New.
  14239. Use it.
  14240. 2002-09-28 Akim Demaille <akim@epita.fr>
  14241. * lib/autoconf/autoscan.m4: New file.
  14242. * lib/autoconf/autoconf.m4: Include it.
  14243. * lib/autoconf/functions.m4: Use AN_FUNCTION for all the functions
  14244. that were listed in the original autoscan.list.
  14245. * lib/autoconf/headers.m4: Similarly with headers.
  14246. * lib/freeze.mk (autoconf_m4f_dependencies): Add autoscan.m4.
  14247. (.m4.m4f): Don't pass --prepend-include, since that's done by
  14248. tests/autom4te itself.
  14249. * lib/autoscan/Makefile.am: Include freeze.mk.
  14250. (autoscan.list): New target --this file is no longer a source.
  14251. (autoscan.pre): New file.
  14252. 2002-09-28 Akim Demaille <akim@epita.fr>
  14253. * bin/autoscan.in (@kinds): Make them singular.
  14254. Adjust all uses.
  14255. (&init_tables): When --debug, report the list of rules to ease
  14256. tracking changes in autoscan.list.
  14257. * lib/autoscan/autoscan.list (function): Strip comments, sort.
  14258. 2002-09-28 Akim Demaille <akim@epita.fr>
  14259. * lib/autoscan/functions, lib/autoscan/headers,
  14260. * lib/autoscan/identifiers, lib/autoscan/makevars,
  14261. * lib/autoscan/programs: Merge into...
  14262. * lib/autoscan/autoscan.list: this.
  14263. * bin/autoscan.in (&init_tables): Adjust.
  14264. 2002-09-28 Akim Demaille <akim@epita.fr>
  14265. * lib/autoscan/functions, lib/autoscan/headers,
  14266. * lib/autoscan/identifiers, lib/autoscan/makevars,
  14267. * lib/autoscan/programs: Make the `kind' explicit, i.e., each
  14268. `functions' line is now prefixed with `function:'.
  14269. * bin/autoscan.in (&init_tables): Adjust.
  14270. 2002-09-28 Akim Demaille <akim@epita.fr>
  14271. From now on, autoscan files must always map a macro name to a
  14272. word: there is no `default' macro for autoscan.
  14273. * bin/autoscan.in (&init_tables): Reject entries with no macro at
  14274. all.
  14275. * lib/autoscan/functions, lib/autoscan/headers: Make the macro
  14276. explicit.
  14277. 2002-09-28 Akim Demaille <akim@epita.fr>
  14278. * bin/autoscan.in (%c_keywords): Remove.
  14279. (&used): Keep only track of the words we might be interested in.
  14280. (&output_kind): It is no longer needed to look for non active
  14281. checks.
  14282. 2002-09-27 Akim Demaille <akim@epita.fr>
  14283. * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): New, stolen from
  14284. jm_FUNC_MBRTOWC, by Paul Eggert, from the Coreutils 4.5.1.
  14285. * lib/autoscan/functions: Adjust.
  14286. * doc/autoconf.texi (Particular Functions): Adjust.
  14287. 2002-09-27 Akim Demaille <akim@epita.fr>
  14288. * doc/autoconf.texi (Limitations of Usual Tools): Some about mv
  14289. from /tmp.
  14290. Thanks to Bill Moseley and Paul Eggert.
  14291. * lib/m4sugar/m4sh.m4 (AS_TMPDIR): $2 is the directory into which
  14292. the tmpdir must be created.
  14293. * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Have the tmp
  14294. dir be in the build tree, instead of $TMPDIR.
  14295. 2002-09-27 Akim Demaille <akim@epita.fr>
  14296. * bin/autoscan.in: Improve the comments.
  14297. (&parse_args): Drop obsolete undocumented options.
  14298. (&output_kind): Output warnings.
  14299. * lib/autoscan/functions: (dcgettext): Now trigger AM_GNU_GETTEXT.
  14300. (getwd): Trigger a warning.
  14301. 2002-09-26 Akim Demaille <akim@epita.fr>
  14302. * bin/autoreconf.in: Clarify that -s is meaningless without -i.
  14303. Reported by Ralf Corsepius.
  14304. * doc/autoconf.texi (autoreconf Invocation): Likewise.
  14305. 2002-09-26 Akim Demaille <akim@epita.fr>
  14306. Single suffix rules and seperated dependencies are not portable.
  14307. * doc/autoconf.texi (Installation Directory Variables): Update.
  14308. (Limitations of Make): Some about `Single Suffix Rules and
  14309. Separated Dependencies'.
  14310. * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
  14311. (ifnames, autoscan, autom4te): Un-factor into several rules.
  14312. 2002-09-25 Paul Eggert <eggert@twinsun.com>
  14313. * BUGS (Interoperability bugs): New section. Mention libtool
  14314. 1.4.2, configure.ac, and AC_CONFIG_AUX_DIR interoperability bug.
  14315. 2002-09-24 Paul Eggert <eggert@twinsun.com>
  14316. Fix a portability bug reported by Alexandre Duret-Lutz: Solaris 8
  14317. make handles suffix-rules differently from GNU make.
  14318. * bin/Makefile.am (SUFFIXES, .in): Remove.
  14319. (autoconf autoheader autoreconf autoupdate ifnames autoscan autom4te):
  14320. Move the body of the old .in rule here.
  14321. 2002-09-16 Akim Demaille <akim@epita.fr>
  14322. i960 compilers create `b.out' files by default.
  14323. Reported by Ralf Corsepius.
  14324. * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT): Remove b.out files.
  14325. (_AC_COMPILER_EXEEXT_DEFAULT): Adjust to b.out.
  14326. 2002-09-13 Paul Eggert <eggert@twinsun.com>
  14327. * doc/autoconf.texi (Particular Headers): Remove obsolete
  14328. reference to `struct timezone' in the description of
  14329. AC_HEADER_TIME.
  14330. 2002-09-13 Akim Demaille <akim@epita.fr>
  14331. Version 2.54.
  14332. * config/config.sub, config/config.guess: Update.
  14333. * Makefile.maint: Update from bits of the Coreutils 4.5.1.
  14334. * Makefile.am: Adjust.
  14335. 2002-09-13 Akim Demaille <akim@epita.fr>
  14336. * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Suggest
  14337. reading config.log when the compiler is rejected.
  14338. Suggested by Guido Draheim.
  14339. 2002-09-13 Akim Demaille <akim@epita.fr>
  14340. * bin/autoreconf.in: Don't use Cwd::chdir, since in its internals
  14341. (chdir_init) might hang when stat'ing mounted directories.
  14342. Reported by Vance Shipley.
  14343. 2002-09-12 Akim Demaille <akim@epita.fr>
  14344. * bin/autoscan.in (&parse_args): Pass a reference to the lists, not
  14345. the lists.
  14346. 2002-09-12 Akim Demaille <akim@epita.fr>
  14347. * doc/autoconf.texi (Defining Symbols): Present two different
  14348. prototypes for AC_DEFINE and AC_DEFINE_UNQUOTED to emphasize the
  14349. difference between 1 argument calls, and 2-3 argument calls.
  14350. 2002-09-12 Peter Eisentraut <peter_e@gmx.net>
  14351. * doc/autoconf.texi: Review grammar and punctuation.
  14352. 2002-09-11 Paul Eggert <eggert@twinsun.com>
  14353. * doc/autoconf.texi: Fix minor formatting, spelling, and
  14354. grammatical typos.
  14355. (Defining Symbols): Explain that AC_DEFINE(var) defaults to 1, but
  14356. AC_DEFINE(var,,description) does not; and the AC_DEFINE(var) case
  14357. is obsolescent.
  14358. 2002-09-11 Akim Demaille <akim@epita.fr>
  14359. * doc/autoconf.texi (Questions): Rename as...
  14360. (FAQ): this.
  14361. (Defining Directories): New.
  14362. 2002-09-09 Akim Demaille <akim@epita.fr>
  14363. * doc/autoconf.texi (Making testsuite Scripts): Update.
  14364. Suggested by Nishio Futoshi.
  14365. 2002-09-09 Koji Arai <JCA02266@nifty.ne.jp>
  14366. * doc/autoconf.texi (Making testsuite Scripts): Use `@@' where a
  14367. plain `@' is wanted.
  14368. 2002-09-09 Akim Demaille <akim@epita.fr>
  14369. * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Keep the
  14370. `duplicates', since the algorithm was too naive and could keep
  14371. `--prefix=1 --prefix=2 --prefix=1' as `--prefix=1 --prefix=2', and
  14372. keep `--prefix foo --prefix bar' as `--prefix foo bar'.
  14373. Reported by Ralf Corsepius.
  14374. * tests/torture.at (Configuring subdirectories): Exercise these
  14375. cases.
  14376. 2002-09-09 Akim Demaille <akim@epita.fr>
  14377. * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Use $srcdir when
  14378. looking for a replacement file.
  14379. * lib/autoconf/general.m4 (AC_CHECK_DECLS): Check that the
  14380. directory is relative.
  14381. * doc/autoconf.texi (Generic Functions): Clarify the replacement
  14382. directory definition.
  14383. Reported by Andreas Schwab and Jim Meyering.
  14384. 2002-09-06 Akim Demaille <akim@epita.fr>
  14385. * doc/autoconf.texi (Setting Output Variables): Clarify what
  14386. precious variables are.
  14387. Suggested by Pontus Skoeld.
  14388. 2002-09-05 Akim Demaille <akim@epita.fr>
  14389. * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
  14390. (ifnames, autoscan, autom4te): Since we don't only depend on
  14391. configure.ac variables (such as VERSION etc.), but also on prefix
  14392. and so forth, depend on Makefile, not configure.ac.
  14393. Reported by Alexandre Duret-Lutz.
  14394. * doc/autoconf.texi (Installation Directory Variables): Adjust.
  14395. 2002-09-05 Kevin Ryde <user42@zip.com.au>
  14396. * doc/autoconf.texi (Limitations of Make): HP-UX trailing backslashes
  14397. doesn't seem to be confined to ia64, just say "some versions".
  14398. 2002-09-04 Akim Demaille <akim@epita.fr>
  14399. * Makefile.am, doc/Makefile.am: Remove pdf targets, handled by
  14400. Automake 1.6c.
  14401. * Makefile.am (maintainer-clean-local): Remove.
  14402. (MAINTAINERCLEANFILES): Remove COPYING.
  14403. 2002-09-03 Paul Eggert <eggert@twinsun.com>
  14404. * doc/autoconf.texi (Configuration Commands): Remove obsolete
  14405. example for AC_CONFIG_COMMANDS_PRE. Problem reported by Marcus
  14406. Brinkmann.
  14407. 2002-09-03 Akim Demaille <akim@epita.fr>
  14408. * configure.ac: Bump to 2.53d.
  14409. * Makefile.am (AUTOMAKE_OPTIONS): Require 1.6c, i.e., CVS Automake
  14410. as of today, on Automake's team suggestion.
  14411. 2002-09-03 Akim Demaille <akim@epita.fr>
  14412. Version 2.53c.
  14413. 2002-09-02 Akim Demaille <akim@epita.fr>
  14414. * bin/autom4te.in (parse_args): Don't honor AUTOM4TE_PATH and
  14415. SITE_MACRO_DIR.
  14416. * configure.ac: Disable SITE_MACRO_DIR.
  14417. 2002-09-02 Jim Meyering <meyering@lucent.com>
  14418. * doc/autoconf.texi (AC_SYS_POSIX_TERMIOS): Reflect renaming: s/am/ac/,
  14419. i.e., change am_cv_sys_posix_termios to ac_cv_sys_posix_termios.
  14420. Also, tweak grammar: s/make sure to/be sure to/.
  14421. 2002-09-02 Paul Eggert <eggert@twinsun.com>
  14422. * doc/autoconf.texi (Limitations of Builtins): Explain why logical
  14423. directory names are generally preferable to physical names.
  14424. 2002-09-02 Akim Demaille <akim@epita.fr>
  14425. * lib/Autom4te/General.pm (&update_file): s/die/error/.
  14426. Reported by Raja R. Harinath.
  14427. * bin/autoheader.in, bin/autoreconf.in, bin/autoscan.in,
  14428. * bin/autoupdate.in: Use error instead of die.
  14429. 2002-09-01 Paul Eggert <eggert@twinsun.com>
  14430. * tests/mktests.sh (ac_exclude_egrep, au_exclude_egrep): Use
  14431. ordinary shell concatenation rather than echo+tr+sed command that
  14432. runs afoul of a long-line-related sed bug in Solaris 8.
  14433. * bin/autoheader.in (parse_args): --warning -> --warnings.
  14434. * bin/autoconf.as: Work even if "ls" outputs "FOO not found" to
  14435. stdout, as traditional "ls" does.
  14436. * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT,
  14437. _AC_COMPILER_EXEEXT_O): Likewise.
  14438. * doc/autoconf.texi (Limitations of Usual Tools): Add "ls".
  14439. * bin/autoconf.as: Add --prepend-include option. This patch was
  14440. applied to bin/autoconf.in in the 2002-07-17 patch by Mark D. Roth,
  14441. but bin/autoconf.in is generated automatically from bin/autoconf.as.
  14442. * bin/autoconf.in, configure: Regenerate.
  14443. * doc/autoconf.texi (Special Shell Variables): Mention
  14444. ENV, MAIL, MAILPATH, PS1, PS2, PS4. Index PWD.
  14445. * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Unset ENV, MAIL,
  14446. MAILPATH and set PS1, PS2, PS4 to default values, to work
  14447. around bug in pre-3.0 UWIN ksh reported by Bruce Lilly.
  14448. For LC_ALL etc, first try to set to "C" as POSIX requires and as
  14449. the Autoconf documentation specifies; fall back to "unset" only if
  14450. this fails. Use a shell for-loop for this rather than an m4 loop,
  14451. to shorten the output script.
  14452. 2002-08-30 Paul Eggert <eggert@twinsun.com>
  14453. * doc/autoconf.texi (Special Shell Variables): Mention POSIX
  14454. 1003.1-2001's requirements for CDPATH. Give a simpler workaround
  14455. for the CDPATH problem. Document PWD.
  14456. (Limitations of Builtins): Document the problem that "cd $foo" and
  14457. "ls $foo" may refer to different directories in shells conforming
  14458. to POSIX 1003.1-2001. Use PS1 rather than CDPATH for "unset"
  14459. example, since the old example is now out of date.
  14460. * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Reject FOO if "cd
  14461. FOO" and "ls FOO" talk about different directories; this catches
  14462. problems when POSIX 1003.1-2001 "cd" fails due to symlink
  14463. spaghetti.
  14464. * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use AS_UNSET instead
  14465. of rolling our own unset.
  14466. (_AS_PREPARE): $as_unset CDPATH instead of AS_UNSETting it, since
  14467. in practice we needn't worry about CDPATH if unset doesn't work.
  14468. * Makefile.in, aclocal.m4, bin/Makefile.in,
  14469. config/Makefile.in, doc/Makefile.in, lib/Makefile.in,
  14470. lib/Autom4te/Makefile.in, lib/autoconf/Makefile.in,
  14471. lib/autoscan/Makefile.in, lib/autotest/Makefile.in,
  14472. lib/emacs/Makefile.in, lib/m4sugar/Makefile.in, man/Makefile.in,
  14473. tests/Makefile.in: Regenerate with Automake 1.6.3.
  14474. * config/config.guess, config/config.sub, config/mkinstalldirs:
  14475. Update.
  14476. * configure: Regenerate with self.
  14477. 2002-08-30 Kevin Ryde <user42@zip.com.au>
  14478. * doc/autoconf.texi (Limitations of Usual Tools): Notes on "cc"
  14479. default output.
  14480. 2002-08-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  14481. * bin/autom4te.in (Request::load): Correctly test for "do" read
  14482. failure.
  14483. 2002-08-29 Akim Demaille <akim@epita.fr>
  14484. * lib/Autom4te/General.pm (&xqx): New.
  14485. (&xsystem): Use WIFEXITED and WEXITSTATUS instead of decoding $? by
  14486. hand, which is not portable.
  14487. (&error): New.
  14488. * bin/autom4te.in: Use them.
  14489. Use &error instead of die.
  14490. * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
  14491. Adjust.
  14492. 2002-08-17 Paul Eggert <eggert@twinsun.com>
  14493. * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove fc from the
  14494. default list of compilers to try, since it was long ago superseded
  14495. by the ksh fc builtin. Suggested by Steven G. Johnson.
  14496. 2002-07-31 Alexandre Duret-Lutz <duret_g@epita.fr>
  14497. * doc/autoconf.texi (Invoking autom4te): End the option table,
  14498. fixing a bug introduced by the previous patch.
  14499. (Limitations of Make): Add a 'target lookup' subentry in the
  14500. 'VPATH' entry. Rewrite all `make' occurences as `@command{make}'.
  14501. 2002-07-29 Mark D. Roth <roth@feep.net>
  14502. * bin/autom4te.in: Remove --include-envvar and --site-macro-subdir
  14503. options and use $AUTOM4TE_PATH.
  14504. * doc/autoconf.texi: Remove documentation of autom4te
  14505. --include-envvar and --site-macro-subdir options and document
  14506. use of $AUTOM4TE_PATH.
  14507. * lib/autom4te.in: Remove --include-envvar and --site-macro-subdir
  14508. arguments from each language section.
  14509. 2002-07-29 Paul Eggert <eggert@twinsun.com>
  14510. * doc/install.texi: Include copyright symbol in copyright notice.
  14511. * Makefile.am (MAKEINFO): Remove; it's a user-specified macro.
  14512. Replace with:
  14513. (AM_MAKEINFOFLAGS): New macro.
  14514. * doc/Makefile.am (MAKEINFO, AM_MAKEINFOFLAGS): Likewise.
  14515. * Makefile.am (INSTALL): Use the new macros.
  14516. Use -o rather than --output, since "missing" does not grok --output.
  14517. 2002-07-25 Alexandre Duret-Lutz <duret_g@epita.fr>
  14518. * doc/autoconf.texi (Limitations of Make): Escaped newlines in
  14519. comments do not always work. Never trust the exit status of
  14520. `make -k'.
  14521. 2002-07-24 Kevin Ryde <user42@zip.com.au>
  14522. * doc/autoconf.texi (Limitations of Make, Making testsuite Scripts):
  14523. Untabify, since tabs are not enjoyed by texi2dvi and makeinfo.
  14524. 2002-07-23 Paul Eggert <eggert@twinsun.com>
  14525. * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE):
  14526. Use PATH="/nonexistent;.", not PATH=".;.", as FreeBSD ksh2002
  14527. apparently treats PATH="nonexistent" as if it contained ".".
  14528. Bug reported by Stefan `Sec' Zehl.
  14529. 2002-07-22 Alexandre Duret-Lutz <duret_g@epita.fr>
  14530. * doc/autoconf.texi (Limitations of Make): Mention the special
  14531. handling of the obj/ directory by BSD make.
  14532. 2002-07-20 Kevin Ryde <user42@zip.com.au>
  14533. * doc/autoconf.texi (Limitations of Make): Add HP-UX IA-64 trailing
  14534. backslashes.
  14535. 2002-07-19 Akim Demaille <akim@epita.fr>
  14536. * doc/autoconf.texi (Function Portability): `exit'.
  14537. (Programming in M4sh): Ethymology of M4sh.
  14538. 2002-07-19 Akim Demaille <akim@epita.fr>
  14539. * doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): More about $U.
  14540. 2002-07-18 Akim Demaille <akim@epita.fr>
  14541. Version 2.53b.
  14542. 2002-07-18 Akim Demaille <akim@epita.fr>
  14543. * config/config.guess, config/config.sub: Update.
  14544. 2002-07-18 Akim Demaille <akim@epita.fr>
  14545. Handle LIBOBJS and LTLIBOBJS once for all, including Libtool's and
  14546. Automake's parts.
  14547. * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): New.
  14548. * lib/autoconf/status.m4 (AC_OUTPUT_COMMANDS_PRE): Call it.
  14549. * tests/semantics.at (AC_REPLACE_FUNCS): Adjust.
  14550. 2002-07-18 Akim Demaille <akim@epita.fr>,
  14551. Alexandre Duret-Lutz <duret_g@epita.fr>
  14552. * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Install
  14553. _AC_AM_CONFIG_HEADER_HOOK for Automake 1.7.
  14554. 2002-07-17 Russ Allbery <rra@stanford.edu>
  14555. * doc/autoconf.texi (Initializing configure): Clarify the
  14556. description of the tarname default.
  14557. 2002-07-17 Andreas Buening <andreas.buening@nexgo.de>
  14558. * lib/autoconf/functions.m4 (AC_FUNC_FORK): Don't set
  14559. ac_cv_func_fork_works before running _AC_FUNC_FORK, do it if the
  14560. latter was not run.
  14561. 2002-07-17 Akim Demaille <akim@epita.fr>
  14562. * lib/Autom4te/General.pm (find_file): Browse the directories in
  14563. the order they are given.
  14564. 2002-07-17 Akim Demaille <akim@epita.fr>
  14565. * tests/wrapsh.as, tests/wrappl.as: Merge into...
  14566. * tests/wrapper.as: this.
  14567. * tests/Makefile.am, configure.ac: Adjust.
  14568. 2002-07-17 Mark D. Roth <roth@feep.net>
  14569. * configure.ac: Add --enable-site-macro-dir option.
  14570. * bin/Makefile.am: Expand @SITE_MACRO_DIR@.
  14571. * bin/autom4te.in: Add --prepend-include, --include-envvar, and
  14572. --site-macro-subdir options.
  14573. * bin/autoconf.in: Add --prepend-include option.
  14574. * bin/autoheader.in: Add --prepend-include option.
  14575. * bin/autoreconf.in: Add --prepend-include option.
  14576. * bin/autoscan.in: Add --prepend-include option.
  14577. * bin/autoupdate.in: Add --prepend-include option.
  14578. * doc/autoconf.texi: Document use of $AC_MACRO_PATH and site
  14579. macro directory, remove note that include path directories are
  14580. used in reverse order, and document --prepend-include option.
  14581. * lib/autom4te.in: Use --prepend-include instead of --include.
  14582. * tests/wrapsh.in: Use --prepend-include instead of --include.
  14583. 2002-07-17 Akim Demaille <akim@epita.fr>
  14584. * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): `_' is allowed in
  14585. tarnames.
  14586. * doc/autoconf.texi (Initializing configure): Adjust.
  14587. 2002-07-17 Akim Demaille <akim@epita.fr>
  14588. * lib/autoconf/functions.m4 (AC_FUNC_REALLOC, _AC_FUNC_REALLOC)
  14589. (_AC_FUNC_MALLOC): New.
  14590. (AC_FUNC_MALLOC): Use the latter.
  14591. Define HAVE_MALLOC to 0 if broken.
  14592. * doc/autoconf.texi (Particular Functions): Adjust.
  14593. 2002-07-16 Akim Demaille <akim@epita.fr>
  14594. * lib/autoconf/c.m4 (AC_C_BACKSLASH_A): New.
  14595. * doc/autoconf.texi (C Compiler): Adjust.
  14596. 2002-07-09 Akim Demaille <akim@epita.fr>
  14597. * doc/autoconf.texi: Properly set the ``header'' part.
  14598. 2002-07-09 Akim Demaille <akim@epita.fr>
  14599. * doc/autoconf.texi (Systemology): Some about Darwin.
  14600. 2002-07-09 Alexandre Duret-Lutz <duret_g@epita.fr>
  14601. * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
  14602. Don't use AC_REQUIRE in AU_DEFUN.
  14603. 2002-07-09 Art Haas <ahaas@neosoft.com>
  14604. * doc/autoconf.texi: Use @enddots{} or @dots{} where appropriate.
  14605. 2002-07-02 Alexandre Duret-Lutz <duret_g@epita.fr>
  14606. * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
  14607. bin/autoupdate.in, bin/ifnames.in, lib/Autom4te/General.pm,
  14608. lib/Autom4te/Struct.pm, lib/Autom4te/XFile.pm: Add local variables
  14609. so that Emacs setups GNU style for perl-mode and cperl-mode.
  14610. 2002-06-27 Paul Eggert <eggert@twinsun.com>
  14611. * config/install-sh: Quote $src. Prefer || to test's -o option,
  14612. as per "Limitations of Builtins".
  14613. * tests/atspecific.m4 (AT_CHECK_ENV): Likewise, for && vs test -a.
  14614. * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
  14615. * tests/mktests.sh: Use grep instead of fgrep, as per
  14616. "Limitations of Builtins".
  14617. 2002-06-15 Paul Eggert <eggert@twinsun.com>
  14618. * tests/wrapsh.as (AUTOCONF, AUTOHEADER, AUTOM4TE, AUTOM4TE_CFG,
  14619. autom4te_perllibdir): Set to top build dir or src dir as appropriate,
  14620. so that we consistently test the just-built programs.
  14621. * tests/wrappl.as: Likewise.
  14622. 2002-06-12 Paul Eggert <eggert@twinsun.com>
  14623. * bin/autoconf.as (AUTOM4TE): Default to a fully qualified path
  14624. name, so that symlinks to 'autoconf' work properly. Bug reported
  14625. by Bruno Haible.
  14626. * bin/autoheader.in (AUTOM4TE): Likewise.
  14627. * bin/autoreconf.in (autoconf, autoheader): Likewise.
  14628. * bin/autoscan.in (autom4te): Likewise.
  14629. * bin/autoupdate.in (autom4te): Likewise.
  14630. * lib/autoconf/functions.m4 (_AC_LIBOBJ_FNMATCH): Also check for
  14631. btowc, to fix a portability bug with diffutils-2.8.2/lib/fnmatch.c
  14632. on Solaris 2.5.1.
  14633. 2002-06-11 Andreas Schwab <schwab@suse.de>
  14634. * doc/autoconf.texi: Add more dir entries.
  14635. 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
  14636. * bin/autom4te.in ($cache): Don't define using `$me', the name
  14637. of the cache should not depend on the name under which autom4te
  14638. was installed.
  14639. 2002-06-07 Akim Demaille <akim@epita.fr>
  14640. * tests/tools.at (autoconf: forbidden tokens, basic)
  14641. (autoconf: forbidden tokens, exceptions): Adjust to the change of
  14642. words in autom4te.in.
  14643. 2002-06-07 Peter Eisentraut <peter_e@gmx.net>
  14644. * lib/autoconf/c.m4 (AC_LANG_PROGRAM(C)): Use
  14645. _AC_LANG_PROGRAM_C_F77_HOOKS.
  14646. 2002-06-07 Akim Demaille <akim@epita.fr>
  14647. * lib/autoconf/functions.m4 (AC_REPLACE_FUNC_FNMATCH): Typo,
  14648. rename as...
  14649. (AC_REPLACE_FNMATCH): this.
  14650. * tests/mktests.sh (exclude_list): Exclude AC_REPLACE_FNMATCH,
  14651. AC_FUNC_FNMATCH_GNU.
  14652. 2002-06-07 Akim Demaille <akim@epita.fr>
  14653. * doc/autoconf.texi (Systemology): Point to Tru64 docs, and the
  14654. Rosetta Stone for Unix.
  14655. 2002-06-07 Akim Demaille <akim@epita.fr>
  14656. * bin/autom4te.in (warn_forbidden): When rejecting a token,
  14657. suggest m4_pattern_allow.
  14658. Suggested by Adam J. Richter.
  14659. 2002-06-07 Akim Demaille <akim@epita.fr>
  14660. * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
  14661. ac_config_libobj_dir.
  14662. (AC_CONFIG_LIBOBJ_DIR): New.
  14663. * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Split into...
  14664. (_AC_FUNC_FNMATCH_IF, _AC_LIBOBJ_FNMATCH): these.
  14665. Use ac_config_libobj_dir to find the replacement files.
  14666. (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU): Split into...
  14667. (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_REPLACE_FNMATCH)
  14668. (AC_REPLACE_FNMATCH_GNU): these.
  14669. (AC_FUNC_GETLOADAVG): Use ac_config_libobj_dir.
  14670. * doc/autoconf.texi (Particular Functions, Generic Functions): Adjust.
  14671. * tests/mktests.sh (ac_exclude_list): Don't check
  14672. AC_FUNC_GETLOADAVG as it requires getloadavg.c which is not shipped.
  14673. 2002-06-06 Paul Eggert <eggert@twinsun.com>
  14674. * lib/autoconf/status.m4 (_AC_OUTPUT_LINKS): Fall back on cp
  14675. if ln doesn't work.
  14676. * NEWS: Likewise.
  14677. * doc/autoconf.texi (Configuration Links): Likewise.
  14678. (Limitations of Usual Tools): Prefer $(LN_S) to ln -s || ln.
  14679. 2002-06-05 Paul Eggert <eggert@twinsun.com>
  14680. * config/config.guess, config/config.sub, config/texinfo.tex:
  14681. Update from masters.
  14682. 2002-05-29 Paul Eggert <eggert@twinsun.com>
  14683. * bin/autom4te.in ($m4): Do not assume that egrep and fgrep exist.
  14684. * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
  14685. * lib/autoconf/general.m4 (_AC_RUN_LOG_STDERR, AC_EGREP_CPP):
  14686. Likewise.
  14687. * lib/autoconf/Makefile.am (check-local): Likewise.
  14688. * lib/autoconf/status.m4 (AC_CONFIG_HEADER): Likewise.
  14689. * lib/autoconf/types.m4 (commentary only): Likewise.
  14690. * lib/autotest/general.m4 (AT_INIT, AT_CHECK): Likewise.
  14691. * lib/autotest/Makefile.am (check-local): Likewise.
  14692. * lib/m4sugar/Makefile.am (check-local): Likewise.
  14693. * tests/atspecific.m4 (AT_CONFIGURE_AC, AT_CHECK_DEFINES): Likewise.
  14694. * tests/mktests.sh (egrep): New var; use it instead of plain egrep.
  14695. * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): New macros.
  14696. * doc/autoconf.texi (Particular Programs): Document them.
  14697. (Limitations of Usual Tools): Warn that egrep and fgrep may not exist.
  14698. * NEWS: Likewise.
  14699. 2002-05-27 Paul Eggert <eggert@twinsun.com>
  14700. * lib/autoconf/types.m4 (AC_TYPE_MBSTATE_T): New macro.
  14701. * NEWS, doc/autoconf.texi (Particular Types): Document it.
  14702. * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Require it
  14703. instead of AC_MBSTATE_T, which never existed.
  14704. 2002-05-23 Akim Demaille <akim@epita.fr>
  14705. * doc/autoconf.texi (Hosts and Cross-Compilation): Specify the
  14706. version of Autoconf that is discussed.
  14707. 2002-05-22 Paul Eggert <eggert@twinsun.com>
  14708. * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove cf77 and cft77
  14709. from the default list of compilers to try. Suggested by
  14710. Kate Hedstrom.
  14711. * NEWS: Document the above.
  14712. * doc/autoconf.texi (Fortran 77 Compiler): Don't suggest cf77.
  14713. 2002-05-17 Paul Eggert <eggert@twinsun.com>
  14714. * lib/autoconf/types.m4 (AC_CHECK_MEMBER): Work correctly even if
  14715. the member is itself an aggregate. Bug reported by Sergey Poznyakoff.
  14716. This improves on an earlier suggestion by H. Peter Anvin.
  14717. 2002-05-16 Paul Eggert <eggert@twinsun.com>
  14718. AC_FUNC_FNMATCH now tests only for POSIX compatibility.
  14719. AC_FUNC_FNMATCH_GNU also tests for GNU extensions.
  14720. Both macros now accept an optional source-dir arg.
  14721. New macro AC_GNU_SOURCE to define _GNU_SOURCE.
  14722. * NEWS: Document this.
  14723. * doc/autoconf.texi (Particular Functions, UNIX Variants): Likewise.
  14724. * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): New macro.
  14725. (AC_FUNC_FNMATCH): Use it. Test only for POSIX conformance,
  14726. not for GNU extensions; this undoes part of the 2000-11-03 change,
  14727. reverting to 2.13-compatible behavior.
  14728. Add new optional argument DIR.
  14729. (AC_FUNC_FNMATCH_GNU): New macro.
  14730. * lib/autoconf/specific.m4 (AC_GNU_SOURCE): New macro.
  14731. 2002-05-08 Paul Eggert <eggert@twinsun.com>
  14732. * lib/autoconf/headers.m4 (AC_HEADER_TIOCGWINSZ):
  14733. Don't require AC_SYS_POSIX_TERMIOS. The test is unnecessary,
  14734. and it causes a 'test' syntax error if it fails.
  14735. Bug reported by Stephen Gildea.
  14736. * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
  14737. If prototypes are supported, use them to check this at compile-time,
  14738. instead of trying to check it at run-time. If we must do a run-time
  14739. check, assume that setvbuf is standard when cross-compiling, as
  14740. nonstandard setvbuf occurs only on ancient and unlikely hosts.
  14741. Bug reported by Paul D. Smith.
  14742. * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Add optional
  14743. argument specifying location of getloadavg.c. This removes a
  14744. FIXME. This idea was taken from Jim Meyering's implementation in
  14745. textutils.
  14746. * doc/autoconf.texi (Particular Functions): Document this.
  14747. Also, mention HAVE_NLIST_H rather than NLIST_STRUCT, since
  14748. that's what the code does; this fixes a bug reported by
  14749. Paul D. Smith.
  14750. 2002-05-03 Akim Demaille <akim@epita.fr>
  14751. * bin/autoreconf.in (autoreconf): Rewrite to use Gettext's
  14752. autopoint instead of gettextize.
  14753. ($uses_alocal): Rename as...
  14754. ($uses_aclocal): this.
  14755. * doc/autoconf.texi (autoreconf Invocation): Adjust.
  14756. Suggested by Bruno Haible.
  14757. 2002-05-03 Akim Demaille <akim@epita.fr>
  14758. * lib/m4sugar/m4sugar.m4 (m4_map_sep): New.
  14759. 2002-04-29 Paul Eggert <eggert@twinsun.com>
  14760. * bin/autoreconf.in (autoreconf): Don't age aclocal.m4's input
  14761. files to be 1 second older; just set them to be the same time.
  14762. Also, sleep 1 second after the first aclocal, to work around
  14763. problems with sub-second time stamps on the input files.
  14764. 2002-04-29 Thien-Thi Nguyen <ttn@gnu.org>
  14765. * doc/autoconf.texi: Mention "set -e -x" lossage
  14766. under node "Limitations of Builtins".
  14767. 2002-04-29 Akim Demaille <akim@epita.fr>
  14768. * doc/install.texi: Better wording for setting variables when
  14769. running configure.
  14770. From Christian Cornelssen.
  14771. 2002-04-29 Akim Demaille <akim@epita.fr>
  14772. * tests/m4sh.at (LINENO): If testsuite itself is rewritten because
  14773. of lack of $LINENO support, then the test will compare the $LINENO
  14774. in testsuite vs. the lineno in the test file. This is wrong, of
  14775. course.
  14776. Be sure to protect it.
  14777. Reported by Patrick Welche.
  14778. 2002-04-25 Akim Demaille <akim@epita.fr>
  14779. * doc/autoconf.texi (Obsolete Macros): Typo.
  14780. Reported by Vladimir Volovich.
  14781. 2002-04-25 Akim Demaille <akim@epita.fr>
  14782. * bin/autoreconf.in (autoreconf): Don't let aclocal.m4 be older
  14783. than some of the input files, hence, on the second run of aclocal,
  14784. if some of its input are younger, make them older.
  14785. Suggested by Paul Eggert.
  14786. 2002-04-25 Akim Demaille <akim@epita.fr>
  14787. * doc/autoconf.texi (Limitations of Usual Tools): sed and `!'.
  14788. Thanks to Paul Eggert.
  14789. 2002-04-25 Akim Demaille <akim@epita.fr>
  14790. * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Let ac_subst_files
  14791. and ac_subst_vars be sh variables containing the list of
  14792. AC_SUBST_FILES'ed and AC_SUBST'ed identifiers. Output them in the
  14793. DEFAULT diversion.
  14794. (_AC_INIT_PREPARE): Use them to log them.
  14795. (_AC_SUBST, _AC_SUBST_SED_PROGRAM): Remove.
  14796. (AC_SUBST, AC_SUBST_FILE): Instead of buliding the
  14797. _AC_SUBST_SED_PROGRAM, store the list of output files/variables in
  14798. _AC_SUBST_FILES and _AC_SUBST_VARS.
  14799. * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Adjust.
  14800. 2002-04-24 Akim Demaille <akim@epita.fr>
  14801. * bin/autoreconf.in (autoreconf): Run automake after autoconf and
  14802. autoheader, so that automake does not complain about a missing
  14803. config.h.in that was to be created.
  14804. 2002-04-23 Akim Demaille <akim@epita.fr>
  14805. * bin/autoheader.in (parse_args): --warning takes an argument.
  14806. Fixes PR/220.
  14807. 2002-04-22 Peter Eisentraut <peter_e@gmx.net>
  14808. * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Remove gmon.out
  14809. and bb.out when cleaning up.
  14810. 2002-04-22 Akim Demaille <akim@epita.fr>
  14811. Version 2.53a.
  14812. 2002-04-22 Akim Demaille <akim@epita.fr>
  14813. * tests/m4sh.at (LINENO): Fix the Zsh skip pattern.
  14814. 2002-04-22 Akim Demaille <akim@epita.fr>
  14815. * doc/autoconf.texi (Pretty Help Strings): Remove a spurious
  14816. comma.
  14817. Reported by Gregory Giannoni.
  14818. 2002-04-22 Akim Demaille <akim@epita.fr>
  14819. * tests/m4sh.at (LINENO): Skip the test if LINENO cannot be unset.
  14820. Fixes false failures on Darwin.
  14821. 2002-04-21 Paul Eggert <eggert@twinsun.com>
  14822. * TODO, bin/autoupdate.in, doc/autoconf.texi,
  14823. lib/autoconf/general.m4, lib/autoconf/libs.m4,
  14824. lib/autoconf/status.m4, lib/m4sugar/m4sugar.m4, tests/m4sh.at,
  14825. tests/tools.at: Minor spelling and grammar fixes.
  14826. 2002-04-20 Paul Eggert <eggert@twinsun.com>
  14827. * doc/autoconf.texi (Shell Substitutions): Fix typos in yesterday's
  14828. ZSH_VERSION fixes. Bug reported by Raja R Harinath.
  14829. * lib/autotest/general.m4 (AT_INIT): Likewise.
  14830. * tests/atgeneral.m4 (AT_INIT): Likewise.
  14831. 2002-04-19 Paul Eggert <eggert@twinsun.com>
  14832. * NEWS, TODO, bin/autom4te.in, bin/autoreconf.in, bin/autoupdate.in,
  14833. doc/autoconf.texi, lib/freeze.mk, lib/Autom4te/Struct.pm,
  14834. lib/autoconf/autoheader.m4, lib/autoconf/c.m4,
  14835. lib/autoconf/functions.m4, lib/autoconf/general.m4,
  14836. lib/autoconf/lang.m4, lib/autoconf/libs.m4, lib/autoscan/identifiers,
  14837. lib/autotest/general.m4, lib/m4sugar/m4sh.m4, tests/atgeneral.m4,
  14838. tests/atspecific.m4, tests/semantics.at, tests/torture.at:
  14839. Minor spelling and grammar fixes.
  14840. * doc/autoconf.texi: Follow the outline suggested in the GNU
  14841. Sample Texts sections of the Texinfo 4.2 manual. Most
  14842. importantly, this makes sure that the copyright notices appear in
  14843. all output formats. You probably need Texinfo 4.2 to generate
  14844. the manual now.
  14845. Fix some bugs when using "$@" when there might be zero positional
  14846. arguments in cases where this matters.
  14847. * bin/autoconf.as: Rewrite so that the problem does not come up.
  14848. * lib/autoconf/programs.m4 (AC_CHECK_PROG): Likewise.
  14849. * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
  14850. * lib/autotest/general.m4 (AT_INIT): Likewise.
  14851. * bin/autoheader.in: Use 'case' statement to work around problem.
  14852. * bin/auto4mte.in: Likewise.
  14853. * bin/autoreconf.in: Likewise.
  14854. * bin/autoscan.in: Likewise.
  14855. * bin/autoupdate.in: Likewise.
  14856. * bin/ifnames.in: Likewise.
  14857. * doc/autoconf.texi (Shell Substitutions): Document the problem.
  14858. * lib/autotest/general.m4 (AT_INIT):
  14859. Use Zsh alias to work around problem.
  14860. * tests/atgeneral.m4 (AT_INIT): Likewise.
  14861. * tests/c.at: We can't have zero arguments, so remove workaround
  14862. that is not portable to Zsh.
  14863. 2002-04-19 Alexandre Duret-Lutz <duret_g@epita.fr>
  14864. * bin/autoupdate.in (handle_autoconf_macros): Honor AU_DEFUNs
  14865. from aclocal.m4 too.
  14866. 2002-04-12 Akim Demaille <akim@epita.fr>
  14867. * tests/wrappl.as: New, M4sh precursor of wrappl.in.
  14868. 2002-04-10 Akim Demaille <akim@epita.fr>
  14869. * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Install the Zsh
  14870. workaround for ${1+"$@"}.
  14871. * doc/autoconf.texi (Shell Substitutions): Explain it.
  14872. From Oliver Kiddle and Peter Stephenson.
  14873. Have M4sh perform minimal shell sanitizing.
  14874. * lib/m4sugar/m4sh.at (AS_SHELL_SANITIZE): Split the `_AS_PREPARE_*'
  14875. part into...
  14876. (_AS_PREPARE): this new macro.
  14877. (AS_PREPARE): New.
  14878. (AS_INIT): Invoke AS_SHELL_SANITIZE.
  14879. * tests/m4sh.at (AT_DATA_LINENO): Use _AS_PREPARE.
  14880. Adjust Autoconf and Autotest.
  14881. * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Don't invoke
  14882. AS_SHELL_SANITIZE, AS_INIT did it, but invoke AS_PREPARE.
  14883. * lib/autotest/general.m4 (AT_INIT): Likewise.
  14884. * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
  14885. Invoke _AS_PREPARE (not AS_PREPARE) in addition to
  14886. AS_SHELL_SANITIZE.
  14887. Use this M4sh to generate Autoconf's shell scripts.
  14888. * tests/wrapsh.as: New, precursor of wrapsh.in.
  14889. * tests/Makefile.am: Include lib/freeze.mk to get the dependencies
  14890. on Autotest and M4sh.
  14891. ($(TESTSUITE)): Use $(autotest_m4f_dependencies).
  14892. (wrapsh.in): New target.
  14893. * bin/autoconf.as: New, precursor of autoconf.in.
  14894. (autoconf.in): New target.
  14895. 2002-04-09 Alexandre Duret-Lutz <duret_g@epita.fr>
  14896. * doc/autoconf.texi (Limitations of Make): Mention the issue
  14897. with indented comments in rules.
  14898. 2002-04-09 Andreas Schwab <schwab@suse.de>
  14899. * lib/autoconf/status.m4 (_AC_SRCPATHS): Handle empty
  14900. ac_top_builddir when setting ac_abs_top_builddir.
  14901. 2002-04-06 Kevin Ryde <user42@zip.com.au>
  14902. * doc/autoconf.texi (Systemology): Add link to Unix V7 online docs.
  14903. (Portable Shell): Cross reference to Systemology.
  14904. 2002-04-05 Akim Demaille <akim@epita.fr>
  14905. * bin/autoreconf.in (autoreconf): Be sure to accumulate the
  14906. directories when descending in a SUBDIRS.
  14907. Reported by Ezra Peisach.
  14908. 2002-04-04 Andreas Schwab <schwab@suse.de>
  14909. * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Only simplify if path
  14910. contains no literal separators.
  14911. 2002-04-03 Akim Demaille <akim@epita.fr>
  14912. * lib/autoconf/status.m4 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER)
  14913. (_AC_CONFIG_COMMAND, _AC_CONFIG_LINK): New.
  14914. Use dnl, not the KILL diversion.
  14915. Extracted from...
  14916. (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_COMMANDS)
  14917. (AC_CONFIG_LINKS): here.
  14918. Adjust.
  14919. Don't use the KILL diversion, as it kills spurious output, which
  14920. results in failures being hidden.
  14921. Use m4_defn where appropriate.
  14922. (AC_CONFIG_IF_MEMBER): Kill the real bug: a spurious parenthesis
  14923. after the second argument.
  14924. Use m4_defn.
  14925. * lib/autom4te.in (Autoconf, Autotest, M4sh): Don't pass --warning
  14926. syntax, as it is provided by M4sugar.
  14927. * tests/torture.at (Multiple AC_CONFIG_FILES): New.
  14928. 2002-04-03 Andreas Schwab <schwab@suse.de>
  14929. * lib/m4sugar/m4sugar.m4 (m4_bmatch): Make sure m4_bregexp is not
  14930. expanded if $# <= 2.
  14931. * bin/autoreconf.in (autoreconf): Run automake after rerunning
  14932. aclocal.
  14933. 2002-04-03 Akim Demaille <akim@epita.fr>
  14934. * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT)
  14935. (_AC_COMPILER_EXEEXT_REJECT): New.
  14936. Also recognize *.bb and *.bbg as compilation byproducts.
  14937. (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT_O)
  14938. (_AC_COMPILER_OBJEXT): Use them.
  14939. Fixes Debian #138666.
  14940. 2002-04-02 Peter Eisentraut <peter_e@gmx.net>
  14941. Integrate AC_PROG_CC_STDC into AC_PROG_CC.
  14942. * lib/autoconf/c.m4 (AC_PROG_CC_STDC): Rename to _AC_PROG_CC_STDC.
  14943. AU_DEFUN old name. Use _AC_COMPILE_IFELSE.
  14944. (AC_PROG_CC): Call _AC_PROG_CC_STDC.
  14945. (AC_C_INLINE): Do not require AC_PROG_CC_STDC.
  14946. (AC_C_CONST): Same.
  14947. (AC_C_INLINE): Same.
  14948. (AC_C_PROTOTYPES): Same. Require AC_PROG_CC instead.
  14949. * doc/autoconf.texi, NEWS: Document.
  14950. * tests/mktests.sh (au_exclude_list): Add AC_PROG_CC_STDC and
  14951. AC_C_CROSS.
  14952. 2002-04-02 Akim Demaille <akim@epita.fr>
  14953. * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke
  14954. _AS_MKDIR_P_PREPARE.
  14955. 2002-03-28 Kevin Ryde <user42@zip.com.au>
  14956. * lib/autoconf/c.m4 (AC_C_INLINE): Test with a typedef return value,
  14957. to avoid versions of HP C which don't allow that.
  14958. 2002-03-27 Paul Eggert <eggert@twinsun.com>
  14959. * lib/m4sugar/m4sh.m4 (_AS_BASENAME_PREPARE): New macro.
  14960. (AS_SHELL_SANITIZE): Invoke it.
  14961. (AS_BASENAME): AS_REQUIRE it, and use $as_basename.
  14962. 2002-03-26 Akim Demaille <akim@epita.fr>
  14963. * doc/autoconf.texi (Portable Shell): Add pointers to FAQs.
  14964. 2002-03-26 Akim Demaille <akim@epita.fr>
  14965. * doc/autoconf.texi (Introduction): The GNATS base moved.
  14966. 2002-03-25 Paul Eggert <eggert@twinsun.com>
  14967. * tests/m4sh.at: Don't rely on "PATH=test:$PATH test-1" working
  14968. as POSIX requires, as it doesn't work with Zsh.
  14969. * doc/autoconf.texi (Assignments): Document the problem.
  14970. 2002-03-25 Alexandre Duret-Lutz <duret_g@epita.fr>
  14971. * doc/autoconf.texi (Limitations of Make): Mention more issue
  14972. about VPATH, overriding of macros in sub-makes, and handling of
  14973. SHELL.
  14974. 2002-03-21 Paul Eggert <eggert@twinsun.com>
  14975. * doc/autoconf.texi (Here-Documents): Mention Solaris 8 dtksh
  14976. problem with here-document buffer boundaries.
  14977. * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Unset ENV and BASH_ENV
  14978. when reinvoking the shell, to work around problems with installers
  14979. who put strange things like "cd" commands in their environments.
  14980. 2002-03-19 Akim Demaille <akim@epita.fr>
  14981. * tests/semantics.at (AC_C_BIGENDIAN): s/unknow/unknown/.
  14982. From Aaron Ucko.
  14983. 2002-03-19 Akim Demaille <akim@epita.fr>
  14984. * bin/autoscan.in (scan_file): Specify the location in `&used'
  14985. invocations.
  14986. From Nicolas Joly.
  14987. 2002-03-19 Akim Demaille <akim@epita.fr>
  14988. * doc/autoconf.texi: Adjust @code/@command, @xref/@ref usage.
  14989. From Nishio Futoshi.
  14990. 2002-03-19 Akim Demaille <akim@epita.fr>
  14991. * lib/m4sugar/m4sugar.m4 (m4_define_default, m4_fst, m4_map): New.
  14992. 2002-03-18 Paul Eggert <eggert@twinsun.com>
  14993. * doc/autoconf.texi (Programming in M4sh): Add AS_MKDIR_P.
  14994. (Limitations of Usual Tools): Add mkdir section.
  14995. * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): New macro.
  14996. (AS_MKDIR_P): Require it. Use mkdir -p if available, falling
  14997. back on AS_DIRNAME to compute prefixes otherwise; this is
  14998. roughly what mkinstalldirs does. That way, we need not have
  14999. our own filename disassembler. The old disassembler did not
  15000. work with Solaris 8 dtksh, which is ksh Version M-12/28/93d.
  15001. * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP):
  15002. Create at_test_all by a series of assignments,
  15003. not by a single assignment of a long string. The latter causes ksh
  15004. version 11/16/88g to silently misbehave on OpenServer 5.0.6a,
  15005. presumably because of a buffer overrun.
  15006. 2002-03-14 Paul Eggert <eggert@twinsun.com>
  15007. * lib/autotest/general.m4 (at_times_skip):
  15008. Renamed from at_times. Now a boolean.
  15009. ksh93 Version M-12/28/93d doesn't like 'x=times; $x'; it
  15010. says 'times: not found'.
  15011. 2002-03-14 Akim Demaille <akim@epita.fr>
  15012. * bin/autoreconf.in (&study_gettextize): New.
  15013. (&autoreconf): Handle newest gettextize.
  15014. Rerun aclocal if needed.
  15015. Suggested by Andreas Schwab.
  15016. 2002-03-13 Akim Demaille <akim@epita.fr>
  15017. * doc/autoconf.texi (Special Shell Variables): More about IFS.
  15018. 2002-03-13 Akim Demaille <akim@epita.fr>
  15019. * doc/autoconf.texi (Header Portability): New.
  15020. Add information about stdint.h and inttypes.h from Paul Eggert.
  15021. 2002-03-13 Akim Demaille <akim@epita.fr>
  15022. * doc/autoconf.texi (Limitations of Usual Tools): Some about `cp
  15023. -p'.
  15024. From Bob Proulx.
  15025. 2002-03-12 Akim Demaille <akim@epita.fr>
  15026. * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): AS_REQUIRE, not
  15027. m4_require.
  15028. 2002-03-11 Andreas Schwab <schwab@suse.de>
  15029. * configure.ac: Explicitly check for EMACS since AM_PATH_LISPDIR
  15030. does not do it if --with-lispdir is given.
  15031. 2002-03-08 Akim Demaille <akim@epita.fr>
  15032. Version 2.53.
  15033. 2002-03-08 Akim Demaille <akim@epita.fr>
  15034. * doc/autoconf.texi (Subdirectories): Clarify that the
  15035. subdirectory should exist.
  15036. 2002-03-08 Akim Demaille <akim@epita.fr>
  15037. * Makefile.am (AUTOMAKE_OPTIONS): 1.6.
  15038. 2002-03-08 Akim Demaille <akim@epita.fr>
  15039. * bin/autom4te.in (&handle_m4): Do not foreach with `$_' as it
  15040. aliases the actual variables, and modifications of the former
  15041. affect the latter.
  15042. 2002-03-08 Akim Demaille <akim@epita.fr>
  15043. * bin/autom4te.in (&handle_m4): Protect us from corrupted file
  15044. because of C-c: have m4 output in tmp files, then mv them.
  15045. 2002-03-08 Akim Demaille <akim@epita.fr>
  15046. * bin/autoconf.in, bin/autoheader.in, bin/autom4te.in,
  15047. * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
  15048. * bin/ifnames.in: Copyright update.
  15049. 2002-03-08 Akim Demaille <akim@epita.fr>
  15050. * doc/autoconf.texi (Invoking autom4te): New.
  15051. 2002-03-05 Akim Demaille <akim@epita.fr>
  15052. * doc/autoconf.texi (Specifying Names): Clarification suggested by
  15053. Kevin Ryde.
  15054. 2002-03-05 Akim Demaille <akim@epita.fr>
  15055. Version 2.52i.
  15056. 2002-03-04 Akim Demaille <akim@epita.fr>
  15057. * doc/autoconf.texi (AC_LIBOBJ vs. LIBOBJS): New.
  15058. * lib/autoconf/general.m4 (AC_INIT): More informative error
  15059. message for LIBOBJ.
  15060. 2002-03-04 Akim Demaille <akim@epita.fr>
  15061. * lib/freeze.mk ($(build_libdir)/m4sugar/version.m4): New, for
  15062. parallel builds.
  15063. 2002-03-04 Akim Demaille <akim@epita.fr>
  15064. * doc/autoconf.texi (Transforming Names): Equality between target
  15065. and host is irrelevant.
  15066. (Specifying Names, Canonicalizing): Remove all references to the
  15067. backward compatibility hooks. Rather, collect them all into...
  15068. (Hosts and Cross-Compilation): this new section.
  15069. * doc/install.texi (System Type): Ditto.
  15070. * lib/autoconf/general.m4 (AC_CANONICAL_HOST): Explicitly state
  15071. that `--host' implies cross-compilation.
  15072. 2002-03-04 Akim Demaille <akim@epita.fr>
  15073. * doc/autoconf.texi (Evaluation Macros): New.
  15074. * lib/m4sugar/m4sugar.m4 (m4_lquote): Remove, it is totally
  15075. useless.
  15076. (_m4_foreach): Define the variant with immediate evaluation so
  15077. that it contains exactly the items, not an expression which
  15078. evaluation is the current item.
  15079. (m4_re_string, m4_re_word): Don't over quote them.
  15080. 2002-03-04 Akim Demaille <akim@epita.fr>
  15081. Instead of having stacking `shift's evaluated at the end, let
  15082. `foreach' loops immediately evaluate them.
  15083. * lib/m4sugar/m4sugar.m4 (m4_quote, m4_dquote): Use $@ rather than
  15084. $*. This is the n-th time I change my mind, but hopefully this is
  15085. the last...
  15086. (m4_lquote): New.
  15087. (m4_text_wrap): Use m4_foreach, which is finally correct _and_
  15088. efficient.
  15089. (m4_foreach_quoted, m4_car_quoted, _m4_foreach_quoted): Remove, as
  15090. it was only a hack for m4_text_wrap.
  15091. (m4_car2): Remove, replaced by...
  15092. (m4_cdr): New.
  15093. (_m4_foreach): Adjust.
  15094. * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust, and use
  15095. m4_bpatsubst for clarification.
  15096. 2002-03-04 Akim Demaille <akim@epita.fr>
  15097. * doc/autoconf.texi (Changequote is Evil): New.
  15098. 2002-03-03 Kevin Ryde <user42@zip.com.au>
  15099. * doc/autoconf.texi (Portable Shell): Mention 32-byte #! length limit
  15100. on old systems like SunOS.
  15101. 2002-03-01 Peter Eisentraut <peter_e@gmx.net>
  15102. * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
  15103. lib/autoconf/functions.m4, lib/autoconf/general.m4,
  15104. lib/autoconf/headers.m4, lib/autoconf/lang.m4,
  15105. lib/autoconf/programs.m4, lib/autoconf/status.m4: Improve spelling
  15106. of messages.
  15107. 2002-02-28 Akim Demaille <akim@epita.fr>
  15108. * lib/autotest/general.m4 (AT_INIT): Suggest a title to the
  15109. message to be sent.
  15110. 2002-02-28 Kevin Ryde <user42@zip.com.au>
  15111. * doc/autoconf.texi (Function Portability): Add va_copy and va_list.
  15112. 2002-02-25 Akim Demaille <akim@epita.fr>
  15113. * lib/autoconf/functions.m4 (AC_FUNC_SETPGRP): Fix the test.
  15114. From Akinori Musha.
  15115. 2002-02-13 Alexandre Duret-Lutz <duret_g@epita.fr>
  15116. * lib/Autom4te/XFile.pm (getline, getlines): New functions,
  15117. translate \r\n to \n.
  15118. 2002-02-07 Akim Demaille <akim@epita.fr>
  15119. Version 2.52h.
  15120. 2002-02-07 Akim Demaille <akim@epita.fr>
  15121. Fix Autoconf PR/209.
  15122. Also reported by Frank Denis.
  15123. * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Don't over quote.
  15124. 2002-02-07 Akim Demaille <akim@epita.fr>
  15125. Fix Autoconf PR/207:
  15126. AC_PREFIX_PROGRAM fails with dashed program names
  15127. * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Just use a fresh
  15128. variable when looking for the prefix program.
  15129. Now it also works for shell variables.
  15130. 2002-02-07 Akim Demaille <akim@epita.fr>
  15131. * doc/autoconf.texi (Limitations of Builtins): More about
  15132. case/esac.
  15133. 2002-02-06 Akim Demaille <akim@epita.fr>
  15134. * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Don't output empty
  15135. case/esac, some shells don't support it.
  15136. Reported by Zack Weinberg.
  15137. * tests/torture.at (AC_CONFIG_COMMANDS with empty commands): New.
  15138. 2002-02-06 Akim Demaille <akim@epita.fr>
  15139. * lib/autotest/general.m4 (AT_INIT): When handling --keywords, be
  15140. sure not to introduce newlines in at_groups.
  15141. * lib/autotest/Makefile.am (autotest.m4f): Typo.
  15142. 2002-02-06 Akim Demaille <akim@epita.fr>
  15143. * tests/torture.at (Configuring subdirectories): Skip if aclocal
  15144. is not available.
  15145. 2002-02-05 Paul Eggert <eggert@twinsun.com>
  15146. * doc/autoconf.texi (Specific Compiler Characteristics):
  15147. Describe HP-UX cc bug workaround more accurately.
  15148. * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast to long,
  15149. not unsigned long.
  15150. * tests/semantics.at (AC_CHECK_SIZEOF): Check non-GCC
  15151. cross-compilers, too. This undoes some of the most recent change
  15152. to this file.
  15153. 2002-02-05 Akim Demaille <akim@epita.fr>
  15154. * tests/Makefile.am (check_SCRIPTS): Use it, instead of WRAPPERS,
  15155. to make sure they are up to date when `check' is run.
  15156. 2002-02-05 Akim Demaille <akim@epita.fr>
  15157. * doc/autoconf.texi (Making testsuite Scripts): Document
  15158. package.m4.
  15159. 2002-02-05 Akim Demaille <akim@epita.fr>
  15160. * lib/freeze.mk: New.
  15161. 2002-02-05 Akim Demaille <akim@epita.fr>
  15162. Implement `autom4te --freeze'.
  15163. * bin/autom4te.in (&freeze): New.
  15164. * lib/autoconf/autoconf.m4, lib/autotest/general.m4,
  15165. * lib/m4sugar/m4sh.m4: Don't include files given by autom4te.
  15166. 2002-02-05 Akim Demaille <akim@epita.fr>
  15167. * bin/autom4te.in (&parse_args): Implement `frozen files are
  15168. optional are the sum of the previous files on the command line'.
  15169. Also, pass `--reload-state=' on them, so...
  15170. (handle_m4): don't.
  15171. * lib/autom4te.in (Autotest, Autoconf): Rely on M4sh.
  15172. (M4sh): Rely on M4sugar.
  15173. (Autotest, M4sh, M4sugar): Use frozen files.
  15174. 2002-01-31 Akim Demaille <akim@epita.fr>
  15175. * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Accept $4.
  15176. * doc/autoconf.texi (Initializing configure): Adjust.
  15177. 2002-01-30 Akim Demaille <akim@epita.fr>
  15178. * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Map non
  15179. alphanumeric to `-' instead of `_'.
  15180. 2002-01-30 Akim Demaille <akim@epita.fr>
  15181. * tests/semantics.at (AC_CHECK_SIZEOF): Split into two tests: one
  15182. for plain code, the other for cross-compilation code. The latter
  15183. is now run with GCC only.
  15184. * doc/autoconf.texi (Compilers and Preprocessors): New.
  15185. 2002-01-30 Akim Demaille <akim@epita.fr>
  15186. * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Support pre-defined
  15187. values.
  15188. * doc/autoconf.texi (Initializing configure): Explain how to
  15189. change AC_INIT default values.
  15190. 2002-01-29 Akim Demaille <akim@epita.fr>
  15191. * tests/torture.at (Configuring subdirectories): Use configure.in,
  15192. so that aclocal 1.4 works.
  15193. Reported by Alexandre Duret-Lutz and Larry Schmitt.
  15194. 2002-01-28 Akim Demaille <akim@epita.fr>
  15195. * doc/autoconf.texi (Writing testsuite.at): AT_CLEANUP no longer
  15196. needs an argument.
  15197. 2002-01-28 Akim Demaille <akim@epita.fr>
  15198. * lib/autotest/general.m4 (AT_INIT): Don't be ridiculous: adjust
  15199. AUTOTEST_PATH *after* it was set.
  15200. Don't put `.' in the PATH: the user should be precise and `./' if
  15201. needed. In addition, given that the test suite does some `cd', if
  15202. `.' is in the path, the `tested programs' sections will report
  15203. programs found in the test suite's directory, while during the
  15204. tests (performed in their own directory), these programs are no
  15205. longer visible. In other words, the results is confusing and
  15206. useless.
  15207. * tests/m4sh.at: Adjust: don't rely on `.' being in the PATH.
  15208. 2002-01-24 Akim Demaille <akim@epita.fr>
  15209. Version 2.52g.
  15210. 2002-01-24 Akim Demaille <akim@epita.fr>
  15211. * bin/autoheader.in, bin/autoconf.in, bin/autoscan.in,
  15212. * doc/autoconf.texi: Finally add Akim as an author.
  15213. 2002-01-24 Akim Demaille <akim@epita.fr>
  15214. * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Use PATH_SEPARATOR.
  15215. (_AS_PATH_SEPARATOR_PREPARE): Don't expect $SHELL to be
  15216. Bourne. Use /bin/sh.
  15217. From Andreas Buening.
  15218. 2002-01-24 Akim Demaille <akim@epita.fr>
  15219. * config/config.guess, config/config.sub, config/texinfo.tex:
  15220. Update from masters.
  15221. 2002-01-24 Akim Demaille <akim@epita.fr>
  15222. * Makefile.am (AUTOMAKE_OPTIONS): 1.5b.
  15223. * config/auxdir.m4, config/cond.m4, config/depend.m4,
  15224. * config/init.m4, config/install-sh.m4, config/lispdir.m4,
  15225. * config/missing.m4, config/sanity.m4, config/select.m4,
  15226. * config/strip.m4: Remove, to ease sync'ing with any version of
  15227. Automake.
  15228. 2002-01-24 Akim Demaille <akim@epita.fr>
  15229. * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS)
  15230. (_AC_INIT_PREPARE): Support -n as --no-create, as documented.
  15231. Reported by Geir Ove Myhr.
  15232. 2002-01-21 Akim Demaille <akim@epita.fr>
  15233. * lib/autoconf/functions.m4 (AC_FUNC_MMAP): #Undef malloc.
  15234. 2002-01-21 Akim Demaille <akim@epita.fr>
  15235. * lib/Autom4te/General.pm (getopt): Use a more GNUish error
  15236. message on invalid options.
  15237. * bin/autom4te.in (parse_args): Don't use
  15238. Autoconf::General::getopt with non valid options.
  15239. 2002-01-17 Jim Meyering <meyering@lucent.com>
  15240. * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Initialize
  15241. $ac_cv_exeext so we don't use an old, invalid, cached value.
  15242. 2002-01-11 Akim Demaille <akim@epita.fr>
  15243. * lib/autoconf/functions.m4 (AC_FUNC_STRNLEN): New, from Jim
  15244. Meyering.
  15245. * doc/autoconf.texi (Function Portability): Document the strnlen
  15246. limitation.
  15247. (Particular Functions): Document AC_FUNC_STRNLEN.
  15248. * lib/autoscan/functions: Adjust.
  15249. 2002-01-06 Akim Demaille <akim@epita.fr>
  15250. * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't create
  15251. package.m4, since is really depends upon configure.ac, not
  15252. configure.
  15253. * doc/autoconf.texi (testsuite Scripts): Adjust.
  15254. * tests/Makefile.am (package.m4): New.
  15255. EXTRA_DIST it since its a source.
  15256. 2002-01-06 Akim Demaille <akim@epita.fr>
  15257. * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Move the AC_SUBST
  15258. of PACKAGE_NAME, PACKAGE_TARNAME, PACKAGE_VERSION, PACKAGE_STRING,
  15259. and PACKAGE_BUGREPORT from here...
  15260. (_AC_INIT_DEFAULTS): to here, since it is unrelated to the
  15261. arguments.
  15262. (_AC_INIT_PREPARE): AC_DEFINE these symbols.
  15263. * lib/autotest/general.m4: Use AT_PACKAGE_*, not PACKAGE_*.
  15264. (AT_INIT): No longer catch `^PACKAGE_(BUGREPORT|STRING)$'.
  15265. * tests/tools.at (autoheader): Adjust.
  15266. * tests/atspecific.m4 (AT_CHECK_DEFINES): Adjust.
  15267. 2002-01-06 Akim Demaille <akim@epita.fr>
  15268. * bin/autoscan.in (scan_file): Use `&used'.
  15269. 2002-01-03 Akim Demaille <akim@epita.fr>
  15270. * doc/autoconf.texi (Output): Improved wording regarding use of
  15271. AC_OUTPUT.
  15272. From Olly Betts.
  15273. 2001-12-18 Kevin Ryde <user42@zip.com.au>
  15274. * doc/autoconf.texi (Function Portability): Add notes on sscanf
  15275. sometimes needing writable input.
  15276. 2001-12-17 Jim Meyering <meyering@lucent.com>
  15277. * doc/autoconf.texi (New Macros): Tweak wording.
  15278. 2001-12-14 Akim Demaille <akim@epita.fr>
  15279. * lib/autoconf/general.m4 (_AC_INIT_PREPARE): We cleaning up the
  15280. trailing files, don't apply `-rf' to files which might not be
  15281. created by configure (core, core.*, and *.core), but just `rm -f'.
  15282. Suggested by Jonathan Kamens.
  15283. 2001-12-14 Aaron M. Ucko <amu@alum.mit.edu>
  15284. * lib/autoconf/general.m4: Avoid duplicates in `$ac_configure_args'.
  15285. 2001-12-14 Akim Demaille <akim@epita.fr>
  15286. * Makefile.am (MAINTAINERCLEANFILES): Remove configure.
  15287. 2001-12-13 Peter Eisentraut <peter_e@gmx.net>
  15288. * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename buildpath to
  15289. abs_builddir, top_buildpath to abs_top_builddir, srcpath to
  15290. abs_srcdir, top_srcpath to abs_top_srcdir.
  15291. (_AC_OUTPUT_FILES): Adjust.
  15292. * NEWS, doc/autoconf.texi, lib/autoconf/autotest.m4,
  15293. * tests/atspecific.m4, tests/autoreconf.in, tests/tools.at,
  15294. * tests/wrappl.in, tests/wrapsh.in: Adjust.
  15295. 2001-12-12 Steven G. Johnson <stevenj@alum.mit.edu>
  15296. * lib/autoconf/fortran.m4 (_AC_PROG_F77_V_OUTPUT): Fix failed
  15297. C/Fortran linking on HP/UX, by extracting the Fortran library
  15298. search path from the LPATH line in the $F77 -v output.
  15299. 2001-12-12 Kevin Ryde <user42@zip.com.au>
  15300. * doc/autoconf.texi (File Descriptors): Use a clearer layout for the
  15301. forbidden file descriptors table.
  15302. 2001-11-26 Akim Demaille <akim@epita.fr>
  15303. * bin/autoscan.in (%c_keywords): Build it at top level.
  15304. Map to 1 in order to simplify its uses.
  15305. 2001-11-26 Akim Demaille <akim@epita.fr>
  15306. * bin/autoscan.in (&scan_c_file, &scan_sh_file, &scan_makefile):
  15307. Remove $filepath, useless.
  15308. (&scan_makefile): Don't remove the $(FOO), ${FOO} and @FOO@
  15309. variables, they are really part of the tokens.
  15310. Split the input line on spaces and then look for tokens.
  15311. Now autoscan ceases to ask for AC_PROG_LEX for the package Bison
  15312. because of `lex$U.$(OBJEXT)'.
  15313. (&scan_files): Use "@list" instead of join.
  15314. * doc/Makefile.am (CLEANFILES): Add *.fns.
  15315. 2001-11-26 Akim Demaille <akim@epita.fr>
  15316. * tests/autoreconf.in, tests/autom4te.in, tests/autoupdate.in:
  15317. Remove, replaced by...
  15318. * tests/wrappl.in: Be common for all the Perl executables.
  15319. In particular autoscan and autoheader want -I.
  15320. * configure.ac: Adjust.
  15321. * lib/autoscan/headers: errno.h is portable.
  15322. 2001-11-26 Akim Demaille <akim@epita.fr>
  15323. * bin/autoscan.in (used): New.
  15324. Use it.
  15325. 2001-11-26 Akim Demaille <akim@epita.fr>
  15326. * bin/autoscan.in (&scan_c_file): Better parsing of CPP
  15327. directives.
  15328. (&scan_sh_file): Remove a duplicate pattern.
  15329. (&check_configure_ac): Use long options.
  15330. * lib/autoscan/headers (alloca.h): Check with AC_FUNC_ALLOCA.
  15331. 2001-11-26 Akim Demaille <akim@epita.fr>
  15332. * bin/autoscan.in (scan_c_file): Fix the handling of C comments.
  15333. Before, having a line containing the opening of a multi line
  15334. comment made the whole line be ignored.
  15335. 2001-11-26 Akim Demaille <akim@epita.fr>
  15336. * doc/autoconf.texi (Using an Autotest Test Suite): New.
  15337. (testsuite Scripts): Be one of its subsection.
  15338. (Autotest Logs): New.
  15339. 2001-11-26 Akim Demaille <akim@epita.fr>
  15340. Test groups are now run two directories deeper.
  15341. * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Replace srcdir,
  15342. top_srcdir and top_builddir with at_srcdir, at_top_srcdir and
  15343. at_top_builddir.
  15344. * lib/autotest/general.m4 (AT_INIT): Compute srcdir,
  15345. top_srcdir, builddir and top_builddir.
  15346. Use `at_*dir' relatively to the directory containing the
  15347. suite, use `*dir' when relatively to the current group dir.
  15348. 2001-11-25 Joseph S. Myers <jsm28@cam.ac.uk>
  15349. * doc/autoconf.texi, TODO, lib/autoconf/fortran.m4,
  15350. lib/autoconf/functions.m4, lib/autoconf/headers.m4,
  15351. tests/atgeneral.m4, tests/tools.at, tests/atspecific.m4: Fix
  15352. spelling errors.
  15353. 2001-11-22 Alexandre Duret-Lutz <duret_g@epita.fr>
  15354. * doc/autoconf.texi (Using System Type): Add an example of `case
  15355. $host' usage so people quit using `case $target' everywhere.
  15356. 2001-11-22 Akim Demaille <akim@epita.fr>
  15357. * doc/autoconf.texi (Installation Directory Variables): Englishoes
  15358. spotted by Jim Meyering.
  15359. 2001-11-16 Paul Eggert <eggert@twinsun.com>
  15360. This patch implements a `long double' suggestion by Oliver Kiddle.
  15361. * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Make the array
  15362. static, to catch errors if the value isn't known at compile-time
  15363. and the compiler supports dynamic arrays. Change its name from
  15364. `_array_' to `test_array' to avoid potential name clashes.
  15365. (AC_C_LONG_DOUBLE): Make it a compile-time test, not a run-time
  15366. test. Do not define HAVE_LONG_DOUBLE if `long double' is no
  15367. better than double. Catch a bug in GCC 2.95.2 x86.
  15368. * doc/autoconf.texi (C Compiler): Document the above.
  15369. * NEWS: Likewise.
  15370. 2001-11-13 Akim Demaille <akim@epita.fr>
  15371. * tests/m4sh.at (LINENO): Protect from autom4te's substitution by
  15372. hand.
  15373. * tests/tools.at: Don't protect dnl, AT_DATA_M4SH does.
  15374. 2001-11-13 Akim Demaille <akim@epita.fr>
  15375. * lib/autotest/general.m4 (AT_INIT): After having run the test
  15376. group, go back to the initial directory, not to at_suite_dir.
  15377. 2001-11-13 Akim Demaille <akim@epita.fr>
  15378. * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH)
  15379. (AT_DATA_AUTOCONF): Also protect @&t@ from autom4te.
  15380. (AT_CHECK_AUTOCONF, AT_CHECK_AUTOHEADER): Pass no --include
  15381. option.
  15382. (AT_CHECK_CONFIGURE): Use absolute paths.
  15383. (_AT_CHECK_AC_MACRO): Create aclocal.m4 with AC_STATE_SAVE in it.
  15384. The problem is still the old one: there is no means in M4 (that I
  15385. know about) to create a defining macro, because there is no means
  15386. to create `$1' etc., therefore, the defining macro ``swallows''
  15387. all the arguments meant to the defined macro.
  15388. 2001-11-13 Akim Demaille <akim@epita.fr>
  15389. * tests/atspecific.m4 (AT_DATA_AUTOCONF): New.
  15390. (AT_CONFIGURE_AC): Output the definition of AC_STATE_SAVE in
  15391. configure.ac.
  15392. * tests/aclocal.m4: Remove, as it is no longer used.
  15393. 2001-11-13 Akim Demaille <akim@epita.fr>
  15394. * lib/autotest/general.m4: Change `tests?' into `groups?' in
  15395. variable names when referring to a single test group, or to
  15396. `suite' when referring to the whole test suite.
  15397. `at_last_test' is removed: m4 compute at_format itself.
  15398. (at_stdout, at_stder1, at_stderr): New variables.
  15399. (AT_CHECK): Use them.
  15400. 2001-11-13 Akim Demaille <akim@epita.fr>
  15401. * lib/autotest/general.m4 (AT_INIT): Be sure to put `.', relative,
  15402. in PATH.
  15403. Create `testsuite.dir/003/run' instead of `testsuite.003'.
  15404. Do it as soon as a test fails, don't wait till the end of the test
  15405. suite.
  15406. Don't remove $as_me.[0-9]*, since these files no longer exist.
  15407. 2001-11-13 Akim Demaille <akim@epita.fr>
  15408. * tests/tools.at: Use absolute paths, since we are no longer run
  15409. in place.
  15410. 2001-11-13 Akim Demaille <akim@epita.fr>
  15411. Now that tests are running in their own private dir, there is no
  15412. need to list the files to remove at the end of tests groups.
  15413. * lib/autotest/general.m4 (_AT_CLEANUP_FILE, AT_CLEANUP_FILES):
  15414. (AT_data_files, at_data_files): Remove.
  15415. (AT_CLEANUP, AT_DATA): Simplify.
  15416. (AT_INIT): Adjust.
  15417. Remove the group dir if !debug && !failed.
  15418. * tests/atspecific.m4: Adjust.
  15419. 2001-11-13 Akim Demaille <akim@epita.fr>
  15420. Start a new layout for Autotest: `testsuite' creates
  15421. `testsuite.dir' in which the at-check-line etc. files are to be
  15422. found, and `testsuite.dir/003' where the test group 3 is run.
  15423. * lib/autotest/general.m4 (AT_INIT): at_tests_dir,
  15424. at_check_line_file, at_format, at_test_normalized, at_group_dir
  15425. are new variables.
  15426. Create the directories.
  15427. Use absolute paths for at- files.
  15428. (AT_CHECK): Adjust.
  15429. 2001-11-11 Michael Matz <matz@kde.org>
  15430. * m4sugar.m4 (_m4_foreach): Make it linear instead quadratic.
  15431. (m4_car2): New.
  15432. (m4_car): Properly quote arguments.
  15433. 2001-11-13 Akim Demaille <akim@epita.fr>
  15434. * tests/aclocal.m4 (AC_STATE_SAVE): s/LIBOBJS/LIB@&t@OBJS/ to cope
  15435. with stricter rules on LIBOBJS.
  15436. 2001-11-12 Paul Eggert <eggert@twinsun.com>
  15437. * lib/autoconf/c.m4 (AC_C_PROTOTYPES): Define __PROTOTYPES too.
  15438. * doc/autoconf.texi (C Compiler): AC_C_PROTOTYPES now defines
  15439. __PROTOTYPES too.
  15440. 2001-11-12 Akim Demaille <akim@epita.fr>
  15441. * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Use AC_CHECK_FUNCS.
  15442. 2001-11-12 Akim Demaille <akim@epita.fr>
  15443. * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
  15444. * lib/autoconf/functions.m4, lib/autoconf/general.m4,
  15445. * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
  15446. * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
  15447. * lib/autoconf/types.m4: When invoking AC_DEFINE and friends,
  15448. specify to what the macro should be defined (typically to 1).
  15449. 2001-11-12 Akim Demaille <akim@epita.fr>
  15450. * lib/autoconf/functions.m4 (AC_FUNC_STRTOD): AC_SUBST POW_LIB.
  15451. From Jim Meyering.
  15452. 2001-11-12 Akim Demaille <akim@epita.fr>
  15453. * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
  15454. AC_TRY_EVAL to run $LEX, not AC_TRY_COMMAND. This validates the
  15455. definition used by Automake where LEX is +/- "${missing} lex" and
  15456. `missing' itself contains variables.
  15457. 2001-11-12 Akim Demaille <akim@epita.fr>
  15458. * lib/autotest/general.m4 (AT_INIT): Push KILL at the end.
  15459. Now that M4sh pushes BODY, the comments were output at the end of
  15460. the test suites.
  15461. 2001-11-08 Akim Demaille <akim@epita.fr>
  15462. * bin/autoreconf.in (&autoreconf): Run aclocal before tracing, so
  15463. that we can trace macros from aclocal.m4.
  15464. Trace AC_PROG_LIBTOOL, not AM_PROG_LIBTOOL, since the latter is
  15465. obsoleted, and redirect to the former anyway.
  15466. Reported by Ralf Corsepius.
  15467. 2001-11-08 Akim Demaille <akim@epita.fr>
  15468. * bin/autoreconf.in (&autoreconf): AC_CONFIG_SUBIDRS are to be
  15469. processed only if present.
  15470. * tests/torture.at (Configuring subdirectories): Use autoreconf
  15471. instead of successive calls to autoconf.
  15472. Add a nonexistent subdirectory to exercise the patch above.
  15473. Reported by Ralf Corsepius.
  15474. 2001-11-08 Kevin Ryde <user42@zip.com.au>
  15475. * doc/autoconf.texi (Limitations of Usual Tools): Note HP-UX cc
  15476. doesn't accept .S files.
  15477. 2001-11-07 Akim Demaille <akim@epita.fr>
  15478. * lib/m4sugar/m4sugar.m4 (m4_pattern_forbid): Accepts $2.
  15479. * lib/autoconf/general.m4 (AC_INTI): Forbid LIBOBJS.
  15480. (_AC_LIBOBJ): s/LIBOBJS/LIB@&t@OBJS/.
  15481. * bin/autom4te.in (warn_forbidden): New.
  15482. (handle_output): Use it.
  15483. Read m4_pattern_forbid with messages.
  15484. 2001-11-05 Akim Demaille <akim@epita.fr>
  15485. * bin/autom4te.in (--normalize): Remove.
  15486. * lib/autom4te.in: Adjust.
  15487. 2001-11-05 Akim Demaille <akim@epita.fr>
  15488. * tests/Makefile.am (testsuite): Rename this target as...
  15489. ($(TESTSUITE)): this.
  15490. From Nicolas Joly.
  15491. 2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
  15492. * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): When removing
  15493. the --prefix option, also remove it's argument.
  15494. 2001-11-05 Akim Demaille <akim@epita.fr>
  15495. * doc/autoconf.texi (testsuite Invocation): Update.
  15496. (Writing testsuite.at): Update.
  15497. 2001-11-03 Akim Demaille <akim@epita.fr>
  15498. * doc/autoconf.texi: s/@code/@command/ where appropriate.
  15499. 2001-11-03 Akim Demaille <akim@epita.fr>
  15500. * lib/Autom4te/General.pm: (&catfile, &canonfile)
  15501. (&file_name_is_absolute): New, wrappers around routines from
  15502. File::Spec.
  15503. Use and export them.
  15504. (&find_configure_ac): Optionally take a directory where to look at.
  15505. * bin/autoreconf.in (&parse_args): Trim the configure.ac part of
  15506. the arguments.
  15507. Default @ARGV to `.', not find_configure_ac.
  15508. (&autoreconf): Argument is a directory.
  15509. Trace AC_CONFIG_SUBDIRS and schedule the subdirs for autoreconf'ing.
  15510. * doc/autoconf.texi (autoreconf Invocation): Update.
  15511. 2001-11-03 Akim Demaille <akim@epita.fr>
  15512. * lib/Autom4te/General.pm (@export_vars, @export_subs)
  15513. (@export_forward_subs): New.
  15514. Add basename, dirname, and fileparse.
  15515. (@EXPORT): Adjust.
  15516. * bin/autoreconf.in (&autoreconf): Fix call to fileparse.
  15517. Don't look for aclocal flags if we already know aclocal is not
  15518. used.
  15519. Move aclocal.m4t only if it exists.
  15520. Reported by Ezra Peisach.
  15521. 2001-11-03 Akim Demaille <akim@epita.fr>
  15522. * bin/autoreconf.in (&parse_args): Work only on the configure.ac
  15523. passed on command line, defaulting to ./configure.ac if present.
  15524. (&maybe_autoreconf, File::Find): Remove, unused.
  15525. (&autoreconf): If autoconf is not used, don't try to trace.
  15526. 2001-11-02 Akim Demaille <akim@epita.fr>
  15527. * configure.ac: Bump to 2.52g.
  15528. 2001-11-02 Akim Demaille <akim@epita.fr>
  15529. Version 2.52f.
  15530. 2001-11-02 Akim Demaille <akim@epita.fr>
  15531. * config/config.guess, config/config.sub, doc/standards.texi:
  15532. * config/lispdir.m4: Update from masters.
  15533. * configure.ac: Bump to 2.52f.
  15534. 2001-11-02 Akim Demaille <akim@epita.fr>
  15535. * bin/autoreconf.in (&autoreconf): Set `$aclocal_flags' to ''.
  15536. Don't run aclocal when aclocal.m4 is not from aclocal.
  15537. From Ezra Peisach.
  15538. Don't run libtoolize and gettextize if --install is not given.
  15539. 2001-11-01 Paul Eggert <eggert@twinsun.com>
  15540. * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): _AS_CR_PREPARE needs to
  15541. be invoked before _AS_LINENO_PREPARE.
  15542. (_AS_LINENO_PREPARE): Use as_cr_digits and as_cr_alnum rather
  15543. than character ranges.
  15544. * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix NLS before
  15545. invoking AS_BASENAME. Set the locale variables to 'C' if
  15546. possible, as POSIX requires this to get the traditional
  15547. behavior.
  15548. * doc/autoconf.texi (Special Shell Variables): Describe the above.
  15549. 2001-10-31 Paul Eggert <eggert@twinsun.com>
  15550. * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Do not surround body
  15551. with {}, as that triggers a bug in Bash 2.05.
  15552. (_AS_LINENO_PREPARE): Use Sed rather than
  15553. Awk. Fix the sed prepass to work even if there are multiple
  15554. instances of $LINENO on the same line. Do not substitute for
  15555. other variables like $LINENOT. Do not check file dates; such a
  15556. check is unreliable on sufficiently fast machines, and removing
  15557. the check makes the code simpler and more reliable. Check for
  15558. output and chmod failures.
  15559. * doc/autoconf.texi (Special Shell Variables): Document
  15560. the above.
  15561. 2001-10-31 Akim Demaille <akim@epita.fr>
  15562. * tests/Makefile.am (atconfig): Remove this target, Automake
  15563. handles it now.
  15564. 2001-10-31 Akim Demaille <akim@epita.fr>
  15565. * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Do not
  15566. AC_CONFIG_FILES(atlocal) as it means a file atlocal.in *must* be
  15567. provided, while it is optional.
  15568. * configure.ac: Adjust.
  15569. 2001-10-26 Paul Eggert <eggert@twinsun.com>
  15570. * NEWS, README, configure.ac, lib/Autom4te/General.pm,
  15571. lib/Autom4te/Struct.pm:
  15572. Require Perl 5.005_03 instead of just 5.005, as some tests fail
  15573. with 5.005_02.
  15574. * doc/autoconf.texi (Special Shell Variables): Document some
  15575. more LINENO gotchas, particularly with respect to the Awk+Sed hack.
  15576. * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): New macro.
  15577. (_AS_LINENO_PREPARE): Use it instead of shell eval, since
  15578. eval $LINENO is not portable in practice.
  15579. 2001-10-24 Akim Demaille <akim@epita.fr>
  15580. * lib/Autom4te/General.pm (backname): New.
  15581. 2001-10-24 Akim Demaille <akim@epita.fr>
  15582. * m4/: Remove, merged into...
  15583. * config/: here.
  15584. 2001-10-23 Tim Van Holder <tim.van.holder@pandora.be>
  15585. * doc/autoconf.texi (Shellology): Mention the problems with bash
  15586. 2.05's use of ANSI quoting in its `set' builtin.
  15587. 2001-10-22 Paul Eggert <eggert@twinsun.com>
  15588. * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R):
  15589. Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
  15590. and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
  15591. POSIX decided to standardize on the int flavor of strerror_r.
  15592. Always do char* test, as there's no reason not to.
  15593. Assign to a char* var, to catch strerror_r that returns int*.
  15594. * doc/autoconf.texi (Particular Functions):
  15595. Document the above changes. Also, document the fact that
  15596. AC_FUNC_STRERROR_R defines HAVE_DECL_STRERROR_R.
  15597. * NEWS: Mention HAVE_WORKING_STRERROR_R -> STRERROR_R_CHAR_P.
  15598. 2001-10-20 Akim Demaille <akim@epita.fr>
  15599. * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): The name of
  15600. the executable was missing from the log.
  15601. 2001-10-20 Akim Demaille <akim@epita.fr>
  15602. * lib/Autom4te/General.pm (&update_file): If destination is
  15603. unchanged, remove the source.
  15604. (&up_to_date_p): Don't be verbose, be debug.
  15605. * bin/autoreconf.in: No longer support --m4dir.
  15606. (&autoreconf): Display the full path of the configure.ac we are
  15607. studying.
  15608. Trace it only once.
  15609. Be sure to honor --force with gettextize.
  15610. Always run aclocal.
  15611. * doc/autoconf.texi: Adjust.
  15612. 2001-10-20 Akim Demaille <akim@epita.fr>
  15613. * bin/autoheader.in ($localdir, $m4, $SIMPLE_BACKUP_SUFFIX):
  15614. Remove, dead.
  15615. * bin/autoreconf.in (&autoreconf): Do not run gettextize when
  15616. `intl' is already present, as it refuses unless --force.
  15617. (&parse_args): Use -I, --include instead of the old Autoconf
  15618. options.
  15619. ($localdir, $autoconf_dir): Remove.
  15620. (@include): New.
  15621. (&maybe_autoreconf): New, to preserve $_ for File::Find.
  15622. 2001-10-19 Jens Petersen <petersen@redhat.com>
  15623. * lib/autoconf/programs.m4 (AC_PROG_AWK): Prefer gawk to mawk.
  15624. * doc/autoconf.texi (Particular Programs): Likewise.
  15625. 2001-10-19 Akim Demaille <akim@epita.fr>
  15626. * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Name the generated
  15627. file in @configure_input@.
  15628. Don't mention `automatically' in addition to `generated'.
  15629. * tests/torture.at (#define header templates): Adjust.
  15630. 2001-10-19 Akim Demaille <akim@epita.fr>
  15631. * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: In a
  15632. comment, explain how to install automatic mode selection.
  15633. From Russ Allbery.
  15634. 2001-10-19 Ezra Peisach <epeisach@zif.mit.edu>
  15635. * bin/autoreconf.in (autoreconf): Display the path to the
  15636. configure.ac being studied.
  15637. 2001-10-18 Paul Eggert <eggert@twinsun.com>
  15638. * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast sizeof to unsigned
  15639. long, to work around a bug in the HP C compiler version HP92453-01
  15640. B.11.11.23709.GP.
  15641. * lib/m4sugar/m4sh.m4 (AS_DIRNAME): Use 'dirname' if that works.
  15642. (AS_BASENAME_EXPR): New macro.
  15643. (AS_BASENAME_SED): Do not assume GNU sed semantics.
  15644. (AS_BASENAME): Use 'basename' if that works; then try 'expr';
  15645. and fall back on 'sed' only if the other two fail. This makes
  15646. AS_BASENAME act more like AS_DIRNAME.
  15647. (as_me): Shell-quote the argument of AS_BASENAME, in case $0
  15648. contains white space.
  15649. * lib/autoconf/general.m4 (_AC_INIT_SRCDIR):
  15650. Use AS_DIRNAME, since I think it's now DOS-friendly.
  15651. * tests/m4sh.at (DIRNAME_TEST): New arg $3.
  15652. Allow "dirname //FOO" to return either / or //, as POSIX allows
  15653. either behavior.
  15654. 2001-10-10 Akim Demaille <akim@epita.fr>
  15655. * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Recognize
  15656. `a_out.exe' for OpenVMS 7.1, DEC C 5.5 compiler, via GNV.
  15657. From Eric Sharkey.
  15658. 2001-10-10 Akim Demaille <akim@epita.fr>
  15659. * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): m4_defun, not
  15660. m4_define, since...
  15661. (_AS_ECHO_N): AS_REQUIREs it.
  15662. 2001-10-10 Akim Demaille <akim@epita.fr>
  15663. * lib/autoconf/general.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS)
  15664. (AC_INCLUDES_DEFAULT): Move to...
  15665. * lib/autoconf/headers.m4: here.
  15666. * lib/autoconf/types.m4: Comment changes.
  15667. * doc/autoconf.texi: Specify where the default includes are used
  15668. in the macro prototypes.
  15669. 2001-10-09 Akim Demaille <akim@epita.fr>
  15670. * lib/autoconf/autoconf.m4 (m4_patsubst, m4_regexp): New
  15671. transition code.
  15672. 2001-10-08 Akim Demaille <akim@epita.fr>
  15673. * bin/autoreconf.in (&autoreconf): Remove debugging code.
  15674. (&parse_args): Pass verbosity/debugging options to subtools when
  15675. --debug, not when --verbose.
  15676. * lib/autom4te.in (Autoreconf-preselections): New.
  15677. (Autoconf): Use it.
  15678. 2001-10-08 Akim Demaille <akim@epita.fr>
  15679. * bin/autoreconf.in (autoreconf): Run libtoolize when appropriate.
  15680. 2001-10-08 Akim Demaille <akim@epita.fr>
  15681. * doc/autoconf.texi (autoreconf Invocation): Adjust.
  15682. * bin/autoreconf.in (autoreconf): Run gettextize when appropriate.
  15683. 2001-10-08 Akim Demaille <akim@epita.fr>
  15684. * tests/tools.at (AT_CHECK_PERL_SYNTAX): Check autoreconf.
  15685. (Syntax of the shell scripts): Don't.
  15686. * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in: Don't
  15687. bother with $force since...
  15688. * lib/Autom4te/General.pm: does.
  15689. 2001-10-08 Akim Demaille <akim@epita.fr>
  15690. * bin/autoreconf.in: Rewrite in Perl.
  15691. * configure.ac: Adjust.
  15692. * lib/Autom4te/General.pm (&up_to_date_p): New.
  15693. * bin/autom4te.in (&up_to_date_p): Use it.
  15694. Rename as...
  15695. (&up_to_date): this.
  15696. 2001-10-08 Akim Demaille <akim@epita.fr>
  15697. * lib/m4sugar/m4sugar.m4 (m4_case, m4_bmatch, m4_normalize)
  15698. (m4_list_cmp): Use $0 to reinvoke yourself.
  15699. (m4_patsubsts): New.
  15700. (m4_strip, m4_version_unletter): Use it.
  15701. * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): Likewise.
  15702. 2001-10-08 Akim Demaille <akim@epita.fr>
  15703. * lib/autoconf/autoconf.m4, lib/autoconf/general.m4,
  15704. * lib/autoconf/libs.m4, lib/autoconf/status.m4,
  15705. * lib/autoconf/types.m4, lib/autotest/general.m4,
  15706. * lib/m4sugar/m4sh.m4, lib/m4sugar/m4sugar.m4, tests/atspecific.m4,
  15707. * tests/torture.at: Rename m4_regexp, m4_patsubst, and m4_match to
  15708. m4_bregexp, m4_bpatsubst, and m4_bmatch.
  15709. * doc/autoconf.texi (Redefined M4 Macros): Adjust.
  15710. 2001-10-08 Akim Demaille <akim@epita.fr>
  15711. * lib/m4sugar/m4sh.m4: Use AS_REQUIRE.
  15712. 2001-10-08 Akim Demaille <akim@epita.fr>
  15713. * lib/m4sugar/m4sh.m4 (AS_DIRNAME_EXPR): Use AS_REQUIRE.
  15714. * tests/tools.at (AT_DATA_FORBIDDEN): Rename/move/duplicate to...
  15715. * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): here.
  15716. * tests/tools.at, tests/m4sh.at: Use it.
  15717. * tests/m4sh.at: Don't rely on Autoconf macros.
  15718. (DIRNAME_TEST): Also exercise the expr variant.
  15719. * tests/m4sugar.at, tests/atspecific.m4 (AT_CHECK_M4SUGAR): The
  15720. preferred M4sugar extension is now `.4s'.
  15721. * tests/README: Remove.
  15722. 2001-10-08 Akim Demaille <akim@epita.fr>
  15723. * lib/m4sugar/m4sugar.m4 (m4_provide_ifelse): Rename as...
  15724. (m4_provide_if): this.
  15725. * lib/m4sugar/m4sh.m4 (AS_REQUIRE): New.
  15726. * lib/autoconf/general.m4 (AS_DEFUN, AC_DEFUN_ONCE, AC_BEFORE)
  15727. (AC_REQUIRE, AC_PROVIDE, AC_PROVIDE_IFELSE): Be exact copy of the
  15728. M4sugar peer, i.e., drop the `AC_PROVIDE_$1' broken marker.
  15729. 2001-10-08 Akim Demaille <akim@epita.fr>
  15730. Use `add-log-current-defun-function' for ChangeLog creation.
  15731. Suggested by Tom Tromey.
  15732. * lib/emacs/autotest-mode.el (autotest-mode-map): New.
  15733. (autotest-mode): Adjust.
  15734. * lib/emacs/autoconf-mode.el (autoconf-mode-map): Modernize, map
  15735. 'comment-region onto `C-c ;'.
  15736. Comments are `#', not `dnl'.
  15737. (autoconf-current-defun): New.
  15738. (autoconf-font-lock-keywords): Recognize `m4_defun'.
  15739. 2001-10-08 Akim Demaille <akim@epita.fr>
  15740. * lib/autoconf/general.m4 (_m4_divert(BODY)): Move to...
  15741. * lib/m4sugar/m4sh.m4: here.
  15742. (AS_INIT): Push the BODY diversion, set the #! /bin/sh line.
  15743. * lib/autoconf/general.m4 (AC_PLAIN_SCRIPT) : Remove.
  15744. (AT_INIT): Replace AC_PLAIN_SCRIPT with AS_INIT invocation,
  15745. include handle the m4_pattern_*, no longer push the
  15746. BODY diversion nor set the /bin/sh line, AS_INIT does it.
  15747. * lib/autotest/general.m4 (AT_INIT): Likewise.
  15748. * tests/base.at: Adjust the tests to use AS_INIT.
  15749. * tests/tools.at (AT_DATA_FORBIDDEN): New.
  15750. (autoconf: forbidden tokens): Adjust to work on M4sh instead of
  15751. Autoconf.
  15752. 2001-10-07 Paul Eggert <eggert@twinsun.com>
  15753. * doc/autoconf.texi (config.status Invocation):
  15754. CONFIG_SHELL defaults to a shell that supports LINENO if available.
  15755. * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): If the current
  15756. shell does not support LINENO, and if CONFIG_SHELL is unset or
  15757. empty, and if we can find a shell that does support LINENO,
  15758. then set CONFIG_SHELL to that shell and then re-execute
  15759. ourselves with CONFIG_SHELL.
  15760. 2001-10-05 Paul Eggert <eggert@twinsun.com>
  15761. * tests/Makefile.am (clean-local): Don't invoke $(TESTSUITE) if it
  15762. doesn't exist. Remove *.tmp, as a .tmp file is created during the
  15763. build of $(TESTSUITE).
  15764. 2001-10-05 Akim Demaille <akim@epita.fr>
  15765. * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Look in the path
  15766. iff we are a bareword.
  15767. Reported by Raja R Harinath.
  15768. 2001-10-05 Akim Demaille <akim@epita.fr>
  15769. * tests/m4sh.at (LINENO): New.
  15770. * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Be sure to set
  15771. PATH_SEPARATOR before using it.
  15772. Fix the absolute path case/esac pattern.
  15773. Provide $0 as fallback for as_myself.
  15774. Reported by Raja R Harinath.
  15775. 2001-10-05 Akim Demaille <akim@epita.fr>
  15776. * Makefile.am, config/Makefile.am, lib/emacs/Makefile.am,
  15777. * m4/Makefile.am, man/Makefile.am: Add/adjust MAINTAINERCLEANFILES.
  15778. 2001-10-05 Akim Demaille <akim@epita.fr>
  15779. * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): New, extracted from...
  15780. (AS_SHELL_SANITIZE): here. Use it.
  15781. (_AS_LINENO_PREPARE): Preserve the exit status of $0.lineno.
  15782. From Paul Eggert.
  15783. 2001-10-04 Akim Demaille <akim@epita.fr>
  15784. * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use a portable
  15785. combination of Awk and sed to replace $LINENO.
  15786. 2001-10-02 Paul Eggert <eggert@twinsun.com>
  15787. * doc/autoconf.texi (Limitations of Builtins): You can't use
  15788. "source"; it's not portable. Remove confusing and
  15789. somewhat-incorrect example involving "." and "/".
  15790. * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): "source" -> ".", for
  15791. compatibility with POSIX shells.
  15792. 2001-10-02 Akim Demaille <akim@epita.fr>
  15793. * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Just source 40.lineno
  15794. instead of exec'ing to preserve $0 and $@.
  15795. 2001-10-01 Akim Demaille <akim@epita.fr>
  15796. * tests/testsuite (AT_INIT) <at_pass_list>: New.
  15797. Don't run twice the same test.
  15798. 2001-10-01 Akim Demaille <akim@epita.fr>
  15799. * lib/autotest/general.m4 (AT_INIT) <--help>: Catch up with reality.
  15800. No longer output the list of tests.
  15801. <--list>: New option.
  15802. <--full-help>: Remove.
  15803. Complete the short/long options duality.
  15804. Various small adjustments.
  15805. 2001-10-01 Akim Demaille <akim@epita.fr>
  15806. * doc/autoconf.texi: Use @kbd for user input.
  15807. Always use `$' as shell prompt.
  15808. 2001-09-30 Paul Eggert <eggert@twinsun.com>
  15809. * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS):
  15810. Don't use nested parenthesization. This patch was originally
  15811. suggested to bug-autoconf by Philippe De Muyter on 2000-05-28,
  15812. but somehow it didn't get incorporated then.
  15813. * doc/autoconf.texi (Limitations of Usual Tools):
  15814. Clarify remark about sed and nested parenthesization.
  15815. * lib/autoconf/types.m4 (AC_CHECK_SIZEOF):
  15816. Report an error if the size cannot be determined even though
  15817. the type exists.
  15818. * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
  15819. Check for `expr' arithmetic overflow, and for compilation failure,
  15820. and invoke a new argument $4 if either is discovered.
  15821. This makes _AC_COMPUTE_INT_COMPILE more like _AC_COMPUTE_INT_RUN.
  15822. (_AC_COMPUTE_INT): Pass IF-FAILS arg to _AC_COMPUTE_INT_COMPILE.
  15823. 2001-09-28 Akim Demaille <akim@epita.fr>
  15824. * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: New.
  15825. * m4/lispdir.m4: New.
  15826. * aclocal.m4, configure.ac: Adjust.
  15827. 2001-09-28 Akim Demaille <akim@epita.fr>
  15828. * lib/autotest/general.m4 (AT_VICTIMS): Rename as...
  15829. (AT_TESTED): this.
  15830. (AT_INIT): More the wrapped section to where it will be expanded.
  15831. Output `AT_tested' only when existing.
  15832. Catch unexpanded PACKAGE_STRING and PACKAGE_BUGREPORT.
  15833. 2001-09-27 Akim Demaille <akim@epita.fr>
  15834. Fix the passing of $? to ACTION-IF-FAILED in AC_TRY_RUN, that
  15835. generates too many bug reports.
  15836. * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Pass the right exit
  15837. status when executing the ACTION-IF-FALSE.
  15838. * tests/base.at (AC_TRY_*): Rename as...
  15839. (AC_TRY_COMMAND): this.
  15840. (AC_RUN_IFELSE): New.
  15841. * tests/compile.at (Extensions, C keywords)
  15842. (AC_PROG_CPP requires AC_PROG_CC, GNU Fortran 77)
  15843. (Broken/missing compilers, AC_PROG_CPP with warnings)
  15844. (AC_PROG_CPP without warnings, AC_PROG_CPP via CC): Move to...
  15845. * tests/c.at (Extensions, C keywords)
  15846. (Broken/missing compilers, AC_PROG_CPP with warnings)
  15847. (AC_PROG_CPP without warnings, AC_PROG_CPP via CC)
  15848. (AC_PROG_CPP requires AC_PROG_CC): here and...
  15849. * tests/fortran.at (GNU Fortran 77): there.
  15850. * doc/autoconf.texi (autoconf Invocation): Fix the example:
  15851. AC_TRY_RUN is about compilation, not shell commands.
  15852. (Test Programs): AC_TRY_RUN works as used to be advertised.
  15853. 2001-09-27 Akim Demaille <akim@epita.fr>
  15854. * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix bugs spotted by
  15855. Raja R Harinath:
  15856. Be sure to detect when $LINENO always returns the same value.
  15857. Look for the original script, basename($0) is certainly not
  15858. enough.
  15859. Pass the CLI arguments to `$as_me.lineno'.
  15860. 2001-09-25 Akim Demaille <akim@epita.fr>
  15861. * lib/autotest/general.m4 (AT_INIT): Dump the whole config.log.
  15862. Be sure the close and reopen the LOG fd before and after using tee
  15863. to extend the log.
  15864. <at_tests_pattern>: Adjust to the new format of at_help_all.
  15865. 2001-09-23 Akim Demaille <akim@epita.fr>
  15866. * bin/autom4te.in (parse_args): There can be several invocations
  15867. of --language now.
  15868. 2001-09-23 Akim Demaille <akim@epita.fr>
  15869. * doc/autoconf.texi (Top): Wrap in @ifnottex.
  15870. 2001-09-23 Akim Demaille <akim@epita.fr>
  15871. * lib/autoconf/status.m4 (_AC_SRCPATHS): Compute and provide
  15872. ac_buildpath, ac_top_buildpath, ac_srcpath, and ac_top_srcpath.
  15873. (_AC_OUTPUT_FILES): Also substitute srcpath, top_srcpath,
  15874. builddir, buildpath, top_builddir, and top_buildpath.
  15875. (_AC_OUTPUT_SUBDIRS): Compute the dir variables *before* changing
  15876. the current directory.
  15877. * lib/autoconf/general.m4 (_AC_INIT_HELP): Compute the dir
  15878. variables *before* changing the current directory.
  15879. Skip nonexistent dirs.
  15880. * doc/autoconf.texi (Preset Output Variables): Document these
  15881. variables.
  15882. * lib/autotest/general.m4: Do not reset AT_victims.
  15883. Don't compute at_srcdir nor at_top_srcdir.
  15884. * tests/tools.at: Hence use top_srcdir.
  15885. * tests/Makefile.am, tests/autoconf, tests/autoheader,
  15886. * tests/autom4te, tests/autoreconf, tests/autoupdate, tests/ifnames:
  15887. Remove.
  15888. * tests/autoreconf.in, tests/wrappl.in, tests/autom4te.in,
  15889. * tests/wrapsh.in, tests/autoupdate.in: New.
  15890. * tests/Makefile.am (DISTCLEANFILES, EXTRA_DIST): Adjust.
  15891. * configure.ac: Build the position independent wrappers.
  15892. * man/Makefile.am: Now that test wrappers are position
  15893. independent, use them and drop dark envvar magic.
  15894. 2001-09-23 Akim Demaille <akim@epita.fr>
  15895. * doc/autoconf.texi (Common Shell Constructs): Rename as...
  15896. (Programming in M4sh): this.
  15897. Promote to @section.
  15898. 2001-09-23 Akim Demaille <akim@epita.fr>
  15899. * lib/autotest/general.m4 (AT_INIT): Dump config.log last.
  15900. Pass $at_debug_args to the rerun test suite.
  15901. * lib/m4sugar/Makefile.am (DISTCLEANFILES): New.
  15902. * bin/Makefile.am (ETAGS_SH): Don't use characters ranges.
  15903. From Paul Eggert.
  15904. 2001-09-23 Akim Demaille <akim@epita.fr>
  15905. * bin/autom4te.in (@my_warning): Remove, handled by `autom4te.cfg'.
  15906. 2001-09-23 Akim Demaille <akim@epita.fr>
  15907. * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix shell
  15908. over-escaping.
  15909. 2001-09-23 Akim Demaille <akim@epita.fr>
  15910. * lib/Autom4te/General.pm (&debug): New.
  15911. * bin/autom4te.in ($language): Move to...
  15912. (parse_args): here.
  15913. Handle --language in languages.
  15914. * lib/autom4te.in (Automake-selections, Autoheader-selections)
  15915. (Autoscan-selections): New.
  15916. (Autoconf): Adjust.
  15917. 2001-09-23 Tim Van Holder <tim.van.holder@pandora.be>
  15918. * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/init.m4,
  15919. * m4/install-sh.m4, m4/missing.m4, m4/sanity.m4, m4/strip.m4: Updated
  15920. to match current versions from CVS Automake.
  15921. 2001-09-23 Alexandre Duret-Lutz <duret_g@epita.fr>
  15922. * doc/autoconf.texi (Special Shell Variables): Add pdksh output
  15923. for $LINENO.
  15924. 2001-09-22 Akim Demaille <akim@epita.fr>
  15925. * lib/autoconf/autotest.m4: Create `package.m4'.
  15926. * tests/Makefile.am (package.m4): Remove.
  15927. 2001-09-22 Akim Demaille <akim@epita.fr>
  15928. Rely on `$LINENO' when possible instead of `__oline__'.
  15929. * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Provide some form of
  15930. `$LINENO' support replacement when not supported.
  15931. (_AS_CR_PREPARE, _AS_TR_CPP_PREPARE, _AS_TR_SH_PREPARE): Invoke
  15932. them explicitly to be sure they are not output before this section
  15933. (via m4_require). Cosmetic only.
  15934. * lib/autoconf/c.m4, lib/autoconf/general.m4,
  15935. * lib/autoconf/programs.m4: Replace all the occurrences of
  15936. `__oline__' with `$LINENO'.
  15937. * doc/autoconf.texi (Special Shell Variables): Document LINENO.
  15938. 2001-09-21 Tim Van Holder <tim.van.holder@pandora.be>
  15939. * lib/autoconf/functions.m4 (_AC_FUNC_FORK): Replaceded an 8-bit
  15940. character (u: -> ue) in a code comment.
  15941. (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Only run 'ln -s' if we know
  15942. it works.
  15943. 2001-09-21 Akim Demaille <akim@epita.fr>
  15944. * Makefile.maint (AUTOM4TE): Neutralize autom4te.
  15945. Suggested by Jim Meyering.
  15946. 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
  15947. * lib/autoconf/programs.m4: Use extensions listed in
  15948. $ac_executable_extensions when looking for programs.
  15949. 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
  15950. * lib/autoconf/general.m4: Fix a small Englisho.
  15951. * lib/autoconf/status.m4: Fix a small typo. Handle DOS paths when
  15952. setting up ac_dir_suffix and ac_top_builddir.
  15953. * lib/m4sugar/m4sh.m4: Default CDPATH to $PATH_SEPARATOR, not ':'.
  15954. 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
  15955. * doc/autoconf.texi (File System Conventions): Clarify the use of
  15956. PATH_SEPARATOR.
  15957. (Special Shell Variables[PATH_SEPARATOR]): Ditto.
  15958. (Special Shell Variables[CDPATH]): Mention that $PATH_SEPRATOR should
  15959. be used instead of ':'.
  15960. * lib/autotest/general.m4: Replace occurrences of ':' in
  15961. AUTOTEST_PATH with $PATH_SEPARATOR at test suite startup.
  15962. 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
  15963. * tests/atgeneral.m4: Add basic support for test ranges (e.g. 7-34) as
  15964. arguments. Fixed a typo.
  15965. 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
  15966. * man/Makefile.am (.x.1): Use @PATH_SEPARATOR@, not ':' to set up
  15967. $PATH. Also set AUTOM4TE_CFG, so we can process autom4te properly.
  15968. 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
  15969. * bin/autoscan.in: Add 'exec-perl-if-not-run-by-perl'.
  15970. * bin/autoupdate.in: Ditto.
  15971. * bin/autoheader.in: Reworded a few comments.
  15972. * bin/autoconf.in: Reworded help text for a few options.
  15973. * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
  15974. * bin/autoscan.in, bin/autoupdate.in: Ditto.
  15975. 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
  15976. * lib/Autom4te/XFile.pm (open): Simplified the error message (we
  15977. already have $file). Set output files to binary mode (helps avoid
  15978. CR issues on DOSish systems).
  15979. 2001-09-19 Akim Demaille <akim@epita.fr>
  15980. * lib/autotest/general.m4: Englishoes.
  15981. From Tim Van Holder and Alexey Mahotkin.
  15982. 2001-09-18 Paul Eggert <eggert@twinsun.com>
  15983. * doc/autoconf.texi (Common Shell Constructs): New node,
  15984. documenting AS_DIRNAME.
  15985. (Limitations of Usual Tools): Refer to it when discussing dirname.
  15986. Also, update discussion of POSIX standard to reflect latest draft.
  15987. * lib/autoconf/c.m4:
  15988. (AC_LANG_INT_SAVE(C)): Also support negative values, down to LONG_MIN.
  15989. * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
  15990. Do not pass a first argument with leading '-'
  15991. to expr, by parenthesizing initial integers that might be negative.
  15992. * doc/autoconf.texi (Particular Functions): AC_FUNC_GETPGRP
  15993. now merely checks whether it is an error to pass an argument
  15994. to getpgrp.
  15995. * lib/autoconf/functions.m4 (_AC_FUNC_GETPGRP_TEST): Remove.
  15996. (AC_FUNC_GETPGRP): Don't bother with a runtime test. Just check
  15997. whether it is a (compile-time) error to pass an argument to
  15998. getpgrp. This simpler test supports the revised documentation,
  15999. and is all that AC_FUNC_GETPGRP's users really need.
  16000. 2001-09-18 Akim Demaille <akim@epita.fr>
  16001. * doc/autoconf.texi (Limitations of Make) <$<>: New.
  16002. 2001-09-18 Akim Demaille <akim@epita.fr>
  16003. * doc/autoconf.texi (Limitations of Usual Tools) <find>: More about
  16004. `{}'.
  16005. * lib/autotest/general.m4 (AT_INIT): Adjust.
  16006. 2001-09-18 Paul Wagland <paul@wagland.net>
  16007. * tests/m4sh.at: Ensure that AS_DIRNAME handles '/', '//' and '///'
  16008. correctly.
  16009. Add test for AS_BASENAME.
  16010. * lib/m4sugar/m4sh.m4: Fix AS_BASENAME so that it passes the previous
  16011. added test. It now correctly handles /1/2/3/, returning '3' not ''.
  16012. Added AS_BASENAME_SED to make the interface the same as AS_DIRNAME.
  16013. * tests/base.at: Fixed the expected responses. The old ones were
  16014. one line out...
  16015. * lib/autoconf/general.m4: Fixed AC_PREFIX_PROGRAM, it now behaves as
  16016. the documentation claims it should (and how it behaved in 2.13).
  16017. 2001-09-18 Akim Demaille <akim@epita.fr>
  16018. * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): No INIT-CMDS in
  16019. the AC_CONFIG_COMMANDS invocation.
  16020. This also solves the name clash problems.
  16021. Don't set the package's ID.
  16022. * lib/m4sugar/Makefile.am (version.m4): Revamp.
  16023. No longer to be shipped.
  16024. (version.in): Remove.
  16025. * lib/m4sugar/m4sugar.m4, lib/autoconf/general.m4,
  16026. * lib/autoconf/status.m4: Adjust.
  16027. Use `m4_PACKAGE_STRING'.
  16028. * lib/autotest/general.m4 (AT_INIT): N-th signature change: now
  16029. the only optional argument is the name of the test suite.
  16030. Expect `package.m4' to define the package signature.
  16031. * lib/autom4te.in (Autotest): Add `package.m4?'.
  16032. * tests/Makefile.am (package.m4): New.
  16033. * tests/suite.at: ifnames is a victim.
  16034. 2001-09-18 Akim Demaille <akim@epita.fr>
  16035. * lib/autom4te.in (Autoconf): Preselect AM_CONDITIONAL,
  16036. AC_LIBSOURCE, AC_CONFIG_FILES.
  16037. * lib/autotest/general.m4 (AT_INIT): Don't abort when a tested
  16038. program version string doesn't match the package's.
  16039. * lib/autoconf/general.m4 (AC_CACHE_VAL): Reestablish the space
  16040. after `(cached)'.
  16041. 2001-09-17 Paul Eggert <eggert@twinsun.com>
  16042. * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
  16043. Allow expression to return any value that can fit into unsigned long
  16044. (not int, as before). Check for output errors.
  16045. 2001-09-17 Bruno Haible <haible@ilog.fr>
  16046. * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
  16047. Always include <stdio.h> and <stdlib.h>. Evaluate
  16048. the expression in an extra function before these includes. Call
  16049. fprintf "%d" only after ensuring the argument is of type 'int'.
  16050. Reported by Wayne Chapeskie <waynec@spinnaker.com>.
  16051. 2001-09-17 Paul Eggert <eggert@twinsun.com>
  16052. Fix bug reported by Paul Townsend on AIX 4.3.3.0 with CFLAGS=-O4
  16053. or CFLAGS=-O5. In that case, the linker has a relaxed view of
  16054. fatal errors, and AC_CHECK_LIB causes it to include libraries even
  16055. when they don't exist.
  16056. * lib/autoconf/headers.m4 (AC_HEADER_DIRENT): Use AC_SEARCH_LIBS,
  16057. not AC_CHECK_LIB, so that we don't use -ldir or -lx if we don't
  16058. need it.
  16059. * lib/autoconf/specific.m4 (AC_ISC_POSIX): Replace the old, crufty
  16060. version with the version used by fileutils 4.1, except use
  16061. AC_SEARCH_LIBS, not AC_CHECK_LIB, so that we don't use -lcposix if
  16062. we don't need it.
  16063. * doc/autoconf.texi (AC_ISC_POSIX): Describe new behavior.
  16064. 2001-09-13 Akim Demaille <akim@epita.fr>
  16065. * tests/base.at, tests/m4sh.at: Be sure to issue the bangshe line
  16066. _first_.
  16067. Reported by Gerrit P. Haase.
  16068. 2001-09-13 Akim Demaille <akim@epita.fr>
  16069. * lib/autotest/general.m4 (AT_INIT): Reset `AT_victims' so that
  16070. m4_defn'ing is valid.
  16071. 2001-09-13 Akim Demaille <akim@epita.fr>
  16072. * lib/m4sugar/m4sugar.m4 (m4_append_uniq): New.
  16073. * lib/autotest/general.m4 (AT_VICTIMS, AT_KEYWORDS, _AT_CLEANUP_FILE):
  16074. Use it.
  16075. 2001-09-13 Akim Demaille <akim@epita.fr>
  16076. * lib/m4sugar/m4sugar.m4 (_AS_QUOTE_IFELSE, _AS_BOX_INDIR): Use
  16077. m4_match.
  16078. (m4_re_escape): New.
  16079. * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER): Use it.
  16080. * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use m4_match.
  16081. * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER, AC_CONFIG_LINKS):
  16082. Likewise.
  16083. * lib/autoconf/types.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P)
  16084. (_AC_CHECK_TYPE_MAYBE_TYPE_P, AC_CHECK_MEMBER): Likewise.
  16085. * lib/autotest/general.m4 (AT_INIT): Rename AT_TESTS_ALL as
  16086. AT_tests_all for consistency.
  16087. Set at_victims.
  16088. (AT_VICTIMS): Similar to AT_KEYWORDS.
  16089. (_AT_CLEANUP_FILE_IF): Use m4_match and m4_re_escape.
  16090. 2001-09-13 Akim Demaille <akim@epita.fr>
  16091. * lib/autotest/general.m4 (AT_INIT): Fix stupid bugs.
  16092. 2001-09-13 Akim Demaille <akim@epita.fr>
  16093. * lib/autotest/general.m4 (AT_INIT): Create and remove
  16094. `$as_me.[0-9]+' instead of `debug-[0-9]+.sh', so that multiple
  16095. test suites can cohabit.
  16096. 2001-09-13 Akim Demaille <akim@epita.fr>
  16097. * tests/mktests.sh: Don't output banners for empty test files.
  16098. 2001-09-13 Akim Demaille <akim@epita.fr>
  16099. Test suites can be run independently of configure.
  16100. * lib/m4sugar/m4sh.m4 (_AS_ECHO, _AS_ECHO_N_PREPARE): New.
  16101. * lib/autoconf/programs.m4 (_AC_PROG_ECHO): Remove.
  16102. * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust: AC_SUBST
  16103. ECHO_N etc.
  16104. * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't ask for at_n
  16105. and at_c.
  16106. * lib/autotest/general.m4: Use ECHO_*.
  16107. 2001-09-13 Akim Demaille <akim@epita.fr>
  16108. * bin/ifnames.in: Rewrite in Perl.
  16109. * configure.ac: Don't look for AWK.
  16110. * tests/tools.at (AWK portability): Remove.
  16111. (Syntax of the shell scripts): Don't check ifnames.
  16112. (AT_CHECK_PERL_SYNTAX): New.
  16113. (Syntax of the Perl scripts): Check ifnames.
  16114. * tests/ifnames: New.
  16115. 2001-09-13 Akim Demaille <akim@epita.fr>
  16116. * lib/autotest/general.m4 (AT_INIT): Let --keywords also match
  16117. test group titles.
  16118. * tests/atspecific.m4 (AT_CHECK_AU_MACRO): AT_KEYWORDS(autoupdate).
  16119. Remove all the other keywords.
  16120. 2001-09-10 Akim Demaille <akim@epita.fr>
  16121. * lib/autotest/general.m4 (AT_INIT): Remove the diversion HELP and
  16122. SETUP: no longer used.
  16123. Support -k, --keywords.
  16124. <at_help>: Be `no', `short', or `long'.
  16125. <at_help_all>: New variable.
  16126. (AT_KEYWORDS): New.
  16127. (AT_CLEANUP_FILE_IFELSE, AT_CLEANUP_FILE): Rename as...
  16128. (_AT_CLEANUP_FILE_IF, _AT_CLEANUP_FILE): these.
  16129. (_AT_CLEANUP_FILE_IF): Simplify the regexp.
  16130. (AT_SETUP): Reset AT_line, AT_keywords, AT_description.
  16131. No longer fill the HELP diversion.
  16132. (AT_CLEANUP): Use them.
  16133. * lib/m4sugar/m4sugar.m4 (m4_append): Support a separator.
  16134. (m4_list_append): Remove.
  16135. Spread a few keywords in the Autoconf test suite.
  16136. 2001-09-10 Akim Demaille <akim@epita.fr>
  16137. * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't pass
  16138. PATH_SEPARATOR, let M4sh compute it.
  16139. * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): New.
  16140. * lib/autoconf/programs.m4 (AC_SHELL_PATH_WALK): Use PATH_SEPARATOR.
  16141. Move to...
  16142. * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Here.
  16143. Simplify when the path is not a literal.
  16144. (AS_UNAME): Use it to report PATH.
  16145. * lib/autoconf/general.m4 (_AC_INIT_PREPARE_FS_SEPARATORS): Remove.
  16146. (_AC_INIT_DEFAULTS): AC_SUBST PATH_SEPARATOR.
  16147. * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Use _AS_PATH_WALK.
  16148. * lib/autotest/general.m4 (AT_INIT): Use _AS_PATH_WALK to
  16149. normalize the path, and to look for victims.
  16150. * tests/semantics.at (AC_PATH_PROG & AC_PATH_PROGS)
  16151. (AC_CHECK_PROG & AC_CHECK_PROGS): Use PATH_SEPARATOR.
  16152. 2001-09-07 Akim Demaille <akim@epita.fr>
  16153. * bin/autom4te.in (&handle_m4): `< /dev/null' so that GNU M4 1.5
  16154. doesn't neutralize SIGINT, making autoconf etc. non interruptible.
  16155. * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Move the package
  16156. related variables into `at_package_*'.
  16157. * lib/autotest/general.m4 (AT_VICTIMS): New.
  16158. (AT_INIT): Adjust for stand-alone/embedded test suites.
  16159. (AS_MESSAGE_LOG_FD): Define and use it.
  16160. * tests/suite.at (AT_VICTIMS): Use it.
  16161. * tests/tools.at (autoupdating AC_PREREQ): Don't depend upon
  16162. at_version.
  16163. 2001-09-07 Akim Demaille <akim@epita.fr>
  16164. Move toward possibly stand-alone test suites.
  16165. * lib/autotest/general.m4: Stop displaying srcdir everywhere as,
  16166. in addition, it introduces useless differences in logs.
  16167. (AT_INIT): Let atconfig and atlocal be both optional.
  16168. Adjust PATH computation.
  16169. * lib/m4sugar/m4sh.m4 (AS_UNAME): More readable display of PATH.
  16170. 2001-09-07 Akim Demaille <akim@epita.fr>
  16171. * lib/autoconf/Makefile.am (autoconf.m4f): Depends upon
  16172. m4sugar/version.m4.
  16173. 2001-09-05 Akim Demaille <akim@epita.fr>
  16174. * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Use `_array_'
  16175. to avoid GCC warnings.
  16176. From Uwe Seimet.
  16177. 2001-09-05 Akim Demaille <akim@epita.fr>
  16178. * bin/autom4te.in: --language is -l, not -s.
  16179. 2001-09-05 Akim Demaille <akim@epita.fr>
  16180. Be ready to handle filenames as stupid as `dnl.at', for if even
  16181. the maintainer is dumb enough to do that...
  16182. * lib/autotest/general.m4 (AT_SETUP, AT_LINE): Demonstrates your
  16183. excellence in M4 quotation: consider `__file__' is active.
  16184. And BTW, when invoking m4, pass the --include in the right order:
  16185. the wrong one.
  16186. * bin/autom4te.in, bin/autoupdate.in: Use reverse when kingtal to
  16187. 4m.
  16188. 2001-09-05 Akim Demaille <akim@epita.fr>
  16189. * lib/Autom4te/XFile.pm: New lib file.
  16190. * bin/autoupdate.in, bin/autoscan.pl, bin/autom4te.in,
  16191. * bin/autoheader.in: Use it.
  16192. 2001-09-05 Akim Demaille <akim@epita.fr>
  16193. * bin/autoupdate.in (&handle_m4_macros) <unm4.m4>: Undefine iff
  16194. defined.
  16195. 2001-09-05 Akim Demaille <akim@epita.fr>
  16196. * lib/Autom4te/General.pm (&getopt): Work around the `-' Getopt bug.
  16197. * bin/autoheader.in, bin/autoupdate.in (&parse_args): Adjust.
  16198. * bin/autoscan.in: Use `getopt' and `find_files' etc.
  16199. Add -I, --include support.
  16200. * doc/autoconf.texi (autoscan Invocation): Adjust.
  16201. 2001-09-05 Akim Demaille <akim@epita.fr>
  16202. CVS GNU M4 doesn't like `undefine(undefined)'.
  16203. * bin/autoupdate.in (&handle_m4_macros, &handle_autoconf_macros):
  16204. New, extracted from main.
  16205. Use IO::File wherever possible.
  16206. (input.m4): Be constant, use -I instead of hard coding $tmp.
  16207. Therefore be a quoted heredoc.
  16208. Don't invoke `_au_disable', since ac was not loaded, but just
  16209. `unm4.m4'.
  16210. 2001-08-31 Akim Demaille <akim@epita.fr>
  16211. Version 2.52d.
  16212. 2001-08-31 Akim Demaille <akim@epita.fr>
  16213. * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix the
  16214. previous patch.
  16215. * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Can create `config.hin~'.
  16216. 2001-08-31 Akim Demaille <akim@epita.fr>
  16217. * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): DU 5.0 has
  16218. serious problems handling heredocs in heredocs.
  16219. Reported by Nicolas Joly.
  16220. 2001-08-31 Akim Demaille <akim@epita.fr>
  16221. * doc/autoconf.texi: Don't promote non `m4_*' M4 macros.
  16222. (Making testsuite Scripts): Update.
  16223. 2001-08-31 Akim Demaille <akim@epita.fr>
  16224. * lib/Makefile.am (CLEANFILES): Add autom4te.cfg.
  16225. 2001-08-31 Akim Demaille <akim@epita.fr>
  16226. * doc/autoconf.texi (Quadrigraphs): Document `@&t@'.
  16227. (testsuite Scripts): There is no such thing as `atconfig.in'.
  16228. And actually one diagram is missing: test suite runtime.
  16229. 2001-08-31 Akim Demaille <akim@epita.fr>
  16230. * lib/Autom4te/General.pm (&find_file): Browse the includes in the
  16231. inverse order.
  16232. 2001-08-31 Akim Demaille <akim@epita.fr>
  16233. * bin/autoupdate.in (@include): `installcheck' revealed the path
  16234. to m4sugar was lacking!
  16235. 2001-08-31 Akim Demaille <akim@epita.fr>
  16236. * man/Makefile.am (.x.1): We really have to pass
  16237. autom4te_perllibdir.
  16238. 2001-08-31 Akim Demaille <akim@epita.fr>
  16239. * lib/autotest/general.m4 (AT_INIT): Don't pass all the args to
  16240. debug scripts, in particular passing explicitly listed tests to
  16241. run is stupid.
  16242. 2001-08-31 Akim Demaille <akim@epita.fr>
  16243. * bin/autom4te.in (&parse_args): Strip `.' from `@include'.
  16244. * bin/autoupdate.in: Use --include, -I, and --force, -f, too.
  16245. Use directly autom4te, not autoconf.
  16246. * tests/autoupdate: $top_srcdir/lib is needed too for melt files.
  16247. 2001-08-31 Akim Demaille <akim@epita.fr>
  16248. * tests/semantics.at (AC_C_BIGENDIAN): Missing eol.
  16249. * bin/autoheader.in (%symbol): Strip arguments of macros.
  16250. 2001-08-31 Akim Demaille <akim@epita.fr>
  16251. * doc/autoconf.texi: Catch up -I, --include changes.
  16252. 2001-08-31 Akim Demaille <akim@epita.fr>
  16253. * bin/autom4te.in (&parse_args): Die on unknown languages.
  16254. * bin/autoheader.in: Run directly autom4te --mode=autoconf, no
  16255. need for autoconf.
  16256. Promote --include over --macrodir and other obsolete options.
  16257. 2001-08-31 Akim Demaille <akim@epita.fr>
  16258. * lib/Autom4te/General.pm ($version, $help, &getopt): New.
  16259. * bin/autoupdate.in, bin/autoheader.in, bin/autom4te.in: Use them.
  16260. * bin/autom4te.in ($autoconf): Pass --force.
  16261. `print $out' doesn't print `$_' but `$out'.
  16262. * tests/tools.at (Syntax of the Perl scripts): Pass the lib dir.
  16263. (autoheader): Pass --force since the test suite goes too fast for
  16264. the time stamps.
  16265. Adjust to the new autoheader messages.
  16266. 2001-08-31 Akim Demaille <akim@epita.fr>
  16267. * bin/autoheader.in: Handle the acconfig.h etc. junk files.
  16268. Check the completeness of the #template.
  16269. * lib/Autom4te/General.pm (&update_file): s/remove/unlink/.
  16270. * tests/semantics.at (AC_C_BIGENDIAN): Adjust AT_CHECK_AUTOHEADER
  16271. invocation.
  16272. 2001-08-31 Akim Demaille <akim@epita.fr>
  16273. * lib/Autom4te/General.pm (&find_file, &update_file): New.
  16274. * bin/autoupdate.in, bin/autoheader.in: Adjust.
  16275. Drop AC_MACRODIR dead for real.
  16276. * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Now autoheader says
  16277. `autoheader: `config.hin' is created'.
  16278. * tests/tools.at (Syntax of the Perl scripts): Check autoheader.
  16279. 2001-08-31 Akim Demaille <akim@epita.fr>
  16280. * bin/autoheader.in: Rewrite in Perl.
  16281. * tests/autoheader: Adjust.
  16282. 2001-08-31 Akim Demaille <akim@epita.fr>
  16283. * bin/autoconf.in (--include, -I): New option.
  16284. Map --localdir, --autoconf-dir onto it.
  16285. Forward autom4te's options instead of interpreting them.
  16286. * bin/autoconf.in, bin/autoheader.in (AC_MACRODIR, autoconf_dir):
  16287. There is no such envvar since the inception of autom4te.cfg.
  16288. * bin/autom4te.in (&parse_args): Uniquify `@include'.
  16289. * bin/autoupdate.in: Adjust, and perform more control.
  16290. * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Adjust.
  16291. * tests/autoconf: Dittowise.
  16292. 2001-08-31 Akim Demaille <akim@epita.fr>
  16293. * bin/autoconf.in: Don't bother with `acsite.m4' and `aclocal.m4'.
  16294. * bin/autom4te.in (&find_file): Support `FILE?' standing for
  16295. optionally `FILE'.
  16296. Use -e, not -f, since /dev/null for instance is OK.
  16297. (&parse_args): Adjust.
  16298. * lib/autom4te.in (Autoconf): Add `acsite.m4?' and `aclocal.m4?'.
  16299. 2001-08-31 Akim Demaille <akim@epita.fr>
  16300. * configure.ac: Also find tested executables in bin.
  16301. * bin/autoconf.in, bin/autoheader.in, bin/autoreconf.in,
  16302. * bin/autoscan.in, autoupdate.in: Use exclusively the name of the
  16303. installed peer executables, only PATH is allowed to resolve it.
  16304. Pass `autoconf_dir' via options, not via invisible envvars.
  16305. * lib/Autom4te/General.pm (&find_peer): Remove.
  16306. * lib/autotest/general.m4 (AT_INIT): `AUTOTEST_PATH=a:b' gives
  16307. `abuild:asrc:bbuild:bsrc', not `abuild:bbuild:asrc:bsrc'.
  16308. * man/Makefile.am: Let help2man rely on PATH instead of trying to
  16309. find the executables for it.
  16310. * tests/Makefile.am: Major cleanup. Too lazy to document...
  16311. * tests/atlocal.in: Remove all the obscure envvar manipulations.
  16312. We only need PERL.
  16313. * tests/atspecific.m4, tests/tools.at: Passing --localdir is
  16314. indeed related to running the test suite, while passing
  16315. --autoconf-dir and others is related to running non installed
  16316. Autoconf executables. So don't do that, leave it to...
  16317. * tests/autoconf, tests/autoheader, tests/autom4te, tests/autoupdate,
  16318. * tests/autoscan: New.
  16319. * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't
  16320. refer to library files: rely on --language.
  16321. 2001-08-29 Akim Demaille <akim@epita.fr>
  16322. * bin/autom4te.in, lib/autom4te.in, bin/autoconf.in:
  16323. s/--set/--language/.
  16324. 2001-08-29 Akim Demaille <akim@epita.fr>
  16325. * doc/autoconf.texi: Strip the @nodes.
  16326. Suggested by Paul Eggert.
  16327. (Initializing configure): Typo.
  16328. 2001-08-29 Akim Demaille <akim@epita.fr>
  16329. * bin/autom4te.in (&handle_output): s/@__@/@&t@/.
  16330. Suggested by Paul Eggert.
  16331. 2001-08-29 Akim Demaille <akim@epita.fr>
  16332. * Makefile.maint (do-po-update): Wget refuses to overwrite files:
  16333. download in a tmp dir.
  16334. 2001-08-29 Akim Demaille <akim@epita.fr>
  16335. * lib/autotest/general.m4: s/AT-devnull/devnull/ since there are
  16336. case insensitive OSes out there :(
  16337. From Tim Van Holder.
  16338. 2001-08-29 Akim Demaille <akim@epita.fr>
  16339. * lib/autom4te.in: New.
  16340. * lib/Makefile.am (edit, autom4te.cfg): New.
  16341. * bin/autom4te.in (BEGIN): Simplify.
  16342. Rely on `AC_MACRODIR' in addition of `autom4te_perllibdir'.
  16343. (&load_configuration): New. Use it.
  16344. (&parse_args): Support --mode, --set, and --melt.
  16345. * bin/autoconf.in: Simplify and adjust.
  16346. * tests/Makefile.am (AUTOMAKE): Use --set.
  16347. * tests/atlocal.in: Adjust.
  16348. * BUGS: distcheck and check are weak.
  16349. 2001-08-29 Akim Demaille <akim@epita.fr>
  16350. * lib/autotest/general.m4: Use
  16351. foo=`(command) 2>/dev/null`
  16352. not
  16353. foo=`command` 2>/dev/null
  16354. (at-devnull): Rename as...
  16355. (AT-devnull): this.
  16356. (--clean): Remove AT-* files too.
  16357. * doc/autoconf.texi (Limitations of Usual Tools): Document `date'.
  16358. Reported by Nicolas Joly.
  16359. 2001-08-28 Akim Demaille <akim@epita.fr>
  16360. * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't use single
  16361. quotes inside single quotes.
  16362. Reported by Nicolas Joly.
  16363. 2001-08-28 Kevin Ryde <user42@zip.com.au>
  16364. * doc/autoconf.texi (Function Portability): Mention C right shifts.
  16365. 2001-08-27 Tim Van Holder <tim.van.holder@pandora.be>
  16366. * lib/autotest/general.m4: Reword some messages.
  16367. (AT_INIT): Check for the `times' builtin before using it.
  16368. Support test ranges as arguments to the testsuite.
  16369. Have -e imply -d as the help text suggested.
  16370. 2001-08-27 Akim Demaille <akim@epita.fr>
  16371. * Makefile.maint: Formatting changes.
  16372. (do-po-update, po-update, cvs-update, update): New targets.
  16373. (AMTAR): Remove.
  16374. 2001-08-27 Akim Demaille <akim@epita.fr>
  16375. * lib/autotest/general.m4 (AT_INIT) <at_cmd_line>: Remove.
  16376. <at_cmd_line>: New.
  16377. Pass it to debug-*.sh scripts.
  16378. <AUTOTEST_PATH>: May contain absolute dir names.
  16379. 2001-08-27 Akim Demaille <akim@epita.fr>
  16380. * lib/autotest/general.m4 (AT_INIT): Log the command line.
  16381. Support `VAR=VAL' as arguments.
  16382. Compute PATH _after_ the options processing, so that AUTOTEST_PATH
  16383. may be set via the command line.
  16384. 2001-08-27 Akim Demaille <akim@epita.fr>
  16385. * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): $2 defaults to $1.
  16386. * lib/autotest/autotest.m4 (AT_INIT): Expand AUTOTEST_PATH into
  16387. first the build dirs, then the src dirs.
  16388. * configure.ac (AC_CONFIG_TESTDIR): Adjust.
  16389. 2001-08-27 Akim Demaille <akim@epita.fr>
  16390. * lib/autotest/general.m4 (AT_INIT): Output the definition of
  16391. at_data_files earlier.
  16392. (--clean, -c): New option.
  16393. * tests/Makefile.am: Use this option.
  16394. 2001-08-27 Akim Demaille <akim@epita.fr>
  16395. * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename `ac_dots' as
  16396. `ac_top_builddir' to mimic Automake's vocabulary, which much more
  16397. readable.
  16398. Adjust callers.
  16399. * doc/autoconf.texi (Configuration Actions): Document the vars
  16400. available in commands.
  16401. Emphasize the risks of collisions in init-cmds.
  16402. 2001-08-27 Akim Demaille <akim@epita.fr>
  16403. * doc/autoconf.texi (Input) <AC_INIT>: Move to..
  16404. (Initializing configure): this new node.
  16405. 2001-08-27 Akim Demaille <akim@epita.fr>
  16406. * Makefile.am (EXTRA_DIST): INSTALL.txt is a dead hack.
  16407. 2001-08-27 Akim Demaille <akim@epita.fr>
  16408. * m4/atconfig.m4 (AT_CONFIG): Remove, replaced by...
  16409. * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): this.
  16410. New file.
  16411. * m4/Makefile.am (EXTRA_DIST): Oops, adjust...
  16412. 2001-08-27 Akim Demaille <akim@epita.fr>
  16413. * lib/autoconf/general.m4 (AU_DEFINE, AU_DEFUN, AU_ALIAS): Move
  16414. to...
  16415. * lib/autoconf/autoheader.m4: this new file.
  16416. * lib/autoconf/general.m4 (AH_OUTPUT, AH_VERBATIM)
  16417. (_AH_VERBATIM_OLD, AH_TEMPLATE, _AH_TEMPLATE_OLD, AH_TOP, AH_BOTTOM):
  16418. Move to...
  16419. * lib/autoconf/autoupdate.m4: this new file.
  16420. 2001-08-27 Akim Demaille <akim@epita.fr>
  16421. * lib/autoconf/status.m4 (_AC_SRCPATHS): New.
  16422. (_AC_OUTPUT_LINKS, _AC_OUTPUT_FILES, _AC_OUTPUT_SUBDIRS): Use it.
  16423. Standardize the var names (ac_sub_srcdir -> ac_srcdir, ac_subdir
  16424. -> ac_dir).
  16425. (_AC_OUTPUT_HEADERS): AS_DIRNAME always return a dir name.
  16426. * lib/autoconf/general.m4 (_AC_INIT_HELP): Ditto.
  16427. 2001-08-27 Akim Demaille <akim@epita.fr>
  16428. * lib/autoconf/autoconf.m4 (AC_CONFIG_COMMANDS)
  16429. (AC_CONFIG_COMMANDS_POST, AC_CONFIG_COMMANDS_PRE, AC_CONFIG_FILES)
  16430. (AC_CONFIG_HEADER, AC_CONFIG_HEADERS, AC_CONFIG_IF_MEMBER)
  16431. (AC_CONFIG_LINKS, AC_CONFIG_SUBDIRS, AC_FILE_DEPENDENCY_TRACE)
  16432. (AC_LINK_FILES, AC_LIST_COMMANDS, AC_LIST_COMMANDS_COMMANDS)
  16433. (AC_LIST_FILES, AC_LIST_FILES_COMMANDS, AC_LIST_HEADERS)
  16434. (AC_LIST_HEADERS_COMMANDS, AC_LIST_LINKS, AC_LIST_LINKS_COMMANDS)
  16435. (AC_OUTPUT, AC_OUTPUT_COMMANDS, AC_OUTPUT_COMMANDS_POST)
  16436. (AC_OUTPUT_COMMANDS_PRE, AC_OUTPUT_MAKE_DEFS)
  16437. (_AC_CONFIG_COMMANDS_INIT, _AC_CONFIG_DEPENDENCIES)
  16438. (_AC_CONFIG_DEPENDENCY, _AC_CONFIG_UNIQUE, _AC_LINK_FILES_CNT)
  16439. (_AC_LIST_SUBDIRS, _AC_OUTPUT_COMMANDS, _AC_OUTPUT_COMMANDS_CNT)
  16440. (_AC_OUTPUT_COMMANDS_INIT, _AC_OUTPUT_CONFIG_STATUS)
  16441. (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS, _AC_OUTPUT_LINKS)
  16442. (_AC_OUTPUT_SUBDIRS): Move to...
  16443. * lib/autoconf/status.m4: this new file.
  16444. * lib/autoconf/general.m4, lib/autoconf/Makefile.am: Adjust.
  16445. * tests/Makefile.am, tests/suite.at: Adjust.
  16446. 2001-08-27 Akim Demaille <akim@epita.fr>
  16447. Automake 1.5.
  16448. * Makefile.am (AUTOMAKE_OPTIONS): Add 1.5 and dist-bzip2.
  16449. (AMTAR): Help automake define it.
  16450. (INSTALL, install-data-hook): The INSTALL.txt trick is no longer
  16451. needed, 1.5 can have a macro and a target with the same name.
  16452. * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/install-sh.m4,
  16453. * m4/strip.m4: New.
  16454. * m4/init.m4, m4/sanity.m4: Update.
  16455. * doc/Makefile.am (CLEANFILES): 1.5 knows the texi2dvi files.
  16456. * lib/autoconf/Makefile.am, lib/autotest/Makefile.am,
  16457. * lib/m4sugar/Makefile.am, lib/autoscan/Makefile.am,
  16458. * lib/Autom4te/Makefile.am, man/Makefile.am: Use dist/nodist.
  16459. 2001-08-27 Akim Demaille <akim@epita.fr>
  16460. Provide a mean to ``AC_PREREQ'' for M4sugar, M4sh and Autotest.
  16461. * lib/autoconf/version.in: Remove.
  16462. * lib/m4sugar/version.in: New.
  16463. * lib/m4sugar/m4sugar.m4 (m4_acversion, m4_version_prereq): New.
  16464. Adjust callers.
  16465. * bin/autoupdate.in: Distinguish M4sugar vs. Autoconf macros by
  16466. the name of the directory they're in, instead of the filename,
  16467. since version.m4 is now in m4sugar, but m4_acversion must not be
  16468. classified as an Autoconf macro.
  16469. ($input_m4): Don't qualify the path to m4sugar.
  16470. Rather, pass autoconf_dir to m4.
  16471. * tests/Makefile.am (testsuite): Remove -I top_srcdir, unneeded.
  16472. * tests/suite.at: Require 2.52c.
  16473. 2001-08-27 Akim Demaille <akim@epita.fr>
  16474. testsuite.log should include config.log.
  16475. * lib/autotest/autotest.m4: New.
  16476. * lib/autotest/general.m4, tests/atspecific.m4: Adjust.
  16477. * tests/suite.at : Adjust.
  16478. (AT_INIT): Log config.log.
  16479. * lib/m4sugar/m4sugar.m4 (m4_text_box): New.
  16480. * lib/m4sugar/m4sh.m4 (_AS_BOX_LITERAL): Adjust.
  16481. * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Use them.
  16482. (_AC_INIT_PREPARE): Fix the incredibly messy and buggy completion
  16483. of config.log on traps.
  16484. (_AC_OUTPUT_CONFIG_STATUS): Use AS_BOX.
  16485. Use consistently `_ACEOF' for configure's here docs, and `_CSEOF'
  16486. for config.status'.
  16487. Open the log as soon as possible.
  16488. Use the same log introduction as configure's.
  16489. 2001-08-22 Paul Eggert <eggert@twinsun.com>
  16490. * doc/autoconf.texi (Indices): New node.
  16491. Move indices out of the top level menu and into this submenu.
  16492. 2001-08-22 Akim Demaille <akim@epita.fr>
  16493. * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
  16494. AC_TRY_COMMAND.
  16495. (AC_DECL_YYTEXT): Fix the previous patch: it points to AC_PROG_LEX.
  16496. 2001-08-22 Akim Demaille <akim@epita.fr>
  16497. * lib/autoconf/general.m4 (AC_SHELL_PATH_WALK, AC_CHECK_PROG)
  16498. (AC_CHECK_PROGS, AC_PATH_PROG, AC_PATH_PROGS, AC_CHECK_TOOL_PREFIX)
  16499. (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS): Move to...
  16500. * lib/autoconf/programs.m4: here.
  16501. * lib/autoconf/specific.m4 (_AC_PROG_ECHO, AC_PROG_MAKE_SET)
  16502. (AC_PROG_RANLIB, AC_PROG_YACC, AC_PROG_LEX, _AC_DECL_YYTEXT)
  16503. (AC_PROG_INSTALL, AC_PROG_LN_S, AC_RSH): Move to...
  16504. * lib/autoconf/programs.m4: here.
  16505. (_AC_DECL_YYTEXT): Rename as...
  16506. (_AC_PROG_LEX_YYTEXT_DECL): this.
  16507. * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am
  16508. * tests/Makefile.am, tests/suite.am: Adjust.
  16509. 2001-08-22 Akim Demaille <akim@epita.fr>
  16510. * lib/autoconf/general.m4 (AC_LIST_MEMBER_OF, AC_LINKER_OPTION):
  16511. Move to...
  16512. * lib/autoconf/fortran.m4 (_AC_LIST_MEMBER_IF, _AC_LINKER_OPTION):
  16513. here.
  16514. * lib/autoconf/general.m4 (AC_TRY_LINK_FUNC): Move to...
  16515. * lib/autoconf/functions.m4: here.
  16516. * lib/autoconf/general.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB)
  16517. (AH_CHECK_LIB): Move to...
  16518. * lib/autoconf/libs: this new file.
  16519. * lib/autoconf/specific.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT)
  16520. (_AC_PATH_X, AC_PATH_X, AC_PATH_XTRA): Move to...
  16521. * lib/autoconf/libs.m4: here.
  16522. * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am: Adjust.
  16523. 2001-08-22 Akim Demaille <akim@epita.fr>
  16524. * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Fail if fails.
  16525. * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Adjust.
  16526. (AC_SITE_LOAD): Better logging of config.site.
  16527. 2001-08-20 Akim Demaille <akim@epita.fr>
  16528. * configure.ac (AT_CONFIG): Fix the path.
  16529. * m4/atconfig.m4 (AT_CONFIG): Don't use EOF but ATEOF so that 2.52
  16530. can be used.
  16531. 2001-08-20 Alexandre Duret-Lutz <duret_g@epita.fr>
  16532. * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prepare the cross-compile
  16533. program with AC_LANG_PROGRAM before feeding it to
  16534. AC_COMPILE_IFELSE. Cleanup grep usage.
  16535. 2001-08-20 Akim Demaille <akim@epita.fr>
  16536. * ChangeLog, ChangeLog.0, ChangeLog.1, ChangeLog.2, AUTHORS, BUGS,
  16537. * NEWS, README, README-alpha, TODO, tests/README: This package is
  16538. `Autoconf', not `autoconf' (the executable).
  16539. 2001-08-20 Akim Demaille <akim@epita.fr>
  16540. Info readers seem to need `Index' in the index node title :(
  16541. * doc/autoconf.texi: Reverse the 2001-08-15 change which
  16542. simplified index node names.
  16543. 2001-08-20 Akim Demaille <akim@epita.fr>
  16544. * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Warn if the
  16545. arguments are not literals.
  16546. * doc/autoconf.texi (Input) <AC_INIT>: Arguments must be literals.
  16547. Specify the output variables, and macros defined.
  16548. 2001-08-20 Akim Demaille <akim@epita.fr>
  16549. * doc/autoconf.texi (Examining Declarations) <AC_TRY_CPP>:
  16550. (Examining Syntax) <AC_TRY_COMPILE>
  16551. (Examining Libraries) <AC_TRY_LINK>
  16552. (Test Programs) <AC_TRY_RUN>: These macros double quote some of
  16553. their arguments.
  16554. Reported by Werner Lemberg.
  16555. 2001-08-20 Akim Demaille <akim@epita.fr>
  16556. * lib/autotest/general.m4 (AT_INIT): Compute top_builddir,
  16557. top_srcdir and srcdir from at_topbuild_2_topsrc and at_testdir.
  16558. Load atlocal late enough to dump it in the log.
  16559. * m4/atconfig.m4 (AT_CONFIG): Pass them to atconfig.
  16560. 2001-08-20 Akim Demaille <akim@epita.fr>
  16561. * tests/torture.at (Configuring subdirectories): New test.
  16562. * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Say what you are
  16563. looking for.
  16564. * m4/atconfig.m4: Be sure the let $[0] be expandable.
  16565. (top_srcdir): Fix its computation.
  16566. 2001-08-20 Akim Demaille <akim@epita.fr>
  16567. * lib/autoconf/general.m4 (_AC_OUTPUT_COMMANDS): Say what you do.
  16568. * m4/atconfig.m4 (AT_CONFIG): $1 is now the directory where the
  16569. test suite lives.
  16570. Create `atconfig' automagically.
  16571. Configure atlocal.in if present.
  16572. * tests/atconfig.in: Remove.
  16573. * tests/atlocal.in: New.
  16574. * tests/Makefile.am: Adjust.
  16575. 2001-08-20 Akim Demaille <akim@epita.fr>
  16576. Huh!?!?! There are still some user EOF tags used, which prevents
  16577. their use in AC_CONFIG_COMMANDS for instance...
  16578. * lib/autoconf/general.m4, lib/autoconf/specific.m4,
  16579. * lib/autotest/general.m4: Rename the EOF tags as `_ACEOF',
  16580. `_CSEOF', or `_ATEOF', as appropriate.
  16581. * lib/m4sugar/Makefile.am, lib/autoconf/Makefile.am,
  16582. * lib/autotest/Makefile.am (check-local): Enforce this constraint.
  16583. 2001-08-20 Akim Demaille <akim@epita.fr>
  16584. * tests/base.at, tests/m4sh.at, tests/m4sugar.at,
  16585. * tests/semantics.at, tests/tools.at, tests/torture.at:
  16586. s/^AT_DATA\(([^][]+),/AT_DATA([$1],/.
  16587. 2001-08-20 Akim Demaille <akim@epita.fr>
  16588. Autotest invokes M4sh's initialization.
  16589. * lib/autotest/general.m4: Adjust the diversion names.
  16590. (AT_INIT): Run AS_INIT.
  16591. Use the BINSH diversion to invoke /bin/sh.
  16592. * tests/base.at, tests/m4sh.at, tests/m4sugar.at, tests/tools.at:
  16593. * tests/torture.at: Respect M4sugar and M4sh macro name spaces.
  16594. 2001-08-20 Akim Demaille <akim@epita.fr>
  16595. Let M4sh have its own diversions.
  16596. * lib/autoconf/general.m4 (_m4_divert(BINSH), _m4_divert(REVISION))
  16597. (_m4_divert(NOTICE)): Rename as...
  16598. * lib/m4sugar/m4msh.m4 (_m4_divert(BINSH), _m4_divert(HEADER-REVISION))
  16599. (_m4_divert(HEADER-COMMENT)): these.
  16600. (_m4_divert(HEADER-COPYRIGHT), _m4_divert(HEADER-COPYRIGHT)): New.
  16601. (_m4_divert(NOTICE)): New, for Libtool.
  16602. * lib/autoconf/general.m4 (_m4_divert(PREPARE)): Remove, replaced
  16603. long ago with `_m4_divert(GROW)'.
  16604. (AC_COPYRIGHT, AC_REVISION, _AC_INIT_NOTICE): Adjust.
  16605. 2001-08-20 Akim Demaille <akim@epita.fr>
  16606. * tests/base.at, tests/compile.at, tests/foreign.at,
  16607. * tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
  16608. * tests/semantics.at, tests/suite.at, tests/tools.at,
  16609. * tests/torture.at: Ask Autotest mode, not Autoconf mode.
  16610. 2001-08-20 Akim Demaille <akim@epita.fr>
  16611. * bin/autom4te.in (handle_output): Handle @__@.
  16612. 2001-08-20 Akim Demaille <akim@epita.fr>
  16613. * lib/autoconf/autoconf.m4, lib/autoconf/oldnames.m4,
  16614. * lib/autotest/general.m4: Adjust the license.
  16615. 2001-08-17 Paul Eggert <eggert@twinsun.com>
  16616. * doc/autoconf.texi (Function Portability): Mention snprintf,
  16617. following up on a suggestion by Kevin Ryde.
  16618. 2001-08-17 Akim Demaille <akim@epita.fr>
  16619. * doc/install.texi, doc/autoconf.texi: Use `autoconf', not
  16620. `autoconf_manual', as texinfo.tex 2001-06-21.10 chokes on it.
  16621. 2001-08-17 Akim Demaille <akim@epita.fr>
  16622. * lib/autotest/general.m4 (AT_INIT): Refer to `$as_me.log', not
  16623. `$0.log' as for projects where testsuite is in src, we'd have
  16624. testsuite.log created in src.
  16625. 2001-08-17 Akim Demaille <akim@epita.fr>
  16626. * bin/autom4te.in (&parse_args): Recognize --normalize.
  16627. 2001-08-17 Akim Demaille <akim@epita.fr>
  16628. Start implementing the AC_CHECK_HEADER transition scheme.
  16629. * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_NEW)
  16630. (_AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_MONGREL): New.
  16631. (AC_CHECK_HEADER): Use them.
  16632. 2001-08-17 Akim Demaille <akim@epita.fr>
  16633. * doc/autoconf.texi: Work around Texinfo buglets.
  16634. (Transformation Rules): One example is enough, users are expected
  16635. to have their brains on. And BTW, use DESTDIR.
  16636. (dvar): New macro. Use it.
  16637. 2001-08-17 Akim Demaille <akim@epita.fr>
  16638. * doc/autoconf.texi (Writing testsuite.at) <AT_CHECK>: Complete.
  16639. * lib/autotest/general.m4 (AT_INIT): Use the relative dir when
  16640. looking for ChangeLogs.
  16641. 2001-08-17 Akim Demaille <akim@epita.fr>
  16642. * bin/autom4te.in: --normalize is a new option.
  16643. * bin/autoconf.in: Use it.
  16644. 2001-08-17 Akim Demaille <akim@epita.fr>
  16645. * bin/Makefile.am, lib/Autom4te/Makefile.am, lib/autoconf/Makefile.am
  16646. * lib/autotest/Makefile.am, lib/m4sugar/Makefile.am: Add TAGS support.
  16647. 2001-08-16 Paul Eggert <eggert@twinsun.com>
  16648. * doc/autoconf.texi, doc/install.texi: Put copyright notice at
  16649. start, not at end.
  16650. 2001-08-15 Akim Demaille <akim@epita.fr>
  16651. * doc/Makefile.am (fu): New index, can't use fn because of defmac.
  16652. Use it.
  16653. 2001-08-15 Akim Demaille <akim@epita.fr>
  16654. * doc/autoconf.texi (pr): New index.
  16655. (prindex, findex): Use, merge, and output them.
  16656. (Environment Variable Index, Output Variable Index)
  16657. (Preprocessor Symbol Index, Autoconf Macro Index, M4 Macro Index)
  16658. (Autotest Macro Index): Rename as...
  16659. (Environment Variables, Output Variables,Preprocessor Symbols)
  16660. (Autoconf Macros, M4 Macros, Autotest Macros): these.
  16661. * doc/install.texi: Use @command.
  16662. (Environment Variables): Rename as...
  16663. (Defining Variables): this.
  16664. 2001-08-15 Akim Demaille <akim@epita.fr>
  16665. * doc/autoconf.texi (Function Portability): sprintf's return
  16666. value.
  16667. From Kevin Ryde.
  16668. 2001-08-15 Akim Demaille <akim@epita.fr>
  16669. * Makefile.maint (CVS): New.
  16670. (local-check): Run changelog-check. last.
  16671. (alpha): Don't depend upon local-check, since...
  16672. (cvs-dist): depends upon it.
  16673. 2001-08-15 Tim Van Holder <tim.van.holder@pandora.be>
  16674. * tests/Makefile.am: Use a clean-local rule to remove
  16675. autom4te.cache (it's a directory, not a file.
  16676. * Makefile.am: Ditto (but maintainer-clean-local).
  16677. 2001-08-15 Akim Demaille <akim@epita.fr>
  16678. * bin/autom4te.in (@m4_warning): New.
  16679. (&handle_m4): Use it.
  16680. * tests/m4sugar.at (m4_warn): Pass `-f' to autom4te to ensure the
  16681. warnings are issued at each run.
  16682. * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): M4sugar
  16683. is in the src tree.
  16684. 2001-08-15 Akim Demaille <akim@epita.fr>
  16685. * tests/atspecific.m4 (AT_CHECK_AUTOUPDATE): Perl is now required:
  16686. don't waste time running `autoupdate --version' works.
  16687. * tests/tools.at (autoupdating AC_PREREQ): Likewise.
  16688. 2001-08-13 Akim Demaille <akim@epita.fr>
  16689. * doc/autoconf.texi (ma): Rename this index as...
  16690. (ac): this.
  16691. 2001-08-13 Akim Demaille <akim@epita.fr>
  16692. * Makefile.am: Remove dead code and dead comments.
  16693. (pdf, html): New targets.
  16694. * doc/autoconf.texi (Using Autotest): New chapter.
  16695. * doc/Makefile.am (pdf): New targets.
  16696. (CLEANFILES): Adjust.
  16697. 2001-08-13 Akim Demaille <akim@epita.fr>
  16698. * lib/autotest/general.m4 (AT_INIT): Log the start/stop dates and
  16699. duration of the test suite.
  16700. 2001-08-12 Alexandre Duret-Lutz <duret_g@epita.fr>
  16701. * tests/semantics.at (AC_C_BIGENDIAN): Explicitelly save and load
  16702. endianness for comparison instead of relying on AT_CHECK_ENV.
  16703. 2001-08-11 Paul Eggert <eggert@twinsun.com>
  16704. * doc/autoconf.texi, doc/install.texi: Add a copyright notice
  16705. to the INSTALL file.
  16706. 2001-08-11 Paul Eggert <eggert@twinsun.com>
  16707. * NEWS: The autoconf manual now is distributed under the terms
  16708. of the GNU Free Documentation License.
  16709. * doc/autoconf.texi: Switch from old style copyright notice to FDL.
  16710. Add an appendix "Copying This Manual" for the FDL.
  16711. * doc/fdl.texi: New file, from
  16712. <http://www.gnu.org/licenses/fdl.texi>.
  16713. * doc/Makefile.am (autoconf_TEXINFOS): Add fdl.texi.
  16714. 2001-08-10 Paul Eggert <eggert@twinsun.com>
  16715. * AUTHORS, BUGS, ChangeLog, ChangeLog.0, ChangeLog.1,
  16716. ChangeLog.2, GNUmakefile, Makefile.maint, NEWS, README,
  16717. README-alpha, TODO, configure.ac, lib/autoconf/Makefile.am,
  16718. m4/atconfig.m4, m4/init.m4, m4/m4.m4, m4/missing.m4,
  16719. m4/sanity.m4, tests/README, tests/aclocal.m4,
  16720. tests/atspecific.m4, tests/base.at, tests/compile.at,
  16721. tests/foreign.at, tests/m4sh.at, tests/m4sugar.at,
  16722. tests/semantics.at, tests/suite.at, tests/tools.at,
  16723. tests/torture.at: Add copyright notice.
  16724. * tests/mktests.sh: Update year in copyright notice.
  16725. 2001-08-12 Alexandre Duret-Lutz <duret_g@epita.fr>
  16726. * tests/semantics.at (AC_C_BIGENDIAN): New test.
  16727. 2001-08-11 Alexandre Duret-Lutz <duret_g@epita.fr>
  16728. * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Handle ACTION-IF-TRUE,
  16729. ACTION-IF-FALSE, and ACTION-IF-UNKNOWN.
  16730. * doc/autoconf.texi (C Compiler Characteristics): Update
  16731. documentation for AC_C_BIGENDIAN.
  16732. 2001-08-11 Alexandre Duret-Lutz <duret_g@epita.fr>
  16733. * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Guess endianness by grep'ing
  16734. magic values from an object file when cross-compiling.
  16735. Based on code by Guido Draheim <Guido.Draheim@gmx.de>.
  16736. 2001-08-10 Akim Demaille <akim@epita.fr>
  16737. * bin/autom4te.in (&handle_output): Don't use `grep' with side
  16738. effects.
  16739. Suggested by Russ Allbery.
  16740. 2001-08-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
  16741. * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Propagate the
  16742. current $prefix to the sub-configures.
  16743. 2001-08-09 Tim Van Holder <tim.van.holder@pandora.be>
  16744. * lib/autoconf/lang.m4: Ignore *.xSYM when looking for an executable
  16745. extension (needed on BeOS). Reported by Guido van Rossum.
  16746. 2001-08-09 Akim Demaille <akim@epita.fr>
  16747. * bin/autom4te.in ($icache): Load it only if older than autom4te.
  16748. 2001-08-07 Akim Demaille <akim@epita.fr>
  16749. * lib/autotest/general.m4 (AT_INIT): All the `at-*' are to be
  16750. removed.
  16751. (at-setup-line): Huh? Be a variable `at_setup_line', not a file.
  16752. No need to remove the files before and after the each test, before
  16753. each test and at the end of the suite is enough.
  16754. Display only the children `times', not the shell's.
  16755. If the test failed or was skipped, at-times is not available.
  16756. 2001-08-07 Akim Demaille <akim@epita.fr>
  16757. Always produce testsuite.log, including when there are no
  16758. failures. This helps getting information on skipped tests, and
  16759. duration of the tests. Err, implement the latter btw.
  16760. * lib/autotest/general.m4 (AT_INIT): Set up fd 6 for the log.
  16761. Dump information on the first run of each test.
  16762. (AT_CLEANUP): Create `at-times' containing the duration of the
  16763. test group.
  16764. 2001-08-07 Akim Demaille <akim@epita.fr>
  16765. The use of `dumpstat' revealed that `len' was used although it
  16766. should not. m4_text_wrap was using it, but in the Autoconf world
  16767. where it is legal. Hence (i) test M4sh in its own world, not
  16768. Autoconf's, and (ii), ahem, fix the bug :)
  16769. * lib/autotest/general.m4: Be sure the set good quotes, as tracing
  16770. does not like `' instead of [].
  16771. (AT_INIT): Forbid `^_?AT_'.
  16772. And don't output such tokens.
  16773. * tests/Makefile.am (CLEANFILES): Add `script', `script.s4g',
  16774. `script.as', and `autom4te.cache'.
  16775. Remove `empty' and `macro' which are no longer used.
  16776. * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): New.
  16777. * tests/m4sugar.at: Use it.
  16778. * lib/m4sugar/m4sugar.m4: Use `m4_len' not `len'.
  16779. 2001-08-07 Akim Demaille <akim@epita.fr>
  16780. * bin/autoconf.in, bin/autoheader.in: --force, -f is a new option.
  16781. 2001-08-07 Alexandre Duret-Lutz <duret_g@epita.fr>
  16782. * bin/autom4te.in (handle_output): Typo in quadrigraph substitution.
  16783. 2001-08-04 Akim Demaille <akim@epita.fr>
  16784. * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, AC_FUNC_ERROR_AT_LINE)
  16785. (AC_FUNC_FSEEKO, AC_FUNC_OBSTACK): Use AC_LANG_IFELSE, not
  16786. AC_TRY_LINK.
  16787. * lib/autoconf/headers.m4 (AC_HEADER_MAJOR): Likewise.
  16788. * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS)
  16789. (AC_F77_MAIN): Likewise.
  16790. 2001-08-04 Akim Demaille <akim@epita.fr>
  16791. Don't rely on M4sugar outputting the patterns in files, since we
  16792. might process the output _without_ running m4, hence without these
  16793. files.
  16794. * lib/m4sugar/m4sugar.m4 (m4_init): No need for `m4_tmpdir'.
  16795. * bin/autom4te.in (@Request::includes): Remove, unused.
  16796. (@Request::source): Rename as...
  16797. (@Request::input): this.
  16798. (@preselect): Add `m4_pattern_forbid' and `m4_pattern_allow'.
  16799. (&handle_output): Fetch the patterns from the traces.
  16800. `$forbidden' and `$allowed' are constant: use m//o.
  16801. (&handle_m4): M4sugar no longer wants `m4_tmpdir'.
  16802. (m4_pattern_forbid, m4_pattern_allow): Adjust for tracing only.
  16803. 2001-08-04 Akim Demaille <akim@epita.fr>
  16804. `autoconf && autoheader' is sped up. Now, speed up `autoheader &&
  16805. autoconf', i.e., in addition to caching traces, cache the output.
  16806. * bin/autom4te.in (Request::cache): Rename as...
  16807. (Request::id): this.
  16808. ($cache, $icache, $tcache, $ocache): New.
  16809. (&handle_m4): Save M4 output in the cache instead of $tmp.
  16810. (&handle_output): Adjust.
  16811. (&up_to_date_p): Check that the output cache is up to date too.
  16812. (top level): Run `&handle_m4' iff force or the cache is invalid.
  16813. Run `&handle_output' if the output cache is more recent.
  16814. 2001-08-04 Akim Demaille <akim@epita.fr>
  16815. * bin/autom4te.in ($force): New.
  16816. (&parse_args, &print_usage): -f, --force is a new option.
  16817. (&handle_output): CPP directives might have spaces after `#'.
  16818. (&parse_args): The first file only can be frozen.
  16819. 2001-08-04 Akim Demaille <akim@epita.fr>
  16820. Don't let autom4te compute the `include' traces several times:
  16821. first check that the trace cache file is up to date, and then
  16822. compare its timestamp with that of the output.
  16823. * bin/autom4te.in, bin/autoupdate.in, bin/autoscan.in: Normalize
  16824. the preamble. Don't require 5.005 as Autom4te::General does it,
  16825. and better yet (use `use', not `require'!).
  16826. * lib/Autom4te/Struct.pm: Rename the last occurrences of
  16827. Class::Struct as Autom4te::Struct.
  16828. * lib/Autom4te/General.pm (File::stat): Use it.
  16829. (&mtime): New, export it.
  16830. * bin/autom4te.in: Use it.
  16831. Declare `$req' is invalid if it is outdated.
  16832. Don't declare it valid before saving it if something went wrong.
  16833. 2001-08-04 Akim Demaille <akim@epita.fr>
  16834. Autom4te shall not encode Autoconf data, and preselecting traces
  16835. must be proposed to the users.
  16836. * bin/autom4te.in (@required_trace): Remove.
  16837. (@preselect): New.
  16838. (&parse_args, &print_usage): -p, --preselect is a new option.
  16839. (&up_to_date_p): Adjust.
  16840. * bin/autoconf.in: Preselect some Autoconf macros.
  16841. 2001-08-04 Akim Demaille <akim@epita.fr>
  16842. * tests/tools.at (autoconf --trace: user macros): Check traces on
  16843. macros invoked without arguments, and macros invoked with multiple
  16844. lines arguments.
  16845. 2001-08-03 Alexandre Duret-Lutz <duret_g@epita.fr>
  16846. * bin/autom4te.in (handle_traces): Fix rewriting of traces without
  16847. arguments.
  16848. 2001-08-03 Akim Demaille <akim@epita.fr>
  16849. * bin/autoconf.in ($@): Work around the usual sh bug.
  16850. From Nicolas Joly.
  16851. 2001-08-03 Akim Demaille <akim@epita.fr>
  16852. Clean up the handling of the M4 builtins tracing exception.
  16853. * bin/autom4te.in (Request::request): Don't complete M4 builtins
  16854. trace requests.
  16855. (@m4_builtins): Rename as...
  16856. (@m4_builtin): this.
  16857. (%m4_builtin_alternate_name): New.
  16858. (&parse_args): Complete the trace requests with alternate names.
  16859. (&handle_traces): Hence no longer do it here.
  16860. (&trace_requests): Remove, unused.
  16861. 2001-08-03 Akim Demaille <akim@epita.fr>
  16862. * doc/autoconf.texi (Redefined M4 Macros): Document m4_exit,
  16863. m4_if, and m4_wrap.
  16864. 2001-08-03 Akim Demaille <akim@epita.fr>
  16865. * lib/m4sugar/m4sugar.m4 (m4_init): Also forbid `_m4_*' tokens.
  16866. (m4_divert_pop): Dump the whole diversion stack when a diversion
  16867. mismatch happens.
  16868. * bin/autom4te.in (&handle_output): Remember of the first
  16869. occurrence of a possibly undefined macro, not the last.
  16870. Complain about the possibly undefined macros in the same order as
  16871. the appear in the output.
  16872. * lib/autoconf/Makefile.am (autoconf.m4f): List its dependencies.
  16873. * tests/tools.at (autoconf: forbidden tokens, basic)
  16874. (autoconf: forbidden tokens, exceptions): No longer sort
  16875. autoconf's stderr, as it is now deterministic.
  16876. Check that `dnl' is caught.
  16877. 2001-08-01 Akim Demaille <akim@epita.fr>
  16878. * configure.ac: Bump to 2.52c.
  16879. 2001-08-01 Akim Demaille <akim@epita.fr>
  16880. Version 2.52b.
  16881. * lib/Autom4te/Makefile.am (perllibdir): s/Autoconf/Autom4te/.
  16882. 2001-08-01 Akim Demaille <akim@epita.fr>
  16883. Version 2.52a.
  16884. 2001-08-01 Akim Demaille <akim@epita.fr>
  16885. * lib/Autom4te/General.pm: Use `carp' and `croak', not `warn' and
  16886. `die'.
  16887. (&END): New.
  16888. * bin/autoconf.in, bin/autom4te.in, bin/autoupdate.in: Remove your
  16889. `END', as `Autom4te::General::END' will be triggered.
  16890. * bin/autoupdate.in, bin/autoscan.in: Improve error messages accuracy.
  16891. * bin/autoupdate.in (File::Compare, File::Copy): Use them instead of
  16892. system to run `mv', `rm', and `cmp'.
  16893. 2001-08-01 Akim Demaille <akim@epita.fr>
  16894. * lib/Autom4te/General.pm (&unique): New.
  16895. * bin/autoscan.in (&output): Use it to issue trace requests once.
  16896. 2001-08-01 Akim Demaille <akim@epita.fr>
  16897. * lib/Autom4te/General.pm: New.
  16898. * bin/autom4te.in (Autom4te::General): Use it.
  16899. ($me, $tmp, $verbose, $debug, &mktmpdir, &verbose, &xsystem)
  16900. (&find_configure_ac, &find_slave): Remove.
  16901. * bin/autoscan.in: Likewise.
  16902. * bin/autoupdate.in: Likewise.
  16903. 2001-08-01 Akim Demaille <akim@epita.fr>
  16904. * autoconf.in, autom4te.in, autoscan.in, ifnames.in,
  16905. * autoheader.in, autoreconf.in, autoupdate.in: Move to...
  16906. * bin: here, new directory.
  16907. * lib/Autoconf: Rename as...
  16908. * lib/Autom4te: this, to please case insensitive junkie OSes.
  16909. 2001-08-01 Akim Demaille <akim@epita.fr>
  16910. * autom4te.in ($m4): Handle the --nesting-limit.
  16911. * autoconf.in (M4): Remove.
  16912. 2001-08-01 Akim Demaille <akim@epita.fr>
  16913. * autoconf.in ($AWK): Remove, no longer used.
  16914. * test/tools.at: Use AT_CHECK_AUTOCONF.
  16915. (AWK portability): Remove, for autoconf no longer uses AWK.
  16916. (Syntax of the Perl scripts): New.
  16917. * configure.ac: autoconf no longer needs an AWK with a good
  16918. regexp engine.
  16919. Use a static test on AC_PACKAGE_VERSION.
  16920. * autom4te.in (&up_to_date_p): Output depends on the arguments.
  16921. * lib/autoconf/Makefile.am: Ship version.m4, maintainer file.
  16922. * tests/atconfig.in (PERL): New.
  16923. 2001-08-01 Akim Demaille <akim@epita.fr>
  16924. * lib/autoconf/lang.m4 (AC_LANG(C), AC_LANG_C, _AC_LANG_ABBREV(C))
  16925. (AC_LANG(C++), AC_LANG_CPLUSPLUS, _AC_LANG_ABBREV(C++))
  16926. (AC_LANG_SOURCE(C), AC_LANG_PROGRAM(C), AC_LANG_CALL(C))
  16927. (AC_LANG_FUNC_LINK_TRY(C), AC_LANG_BOOL_COMPILE_TRY(C))
  16928. (AC_LANG_INT_SAVE(C), _AC_ARG_VAR_CPPFLAGS, _AC_ARG_VAR_LDFLAGS)
  16929. (AC_LANG_PREPROC(C), _AC_PROG_PREPROC_WORKS_IFELSE, AC_PROG_CPP)
  16930. (AC_LANG_COMPILER(C), ac_cv_prog_gcc, AC_PROG_CC, _AC_PROG_CC_G)
  16931. (AC_PROG_GCC_TRADITIONAL, AC_PROG_CC_C_O, AC_LANG_PREPROC(C++))
  16932. (AC_PROG_CXXCPP, AC_LANG_COMPILER(C++), ac_cv_prog_gxx)
  16933. (AC_PROG_CXX, _AC_PROG_CXX_G, _AC_PROG_CXX_EXIT_DECLARATION)
  16934. (AC_PROG_CC_STDC, AC_C_CROSS, AC_C_CHAR_UNSIGNED, AC_C_LONG_DOUBLE)
  16935. (AC_C_BIGENDIAN, AC_C_INLINE, AC_C_CONST, AC_C_VOLATILE)
  16936. (AC_C_STRINGIZE, AC_C_PROTOTYPES): Move to...
  16937. * lib/autoconf/c.m4: here, new file.
  16938. * lib/autoconf/lang.m4 (AC_LANG(Fortran 77), AC_LANG_FORTRAN77)
  16939. (_AC_LANG_ABBREV(Fortran 77), AC_LANG_SOURCE(Fortran 77))
  16940. (AC_LANG_PROGRAM(Fortran 77), AC_LANG_CALL(Fortran 77))
  16941. (AC_LANG_PREPROC(Fortran 77), AC_LANG_COMPILER(Fortran 77))
  16942. (ac_cv_prog_g77, AC_PROG_F77, _AC_PROG_F77_G, AC_PROG_F77_C_O)
  16943. (_AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V, AC_F77_LIBRARY_LDFLAGS)
  16944. (AC_F77_DUMMY_MAIN, _AC_LANG_PROGRAM_C_F77_HOOKS, AC_F77_MAIN)
  16945. (_AC_F77_NAME_MANGLING, AC_F77_NAME_MANGLING, AC_F77_WRAPPERS)
  16946. (AC_F77_FUNC): Move to...
  16947. * lib/autoconf/fortran.m4: here, new file.
  16948. 2001-08-01 Akim Demaille <akim@epita.fr>
  16949. * acfunctions.m4: Rename as...
  16950. * lib/autoconf/functions.m4: this.
  16951. * acgeneral.m4: Rename as...
  16952. * lib/autoconf/general.m4: this.
  16953. * acheaders.m4: Rename as...
  16954. * lib/autoconf/headers.m4: this.
  16955. * aclang.m4: Rename as...
  16956. * lib/autoconf/lang.m4: this.
  16957. * acoldnames.m4: Rename as...
  16958. * lib/autoconf/oldnames.m4: this.
  16959. * acspecific.m4: Rename as...
  16960. * lib/autoconf/specific.m4: this.
  16961. * actypes.m4: Rename as...
  16962. * lib/autoconf/types.m4: this.
  16963. * autoconf.m4: Rename as...
  16964. * lib/autoconf/autoconf.m4: this.
  16965. * m4sugar.m4: Rename as...
  16966. * lib/m4sugar/m4sugar.m4: this.
  16967. * m4sh.m4: Rename as...
  16968. * lib/m4sugar/m4sh.m4: this.
  16969. * tests/atgeneral.m4: Rename as...
  16970. * lib/autotest/general.m4: this.
  16971. * acfunctions: Rename as...
  16972. * lib/autoscan/functions: this.
  16973. * acheaders: Rename as...
  16974. * lib/autoscan/headers: this.
  16975. * acidentifiers: Rename as...
  16976. * lib/autoscan/identifiers: this.
  16977. * aclibraries: Rename as...
  16978. * lib/autoscan/libraries: this.
  16979. * acmakevars: Rename as...
  16980. * lib/autoscan/makevars: this.
  16981. * acprograms: Rename as...
  16982. * lib/autoscan/programs: this.
  16983. 2001-08-01 Akim Demaille <akim@epita.fr>
  16984. * doc/autoconf.texi: Moving/deleting open files is not portable.
  16985. Portability issues for `.' (source), and more information about sed.
  16986. 2001-07-25 Steven G. Johnson <stevenj@alum.mit.edu>
  16987. * aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Ignore -libmil (on Solaris),
  16988. which has a special meaning and is not a reference to libibmil.a.
  16989. Reported by Matteo Frigo.
  16990. 2001-07-25 Pavel Roskin <proski@gnu.org>
  16991. * autom4te.in (mktmpdir): Strip trailing newline from mktemp
  16992. output.
  16993. 2001-07-25 Akim Demaille <akim@epita.fr>
  16994. * autoconf.in: Try to define the variables before using them.
  16995. * autom4te.in ($perllibdir): Use `$autom4te_perllibdir' as envvar
  16996. instead of `$perllibdir'.
  16997. * tests/atconfig.in ($autom4te_perllibdir): Export it.
  16998. 2001-07-25 Akim Demaille <akim@epita.fr>
  16999. * autoconf.in (ac_LF_and_DOT): Remove, unused.
  17000. 2001-07-24 Akim Demaille <akim@epita.fr>
  17001. Let autoconf use autom4te for traces.
  17002. * autoconf.in ($task, task trace): Remove, merely pass --trace to
  17003. autom4te.
  17004. * autoheader.in: Don't pass `-' to autoconf, rather, a tmp file.
  17005. (Because I found no way for autom4te to accept `-').
  17006. * autom4te.in (&Request::request): Beware of M4 builtins.
  17007. (END): Don't try to remove the content of an empty dir.
  17008. (&parse_args): Default is `$f:$l:$n:$%', not `$f:$l:$n:$*'.
  17009. (&handle_output): Set a default value to `$forbidden'.
  17010. * autoupdate.in (&verbose, &xsystem): New, from autom4te.in.
  17011. ($autoconf): Pass --debug and --verbose.
  17012. * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Clean up autom4te's
  17013. cache.
  17014. 2001-07-24 Akim Demaille <akim@epita.fr>
  17015. Let autoconf use autom4te to create configure.
  17016. * autoconf.in ($automate): New var.
  17017. (task script): Use autom4te.
  17018. * autom4te.in (File::Spec): Use it.
  17019. (&find_file): New.
  17020. (&parse_args): --warning is -W, not -w.
  17021. Find the top level files.
  17022. (&handle_m4): Pass the warnings flags.
  17023. Don't report verbosely m4's failures, unless requested.
  17024. (&handle_output): Don't complain for forbidden tokens in comments.
  17025. Be sure to report all the forbidden tokens within a single line.
  17026. (&trace_format_to_m4): Preserve `$_'.
  17027. (&handle_traces): Sort the output macros.
  17028. (&up_to_date_p): Find the files before trying to get its time stamp.
  17029. 2001-07-24 Akim Demaille <akim@epita.fr>
  17030. * Makefile.am: Ship, build and install Autom4te.
  17031. (SUBDIRS): Add lib.
  17032. * lib/Autoconf/Struct.pm: New, from Automake 1.5.
  17033. * configure.in: Require Perl.
  17034. * man/autom4te.in: New.
  17035. 2001-07-19 Paul Eggert <eggert@twinsun.com>
  17036. * doc/autoconf.texi (Cache Checkpointing): Use AC_MSG_ERROR in
  17037. example, rather than (exit 1); exit (which isn't portable).
  17038. 2001-07-18 Akim Demaille <akim@epita.fr>
  17039. Version 2.52.
  17040. 2001-07-18 Akim Demaille <akim@epita.fr>
  17041. The C-Fortran 77 hooks are available only once AC_F77_DUMMY_MAIN
  17042. was run, while they are needed also when it is expanded.
  17043. Reported by Nicolas Joly.
  17044. * aclang.m4 (AC_F77_DUMMY_MAIN): Define _AC_LANG_PROGRAM_C_F77_HOOKS.
  17045. (AC_LANG_PROGRAM(C)): Use it instead of depending upon
  17046. AC_F77_DUMMY_MAIN being expanded.
  17047. 2001-07-18 Akim Demaille <akim@epita.fr>
  17048. * configure.in: Bump to 2.51a.
  17049. 2001-07-17 Akim Demaille <akim@epita.fr>
  17050. Version 2.51.
  17051. 2001-07-17 Akim Demaille <akim@epita.fr>
  17052. * aclang.m4 (AC_F77_DUMMY_MAIN): Let the interface be more
  17053. Autoconfy: $1 = action-if-found, $2 = action-if-not-found.
  17054. 2001-07-17 Akim Demaille <akim@epita.fr>
  17055. The runtime test for AC_FUNC_GETPGRP fails when prototypes are
  17056. used. Well, then use the prototypes when you can, and runtime as
  17057. a last resort.
  17058. Reported by Artur Frysiak
  17059. * acfunctions.m4 (_AC_FUNC_GETPGRP_TEST): New.
  17060. (AC_FUNC_GETPGRP): Use it.
  17061. First try to compile with 0-ary or 1-ary calls.
  17062. 2001-07-17 Akim Demaille <akim@epita.fr>
  17063. * actypes.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P): `foo_t' is a
  17064. replacement type.
  17065. From Paul Eggert.
  17066. 2001-07-17 Akim Demaille <akim@epita.fr>
  17067. * Makefile.maint: Sync. with cppi 1.10.
  17068. 2001-07-17 Akim Demaille <akim@epita.fr>
  17069. * aclang.m4 (AC_LANG_PROGRAM(C)): Output F77_DUMMY_MAIN only when
  17070. AC_F77_DUMMY_MAIN has been run.
  17071. From Pavel Roskin and Steven G. Johnson.
  17072. 2001-07-17 Akim Demaille <akim@epita.fr>
  17073. * configure.in: Rename as...
  17074. * configure.ac: this.
  17075. 2001-07-17 Akim Demaille <akim@epita.fr>
  17076. * Makefile.am (INSTALL.txt): Don't use $@ and $< in non suffix
  17077. rules.
  17078. From Marc Espie.
  17079. * Makefile.maint (release-archive-dir): Rename as...
  17080. (release_archive_dir): this, so that it can be specialized in
  17081. Makefile.
  17082. 2001-07-14 Akim Demaille <akim@epita.fr>
  17083. * configure.in: Bump to 2.50d.
  17084. 2001-07-14 Akim Demaille <akim@epita.fr>
  17085. Version 2.50c.
  17086. * Makefile.maint (alpha): Typo.
  17087. 2001-07-14 Akim Demaille <akim@epita.fr>
  17088. * doc/autoconf.texi (Limitations of Make): Macro names and underscore.
  17089. 2001-07-14 Akim Demaille <akim@epita.fr>
  17090. * config/config.guess, config/config.sub, config/texinfo.tex
  17091. * doc/standards.texi, doc/make-stds.texi: Update.
  17092. 2001-07-14 Akim Demaille <akim@epita.fr>
  17093. * Makefile.maint (cvs-check, cvs-tag-check, cvs-diff-check): New.
  17094. 2001-07-14 Akim Demaille <akim@epita.fr>
  17095. * Makefile.maint (maintainer-check): Rename as...
  17096. (maintainer-distcheck): this.
  17097. (changelog-check, static-check): New.
  17098. Use them.
  17099. 2001-07-14 Kevin Ryde <user42@zip.com.au>
  17100. * doc/autoconf.texi (C++ Compilers Characteristics): Last resort
  17101. for CXX is g++, not gcc.
  17102. 2001-07-14 Akim Demaille <akim@epita.fr>
  17103. * doc/autoconf.texi (Files): New subsection.
  17104. 2001-07-14 Akim Demaille <akim@epita.fr>
  17105. * doc/autoconf.texi (C Compiler, Fortran 77 Compiler): Be subsections
  17106. of...
  17107. (Generic Compiler Characteristics): this.
  17108. (C++ Compiler): New subsection.
  17109. 2001-07-14 Akim Demaille <akim@epita.fr>
  17110. * autoscan.in: Use IO::File.
  17111. Adjust all the routines to use it.
  17112. ($log): New file (autoscan.log).
  17113. (output): Dump detailed logs into $log, and a shortened version to
  17114. stderr.
  17115. (&scan_makefile): Refine the regexp catching tokens in the code.
  17116. * doc/autoconf.texi (autoscan Invocation): Document `autoscan.log'
  17117. and the `configure.ac' checking feature.
  17118. 2001-07-12 Akim Demaille <akim@epita.fr>
  17119. For some AWK, such as on HPUX 11, `xfoo' does not match `foo|^bar'.
  17120. Reported by Michael Elizabeth Chastain.
  17121. * autoconf.in: Refuse such AWK.
  17122. * configure.in: Likewise.
  17123. * Makefile.am (acversion.m4): Do not use move-if-change this file
  17124. has dependencies.
  17125. * doc/autoconf.texi (Fortran 77 Compiler): Some typos.
  17126. 2001-07-10 Jens Petersen <petersen@redhat.com>
  17127. * autoscan.in (&scan_makefile): Improve programs regexp to parse
  17128. things like "g++", "file.c" and "some-conf" as tokens.
  17129. (&scan_file): Match C++ files extensions.
  17130. If the filename extension is C++ then ask for c++.
  17131. 2001-07-05 Steven G. Johnson <stevenj@alum.mit.edu>
  17132. * aclang.m4 (AC_F77_DUMMY_MAIN): Use AC_TRY_LINK, not
  17133. AC_TRY_LINK_FUNC, to check whether defining a dummy
  17134. main-like routine is needed for linking with F77 libs.
  17135. 2001-07-05 Pavel Roskin <proski@gnu.org>
  17136. * aclocal.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Remove conftest*
  17137. after using break.
  17138. (_AC_PROG_F77_V_OUTPUT): Remove conftest*, not conftest.* after
  17139. linking.
  17140. 2001-07-05 Akim Demaille <akim@epita.fr>
  17141. * Makefile.am (move_if_change): New. Use it instead of `mv'.
  17142. (acversion.m4): Name it `$(srcdir)/acversion.m4' to ease broken
  17143. Makes' lives.
  17144. Reported by Nicolas Joly.
  17145. 2001-07-04 Akim Demaille <akim@epita.fr>
  17146. * acgeneral.m4 (_AC_RUN_IFELSE): Remove conftest.o when cleaning
  17147. up.
  17148. * acfunctions.m4 (AC_FUNC_WAIT3): Use `break' to silent some
  17149. warnings from compilers.
  17150. * aclang.m4 (_AC_LANG_COMPILER_GNU): Log the version information
  17151. for all the compilers, not only GNU. Hence move from here...
  17152. (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): to here.
  17153. 2001-07-04 Akim Demaille <akim@epita.fr>
  17154. * acfunctions.m4 (AC_FUNC_STRTOD, AC_FUNC_STRERROR_R)
  17155. (AC_FUNC_STRCOLL, AC_FUNC_WAIT3): Use AC_RUN_IFELSE and
  17156. AC_COMPILE_IFELSE.
  17157. 2001-07-04 Akim Demaille <akim@epita.fr>
  17158. * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Actually apply
  17159. the ``strings.h'' change claimed below.
  17160. 2001-07-04 Akim Demaille <akim@epita.fr>
  17161. * aclang.m4 (_AC_LANG_COMPILER_GNU): s/-dumpspecs/-v/.
  17162. 2001-07-04 Akim Demaille <akim@epita.fr>
  17163. * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
  17164. strings.h if usable with string.h.
  17165. Suggested by Paul Eggert.
  17166. 2001-07-04 Akim Demaille <akim@epita.fr>
  17167. * autoscan.in (&scan_file): Skip FILE if there is FILE.in.
  17168. From Jens Petersen.
  17169. 2001-07-03 Akim Demaille <akim@epita.fr>
  17170. * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Specify CONFIG_FILES
  17171. etc. in the log.
  17172. 2001-07-03 Akim Demaille <akim@epita.fr>
  17173. * acheaders.m4 (AC_CHECK_HEADER): When INCLUDES are set, use the
  17174. compiler, not the preprocessor.
  17175. * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): No longer use
  17176. dedicated code to check for inttypes.h, as AC_CHECK_HEADERS does
  17177. the right thing.
  17178. * Makefile.am (.m4.m4f): Emphasize M4 error messages and fail
  17179. earlier if there are.
  17180. 2001-07-03 Akim Demaille <akim@epita.fr>
  17181. * autoscan.in ($initfile): Remove.
  17182. (&find_file): Rename as...
  17183. (&scan_file): this.
  17184. Immediately scan the current file, instead of gathering them, and
  17185. later having them handled by &scan_files.
  17186. (&scan_files): Merely invoke Find::File.
  17187. Adjust.
  17188. 2001-07-02 Akim Demaille <akim@epita.fr>
  17189. * autoscan.in: Formatting changes, matching the invocation order.
  17190. (File::Find): Use it instead of Perl 4's `find.pl'.
  17191. (&wanted): Rename as...
  17192. (&find_file): this.
  17193. 2001-07-01 Pavel Roskin <proski@gnu.org>
  17194. * aclang.m4 (AC_F77_DUMMY_MAIN): Remove conftest* after using
  17195. break in the argument to AC_TRY_LINK_FUNC.
  17196. (AC_F77_MAIN): Remove conftest* after using break in the
  17197. argument to AC_TRY_LINK.
  17198. 2001-07-01 Steven G. Johnson <stevenj@alum.mit.edu>
  17199. Add alternate 'main' routine detection for linking C/C++ with Fortran,
  17200. fixing link failures for e.g. AC_F77_WRAPPERS on NetBSD.
  17201. * aclang.m4 (AC_F77_DUMMY_MAIN): New macro to detect whether a
  17202. dummy alternate main is required even if the user provides her own
  17203. 'main'.
  17204. (AC_F77_MAIN): New macro to detect whether it is possible to
  17205. provide an alternate 'main' function name, using the 'main' from
  17206. the Fortran libraries.
  17207. (AC_LANG_PROGRAM(C)): Use F77_DUMMY_MAIN, if it is defined, so that
  17208. cross-language link tests can be performed successfully.
  17209. (_AC_F77_NAME_MANGLING): Require AC_F77_DUMMY_MAIN. Also put $FLIBS
  17210. after $LIBS, for consistency; this should be the general rule since
  17211. the user may want to link to Fortran libraries that require $FLIBS.
  17212. * doc/autoconf.texi: Document AC_F77_DUMMY_MAIN and AC_F77_MAIN.
  17213. 2001-06-29 Pavel Roskin <proski@gnu.org>
  17214. * atgeneral.m4 (AT_CHECK): Add a newline to the end of
  17215. at-stdout and at-stderr instead of removing the newline
  17216. from the echo output, which is not guaranteed to work.
  17217. 2001-06-28 Jens Petersen <petersen@redhat.com>
  17218. * aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Only add declaration to
  17219. confdefs.h when non-zero.
  17220. 2001-06-28 Akim Demaille <akim@epita.fr>
  17221. * configure.in: Bump to 2.50c.
  17222. 2001-06-26 Akim Demaille <akim@epita.fr>
  17223. Version 2.50b.
  17224. 2001-06-26 Akim Demaille <akim@epita.fr>
  17225. Version 2.50a.
  17226. 2001-06-25 Pavel Roskin <proski@gnu.org>
  17227. * tests/atspecific.m4 (AT_CHECK_MACRO): Accept one more
  17228. argument, AUTOCONF-FLAGS.
  17229. * tests/mktests.sh (update_exclude_list): Add
  17230. AC_SYS_RESTARTABLE_SYSCALLS and AC_FUNC_WAIT3.
  17231. * tests/semantics.at: Test AC_SYS_RESTARTABLE_SYSCALLS and
  17232. AC_FUNC_WAIT3 with "-W no-obsolete".
  17233. 2001-06-25 Akim Demaille <akim@epita.fr>
  17234. * tests/foreign.at (libtool): Fix the `libtoolize --version' decoding.
  17235. 2001-06-25 Akim Demaille <akim@epita.fr>
  17236. * autoscan.in (%macro): Now maps from word to list of macros.
  17237. (&init_tables): Die when a word which is already handled by
  17238. explicit macros is mapped to the default macro.
  17239. (&print_unique): Remove, inlined in...
  17240. (&output_kind): here.
  17241. (File::Basename): Use it.
  17242. (&output): Sort the CONFIG_FILES.
  17243. * acheaders: Normalize.
  17244. * acfunctions: Likewise.
  17245. 2001-06-25 Akim Demaille <akim@epita.fr>
  17246. * aclang.m4 (_AC_LANG_COMPILER_GNU): If GNU, dump the compiler
  17247. characteristics in the logs.
  17248. Suggested by Mo DeJong.
  17249. 2001-06-24 Akim Demaille <akim@epita.fr>
  17250. * acfunctions.m4 (AM_FUNC_ERROR_AT_LINE, AM_FUNC_FNMATCH)
  17251. (AM_FUNC_MKTIME, AM_FUNC_OBSTACK, AM_FUNC_STRTOD): Reactivated.
  17252. * doc/autoconf.texi (Autoconf 2.13): New section.
  17253. 2001-06-24 Akim Demaille <akim@epita.fr>
  17254. * autoconf.in (Task traces): Separate the error messages from the
  17255. traces to improve robustness.
  17256. 2001-06-23 Akim Demaille <akim@epita.fr>
  17257. * tests/torture.at (AC_ARG_VAR): Make it a single test instead of
  17258. three as failures are unlikely, and speed matters.
  17259. 2001-06-23 Akim Demaille <akim@epita.fr>
  17260. * doc/autoconf.texi (Redefined M4 Macros): New.
  17261. 2001-06-23 Akim Demaille <akim@epita.fr>
  17262. * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Consider
  17263. inttypes.h is missing if it conflicts with sys/types.h, as on IRIX
  17264. 5.3.
  17265. 2001-06-23 Paolo Bonzini <bonzini@gnu.org>
  17266. * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Defer parsing of
  17267. config.status targets to after the evaluation of the INIT-CMDS.
  17268. Double quote config.status targets (used to be single quoted).
  17269. 2001-06-23 Akim Demaille <akim@epita.fr>
  17270. * tests/torture.at (CONFIG_FILES, HEADERS, LINKS and COMMANDS):
  17271. Check the content of the created file.
  17272. Check the ./config.status command line invocation.
  17273. 2001-06-23 Akim Demaille <akim@epita.fr>
  17274. * tests/foreign.at (Libtool): Reject prehistoric versions.
  17275. 2001-06-23 Akim Demaille <akim@epita.fr>
  17276. * aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Try to be robust to
  17277. preexisting files matching a.*.
  17278. 2001-06-23 Akim Demaille <akim@epita.fr>
  17279. * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Output error messages on
  17280. stderr.
  17281. * doc/autoconf.texi (AC_ARG_VAR): Update.
  17282. 2001-06-21 Akim Demaille <akim@epita.fr>
  17283. * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Die instead of warning when
  17284. precious variables have changed.
  17285. * tests/torture.at (AC_ARG_VAR): Adjust.
  17286. 2001-06-21 Akim Demaille <akim@epita.fr>
  17287. ./configure --program-suffix=foo produces `transform=s,$$,foo,;',
  17288. but some sed choke on multiple `;', and other tools (e.g.,
  17289. Automake), include the separator themselves.
  17290. * acgeneral.m4 (AC_ARG_VAR): Be sure not to leave extra `;'.
  17291. 2001-06-19 Tim Van Holder <tim.van.holder@pandora.be>
  17292. * doc/autoconf.texi (Functions Portability): Rename as...
  17293. (Function Portability): this.
  17294. (Function Portability): Document potential problems with unlink().
  17295. 2001-06-19 Paul Eggert <eggert@twinsun.com>
  17296. * NEWS, doc/autoconf.texi: Document quadrigraphs.
  17297. 2001-06-18 Akim Demaille <akim@epita.fr>
  17298. * acfunctions.m4 (AC_FUNC_FORK): Fix typos.
  17299. 2001-06-18 Ruediger Kuhlmann <info@ruediger-kuhlmann.de>
  17300. * acfunctions.m4: (AC_FUNC_VFORK) rename as...
  17301. (_AC_FUNC_VFORK): this.
  17302. Remove AC_DEFINEs and don't guess cross-compilation values.
  17303. (_AC_FUNC_FORK): New, check whether fork() isn't just a stub.
  17304. (AC_FUNC_FORK): New, use _AC_FUNC_VFORK and _AC_FUNC_FORK to
  17305. define HAVE_WORKING_FORK, HAVE_WORKING_VFORK; and vfork to fork if
  17306. vfork doesn't work.
  17307. Guess values if cross-compiling, but warn.
  17308. * acfunctions: Add AC_FUNC_FORK.
  17309. * doc/autoconf.texi: Document AC_FUNC_FORK. Give example to define
  17310. and vfork appropriately.
  17311. 2001-06-18 Akim Demaille <akim@epita.fr>
  17312. * doc/autoconf.texi (Functions Portability): New section.
  17313. 2001-06-18 Akim Demaille <akim@epita.fr>
  17314. * autoconf.in (M4): Pass --nesting-limit=1024, unless already set
  17315. in $M4.
  17316. Suggested by Andreas Schwab.
  17317. 2001-06-18 Akim Demaille <akim@epita.fr>
  17318. * acfunctions.m4 (AC_FUNC_CHOWN, AC_FUNC_CLOSEDIR_VOID)
  17319. (AC_FUNC_GETPGRP, AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK)
  17320. (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES, _AC_FUNC_STAT)
  17321. (AC_FUNC_UTIME_NULL): Use AC_INCLUDES_DEFAULT.
  17322. Don't use AC_TRY_RUN, which double quotes, prefer AC_RUN_IFELSE,
  17323. and either AC_LANG_SOURCE or AC_LANG_PROGRAM.
  17324. (AC_FUNC_CLOSEDIR_VOID): Protect C++ from `int closedir ();' (or
  17325. the converse).
  17326. 2001-06-18 Akim Demaille <akim@epita.fr>
  17327. * doc/autoconf.texi (ms): New index.
  17328. (Macro Index): Rename as...
  17329. (Autoconf Macro Index): this.
  17330. (M4 Macro Index): New appendix.
  17331. (Programming in M4): New chapter.
  17332. Define M4sugar, M4sh, m4_pattern_forbid, and m4_pattern_allow.
  17333. (Quoting): Rename as...
  17334. (M$ Quotation): this.
  17335. Be part of `Programming in M4).
  17336. 2001-06-18 Nicolas Joly <njoly@pasteur.fr>
  17337. * tests/torture.at (AC_ARG_VAR): Set variables and export them
  17338. in separate statements for compatibility with Tru64 v5.1.
  17339. 2001-06-17 Akim Demaille <akim@epita.fr>
  17340. * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Be sure to cache the
  17341. current values of the precious variables, not the previously
  17342. cached values.
  17343. Pass precious variables which are set to config.status.
  17344. * doc/autoconf.texi (Setting Output Variables): Document AC_ARG_VAR.
  17345. * tests/torture.at (AC_ARG_VAR): New.
  17346. 2001-06-15 Paul Eggert <eggert@twinsun.com>
  17347. * doc/autoconf.texi: Move AC_FUNC_WAIT3 and
  17348. AC_SYS_RESTARTABLE_SYSCALLS to the obsolete section,
  17349. and explain why and how to replace them.
  17350. * acfunctions.m4 (AC_FUNC_WAIT3): Warn as obsolete.
  17351. * acspecific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
  17352. 2001-06-15 Akim Demaille <akim@epita.fr>
  17353. `build_alias', `host_alias', and `target_alias' are not AC_SUBST'd.
  17354. Reported by Bruno Haible.
  17355. * acgeneral.m4 (AC_ARG_VAR): Move the AC_SUBST, from here...
  17356. (_AC_ARG_VAR_PRECIOUS): to here.
  17357. 2001-06-15 Pavel Roskin <proski@gnu.org>
  17358. * acheaders.m4 (_AC_CHECK_HEADER_DIRENT): Instead of defining
  17359. an unused pointer use cast to this type and `if' statement to
  17360. avoid warnings from the compiler.
  17361. (AC_HEADER_TIME): Likewise.
  17362. * actypes.m4 (AC_CHECK_MEMBER): s/foo/ac_aggr/. Use the member
  17363. in `if' statement to avoid warnings from the compiler. Declare
  17364. ac_aggr static to avoid the need to initialize it.
  17365. 2001-06-14 Akim Demaille <akim@epita.fr>
  17366. * doc/autoconf.texi (Portable Shell): Move to follow `Writing
  17367. Macros'.
  17368. 2001-06-13 Akim Demaille <akim@epita.fr>
  17369. * m4/missing.m4, config/missing: Updated to Automake 1.4g's.
  17370. Suggested by Alexander Mai.
  17371. 2001-06-13 Akim Demaille <akim@epita.fr>
  17372. * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Guard
  17373. sys/types.h and sys/stat.h, and check for them.
  17374. 2001-06-13 Akim Demaille <akim@epita.fr>
  17375. * acheaders.m4 (AC_CHECK_HEADER, AC_CHECK_HEADERS): Support $4 =
  17376. INCLUDES.
  17377. 2001-06-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
  17378. * acspecific.m4 (AC_PATH_XTRA): Check if linking against libX11
  17379. succeeds and only try adding libdnet upon a failure.
  17380. 2001-06-12 Akim Demaille <akim@epita.fr>
  17381. * autoscan.in (&output_kind): Output the comment only if it exists.
  17382. (%kind_comment): Add entry for `programs'.
  17383. (&output_programs): Use &output_kind.
  17384. (&output_functions, &output_identifiers, &output_headers)
  17385. (&output_programs): Inline, and remove.
  17386. 2001-06-12 Akim Demaille <akim@epita.fr>
  17387. * autoscan.in (%kind_comment): New.
  17388. (output_kind): New.
  17389. (output_functions, output_identifiers, output_headers): Use it.
  17390. 2001-06-12 Akim Demaille <akim@epita.fr>
  17391. * autoscan.in (&print_unique): Take `$kind' and `$word' as
  17392. arguments, to factor indirections into `%macro' and `%used'.
  17393. (%generic_macro): Fix a typo.
  17394. 2001-06-12 Akim Demaille <akim@epita.fr>
  17395. * aclibraries: New.
  17396. * autoscan.in (@kinds): Add `libraries'.
  17397. Use `@kinds' instead of hard coded lists.
  17398. (%programs, %headers, %identifiers, %makevars, %libraries, %functions):
  17399. Remove, replaced by...
  17400. (%used): this.
  17401. 2001-06-12 Akim Demaille <akim@epita.fr>
  17402. * autoscan.in (%functions_macros %headers_macros)
  17403. (%identifiers_macros %programs_macros %makevars_macros): Remove,
  17404. replaced by...
  17405. (%macro): New.
  17406. 2001-06-11 Raja R Harinath <harinath@cs.umn.edu>
  17407. * aclang.m4 (AC_NO_EXECUTABLES): Override
  17408. _AC_COMPILER_EXEEXT_WORKS, not _AC_LANG_COMPILER_WORKS.
  17409. 2001-06-11 Akim Demaille <akim@epita.fr>
  17410. * aclang.m4 (AC_NO_EXECUTABLES): Define the macros with their
  17411. trailing new line.
  17412. Reported by Andreas Schwab.
  17413. 2001-06-11 Akim Demaille <akim@epita.fr>
  17414. * Makefile.am, Makefile.maint: Typos.
  17415. 2001-06-09 Akim Demaille <akim@epita.fr>
  17416. * doc/autoconf.texi (Here-Documents): New section, gathering
  17417. documentation about here-documents.
  17418. Use `href', not `uref', and other changes.
  17419. 2001-06-09 Akim Demaille <akim@epita.fr>
  17420. * doc/autoconf.texi (Portable Shell Programming): Promoted as a
  17421. chapter.
  17422. 2001-06-09 Akim Demaille <akim@epita.fr>
  17423. * doc/autoconf.texi (Limitations of Builtins): Complete the
  17424. description of the here-docs penalties with Alexandre Oliva's
  17425. explanations.
  17426. 2001-06-01 Paul Eggert <eggert@twinsun.com>
  17427. * doc/autoconf.texi: Talk about here documents and speedups.
  17428. Do not use "echo" on arbitrary strings.
  17429. Spell "here-documents" consistently with the standard.
  17430. 2001-06-09 Akim Demaille <akim@epita.fr>
  17431. * doc/autoconf.texi (Concept Index): Introduce it.
  17432. Regenerate the menus.
  17433. 2001-06-09 Akim Demaille <akim@epita.fr>
  17434. * Makefile.maint, GNUmakefile: New, from Jim Meyering.
  17435. * config/prev-version.txt: New.
  17436. * config/move-if-change: New, for GNU libc.
  17437. 2001-06-06 Pavel Roskin <proski@gnu.org>
  17438. * tests/atgeneral.m4 (AT_INIT): Remove "/bin/sh" after $SHELL.
  17439. 2001-06-06 Akim Demaille <akim@epita.fr>
  17440. * acgeneral.m4 (AC_CHECK_LIB): Fix the cache var name to work
  17441. properly when $1 is not a literal.
  17442. Fixes PR Autoconf/187, reported by Bram Moolenaar.
  17443. 2001-06-06 Akim Demaille <akim@epita.fr>
  17444. Invoking AC_COPYRIGHT before AC_INIT fails.
  17445. * Makefile.am (.m4.m4f): Pass --fatal-warnings to m4.
  17446. * acgeneral.m4 (_m4_divert(VERSION_FSF))
  17447. (_m4_divert(VERSION_USER)): New.
  17448. (AC_COPYRIGHT): $2 is the diversion to use.
  17449. (_AC_INIT_COPYRIGHT): Use the FSF diversion.
  17450. (AC_INIT): Remove dead comments as now it's commutative.
  17451. 2001-06-06 Akim Demaille <akim@epita.fr>
  17452. * tests/semantics.at (AC_CHECK_LIB): Strengthen to reflect
  17453. PR autoconf/187.
  17454. 2001-06-05 Akim Demaille <akim@epita.fr>
  17455. * acgeneral.m4 (_AC_INIT_PARSE_ARGS): `prefix' and `exec_prefix'
  17456. can be empty.
  17457. `*dir' variables cannot be NONE.
  17458. Reported by Mark Kettenis.
  17459. 2001-06-05 Paul Eggert <eggert@twinsun.com>
  17460. * doc/autoconf.texi: Fix references to Solaris and SunOS versions.
  17461. 2001-06-04 Akim Demaille <akim@epita.fr>
  17462. * acgeneral.m4 (AC_VAR_SET, AC_VAR_GET, AC_VAR_TEST_SET)
  17463. (AC_VAR_SET_IFELSE, AC_VAR_PUSHDEF and AC_VAR_POPDEF, AC_TR_CPP)
  17464. (AC_TR_SH): Move as...
  17465. * m4sh.m4 (AS_VAR_SET, AS_VAR_GET, AS_VAR_TEST_SET)
  17466. (AS_VAR_SET_IF, AC_VAR_PUSHDEF, AS_VAR_POPDEF, AS_TR_CPP)
  17467. (AS_TR_SH): these.
  17468. (_AS_TR_PREPARE, _AS_CR_PREPARE, _AS_TR_CPP_PREPARE)
  17469. (_AS_TR_SH_PREPARE): New.
  17470. (AS_SHELL_SANITIZE): Invoke _AS_TR_PREPARE.
  17471. * tests/aclocal.m4 (AC_STATE_SAVE): `as_' vars can be modified.
  17472. 2001-06-02 Akim Demaille <akim@epita.fr>
  17473. * Makefile.am (.m4.m4f): Pass the options first.
  17474. Fixes PR autoconf/182.
  17475. 2001-06-02 Nathan Sidwell <nathan@codesourcery.com>
  17476. GNU getopt, when POSIXLY_CORRECT does not permute options and
  17477. arguments. So pass the options first.
  17478. Fixes PR autoconf/184.
  17479. * autoconf.sh (m4_prefiles, m4f_prefiles): New variables.
  17480. (run_m4): Remove files.
  17481. (run_m4f): Remove.
  17482. Update remainder of script to use them.
  17483. (for warning in): Do not use a literal comma as it will not be
  17484. split by IFS.
  17485. 2001-06-02 Christian Marquardt <marq@gfz-potsdam.de>
  17486. * aclang.m4 (AC_PROG_F77): Add Fujitsu's "frt" to the list of
  17487. Fortran compilers to check.
  17488. (_AC_PROG_F77_V): Add '-###' as a possible option to print
  17489. information on library and object files.
  17490. (AC_PROG_CXX): Add Fujitsu's "FCC" to the list of C++ compilers
  17491. to check.
  17492. 2001-06-02 Akim Demaille <akim@epita.fr>
  17493. * autom4te.in (Request::@request): Declare with `vars', not `my',
  17494. as it prevents updates via `do FILENAME'.
  17495. 2001-06-02 Akim Demaille <akim@epita.fr>
  17496. * configure.in (standards_texi): Remove, dead code.
  17497. 2001-06-02 Akim Demaille <akim@epita.fr>
  17498. * autom4te.in: New.
  17499. 2001-06-02 Pavel Roskin <proski@gnu.org>
  17500. * acgeneral.m4 (_AC_INIT_PREPARE): Don't rely on $? in the traps
  17501. for signals other than 0 - exit with code 1.
  17502. * m4sh.m4 (AS_TMPDIR): Likewise.
  17503. * autoconf.in: Likewise. Also don't rely on exit == exit $?.
  17504. * autoheader.in: Likewise.
  17505. * autoreconf.in: Likewise.
  17506. * tests/torture.at (Signal handling): New test for the above.
  17507. 2001-06-01 Akim Demaille <akim@epita.fr>
  17508. * m4sugar.m4 (m4_defn, m4_undefine, m4_popdef): Clarify the error
  17509. message.
  17510. 2001-05-31 Akim Demaille <akim@epita.fr>
  17511. * acfunctions, acheaders, acidentifiers, acmakevars, acprograms:
  17512. Add copyright and comments.
  17513. * acheaders: Add stdint.h.
  17514. Suggested by Paul Eggert.
  17515. 2001-05-31 Akim Demaille <akim@epita.fr>
  17516. * atgeneral.m4 (AT_INIT): Use $SHELL.
  17517. * atspecific.m4 (AT_CHECK_DEFINES): Skip HAVE_STDINT_H.
  17518. 2001-05-31 Akim Demaille <akim@epita.fr>
  17519. * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
  17520. stdint.h.
  17521. From Paul Eggert and Lars Hecking.
  17522. 2001-05-31 Akim Demaille <akim@epita.fr>
  17523. * tests/base.at: Adjust line numbers in error messages.
  17524. 2001-05-31 Akim Demaille <akim@epita.fr>
  17525. * tests/base.at, tests/m4sh.at: When using AC_PLAIN_SCRIPT be sure
  17526. to emit the bangshe line.
  17527. Reported by David Carter.
  17528. 2001-05-30 Steven G. Johnson <stevenj@alum.mit.edu>
  17529. * aclang.m4 (AC_PROG_F77): Add Compaq's "fort" to the list of
  17530. Fortran (95) compilers to check.
  17531. 2001-05-29 Alexandre Duret-Lutz <duret_g@epita.fr>
  17532. * doc/autoconf.texi (Introduction, Pointers): Update the Autoconf
  17533. Macro Archive URL.
  17534. 2001-05-23 Pavel Roskin <proski@gnu.org>
  17535. * aclang.m4 (AC_PROG_CPP): Use `break' instead of `break 2' since
  17536. _AC_PROG_PREPROC_WORKS_IFELSE expands arguments outside the loop.
  17537. (AC_PROG_CXXCPP): Likewise.
  17538. 2001-05-22 Akim Demaille <akim@epita.fr>
  17539. * config: New directory.
  17540. * configure.in: AC_CONFIG_AUX_DIR it.
  17541. * tests/atspecific.m4 (AT_CONFIGURE_AC): Adjust.
  17542. 2001-05-22 Akim Demaille <akim@epita.fr>
  17543. * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in,
  17544. * autoupdate.in: Specify the Emacs mode.
  17545. * acversion.m4.in: Rename as...
  17546. * acversion.m4: this.
  17547. * tests/Makefile.am (CLEANFILES): More garbage.
  17548. 2001-05-22 Akim Demaille <akim@epita.fr>
  17549. * autoconf.sh, autoreconf.sh, autoheader.sh, autoscan.pl, ifnames.sh:
  17550. Rename as...
  17551. * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in:
  17552. these.
  17553. 2001-05-21 Akim Demaille <akim@epita.fr>
  17554. * configure.in: Bump to 2.50a.
  17555. -----
  17556. Local Variables:
  17557. coding: utf-8
  17558. End:
  17559. Copyright (C) 2001-2012 Free Software Foundation, Inc.
  17560. This program is free software: you can redistribute it and/or
  17561. modify it under the terms of the GNU General Public License as
  17562. published by the Free Software Foundation, either version 3 of the
  17563. License, or (at your option) any later version.
  17564. This program is distributed in the hope that it will be useful,
  17565. but WITHOUT ANY WARRANTY; without even the implied warranty of
  17566. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  17567. General Public License for more details.
  17568. You should have received a copy of the GNU General Public License
  17569. along with this program. If not, see
  17570. <http://www.gnu.org/licenses/>.